Glue / Client / update_integration_resource_property

update_integration_resource_property#

Glue.Client.update_integration_resource_property(**kwargs)#

This API can be used for updating the ResourceProperty of the Glue connection (for the source) or Glue database ARN (for the target). These properties can include the role to access the connection or database. Since the same resource can be used across multiple integrations, updating resource properties will impact all the integrations using it.

See also: AWS API Documentation

Request Syntax

response = client.update_integration_resource_property(
    ResourceArn='string',
    SourceProcessingProperties={
        'RoleArn': 'string'
    },
    TargetProcessingProperties={
        'RoleArn': 'string',
        'KmsArn': 'string',
        'ConnectionName': 'string',
        'EventBusArn': 'string'
    }
)
Parameters:
  • ResourceArn (string) –

    [REQUIRED]

    The connection ARN of the source, or the database ARN of the target.

  • SourceProcessingProperties (dict) –

    The resource properties associated with the integration source.

    • RoleArn (string) –

      The IAM role to access the Glue connection.

  • TargetProcessingProperties (dict) –

    The resource properties associated with the integration target.

    • RoleArn (string) –

      The IAM role to access the Glue database.

    • KmsArn (string) –

      The ARN of the KMS key used for encryption.

    • ConnectionName (string) –

      The Glue network connection to configure the Glue job running in the customer VPC.

    • EventBusArn (string) –

      The ARN of an Eventbridge event bus to receive the integration status notification.

Return type:

dict

Returns:

Response Syntax

{
    'ResourceArn': 'string',
    'SourceProcessingProperties': {
        'RoleArn': 'string'
    },
    'TargetProcessingProperties': {
        'RoleArn': 'string',
        'KmsArn': 'string',
        'ConnectionName': 'string',
        'EventBusArn': 'string'
    }
}

Response Structure

  • (dict) –

    • ResourceArn (string) –

      The connection ARN of the source, or the database ARN of the target.

    • SourceProcessingProperties (dict) –

      The resource properties associated with the integration source.

      • RoleArn (string) –

        The IAM role to access the Glue connection.

    • TargetProcessingProperties (dict) –

      The resource properties associated with the integration target.

      • RoleArn (string) –

        The IAM role to access the Glue database.

      • KmsArn (string) –

        The ARN of the KMS key used for encryption.

      • ConnectionName (string) –

        The Glue network connection to configure the Glue job running in the customer VPC.

      • EventBusArn (string) –

        The ARN of an Eventbridge event bus to receive the integration status notification.

Exceptions

  • Glue.Client.exceptions.ValidationException

  • Glue.Client.exceptions.AccessDeniedException

  • Glue.Client.exceptions.InternalServerException

  • Glue.Client.exceptions.ResourceNotFoundException

  • Glue.Client.exceptions.EntityNotFoundException

  • Glue.Client.exceptions.InternalServiceException

  • Glue.Client.exceptions.InvalidInputException