create_configuration_set
async
¶
create_configuration_set(
configuration_set_name: ConfigurationSetName,
*,
config_overrides: Optional[AsyncSESv2ClientConfig] = None,
tracking_options: Optional[TrackingOptions] = None,
delivery_options: Optional[DeliveryOptions] = None,
reputation_options: Optional[ReputationOptions] = None,
sending_options: Optional[SendingOptions] = None,
tags: Optional[TagList] = None,
suppression_options: Optional[SuppressionOptions] = None,
vdm_options: Optional[VdmOptions] = None,
archiving_options: Optional[ArchivingOptions] = None,
message_security_options: Optional[MessageSecurityOptions] = None,
) -> CreateConfigurationSetResponse
Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
Parameters:
-
configuration_set_name(ConfigurationSetName) –The name of the configuration set. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only.
-
tracking_options(Optional[TrackingOptions], default:None) –An object that defines the open and click tracking options for emails that you send using the configuration set.
-
delivery_options(Optional[DeliveryOptions], default:None) –An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
-
reputation_options(Optional[ReputationOptions], default:None) –An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
-
sending_options(Optional[SendingOptions], default:None) –An object that defines whether or not Amazon SES can send email that you send using the configuration set.
-
tags(Optional[TagList], default:None) –An array of objects that define the tags (keys and values) to associate with the configuration set.
-
suppression_options(Optional[SuppressionOptions], default:None) –An object that contains information about the suppression list preferences for the configuration set. You can optionally include a
SuppressionScopeto override the tenant or account suppression scope for emails sent using this configuration set. -
vdm_options(Optional[VdmOptions], default:None) –An object that defines the VDM options for emails that you send using the configuration set.
-
archiving_options(Optional[ArchivingOptions], default:None) –An object that defines the MailManager archiving options for emails that you send using the configuration set.
-
message_security_options(Optional[MessageSecurityOptions], default:None) –The message security options to apply to the configuration set, such as the signing scheme used for messages that you send with the configuration set.
Raises:
-
AlreadyExistsException–The resource specified in your request already exists.
-
BadRequestException–The input you provided is invalid.
-
ConcurrentModificationException–The resource is being modified by another operation or thread.
-
LimitExceededException–There are too many instances of the specified resource type.
-
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
646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 | |