create_data_integration
¶
create_data_integration(
name: Name,
kms_key: NonBlankString,
*,
config_overrides: Optional[AppIntegrationsClientConfig] = None,
description: Optional[Description] = None,
source_uri: Optional[SourceURI] = None,
schedule_config: Optional[ScheduleConfiguration] = None,
tags: Optional[TagMap] = None,
client_token: Optional[IdempotencyToken] = None,
file_configuration: Optional[FileConfiguration] = None,
object_configuration: Optional[ObjectConfiguration] = None,
) -> CreateDataIntegrationResponse
Creates and persists a DataIntegration resource.
You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
Parameters:
-
name(Name) –The name of the DataIntegration.
-
description(Optional[Description], default:None) –A description of the DataIntegration.
-
kms_key(NonBlankString) –The KMS key ARN for the DataIntegration.
-
source_uri(Optional[SourceURI], default:None) –The URI of the data source.
-
schedule_config(Optional[ScheduleConfiguration], default:None) –The name of the data and how often it should be pulled from the source.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
-
client_token(Optional[IdempotencyToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
-
file_configuration(Optional[FileConfiguration], default:None) –The configuration for what files should be pulled from the source.
-
object_configuration(Optional[ObjectConfiguration], default:None) –The configuration for what data should be pulled from the source.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
DuplicateResourceException–A resource with the specified name already exists.
-
InternalServiceError–Request processing failed due to an error or failure with the service.
-
InvalidRequestException–The request is not valid.
-
ResourceQuotaExceededException–The allowed quota for the resource has been exceeded.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appintegrations/_services/app_integrations.py
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 | |