create_integration
async
¶
create_integration(
integration_name: String128,
source_arn: String512,
target_arn: String512,
*,
config_overrides: Optional[AsyncGlueClientConfig] = None,
description: Optional[IntegrationDescription] = None,
data_filter: Optional[String2048] = None,
kms_key_id: Optional[String2048] = None,
additional_encryption_context: Optional[
IntegrationAdditionalEncryptionContextMap
] = None,
tags: Optional[IntegrationTagsList] = None,
integration_config: Optional[IntegrationConfig] = None,
) -> CreateIntegrationResponse
Creates a Zero-ETL integration in the caller's account between two resources with Amazon Resource Names (ARNs): the SourceArn and TargetArn.
Parameters:
-
integration_name(String128) –A unique name for an integration in Glue.
-
source_arn(String512) –The ARN of the source resource for the integration.
-
target_arn(String512) –The ARN of the target resource for the integration.
-
description(Optional[IntegrationDescription], default:None) –A description of the integration.
-
data_filter(Optional[String2048], default:None) –Selects source tables for the integration using Maxwell filter syntax.
-
kms_key_id(Optional[String2048], default:None) –The ARN of a KMS key used for encrypting the channel.
-
additional_encryption_context(Optional[IntegrationAdditionalEncryptionContextMap], default:None) –An optional set of non-secret key–value pairs that contains additional contextual information for encryption. This can only be provided if
KMSKeyIdis provided. -
tags(Optional[IntegrationTagsList], default:None) –Metadata assigned to the resource consisting of a list of key-value pairs.
-
integration_config(Optional[IntegrationConfig], default:None) –The configuration settings.
Raises:
-
AccessDeniedException–Access to a resource was denied.
-
ConflictException–The
CreatePartitionsAPI was called on a table that has indexes enabled. -
EntityNotFoundException–A specified entity does not exist
-
IntegrationConflictOperationFault–The requested operation conflicts with another operation.
-
IntegrationQuotaExceededFault–The data processed through your integration exceeded your quota.
-
InternalServerException–An internal server error occurred.
-
InternalServiceException–An internal service error occurred.
-
InvalidInputException–The input provided was not valid.
-
KMSKeyNotAccessibleFault–The KMS key specified is not accessible.
-
ResourceNotFoundException–The resource could not be found.
-
ResourceNumberLimitExceededException–A resource numerical limit was exceeded.
-
ValidationException–A value could not be validated.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_glue/_services/async_glue.py
3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 | |