Skip to content

SESV2Client

Index > SESV2 > SESV2Client

Auto-generated documentation for SESV2 type annotations stubs module mypy-boto3-sesv2.

SESV2Client

Type annotations and code completion for boto3.client("sesv2"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_boto3_sesv2.client import SESV2Client

def get_sesv2_client() -> SESV2Client:
    return Session().client("sesv2")

Exceptions

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("sesv2").exceptions structure.

Usage example
client = boto3.client("sesv2")

try:
    do_something(client)
except (
    client.AccountSuspendedException,
    client.AlreadyExistsException,
    client.BadRequestException,
    client.ClientError,
    client.ConcurrentModificationException,
    client.ConflictException,
    client.InvalidNextTokenException,
    client.LimitExceededException,
    client.MailFromDomainNotVerifiedException,
    client.MessageRejected,
    client.NotFoundException,
    client.SendingPausedException,
    client.TooManyRequestsException,
) as e:
    print(e)
Type checking example
from mypy_boto3_sesv2.client import Exceptions

def handle_error(exc: Exceptions.AccountSuspendedException) -> None:
    ...

Methods

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("sesv2").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("sesv2").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

create_configuration_set

Create a configuration set.

Type annotations and code completion for boto3.client("sesv2").create_configuration_set method. boto3 documentation

Method definition
def create_configuration_set(
    self,
    *,
    ConfigurationSetName: str,
    TrackingOptions: TrackingOptionsTypeDef = ...,  # (1)
    DeliveryOptions: DeliveryOptionsTypeDef = ...,  # (2)
    ReputationOptions: ReputationOptionsTypeDef = ...,  # (3)
    SendingOptions: SendingOptionsTypeDef = ...,  # (4)
    Tags: Sequence[TagTypeDef] = ...,  # (5)
    SuppressionOptions: SuppressionOptionsTypeDef = ...,  # (6)
) -> Dict[str, Any]:
    ...
  1. See TrackingOptionsTypeDef
  2. See DeliveryOptionsTypeDef
  3. See ReputationOptionsTypeDef
  4. See SendingOptionsTypeDef
  5. See TagTypeDef
  6. See SuppressionOptionsTypeDef
Usage example with kwargs
kwargs: CreateConfigurationSetRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
}

parent.create_configuration_set(**kwargs)
  1. See CreateConfigurationSetRequestRequestTypeDef

create_configuration_set_event_destination

Create an event destination.

Type annotations and code completion for boto3.client("sesv2").create_configuration_set_event_destination method. boto3 documentation

Method definition
def create_configuration_set_event_destination(
    self,
    *,
    ConfigurationSetName: str,
    EventDestinationName: str,
    EventDestination: EventDestinationDefinitionTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See EventDestinationDefinitionTypeDef
Usage example with kwargs
kwargs: CreateConfigurationSetEventDestinationRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
    "EventDestinationName": ...,
    "EventDestination": ...,
}

parent.create_configuration_set_event_destination(**kwargs)
  1. See CreateConfigurationSetEventDestinationRequestRequestTypeDef

create_contact

Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.

Type annotations and code completion for boto3.client("sesv2").create_contact method. boto3 documentation

Method definition
def create_contact(
    self,
    *,
    ContactListName: str,
    EmailAddress: str,
    TopicPreferences: Sequence[TopicPreferenceTypeDef] = ...,  # (1)
    UnsubscribeAll: bool = ...,
    AttributesData: str = ...,
) -> Dict[str, Any]:
    ...
  1. See TopicPreferenceTypeDef
Usage example with kwargs
kwargs: CreateContactRequestRequestTypeDef = {  # (1)
    "ContactListName": ...,
    "EmailAddress": ...,
}

parent.create_contact(**kwargs)
  1. See CreateContactRequestRequestTypeDef

create_contact_list

Creates a contact list.

Type annotations and code completion for boto3.client("sesv2").create_contact_list method. boto3 documentation

Method definition
def create_contact_list(
    self,
    *,
    ContactListName: str,
    Topics: Sequence[TopicTypeDef] = ...,  # (1)
    Description: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> Dict[str, Any]:
    ...
  1. See TopicTypeDef
  2. See TagTypeDef
Usage example with kwargs
kwargs: CreateContactListRequestRequestTypeDef = {  # (1)
    "ContactListName": ...,
}

parent.create_contact_list(**kwargs)
  1. See CreateContactListRequestRequestTypeDef

create_custom_verification_email_template

Creates a new custom verification email template.

Type annotations and code completion for boto3.client("sesv2").create_custom_verification_email_template method. boto3 documentation

Method definition
def create_custom_verification_email_template(
    self,
    *,
    TemplateName: str,
    FromEmailAddress: str,
    TemplateSubject: str,
    TemplateContent: str,
    SuccessRedirectionURL: str,
    FailureRedirectionURL: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: CreateCustomVerificationEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
    "FromEmailAddress": ...,
    "TemplateSubject": ...,
    "TemplateContent": ...,
    "SuccessRedirectionURL": ...,
    "FailureRedirectionURL": ...,
}

parent.create_custom_verification_email_template(**kwargs)
  1. See CreateCustomVerificationEmailTemplateRequestRequestTypeDef

create_dedicated_ip_pool

Create a new pool of dedicated IP addresses.

Type annotations and code completion for boto3.client("sesv2").create_dedicated_ip_pool method. boto3 documentation

Method definition
def create_dedicated_ip_pool(
    self,
    *,
    PoolName: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
) -> Dict[str, Any]:
    ...
  1. See TagTypeDef
Usage example with kwargs
kwargs: CreateDedicatedIpPoolRequestRequestTypeDef = {  # (1)
    "PoolName": ...,
}

parent.create_dedicated_ip_pool(**kwargs)
  1. See CreateDedicatedIpPoolRequestRequestTypeDef

create_deliverability_test_report

Create a new predictive inbox placement test.

Type annotations and code completion for boto3.client("sesv2").create_deliverability_test_report method. boto3 documentation

Method definition
def create_deliverability_test_report(
    self,
    *,
    FromEmailAddress: str,
    Content: EmailContentTypeDef,  # (1)
    ReportName: str = ...,
    Tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreateDeliverabilityTestReportResponseTypeDef:  # (3)
    ...
  1. See EmailContentTypeDef
  2. See TagTypeDef
  3. See CreateDeliverabilityTestReportResponseTypeDef
Usage example with kwargs
kwargs: CreateDeliverabilityTestReportRequestRequestTypeDef = {  # (1)
    "FromEmailAddress": ...,
    "Content": ...,
}

parent.create_deliverability_test_report(**kwargs)
  1. See CreateDeliverabilityTestReportRequestRequestTypeDef

create_email_identity

Starts the process of verifying an email identity.

Type annotations and code completion for boto3.client("sesv2").create_email_identity method. boto3 documentation

Method definition
def create_email_identity(
    self,
    *,
    EmailIdentity: str,
    Tags: Sequence[TagTypeDef] = ...,  # (1)
    DkimSigningAttributes: DkimSigningAttributesTypeDef = ...,  # (2)
    ConfigurationSetName: str = ...,
) -> CreateEmailIdentityResponseTypeDef:  # (3)
    ...
  1. See TagTypeDef
  2. See DkimSigningAttributesTypeDef
  3. See CreateEmailIdentityResponseTypeDef
Usage example with kwargs
kwargs: CreateEmailIdentityRequestRequestTypeDef = {  # (1)
    "EmailIdentity": ...,
}

parent.create_email_identity(**kwargs)
  1. See CreateEmailIdentityRequestRequestTypeDef

create_email_identity_policy

Creates the specified sending authorization policy for the given identity (an email address or a domain).

Type annotations and code completion for boto3.client("sesv2").create_email_identity_policy method. boto3 documentation

Method definition
def create_email_identity_policy(
    self,
    *,
    EmailIdentity: str,
    PolicyName: str,
    Policy: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: CreateEmailIdentityPolicyRequestRequestTypeDef = {  # (1)
    "EmailIdentity": ...,
    "PolicyName": ...,
    "Policy": ...,
}

parent.create_email_identity_policy(**kwargs)
  1. See CreateEmailIdentityPolicyRequestRequestTypeDef

create_email_template

Creates an email template.

Type annotations and code completion for boto3.client("sesv2").create_email_template method. boto3 documentation

Method definition
def create_email_template(
    self,
    *,
    TemplateName: str,
    TemplateContent: EmailTemplateContentTypeDef,  # (1)
) -> Dict[str, Any]:
    ...
  1. See EmailTemplateContentTypeDef
Usage example with kwargs
kwargs: CreateEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
    "TemplateContent": ...,
}

parent.create_email_template(**kwargs)
  1. See CreateEmailTemplateRequestRequestTypeDef

create_import_job

Creates an import job for a data destination.

Type annotations and code completion for boto3.client("sesv2").create_import_job method. boto3 documentation

Method definition
def create_import_job(
    self,
    *,
    ImportDestination: ImportDestinationTypeDef,  # (1)
    ImportDataSource: ImportDataSourceTypeDef,  # (2)
) -> CreateImportJobResponseTypeDef:  # (3)
    ...
  1. See ImportDestinationTypeDef
  2. See ImportDataSourceTypeDef
  3. See CreateImportJobResponseTypeDef
Usage example with kwargs
kwargs: CreateImportJobRequestRequestTypeDef = {  # (1)
    "ImportDestination": ...,
    "ImportDataSource": ...,
}

parent.create_import_job(**kwargs)
  1. See CreateImportJobRequestRequestTypeDef

delete_configuration_set

Delete an existing configuration set.

Type annotations and code completion for boto3.client("sesv2").delete_configuration_set method. boto3 documentation

Method definition
def delete_configuration_set(
    self,
    *,
    ConfigurationSetName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteConfigurationSetRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
}

parent.delete_configuration_set(**kwargs)
  1. See DeleteConfigurationSetRequestRequestTypeDef

delete_configuration_set_event_destination

Delete an event destination.

Type annotations and code completion for boto3.client("sesv2").delete_configuration_set_event_destination method. boto3 documentation

Method definition
def delete_configuration_set_event_destination(
    self,
    *,
    ConfigurationSetName: str,
    EventDestinationName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteConfigurationSetEventDestinationRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
    "EventDestinationName": ...,
}

parent.delete_configuration_set_event_destination(**kwargs)
  1. See DeleteConfigurationSetEventDestinationRequestRequestTypeDef

delete_contact

Removes a contact from a contact list.

Type annotations and code completion for boto3.client("sesv2").delete_contact method. boto3 documentation

Method definition
def delete_contact(
    self,
    *,
    ContactListName: str,
    EmailAddress: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteContactRequestRequestTypeDef = {  # (1)
    "ContactListName": ...,
    "EmailAddress": ...,
}

parent.delete_contact(**kwargs)
  1. See DeleteContactRequestRequestTypeDef

delete_contact_list

Deletes a contact list and all of the contacts on that list.

Type annotations and code completion for boto3.client("sesv2").delete_contact_list method. boto3 documentation

Method definition
def delete_contact_list(
    self,
    *,
    ContactListName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteContactListRequestRequestTypeDef = {  # (1)
    "ContactListName": ...,
}

parent.delete_contact_list(**kwargs)
  1. See DeleteContactListRequestRequestTypeDef

delete_custom_verification_email_template

Deletes an existing custom verification email template.

Type annotations and code completion for boto3.client("sesv2").delete_custom_verification_email_template method. boto3 documentation

Method definition
def delete_custom_verification_email_template(
    self,
    *,
    TemplateName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteCustomVerificationEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
}

parent.delete_custom_verification_email_template(**kwargs)
  1. See DeleteCustomVerificationEmailTemplateRequestRequestTypeDef

delete_dedicated_ip_pool

Delete a dedicated IP pool.

Type annotations and code completion for boto3.client("sesv2").delete_dedicated_ip_pool method. boto3 documentation

Method definition
def delete_dedicated_ip_pool(
    self,
    *,
    PoolName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteDedicatedIpPoolRequestRequestTypeDef = {  # (1)
    "PoolName": ...,
}

parent.delete_dedicated_ip_pool(**kwargs)
  1. See DeleteDedicatedIpPoolRequestRequestTypeDef

delete_email_identity

Deletes an email identity.

Type annotations and code completion for boto3.client("sesv2").delete_email_identity method. boto3 documentation

Method definition
def delete_email_identity(
    self,
    *,
    EmailIdentity: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteEmailIdentityRequestRequestTypeDef = {  # (1)
    "EmailIdentity": ...,
}

parent.delete_email_identity(**kwargs)
  1. See DeleteEmailIdentityRequestRequestTypeDef

delete_email_identity_policy

Deletes the specified sending authorization policy for the given identity (an email address or a domain).

Type annotations and code completion for boto3.client("sesv2").delete_email_identity_policy method. boto3 documentation

Method definition
def delete_email_identity_policy(
    self,
    *,
    EmailIdentity: str,
    PolicyName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteEmailIdentityPolicyRequestRequestTypeDef = {  # (1)
    "EmailIdentity": ...,
    "PolicyName": ...,
}

parent.delete_email_identity_policy(**kwargs)
  1. See DeleteEmailIdentityPolicyRequestRequestTypeDef

delete_email_template

Deletes an email template.

Type annotations and code completion for boto3.client("sesv2").delete_email_template method. boto3 documentation

Method definition
def delete_email_template(
    self,
    *,
    TemplateName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
}

parent.delete_email_template(**kwargs)
  1. See DeleteEmailTemplateRequestRequestTypeDef

delete_suppressed_destination

Removes an email address from the suppression list for your account.

Type annotations and code completion for boto3.client("sesv2").delete_suppressed_destination method. boto3 documentation

Method definition
def delete_suppressed_destination(
    self,
    *,
    EmailAddress: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteSuppressedDestinationRequestRequestTypeDef = {  # (1)
    "EmailAddress": ...,
}

parent.delete_suppressed_destination(**kwargs)
  1. See DeleteSuppressedDestinationRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("sesv2").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

get_account

Obtain information about the email-sending status and capabilities of your Amazon SES account in the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("sesv2").get_account method. boto3 documentation

Method definition
def get_account(
    self,
) -> GetAccountResponseTypeDef:  # (1)
    ...
  1. See GetAccountResponseTypeDef

get_blacklist_reports

Retrieve a list of the blacklists that your dedicated IP addresses appear on.

Type annotations and code completion for boto3.client("sesv2").get_blacklist_reports method. boto3 documentation

Method definition
def get_blacklist_reports(
    self,
    *,
    BlacklistItemNames: Sequence[str],
) -> GetBlacklistReportsResponseTypeDef:  # (1)
    ...
  1. See GetBlacklistReportsResponseTypeDef
Usage example with kwargs
kwargs: GetBlacklistReportsRequestRequestTypeDef = {  # (1)
    "BlacklistItemNames": ...,
}

parent.get_blacklist_reports(**kwargs)
  1. See GetBlacklistReportsRequestRequestTypeDef

get_configuration_set

Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more.

Type annotations and code completion for boto3.client("sesv2").get_configuration_set method. boto3 documentation

Method definition
def get_configuration_set(
    self,
    *,
    ConfigurationSetName: str,
) -> GetConfigurationSetResponseTypeDef:  # (1)
    ...
  1. See GetConfigurationSetResponseTypeDef
Usage example with kwargs
kwargs: GetConfigurationSetRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
}

parent.get_configuration_set(**kwargs)
  1. See GetConfigurationSetRequestRequestTypeDef

get_configuration_set_event_destinations

Retrieve a list of event destinations that are associated with a configuration set.

Type annotations and code completion for boto3.client("sesv2").get_configuration_set_event_destinations method. boto3 documentation

Method definition
def get_configuration_set_event_destinations(
    self,
    *,
    ConfigurationSetName: str,
) -> GetConfigurationSetEventDestinationsResponseTypeDef:  # (1)
    ...
  1. See GetConfigurationSetEventDestinationsResponseTypeDef
Usage example with kwargs
kwargs: GetConfigurationSetEventDestinationsRequestRequestTypeDef = {  # (1)
    "ConfigurationSetName": ...,
}

parent.get_configuration_set_event_destinations(**kwargs)
  1. See GetConfigurationSetEventDestinationsRequestRequestTypeDef

get_contact

Returns a contact from a contact list.

Type annotations and code completion for boto3.client("sesv2").get_contact method. boto3 documentation

Method definition
def get_contact(
    self,
    *,
    ContactListName: str,
    EmailAddress: str,
) -> GetContactResponseTypeDef:  # (1)
    ...
  1. See GetContactResponseTypeDef
Usage example with kwargs
kwargs: GetContactRequestRequestTypeDef = {  # (1)
    "ContactListName": ...,
    "EmailAddress": ...,
}

parent.get_contact(**kwargs)
  1. See GetContactRequestRequestTypeDef

get_contact_list

Returns contact list metadata.

Type annotations and code completion for boto3.client("sesv2").get_contact_list method. boto3 documentation

Method definition
def get_contact_list(
    self,
    *,
    ContactListName: str,
) -> GetContactListResponseTypeDef:  # (1)
    ...
  1. See GetContactListResponseTypeDef
Usage example with kwargs
kwargs: GetContactListRequestRequestTypeDef = {  # (1)
    "ContactListName": ...,
}

parent.get_contact_list(**kwargs)
  1. See GetContactListRequestRequestTypeDef

get_custom_verification_email_template

Returns the custom email verification template for the template name you specify.

Type annotations and code completion for boto3.client("sesv2").get_custom_verification_email_template method. boto3 documentation

Method definition
def get_custom_verification_email_template(
    self,
    *,
    TemplateName: str,
) -> GetCustomVerificationEmailTemplateResponseTypeDef:  # (1)
    ...
  1. See GetCustomVerificationEmailTemplateResponseTypeDef
Usage example with kwargs
kwargs: GetCustomVerificationEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
}

parent.get_custom_verification_email_template(**kwargs)
  1. See GetCustomVerificationEmailTemplateRequestRequestTypeDef

get_dedicated_ip

Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.

Type annotations and code completion for boto3.client("sesv2").get_dedicated_ip method. boto3 documentation

Method definition
def get_dedicated_ip(
    self,
    *,
    Ip: str,
) -> GetDedicatedIpResponseTypeDef:  # (1)
    ...
  1. See GetDedicatedIpResponseTypeDef
Usage example with kwargs
kwargs: GetDedicatedIpRequestRequestTypeDef = {  # (1)
    "Ip": ...,
}

parent.get_dedicated_ip(**kwargs)
  1. See GetDedicatedIpRequestRequestTypeDef

get_dedicated_ips

List the dedicated IP addresses that are associated with your Amazon Web Services account.

Type annotations and code completion for boto3.client("sesv2").get_dedicated_ips method. boto3 documentation

Method definition
def get_dedicated_ips(
    self,
    *,
    PoolName: str = ...,
    NextToken: str = ...,
    PageSize: int = ...,
) -> GetDedicatedIpsResponseTypeDef:  # (1)
    ...
  1. See GetDedicatedIpsResponseTypeDef
Usage example with kwargs
kwargs: GetDedicatedIpsRequestRequestTypeDef = {  # (1)
    "PoolName": ...,
}

parent.get_dedicated_ips(**kwargs)
  1. See GetDedicatedIpsRequestRequestTypeDef

get_deliverability_dashboard_options

Retrieve information about the status of the Deliverability dashboard for your account.

Type annotations and code completion for boto3.client("sesv2").get_deliverability_dashboard_options method. boto3 documentation

Method definition
def get_deliverability_dashboard_options(
    self,
) -> GetDeliverabilityDashboardOptionsResponseTypeDef:  # (1)
    ...
  1. See GetDeliverabilityDashboardOptionsResponseTypeDef

get_deliverability_test_report

Retrieve the results of a predictive inbox placement test.

Type annotations and code completion for boto3.client("sesv2").get_deliverability_test_report method. boto3 documentation

Method definition
def get_deliverability_test_report(
    self,
    *,
    ReportId: str,
) -> GetDeliverabilityTestReportResponseTypeDef:  # (1)
    ...
  1. See GetDeliverabilityTestReportResponseTypeDef
Usage example with kwargs
kwargs: GetDeliverabilityTestReportRequestRequestTypeDef = {  # (1)
    "ReportId": ...,
}

parent.get_deliverability_test_report(**kwargs)
  1. See GetDeliverabilityTestReportRequestRequestTypeDef

get_domain_deliverability_campaign

Retrieve all the deliverability data for a specific campaign.

Type annotations and code completion for boto3.client("sesv2").get_domain_deliverability_campaign method. boto3 documentation

Method definition
def get_domain_deliverability_campaign(
    self,
    *,
    CampaignId: str,
) -> GetDomainDeliverabilityCampaignResponseTypeDef:  # (1)
    ...
  1. See GetDomainDeliverabilityCampaignResponseTypeDef
Usage example with kwargs
kwargs: GetDomainDeliverabilityCampaignRequestRequestTypeDef = {  # (1)
    "CampaignId": ...,
}

parent.get_domain_deliverability_campaign(**kwargs)
  1. See GetDomainDeliverabilityCampaignRequestRequestTypeDef

get_domain_statistics_report

Retrieve inbox placement and engagement rates for the domains that you use to send email.

Type annotations and code completion for boto3.client("sesv2").get_domain_statistics_report method. boto3 documentation

Method definition
def get_domain_statistics_report(
    self,
    *,
    Domain: str,
    StartDate: Union[datetime, str],
    EndDate: Union[datetime, str],
) -> GetDomainStatisticsReportResponseTypeDef:  # (1)
    ...
  1. See GetDomainStatisticsReportResponseTypeDef
Usage example with kwargs
kwargs: GetDomainStatisticsReportRequestRequestTypeDef = {  # (1)
    "Domain": ...,
    "StartDate": ...,
    "EndDate": ...,
}

parent.get_domain_statistics_report(**kwargs)
  1. See GetDomainStatisticsReportRequestRequestTypeDef

get_email_identity

Provides information about a specific identity, including the identity's verification status, sending authorization policies, its DKIM authentication status, and its custom Mail-From settings.

Type annotations and code completion for boto3.client("sesv2").get_email_identity method. boto3 documentation

Method definition
def get_email_identity(
    self,
    *,
    EmailIdentity: str,
) -> GetEmailIdentityResponseTypeDef:  # (1)
    ...
  1. See GetEmailIdentityResponseTypeDef
Usage example with kwargs
kwargs: GetEmailIdentityRequestRequestTypeDef = {  # (1)
    "EmailIdentity": ...,
}

parent.get_email_identity(**kwargs)
  1. See GetEmailIdentityRequestRequestTypeDef

get_email_identity_policies

Returns the requested sending authorization policies for the given identity (an email address or a domain).

Type annotations and code completion for boto3.client("sesv2").get_email_identity_policies method. boto3 documentation

Method definition
def get_email_identity_policies(
    self,
    *,
    EmailIdentity: str,
) -> GetEmailIdentityPoliciesResponseTypeDef:  # (1)
    ...
  1. See GetEmailIdentityPoliciesResponseTypeDef
Usage example with kwargs
kwargs: GetEmailIdentityPoliciesRequestRequestTypeDef = {  # (1)
    "EmailIdentity": ...,
}

parent.get_email_identity_policies(**kwargs)
  1. See GetEmailIdentityPoliciesRequestRequestTypeDef

get_email_template

Displays the template object (which includes the subject line, HTML part and text part) for the template you specify.

Type annotations and code completion for boto3.client("sesv2").get_email_template method. boto3 documentation

Method definition
def get_email_template(
    self,
    *,
    TemplateName: str,
) -> GetEmailTemplateResponseTypeDef:  # (1)
    ...
  1. See GetEmailTemplateResponseTypeDef
Usage example with kwargs
kwargs: GetEmailTemplateRequestRequestTypeDef = {  # (1)
    "TemplateName": ...,
}

parent.get_email_template(**kwargs)
  1. See GetEmailTemplateRequestRequestTypeDef

get_import_job

Provides information about an import job.

Type annotations and code completion for boto3.client("sesv2").get_import_job method. boto3 documentation

Method definition
def get_import_job(
    self,
    *,
    JobId: str,
) -> GetImportJobResponseTypeDef:  # (1)
    ...
  1. See GetImportJobResponseTypeDef
Usage example with kwargs
kwargs: GetImportJobRequestRequestTypeDef = {  # (1)
    "JobId": ...,
}

parent.get_import_job(**kwargs)
  1. See GetImportJobRequestRequestTypeDef

get_suppressed_destination

Retrieves information about a specific email address that's on the suppression list for your account.

Type annotations and code completion for boto3.client("sesv2").get_suppressed_destination method. boto3 documentation

Method definition
def get_suppressed_destination(
    self,
    *,
    EmailAddress: str,
) -> GetSuppressedDestinationResponseTypeDef:  # (1)
    ...
  1. See GetSuppressedDestinationResponseTypeDef
Usage example with kwargs
kwargs: GetSuppressedDestinationRequestRequestTypeDef = {  # (1)
    "EmailAddress": ...,
}

parent.get_suppressed_destination(**kwargs)
  1. See GetSuppressedDestinationRequestRequestTypeDef

list_configuration_sets

List all of the configuration sets associated with your account in the current region.

Type annotations and code completion for boto3.client("sesv2").list_configuration_sets method. boto3 documentation

Method definition
def list_configuration_sets(
    self,
    *,
    NextToken: str = ...,
    PageSize: int = ...,
) -> ListConfigurationSetsResponseTypeDef:  # (1)
    ...
  1. See ListConfigurationSetsResponseTypeDef
Usage example with kwargs
kwargs: ListConfigurationSetsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_configuration_sets(**kwargs)
  1. See ListConfigurationSetsRequestRequestTypeDef

list_contact_lists

Lists all of the contact lists available.

Type annotations and code completion for boto3.client("sesv2").list_contact_lists method. boto3 documentation

Method definition
def list_contact_lists(
    self,
    *,
    PageSize: int = ...,
    NextToken: str = ...,
) -> ListContactListsResponseTypeDef:  # (1)
    ...
  1. See ListContactListsResponseTypeDef
Usage example with kwargs
kwargs: ListContactListsRequestRequestTypeDef = {  # (1)
    "PageSize": ...,
}

parent.list_contact_lists(**kwargs)
  1. See ListContactListsRequestRequestTypeDef

list_contacts

Lists the contacts present in a specific contact list.

Type annotations and code completion for boto3.client("sesv2").list_contacts method. boto3 documentation

Method definition
def list_contacts(
    self,
    *,
    ContactListName: str,
    Filter: ListContactsFilterTypeDef = ...,  # (1)
    PageSize: int = ...,
    NextToken: str = ...,
) -> ListContactsResponseTypeDef:  # (2)
    ...
  1. See ListContactsFilterTypeDef
  2. See ListContactsResponseTypeDef
Usage example with kwargs
kwargs: ListContactsRequestRequestTypeDef = {  # (1)
    "ContactListName": ...,
}

parent.list_contacts(**kwargs)
  1. See ListContactsRequestRequestTypeDef

list_custom_verification_email_templates

Lists the existing custom verification email templates for your account in the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("sesv2").list_custom_verification_email_templates method. boto3 documentation

Method definition
def list_custom_verification_email_templates(
    self,
    *,
    NextToken: str = ...,
    PageSize: int = ...,
) -> ListCustomVerificationEmailTemplatesResponseTypeDef:  # (1)
    ...
  1. See ListCustomVerificationEmailTemplatesResponseTypeDef
Usage example with kwargs
kwargs: ListCustomVerificationEmailTemplatesRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_custom_verification_email_templates(**kwargs)
  1. See ListCustomVerificationEmailTemplatesRequestRequestTypeDef

list_dedicated_ip_pools

List all of the dedicated IP pools that exist in your Amazon Web Services account in the current Region.

Type annotations and code completion for boto3.client("sesv2").list_dedicated_ip_pools method. boto3 documentation

Method definition
def list_dedicated_ip_pools(
    self,
    *,
    NextToken: str = ...,
    PageSize: int = ...,
) -> ListDedicatedIpPoolsResponseTypeDef:  # (1)
    ...
  1. See ListDedicatedIpPoolsResponseTypeDef
Usage example with kwargs
kwargs: ListDedicatedIpPoolsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_dedicated_ip_pools(**kwargs)
  1. See ListDedicatedIpPoolsRequestRequestTypeDef

list_deliverability_test_reports

Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses.

Type annotations and code completion for boto3.client("sesv2").list_deliverability_test_reports method. boto3 documentation

Method definition
def list_deliverability_test_reports(
    self,
    *,
    NextToken: str = ...,
    PageSize: int = ...,
) -> ListDeliverabilityTestReportsResponseTypeDef:  # (1)
    ...
  1. See ListDeliverabilityTestReportsResponseTypeDef
Usage example with kwargs
kwargs: ListDeliverabilityTestReportsRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_deliverability_test_reports(**kwargs)
  1. See ListDeliverabilityTestReportsRequestRequestTypeDef

list_domain_deliverability_campaigns

Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range.

Type annotations and code completion for boto3.client("sesv2").list_domain_deliverability_campaigns method. boto3 documentation

Method definition
def list_domain_deliverability_campaigns(
    self,
    *,
    StartDate: Union[datetime, str],
    EndDate: Union[datetime, str],
    SubscribedDomain: str,
    NextToken: str = ...,
    PageSize: int = ...,
) -> ListDomainDeliverabilityCampaignsResponseTypeDef:  # (1)
    ...
  1. See ListDomainDeliverabilityCampaignsResponseTypeDef
Usage example with kwargs
kwargs: ListDomainDeliverabilityCampaignsRequestRequestTypeDef = {  # (1)
    "StartDate": ...,
    "EndDate": ...,
    "SubscribedDomain": ...,
}

parent.list_domain_deliverability_campaigns(**kwargs)
  1. See ListDomainDeliverabilityCampaignsRequestRequestTypeDef

list_email_identities

Returns a list of all of the email identities that are associated with your Amazon Web Services account.

Type annotations and code completion for boto3.client("sesv2").list_email_identities method. boto3 documentation

Method definition
def list_email_identities(
    self,
    *,
    NextToken: str = ...,
    PageSize: int = ...,
) -> ListEmailIdentitiesResponseTypeDef:  # (1)
    ...
  1. See ListEmailIdentitiesResponseTypeDef
Usage example with kwargs
kwargs: ListEmailIdentitiesRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_email_identities(**kwargs)
  1. See ListEmailIdentitiesRequestRequestTypeDef

list_email_templates

Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.

Type annotations and code completion for boto3.client("sesv2").list_email_templates method. boto3 documentation

Method definition
def list_email_templates(
    self,
    *,
    NextToken: str = ...,
    PageSize: int = ...,
) -> ListEmailTemplatesResponseTypeDef:  # (1)
    ...
  1. See ListEmailTemplatesResponseTypeDef
Usage example with kwargs
kwargs: ListEmailTemplatesRequestRequestTypeDef = {  # (1)
    "NextToken": ...,
}

parent.list_email_templates(**kwargs)
  1. See ListEmailTemplatesRequestRequestTypeDef

list_import_jobs

Lists all of the import jobs.

Type annotations and code completion for boto3.client("sesv2").list_import_jobs method. boto3 documentation

Method definition
def list_import_jobs(
    self,
    *,
    ImportDestinationType: ImportDestinationTypeType = ...,  # (1)
    NextToken: str = ...,
    PageSize: int = ...,
) -> ListImportJobsResponseTypeDef:  # (2)
    ...
  1. See ImportDestinationTypeType
  2. See ListImportJobsResponseTypeDef
Usage example with kwargs
kwargs: ListImportJobsRequestRequestTypeDef = {  # (1)
    "ImportDestinationType": ...,
}

parent.list_import_jobs(**kwargs)
  1. See ListImportJobsRequestRequestTypeDef

list_suppressed_destinations

Retrieves a list of email addresses that are on the suppression list for your account.

Type annotations and code completion for boto3.client("sesv2").list_suppressed_destinations method. boto3 documentation

Method definition
def list_suppressed_destinations(
    self,
    *,
    Reasons: Sequence[SuppressionListReasonType] = ...,  # (1)
    StartDate: Union[datetime, str] = ...,
    EndDate: Union[datetime, str] = ...,
    NextToken: str = ...,
    PageSize: int = ...,
) -> ListSuppressedDestinationsResponseTypeDef:  # (2)
    ...
  1. See SuppressionListReasonType
  2. See ListSuppressedDestinationsResponseTypeDef
Usage example with kwargs
kwargs: ListSuppressedDestinationsRequestRequestTypeDef = {  # (1)
    "Reasons": ...,
}

parent.list_suppressed_destinations(**kwargs)
  1. See ListSuppressedDestinationsRequestRequestTypeDef

list_tags_for_resource

Retrieve a list of the tags (keys and values) that are associated with a specified resource.

Type annotations and code completion for boto3.client("sesv2").list_tags_for_resource method. boto3 documentation

Method definition
def list_tags_for_resource(
    self,
    *,
    ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "ResourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

put_account_dedicated_ip_warmup_attributes

Enable or disable the automatic warm-up feature for dedicated IP addresses.

Type annotations and code completion for boto3.client("sesv2").put_account_dedicated_ip_warmup_attributes method. boto3 documentation

Method definition
def put_account_dedicated_ip_warmup_attributes(
    self,
    *,
    AutoWarmupEnabled: bool = ...,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: PutAccountDedicatedIpWarmupAttributesRequestRequestTypeDef = {  # (1)
    "AutoWarmupEnabled": ...,
}

parent.put_account_dedicated_ip_warmup_attributes(**kwargs)
  1. See PutAccountDedicatedIpWarmupAttributesRequestRequestTypeDef

put_account_details

Update your Amazon SES account details.

Type annotations and code completion for boto3.client("sesv2").put_account_details method. boto3 documentation

Method definition
def put_account_details(
    self,
    *,
    MailType: MailTypeType,  # (1)
    WebsiteURL: str,
    UseCaseDescription: str,
    ContactLanguage: ContactLanguageType = ...,  # (2)
    AdditionalContactEmailAddresses: Sequence[str] = ...,
    ProductionAccessEnabled: