AmplifyGen3 / Client / get_integration_configuration

get_integration_configuration

AmplifyGen3.Client.get_integration_configuration(**kwargs)

Retrieves an integration configuration.

See also: AWS API Documentation

Request Syntax

response = client.get_integration_configuration(
    IntegrationName='string'
)
Parameters:

IntegrationName (string) –

[REQUIRED]

The name of the integration.

Return type:

dict

Returns:

Response Syntax

{
    'IntegrationName': 'string',
    'IntegrationArn': 'string',
    'IntegrationTypeId': 'string',
    'ResourceConfiguration': {
        'S3': {
            'BucketArn': 'string'
        },
        'Dsql': {
            'ClusterArn': 'string',
            'DatabaseUser': 'string'
        },
        'Bedrock': {
            'RegionName': 'string',
            'ModelId': 'string'
        },
        'Custom': {
            'ResourceArn': 'string'
        }
    },
    'CreatedAt': datetime(2015, 1, 1),
    'UpdatedAt': datetime(2015, 1, 1),
    'EnvironmentVariables': [
        {
            'Key': 'string',
            'KeyOverride': 'string',
            'Value': 'string',
            'Type': 'PLAINTEXT'|'SENSITIVE'
        },
    ]
}

Response Structure

  • (dict) –

    • IntegrationName (string) –

      The name of the integration.

    • IntegrationArn (string) –

      The Amazon Resource Name (ARN) of the integration.

    • IntegrationTypeId (string) –

      The ID of the integration type.

    • ResourceConfiguration (dict) –

      The resource configuration for the integration.

      Note

      This is a Tagged Union structure. Only one of the following top level keys will be set: S3, Dsql, Bedrock, Custom. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

      'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
      
      • S3 (dict) –

        The Amazon S3 integration resource configuration.

        • BucketArn (string) –

          The Amazon Resource Name (ARN) of the Amazon S3 bucket.

      • Dsql (dict) –

        The Amazon Aurora DSQL integration resource configuration.

        • ClusterArn (string) –

          The Amazon Resource Name (ARN) of the Amazon Aurora DSQL cluster.

        • DatabaseUser (string) –

          The database user to connect as.

      • Bedrock (dict) –

        The Amazon Bedrock integration resource configuration.

        • RegionName (string) –

          The AWS Region of the resource.

        • ModelId (string) –

          The ID of the Amazon Bedrock model.

      • Custom (dict) –

        The custom integration resource configuration.

        • ResourceArn (string) –

          The Amazon Resource Name (ARN) of the resource.

    • CreatedAt (datetime) –

      The time at which the integration configuration was created. The value is in ISO-8601 format.

    • UpdatedAt (datetime) –

      The time at which the integration configuration was last updated. The value is in ISO-8601 format.

    • EnvironmentVariables (list) –

      The environment variables.

      • (dict) –

        An environment variable provided by an integration.

        • Key (string) –

          The key of the environment variable.

        • KeyOverride (string) –

          An alternate key to expose the environment variable under in your environment.

        • Value (string) –

          The value of the environment variable. Omitted for secrets.

        • Type (string) –

          The type of the environment variable.

Exceptions

  • AmplifyGen3.Client.exceptions.ThrottlingException

  • AmplifyGen3.Client.exceptions.AccessDeniedException

  • AmplifyGen3.Client.exceptions.ResourceNotFoundException

  • AmplifyGen3.Client.exceptions.ValidationException

  • AmplifyGen3.Client.exceptions.InternalServerException