:doc:`DataZone <../../datazone>` / Client / get_domain

**********
get_domain
**********



.. py:method:: DataZone.Client.get_domain(**kwargs)

  

  Gets an Amazon DataZone domain.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/GetDomain>`_  


  **Request Syntax**
  ::

    response = client.get_domain(
        identifier='string'
    )
    
  :type identifier: string
  :param identifier: **[REQUIRED]** 

    The identifier of the specified Amazon DataZone domain.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'id': 'string',
          'rootDomainUnitId': 'string',
          'name': 'string',
          'description': 'string',
          'singleSignOn': {
              'type': 'IAM_IDC'|'DISABLED',
              'userAssignment': 'AUTOMATIC'|'MANUAL',
              'idcInstanceArn': 'string'
          },
          'domainExecutionRole': 'string',
          'arn': 'string',
          'kmsKeyIdentifier': 'string',
          'status': 'CREATING'|'AVAILABLE'|'CREATION_FAILED'|'DELETING'|'DELETED'|'DELETION_FAILED',
          'portalUrl': 'string',
          'createdAt': datetime(2015, 1, 1),
          'lastUpdatedAt': datetime(2015, 1, 1),
          'tags': {
              'string': 'string'
          },
          'domainVersion': 'V1'|'V2',
          'serviceRole': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The identifier of the specified Amazon DataZone domain.

        
      

      - **rootDomainUnitId** *(string) --* 

        The ID of the root domain in Amazon Datazone.

        
      

      - **name** *(string) --* 

        The name of the Amazon DataZone domain.

        
      

      - **description** *(string) --* 

        The description of the Amazon DataZone domain.

        
      

      - **singleSignOn** *(dict) --* 

        The single sing-on option of the specified Amazon DataZone domain.

        
        

        - **type** *(string) --* 

          The type of single sign-on in Amazon DataZone.

          
        

        - **userAssignment** *(string) --* 

          The single sign-on user assignment in Amazon DataZone.

          
        

        - **idcInstanceArn** *(string) --* 

          The ARN of the IDC instance.

          
    
      

      - **domainExecutionRole** *(string) --* 

        The domain execution role with which the Amazon DataZone domain is created.

        
      

      - **arn** *(string) --* 

        The ARN of the specified Amazon DataZone domain.

        
      

      - **kmsKeyIdentifier** *(string) --* 

        The identifier of the Amazon Web Services Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.

        
      

      - **status** *(string) --* 

        The status of the specified Amazon DataZone domain.

        
      

      - **portalUrl** *(string) --* 

        The URL of the data portal for this Amazon DataZone domain.

        
      

      - **createdAt** *(datetime) --* 

        The timestamp of when the Amazon DataZone domain was created.

        
      

      - **lastUpdatedAt** *(datetime) --* 

        The timestamp of when the Amazon DataZone domain was last updated.

        
      

      - **tags** *(dict) --* 

        The tags specified for the Amazon DataZone domain.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
      

      - **domainVersion** *(string) --* 

        The version of the domain.

        
      

      - **serviceRole** *(string) --* 

        The service role of the domain.

        
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

  
  *   :py:class:`DataZone.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`DataZone.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`DataZone.Client.exceptions.ThrottlingException`

  
  *   :py:class:`DataZone.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`DataZone.Client.exceptions.ValidationException`

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  