put_configuration_set_delivery_options
¶
put_configuration_set_delivery_options(
configuration_set_name: ConfigurationSetName,
*,
config_overrides: Optional[SESv2ClientConfig] = None,
tls_policy: Optional[TlsPolicy] = None,
sending_pool_name: Optional[SendingPoolName] = None,
max_delivery_seconds: Optional[MaxDeliverySeconds] = None,
shared_pool_delivery_mode: Optional[SharedPoolDeliveryMode] = None,
) -> PutConfigurationSetDeliveryOptionsResponse
Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.
Parameters:
-
configuration_set_name(ConfigurationSetName) –The name of the configuration set to associate with a dedicated IP pool.
-
tls_policy(Optional[TlsPolicy], default:None) –Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is
REQUIRE, messages are only delivered if a TLS connection can be established. If the value isOPTIONAL, messages can be delivered in plain text if a TLS connection can't be established. -
sending_pool_name(Optional[SendingPoolName], default:None) –The name of the dedicated IP pool to associate with the configuration set.
-
max_delivery_seconds(Optional[MaxDeliverySeconds], default:None) –The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).
-
shared_pool_delivery_mode(Optional[SharedPoolDeliveryMode], default:None) –The shared pool delivery mode for email that you send with the configuration set from shared IP addresses. This setting overrides the shared pool delivery mode of your account. Can be one of the following:
-
GLOBAL– Amazon SES delivers from your sending Region first and, when it improves your deliverability, also uses Amazon SES shared IP addresses with established sending history in other Amazon Web Services Regions within the same Amazon Web Services partition. -
REGIONAL– Amazon SES delivers your email only from shared IP addresses in your sending Region. -
ACCOUNT– The configuration set uses the shared pool delivery mode of your account.
If you don't specify a value, the current value doesn't change.
-
Raises:
-
BadRequestException–The input you provided is invalid.
-
NotFoundException–The resource you attempted to access doesn't exist.
-
TooManyRequestsException–Too many requests have been made to the operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sesv2/_services/se_sv2.py
5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 | |