AmplifyGen3 / Client / update_integration_configuration

update_integration_configuration

AmplifyGen3.Client.update_integration_configuration(**kwargs)

Updates an integration configuration.

See also: AWS API Documentation

Request Syntax

response = client.update_integration_configuration(
    IntegrationName='string',
    IntegrationTypeId='string',
    ResourceConfiguration={
        'S3': {
            'BucketArn': 'string'
        },
        'Dsql': {
            'ClusterArn': 'string',
            'DatabaseUser': 'string'
        },
        'Bedrock': {
            'RegionName': 'string',
            'ModelId': 'string'
        },
        'Custom': {
            'ResourceArn': 'string'
        }
    },
    EnvironmentVariables=[
        {
            'Key': 'string',
            'KeyOverride': 'string',
            'Value': 'string',
            'Type': 'PLAINTEXT'|'SENSITIVE'
        },
    ],
    RemoveEnvironmentVariableKeys=[
        'string',
    ]
)
Parameters:
  • IntegrationName (string) –

    [REQUIRED]

    The name 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 can be set: S3, Dsql, Bedrock, Custom.

    • S3 (dict) –

      The Amazon S3 integration resource configuration.

      • BucketArn (string) – [REQUIRED]

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

    • Dsql (dict) –

      The Amazon Aurora DSQL integration resource configuration.

      • ClusterArn (string) – [REQUIRED]

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

      • DatabaseUser (string) – [REQUIRED]

        The database user to connect as.

    • Bedrock (dict) –

      The Amazon Bedrock integration resource configuration.

      • RegionName (string) – [REQUIRED]

        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.

  • EnvironmentVariables (list) –

    The environment variables.

    • (dict) –

      An environment variable to set for an integration.

      • Key (string) – [REQUIRED]

        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.

      • Type (string) –

        The type of the environment variable.

  • RemoveEnvironmentVariableKeys (list) –

    The keys of the environment variables to remove.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions