create_integration
¶
create_integration(
integration_name: String128,
source_arn: String512,
target_arn: String512,
*,
config_overrides: Optional[GlueClientConfig] = 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/glue.py
3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 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 | |