:doc:`B2BI <../../b2bi>` / Client / get_profile

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



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

  

  Retrieves the details for the profile specified by the profile ID. A profile is the mechanism used to create the concept of a private network.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GetProfile>`_  


  **Request Syntax**
  ::

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

    Specifies the unique, system-generated identifier for the profile.

    

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

    
    ::

      {
          'profileId': 'string',
          'profileArn': 'string',
          'name': 'string',
          'email': 'string',
          'phone': 'string',
          'businessName': 'string',
          'logging': 'ENABLED'|'DISABLED',
          'logGroupName': 'string',
          'createdAt': datetime(2015, 1, 1),
          'modifiedAt': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **profileId** *(string) --* 

        Returns the unique, system-generated identifier for the profile.

        
      

      - **profileArn** *(string) --* 

        Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.

        
      

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

        Returns the name of the profile, used to identify it.

        
      

      - **email** *(string) --* 

        Returns the email address associated with this customer profile.

        
      

      - **phone** *(string) --* 

        Returns the phone number associated with the profile.

        
      

      - **businessName** *(string) --* 

        Returns the name for the business associated with this profile.

        
      

      - **logging** *(string) --* 

        Returns whether or not logging is enabled for this profile.

        
      

      - **logGroupName** *(string) --* 

        Returns the name of the logging group.

        
      

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

        Returns a timestamp for creation date and time of the transformer.

        
      

      - **modifiedAt** *(datetime) --* 

        Returns a timestamp for last time the profile was modified.

        
  
  **Exceptions**
  
  *   :py:class:`B2BI.Client.exceptions.AccessDeniedException`

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

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

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

  
  *   :py:class:`B2BI.Client.exceptions.InternalServerException`

  