put_configuration_set_delivery_options
async
¶
put_configuration_set_delivery_options(
configuration_set_name: ConfigurationSetName,
*,
config_overrides: Optional[AsyncSESv2ClientConfig] = 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/async_se_sv2.py
5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 | |