start_domain_export
¶
start_domain_export(
domain_name: DomainName,
s3_bucket: S3BucketName,
*,
config_overrides: Optional[SimpleDBv2ClientConfig] = None,
client_token: Optional[IdempotencyToken] = None,
s3_key_prefix: Optional[S3KeyPrefix] = None,
s3_sse_algorithm: Optional[S3SseAlgorithm] = None,
s3_sse_kms_key_id: Optional[S3SseKmsKeyId] = None,
s3_bucket_owner: Optional[AwsAccountId] = None,
) -> StartDomainExportResponse
Initiates the export of a SimpleDB domain to an S3 bucket.
Parameters:
-
client_token(Optional[IdempotencyToken], default:None) –Providing a ClientToken makes the call to StartDomainExport API idempotent, meaning that multiple identical calls have the same effect as one single call. A client token is valid for 8 hours after the first request that uses it is completed. After 8 hours, any request with the same client token is treated as a new request. Do not resubmit the same request with the same client token for more than 8 hours, or the result might not be idempotent. If you submit a request with the same client token but a change in other parameters within the 8-hour idempotency window, a ConflictException will be returned.
-
domain_name(DomainName) –The name of the domain to export.
-
s3_bucket(S3BucketName) –The name of the S3 bucket where the domain data will be exported.
-
s3_key_prefix(Optional[S3KeyPrefix], default:None) –The prefix string to be used to generate the S3 object keys for export artifacts.
-
s3_sse_algorithm(Optional[S3SseAlgorithm], default:None) –The server-side encryption algorithm to use for the exported data in S3. Valid values are: AES256 (SSE-S3) and KMS (SSE-KMS). If not specified, bucket's default encryption will apply.
-
s3_sse_kms_key_id(Optional[S3SseKmsKeyId], default:None) –The KMS key ID to use for server-side encryption with AWS KMS-managed keys (SSE-KMS). This parameter is only expected with KMS as the S3 SSE algorithm.
-
s3_bucket_owner(Optional[AwsAccountId], default:None) –The ID of the AWS account that owns the bucket the export will be stored in.
Raises:
-
ConflictException–Indicates a conflict with one or more parameters of the request.
-
InvalidParameterCombinationException–Parameters that must not be used together were used together in the request.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
NoSuchDomainException–The specified domain does not exist.
-
NumberExportsLimitExceeded–Cannot start export as export quota limit was exceeded
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Start a domain export
Source code in docs_src/capo_simpledbv2/_services/simple_d_bv2.py
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 | |