AppIntegrationsService / Client / create_data_integration_association

create_data_integration_association#

AppIntegrationsService.Client.create_data_integration_association(**kwargs)#

Creates and persists a DataIntegrationAssociation resource.

See also: AWS API Documentation

Request Syntax

response = client.create_data_integration_association(
    DataIntegrationIdentifier='string',
    ClientId='string',
    ObjectConfiguration={
        'string': {
            'string': [
                'string',
            ]
        }
    },
    DestinationURI='string',
    ClientAssociationMetadata={
        'string': 'string'
    },
    ClientToken='string',
    ExecutionConfiguration={
        'ExecutionMode': 'ON_DEMAND'|'SCHEDULED',
        'OnDemandConfiguration': {
            'StartTime': 'string',
            'EndTime': 'string'
        },
        'ScheduleConfiguration': {
            'FirstExecutionFrom': 'string',
            'Object': 'string',
            'ScheduleExpression': 'string'
        }
    }
)
Parameters:
  • DataIntegrationIdentifier (string) –

    [REQUIRED]

    A unique identifier for the DataIntegration.

  • ClientId (string) – The identifier for the client that is associated with the DataIntegration association.

  • ObjectConfiguration (dict) –

    The configuration for what data should be pulled from the source.

    • (string) –

      • (dict) –

        • (string) –

          • (list) –

            • (string) –

  • DestinationURI (string) – The URI of the data destination.

  • ClientAssociationMetadata (dict) –

    The mapping of metadata to be extracted from the data.

    • (string) –

      • (string) –

  • ClientToken (string) –

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    This field is autopopulated if not provided.

  • ExecutionConfiguration (dict) –

    The configuration for how the files should be pulled from the source.

    • ExecutionMode (string) – [REQUIRED]

      The mode for data import/export execution.

    • OnDemandConfiguration (dict) –

      The start and end time for data pull from the source.

      • StartTime (string) – [REQUIRED]

        The start time for data pull from the source as an Unix/epoch string in milliseconds

      • EndTime (string) –

        The end time for data pull from the source as an Unix/epoch string in milliseconds

    • ScheduleConfiguration (dict) –

      The name of the data and how often it should be pulled from the source.

      • FirstExecutionFrom (string) –

        The start date for objects to import in the first flow run as an Unix/epoch timestamp in milliseconds or in ISO-8601 format.

      • Object (string) –

        The name of the object to pull from the data source.

      • ScheduleExpression (string) – [REQUIRED]

        How often the data should be pulled from data source.

Return type:

dict

Returns:

Response Syntax

{
    'DataIntegrationAssociationId': 'string',
    'DataIntegrationArn': 'string'
}

Response Structure

  • (dict) –

    • DataIntegrationAssociationId (string) –

      A unique identifier. for the DataIntegrationAssociation.

    • DataIntegrationArn (string) –

      The Amazon Resource Name (ARN) for the DataIntegration.

Exceptions

  • AppIntegrationsService.Client.exceptions.InternalServiceError

  • AppIntegrationsService.Client.exceptions.ResourceQuotaExceededException

  • AppIntegrationsService.Client.exceptions.ThrottlingException

  • AppIntegrationsService.Client.exceptions.ResourceNotFoundException

  • AppIntegrationsService.Client.exceptions.InvalidRequestException

  • AppIntegrationsService.Client.exceptions.AccessDeniedException