Struct aws_sdk_sesv2::client::Client [−][src]
pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Client for Amazon Simple Email Service
Client for invoking operations on Amazon Simple Email Service. Each operation on Amazon Simple Email Service is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_sesv2::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_sesv2::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_sesv2::Client::from_conf(config);Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the CreateConfigurationSet operation.
See CreateConfigurationSet for more information about the
operation and its arguments.
pub fn create_configuration_set_event_destination(
&self
) -> CreateConfigurationSetEventDestination<C, M, R>
pub fn create_configuration_set_event_destination(
&self
) -> CreateConfigurationSetEventDestination<C, M, R>
Constructs a fluent builder for the CreateConfigurationSetEventDestination operation.
See CreateConfigurationSetEventDestination for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateContact operation.
See CreateContact for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateContactList operation.
See CreateContactList for more information about the
operation and its arguments.
pub fn create_custom_verification_email_template(
&self
) -> CreateCustomVerificationEmailTemplate<C, M, R>
pub fn create_custom_verification_email_template(
&self
) -> CreateCustomVerificationEmailTemplate<C, M, R>
Constructs a fluent builder for the CreateCustomVerificationEmailTemplate operation.
See CreateCustomVerificationEmailTemplate for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateDedicatedIpPool operation.
See CreateDedicatedIpPool for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateDeliverabilityTestReport operation.
See CreateDeliverabilityTestReport for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateEmailIdentity operation.
See CreateEmailIdentity for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateEmailIdentityPolicy operation.
See CreateEmailIdentityPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateEmailTemplate operation.
See CreateEmailTemplate for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateImportJob operation.
See CreateImportJob for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteConfigurationSet operation.
See DeleteConfigurationSet for more information about the
operation and its arguments.
pub fn delete_configuration_set_event_destination(
&self
) -> DeleteConfigurationSetEventDestination<C, M, R>
pub fn delete_configuration_set_event_destination(
&self
) -> DeleteConfigurationSetEventDestination<C, M, R>
Constructs a fluent builder for the DeleteConfigurationSetEventDestination operation.
See DeleteConfigurationSetEventDestination for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteContact operation.
See DeleteContact for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteContactList operation.
See DeleteContactList for more information about the
operation and its arguments.
pub fn delete_custom_verification_email_template(
&self
) -> DeleteCustomVerificationEmailTemplate<C, M, R>
pub fn delete_custom_verification_email_template(
&self
) -> DeleteCustomVerificationEmailTemplate<C, M, R>
Constructs a fluent builder for the DeleteCustomVerificationEmailTemplate operation.
See DeleteCustomVerificationEmailTemplate for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteDedicatedIpPool operation.
See DeleteDedicatedIpPool for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteEmailIdentity operation.
See DeleteEmailIdentity for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteEmailIdentityPolicy operation.
See DeleteEmailIdentityPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteEmailTemplate operation.
See DeleteEmailTemplate for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteSuppressedDestination operation.
See DeleteSuppressedDestination for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAccount operation.
See GetAccount for more information about the
operation and its arguments.
Constructs a fluent builder for the GetBlacklistReports operation.
See GetBlacklistReports for more information about the
operation and its arguments.
Constructs a fluent builder for the GetConfigurationSet operation.
See GetConfigurationSet for more information about the
operation and its arguments.
pub fn get_configuration_set_event_destinations(
&self
) -> GetConfigurationSetEventDestinations<C, M, R>
pub fn get_configuration_set_event_destinations(
&self
) -> GetConfigurationSetEventDestinations<C, M, R>
Constructs a fluent builder for the GetConfigurationSetEventDestinations operation.
See GetConfigurationSetEventDestinations for more information about the
operation and its arguments.
Constructs a fluent builder for the GetContact operation.
See GetContact for more information about the
operation and its arguments.
Constructs a fluent builder for the GetContactList operation.
See GetContactList for more information about the
operation and its arguments.
pub fn get_custom_verification_email_template(
&self
) -> GetCustomVerificationEmailTemplate<C, M, R>
pub fn get_custom_verification_email_template(
&self
) -> GetCustomVerificationEmailTemplate<C, M, R>
Constructs a fluent builder for the GetCustomVerificationEmailTemplate operation.
See GetCustomVerificationEmailTemplate for more information about the
operation and its arguments.
Constructs a fluent builder for the GetDedicatedIp operation.
See GetDedicatedIp for more information about the
operation and its arguments.
Constructs a fluent builder for the GetDedicatedIps operation.
See GetDedicatedIps for more information about the
operation and its arguments.
pub fn get_deliverability_dashboard_options(
&self
) -> GetDeliverabilityDashboardOptions<C, M, R>
pub fn get_deliverability_dashboard_options(
&self
) -> GetDeliverabilityDashboardOptions<C, M, R>
Constructs a fluent builder for the GetDeliverabilityDashboardOptions operation.
See GetDeliverabilityDashboardOptions for more information about the
operation and its arguments.
Constructs a fluent builder for the GetDeliverabilityTestReport operation.
See GetDeliverabilityTestReport for more information about the
operation and its arguments.
Constructs a fluent builder for the GetDomainDeliverabilityCampaign operation.
See GetDomainDeliverabilityCampaign for more information about the
operation and its arguments.
Constructs a fluent builder for the GetDomainStatisticsReport operation.
See GetDomainStatisticsReport for more information about the
operation and its arguments.
Constructs a fluent builder for the GetEmailIdentity operation.
See GetEmailIdentity for more information about the
operation and its arguments.
Constructs a fluent builder for the GetEmailIdentityPolicies operation.
See GetEmailIdentityPolicies for more information about the
operation and its arguments.
Constructs a fluent builder for the GetEmailTemplate operation.
See GetEmailTemplate for more information about the
operation and its arguments.
Constructs a fluent builder for the GetImportJob operation.
See GetImportJob for more information about the
operation and its arguments.
Constructs a fluent builder for the GetSuppressedDestination operation.
See GetSuppressedDestination for more information about the
operation and its arguments.
Constructs a fluent builder for the ListConfigurationSets operation.
See ListConfigurationSets for more information about the
operation and its arguments.
Constructs a fluent builder for the ListContactLists operation.
See ListContactLists for more information about the
operation and its arguments.
Constructs a fluent builder for the ListContacts operation.
See ListContacts for more information about the
operation and its arguments.
pub fn list_custom_verification_email_templates(
&self
) -> ListCustomVerificationEmailTemplates<C, M, R>
pub fn list_custom_verification_email_templates(
&self
) -> ListCustomVerificationEmailTemplates<C, M, R>
Constructs a fluent builder for the ListCustomVerificationEmailTemplates operation.
See ListCustomVerificationEmailTemplates for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDedicatedIpPools operation.
See ListDedicatedIpPools for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDeliverabilityTestReports operation.
See ListDeliverabilityTestReports for more information about the
operation and its arguments.
pub fn list_domain_deliverability_campaigns(
&self
) -> ListDomainDeliverabilityCampaigns<C, M, R>
pub fn list_domain_deliverability_campaigns(
&self
) -> ListDomainDeliverabilityCampaigns<C, M, R>
Constructs a fluent builder for the ListDomainDeliverabilityCampaigns operation.
See ListDomainDeliverabilityCampaigns for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEmailIdentities operation.
See ListEmailIdentities for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEmailTemplates operation.
See ListEmailTemplates for more information about the
operation and its arguments.
Constructs a fluent builder for the ListImportJobs operation.
See ListImportJobs for more information about the
operation and its arguments.
Constructs a fluent builder for the ListSuppressedDestinations operation.
See ListSuppressedDestinations for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTagsForResource operation.
See ListTagsForResource for more information about the
operation and its arguments.
pub fn put_account_dedicated_ip_warmup_attributes(
&self
) -> PutAccountDedicatedIpWarmupAttributes<C, M, R>
pub fn put_account_dedicated_ip_warmup_attributes(
&self
) -> PutAccountDedicatedIpWarmupAttributes<C, M, R>
Constructs a fluent builder for the PutAccountDedicatedIpWarmupAttributes operation.
See PutAccountDedicatedIpWarmupAttributes for more information about the
operation and its arguments.
Constructs a fluent builder for the PutAccountDetails operation.
See PutAccountDetails for more information about the
operation and its arguments.
Constructs a fluent builder for the PutAccountSendingAttributes operation.
See PutAccountSendingAttributes for more information about the
operation and its arguments.
Constructs a fluent builder for the PutAccountSuppressionAttributes operation.
See PutAccountSuppressionAttributes for more information about the
operation and its arguments.
pub fn put_configuration_set_delivery_options(
&self
) -> PutConfigurationSetDeliveryOptions<C, M, R>
pub fn put_configuration_set_delivery_options(
&self
) -> PutConfigurationSetDeliveryOptions<C, M, R>
Constructs a fluent builder for the PutConfigurationSetDeliveryOptions operation.
See PutConfigurationSetDeliveryOptions for more information about the
operation and its arguments.
pub fn put_configuration_set_reputation_options(
&self
) -> PutConfigurationSetReputationOptions<C, M, R>
pub fn put_configuration_set_reputation_options(
&self
) -> PutConfigurationSetReputationOptions<C, M, R>
Constructs a fluent builder for the PutConfigurationSetReputationOptions operation.
See PutConfigurationSetReputationOptions for more information about the
operation and its arguments.
pub fn put_configuration_set_sending_options(
&self
) -> PutConfigurationSetSendingOptions<C, M, R>
pub fn put_configuration_set_sending_options(
&self
) -> PutConfigurationSetSendingOptions<C, M, R>
Constructs a fluent builder for the PutConfigurationSetSendingOptions operation.
See PutConfigurationSetSendingOptions for more information about the
operation and its arguments.
pub fn put_configuration_set_suppression_options(
&self
) -> PutConfigurationSetSuppressionOptions<C, M, R>
pub fn put_configuration_set_suppression_options(
&self
) -> PutConfigurationSetSuppressionOptions<C, M, R>
Constructs a fluent builder for the PutConfigurationSetSuppressionOptions operation.
See PutConfigurationSetSuppressionOptions for more information about the
operation and its arguments.
pub fn put_configuration_set_tracking_options(
&self
) -> PutConfigurationSetTrackingOptions<C, M, R>
pub fn put_configuration_set_tracking_options(
&self
) -> PutConfigurationSetTrackingOptions<C, M, R>
Constructs a fluent builder for the PutConfigurationSetTrackingOptions operation.
See PutConfigurationSetTrackingOptions for more information about the
operation and its arguments.
Constructs a fluent builder for the PutDedicatedIpInPool operation.
See PutDedicatedIpInPool for more information about the
operation and its arguments.
Constructs a fluent builder for the PutDedicatedIpWarmupAttributes operation.
See PutDedicatedIpWarmupAttributes for more information about the
operation and its arguments.
pub fn put_deliverability_dashboard_option(
&self
) -> PutDeliverabilityDashboardOption<C, M, R>
pub fn put_deliverability_dashboard_option(
&self
) -> PutDeliverabilityDashboardOption<C, M, R>
Constructs a fluent builder for the PutDeliverabilityDashboardOption operation.
See PutDeliverabilityDashboardOption for more information about the
operation and its arguments.
pub fn put_email_identity_configuration_set_attributes(
&self
) -> PutEmailIdentityConfigurationSetAttributes<C, M, R>
pub fn put_email_identity_configuration_set_attributes(
&self
) -> PutEmailIdentityConfigurationSetAttributes<C, M, R>
Constructs a fluent builder for the PutEmailIdentityConfigurationSetAttributes operation.
See PutEmailIdentityConfigurationSetAttributes for more information about the
operation and its arguments.
Constructs a fluent builder for the PutEmailIdentityDkimAttributes operation.
See PutEmailIdentityDkimAttributes for more information about the
operation and its arguments.
pub fn put_email_identity_dkim_signing_attributes(
&self
) -> PutEmailIdentityDkimSigningAttributes<C, M, R>
pub fn put_email_identity_dkim_signing_attributes(
&self
) -> PutEmailIdentityDkimSigningAttributes<C, M, R>
Constructs a fluent builder for the PutEmailIdentityDkimSigningAttributes operation.
See PutEmailIdentityDkimSigningAttributes for more information about the
operation and its arguments.
pub fn put_email_identity_feedback_attributes(
&self
) -> PutEmailIdentityFeedbackAttributes<C, M, R>
pub fn put_email_identity_feedback_attributes(
&self
) -> PutEmailIdentityFeedbackAttributes<C, M, R>
Constructs a fluent builder for the PutEmailIdentityFeedbackAttributes operation.
See PutEmailIdentityFeedbackAttributes for more information about the
operation and its arguments.
pub fn put_email_identity_mail_from_attributes(
&self
) -> PutEmailIdentityMailFromAttributes<C, M, R>
pub fn put_email_identity_mail_from_attributes(
&self
) -> PutEmailIdentityMailFromAttributes<C, M, R>
Constructs a fluent builder for the PutEmailIdentityMailFromAttributes operation.
See PutEmailIdentityMailFromAttributes for more information about the
operation and its arguments.
Constructs a fluent builder for the PutSuppressedDestination operation.
See PutSuppressedDestination for more information about the
operation and its arguments.
Constructs a fluent builder for the SendBulkEmail operation.
See SendBulkEmail for more information about the
operation and its arguments.
Constructs a fluent builder for the SendCustomVerificationEmail operation.
See SendCustomVerificationEmail for more information about the
operation and its arguments.
Constructs a fluent builder for the SendEmail operation.
See SendEmail for more information about the
operation and its arguments.
Constructs a fluent builder for the TagResource operation.
See TagResource for more information about the
operation and its arguments.
Constructs a fluent builder for the TestRenderEmailTemplate operation.
See TestRenderEmailTemplate for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagResource operation.
See UntagResource for more information about the
operation and its arguments.
pub fn update_configuration_set_event_destination(
&self
) -> UpdateConfigurationSetEventDestination<C, M, R>
pub fn update_configuration_set_event_destination(
&self
) -> UpdateConfigurationSetEventDestination<C, M, R>
Constructs a fluent builder for the UpdateConfigurationSetEventDestination operation.
See UpdateConfigurationSetEventDestination for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateContact operation.
See UpdateContact for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateContactList operation.
See UpdateContactList for more information about the
operation and its arguments.
pub fn update_custom_verification_email_template(
&self
) -> UpdateCustomVerificationEmailTemplate<C, M, R>
pub fn update_custom_verification_email_template(
&self
) -> UpdateCustomVerificationEmailTemplate<C, M, R>
Constructs a fluent builder for the UpdateCustomVerificationEmailTemplate operation.
See UpdateCustomVerificationEmailTemplate for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateEmailIdentityPolicy operation.
See UpdateEmailIdentityPolicy for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateEmailTemplate operation.
See UpdateEmailTemplate for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
