original_docstring: 
      Collect data about the cluster.
  
      module: Ansible module object
      redshift: authenticated redshift connection object
      
docstring: Collect data about the cluster.
  module: Ansible module object
  redshift: authenticated redshift connection object
docstring_tokens: Collect data about the cluster . module : Ansible module object redshift : authenticated redshift connection object
code: def describe_cluster(module, redshift):
      """
      Collect data about the cluster.
  
      module: Ansible module object
      redshift: authenticated redshift connection object
      """
      identifier = module.params.get('identifier')
  
      try:
          resource = redshift.describe_clusters(ClusterIdentifier=identifier)['Clusters'][0]
      except (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) as e:
          module.fail_json_aws(e, msg="Error describing cluster")
  
      return(True, _collect_facts(resource))
code_tokens: def describe_cluster ( module , redshift ) : identifier = module . params . get ( 'identifier' ) try : resource = redshift . describe_clusters ( ClusterIdentifier = identifier ) [ 'Clusters' ] [ 0 ] except ( botocore . exceptions . BotoCoreError , botocore . exceptions . ClientError ) as e : module . fail_json_aws ( e , msg = "Error describing cluster" ) return ( True , _collect_facts ( resource ) )
short_docstring: Collect data about the cluster.
short_docstring_tokens: Collect data about the cluster .
comment: """
      Collect data about the cluster.
  
      module: Ansible module object
      redshift: authenticated redshift connection object
      """