:doc:`Route53Profiles <../../route53profiles>` / Client / get_profile

***********
get_profile
***********



.. py:method:: Route53Profiles.Client.get_profile(**kwargs)

  

  Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile.

  

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


  **Request Syntax**
  ::

    response = client.get_profile(
        ProfileId='string'
    )
    
  :type ProfileId: string
  :param ProfileId: **[REQUIRED]** 

    ID of the Profile.

    

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

    
    ::

      {
          'Profile': {
              'Arn': 'string',
              'ClientToken': 'string',
              'CreationTime': datetime(2015, 1, 1),
              'Id': 'string',
              'ModificationTime': datetime(2015, 1, 1),
              'Name': 'string',
              'OwnerId': 'string',
              'ShareStatus': 'NOT_SHARED'|'SHARED_WITH_ME'|'SHARED_BY_ME',
              'Status': 'COMPLETE'|'DELETING'|'UPDATING'|'CREATING'|'DELETED'|'FAILED',
              'StatusMessage': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Profile** *(dict) --* 

        Information about the Profile, including the status of the Profile.

        
        

        - **Arn** *(string) --* 

          The Amazon Resource Name (ARN) of the Profile.

          
        

        - **ClientToken** *(string) --* 

          The ``ClientToken`` value that was assigned when the Profile was created.

          
        

        - **CreationTime** *(datetime) --* 

          The date and time that the Profile was created, in Unix time format and Coordinated Universal Time (UTC).

          
        

        - **Id** *(string) --* 

          ID of the Profile.

          
        

        - **ModificationTime** *(datetime) --* 

          The date and time that the Profile was modified, in Unix time format and Coordinated Universal Time (UTC).

          
        

        - **Name** *(string) --* 

          Name of the Profile.

          
        

        - **OwnerId** *(string) --* 

          Amazon Web Services account ID of the Profile owner.

          
        

        - **ShareStatus** *(string) --* 

          Sharing status for the Profile.

          
        

        - **Status** *(string) --* 

          The status for the Profile.

          
        

        - **StatusMessage** *(string) --* 

          Status message that includes additiona information about the Profile.

          
    
  
  **Exceptions**
  
  *   :py:class:`Route53Profiles.Client.exceptions.ResourceNotFoundException`

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

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

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

  