:doc:`CustomerProfiles <../../customer-profiles>` / Client / get_integration

***************
get_integration
***************



.. py:method:: CustomerProfiles.Client.get_integration(**kwargs)

  

  Returns an integration for a domain.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIntegration>`_  


  **Request Syntax**
  ::

    response = client.get_integration(
        DomainName='string',
        Uri='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The unique name of the domain.

    

  
  :type Uri: string
  :param Uri: **[REQUIRED]** 

    The URI of the S3 bucket or any other type of data source.

    

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

    
    ::

      {
          'DomainName': 'string',
          'Uri': 'string',
          'ObjectTypeName': 'string',
          'CreatedAt': datetime(2015, 1, 1),
          'LastUpdatedAt': datetime(2015, 1, 1),
          'Tags': {
              'string': 'string'
          },
          'ObjectTypeNames': {
              'string': 'string'
          },
          'WorkflowId': 'string',
          'IsUnstructured': True|False,
          'RoleArn': 'string',
          'EventTriggerNames': [
              'string',
          ],
          'Scope': 'PROFILE'|'DOMAIN'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **DomainName** *(string) --* 

        The unique name of the domain.

        
      

      - **Uri** *(string) --* 

        The URI of the S3 bucket or any other type of data source.

        
      

      - **ObjectTypeName** *(string) --* 

        The name of the profile object type.

        
      

      - **CreatedAt** *(datetime) --* 

        The timestamp of when the domain was created.

        
      

      - **LastUpdatedAt** *(datetime) --* 

        The timestamp of when the domain was most recently edited.

        
      

      - **Tags** *(dict) --* 

        The tags used to organize, track, or control access for this resource.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
      

      - **ObjectTypeNames** *(dict) --* 

        A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an ``ObjectTypeName`` (template) used to ingest the event. It supports the following event types: ``SegmentIdentify``, ``ShopifyCreateCustomers``, ``ShopifyUpdateCustomers``, ``ShopifyCreateDraftOrders``, ``ShopifyUpdateDraftOrders``, ``ShopifyCreateOrders``, and ``ShopifyUpdatedOrders``.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
      

      - **WorkflowId** *(string) --* 

        Unique identifier for the workflow.

        
      

      - **IsUnstructured** *(boolean) --* 

        Boolean that shows if the Flow that's associated with the Integration is created in Amazon Appflow, or with ObjectTypeName equals _unstructured via API/CLI in flowDefinition.

        
      

      - **RoleArn** *(string) --* 

        The Amazon Resource Name (ARN) of the IAM role. The Integration uses this role to make Customer Profiles requests on your behalf.

        
      

      - **EventTriggerNames** *(list) --* 

        A list of unique names for active event triggers associated with the integration. This list would be empty if no Event Trigger is associated with the integration.

        
        

        - *(string) --* 
    
      

      - **Scope** *(string) --* 

        Specifies whether the integration applies to profile level data (associated with profiles) or domain level data (not associated with any specific profile). The default value is PROFILE.

        
  
  **Exceptions**
  
  *   :py:class:`CustomerProfiles.Client.exceptions.BadRequestException`

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

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

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

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

  