MailManagerClient#
Index > MailManager > MailManagerClient
Auto-generated documentation for MailManager type annotations stubs module mypy-boto3-mailmanager.
MailManagerClient#
Type annotations and code completion for boto3.client("mailmanager")
.
boto3 documentation
# MailManagerClient usage example
from boto3.session import Session
from mypy_boto3_mailmanager.client import MailManagerClient
def get_mailmanager_client() -> MailManagerClient:
return Session().client("mailmanager")
Exceptions#
boto3
client exceptions are generated in runtime.
This class provides code completion for boto3.client("mailmanager").exceptions
structure.
# Exceptions.exceptions usage example
client = boto3.client("mailmanager")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ServiceQuotaExceededException,
client.exceptions.ThrottlingException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from mypy_boto3_mailmanager.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("mailmanager").can_paginate
method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
close#
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("mailmanager").close
method.
boto3 documentation
# close method definition
def close(
self,
) -> None:
...
create_addon_instance#
Creates an Add On instance for the subscription indicated in the request.
Type annotations and code completion for boto3.client("mailmanager").create_addon_instance
method.
boto3 documentation
# create_addon_instance method definition
def create_addon_instance(
self,
*,
AddonSubscriptionId: str,
ClientToken: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateAddonInstanceResponseTypeDef: # (2)
...
# create_addon_instance method usage example with argument unpacking
kwargs: CreateAddonInstanceRequestRequestTypeDef = { # (1)
"AddonSubscriptionId": ...,
}
parent.create_addon_instance(**kwargs)
create_addon_subscription#
Creates a subscription for an Add On representing the acceptance of its terms of use and additional pricing.
Type annotations and code completion for boto3.client("mailmanager").create_addon_subscription
method.
boto3 documentation
# create_addon_subscription method definition
def create_addon_subscription(
self,
*,
AddonName: str,
ClientToken: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (1)
) -> CreateAddonSubscriptionResponseTypeDef: # (2)
...
# create_addon_subscription method usage example with argument unpacking
kwargs: CreateAddonSubscriptionRequestRequestTypeDef = { # (1)
"AddonName": ...,
}
parent.create_addon_subscription(**kwargs)
create_archive#
Creates a new email archive resource for storing and retaining emails.
Type annotations and code completion for boto3.client("mailmanager").create_archive
method.
boto3 documentation
# create_archive method definition
def create_archive(
self,
*,
ArchiveName: str,
ClientToken: str = ...,
KmsKeyArn: str = ...,
Retention: ArchiveRetentionTypeDef = ..., # (1)
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateArchiveResponseTypeDef: # (3)
...
# create_archive method usage example with argument unpacking
kwargs: CreateArchiveRequestRequestTypeDef = { # (1)
"ArchiveName": ...,
}
parent.create_archive(**kwargs)
create_ingress_point#
Provision a new ingress endpoint resource.
Type annotations and code completion for boto3.client("mailmanager").create_ingress_point
method.
boto3 documentation
# create_ingress_point method definition
def create_ingress_point(
self,
*,
IngressPointName: str,
RuleSetId: str,
TrafficPolicyId: str,
Type: IngressPointTypeType, # (1)
ClientToken: str = ...,
IngressPointConfiguration: IngressPointConfigurationTypeDef = ..., # (2)
Tags: Sequence[TagTypeDef] = ..., # (3)
) -> CreateIngressPointResponseTypeDef: # (4)
...
- See IngressPointTypeType
- See IngressPointConfigurationTypeDef
- See TagTypeDef
- See CreateIngressPointResponseTypeDef
# create_ingress_point method usage example with argument unpacking
kwargs: CreateIngressPointRequestRequestTypeDef = { # (1)
"IngressPointName": ...,
"RuleSetId": ...,
"TrafficPolicyId": ...,
"Type": ...,
}
parent.create_ingress_point(**kwargs)
create_relay#
Creates a relay resource which can be used in rules to relay incoming emails to defined relay destinations.
Type annotations and code completion for boto3.client("mailmanager").create_relay
method.
boto3 documentation
# create_relay method definition
def create_relay(
self,
*,
Authentication: RelayAuthenticationTypeDef, # (1)
RelayName: str,
ServerName: str,
ServerPort: int,
ClientToken: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateRelayResponseTypeDef: # (3)
...
# create_relay method usage example with argument unpacking
kwargs: CreateRelayRequestRequestTypeDef = { # (1)
"Authentication": ...,
"RelayName": ...,
"ServerName": ...,
"ServerPort": ...,
}
parent.create_relay(**kwargs)
create_rule_set#
Provision a new rule set.
Type annotations and code completion for boto3.client("mailmanager").create_rule_set
method.
boto3 documentation
# create_rule_set method definition
def create_rule_set(
self,
*,
RuleSetName: str,
Rules: Sequence[RuleUnionTypeDef], # (1)
ClientToken: str = ...,
Tags: Sequence[TagTypeDef] = ..., # (2)
) -> CreateRuleSetResponseTypeDef: # (3)
...
# create_rule_set method usage example with argument unpacking
kwargs: CreateRuleSetRequestRequestTypeDef = { # (1)
"RuleSetName": ...,
"Rules": ...,
}
parent.create_rule_set(**kwargs)
create_traffic_policy#
Provision a new traffic policy resource.
Type annotations and code completion for boto3.client("mailmanager").create_traffic_policy
method.
boto3 documentation
# create_traffic_policy method definition
def create_traffic_policy(
self,
*,
DefaultAction: AcceptActionType, # (1)
PolicyStatements: Sequence[PolicyStatementUnionTypeDef], # (2)
TrafficPolicyName: str,
ClientToken: str = ...,
MaxMessageSizeBytes: int = ...,
Tags: Sequence[TagTypeDef] = ..., # (3)
) -> CreateTrafficPolicyResponseTypeDef: # (4)
...
- See AcceptActionType
- See PolicyStatementTypeDef PolicyStatementOutputTypeDef
- See TagTypeDef
- See CreateTrafficPolicyResponseTypeDef
# create_traffic_policy method usage example with argument unpacking
kwargs: CreateTrafficPolicyRequestRequestTypeDef = { # (1)
"DefaultAction": ...,
"PolicyStatements": ...,
"TrafficPolicyName": ...,
}
parent.create_traffic_policy(**kwargs)
delete_addon_instance#
Deletes an Add On instance.
Type annotations and code completion for boto3.client("mailmanager").delete_addon_instance
method.
boto3 documentation
# delete_addon_instance method definition
def delete_addon_instance(
self,
*,
AddonInstanceId: str,
) -> Dict[str, Any]:
...
# delete_addon_instance method usage example with argument unpacking
kwargs: DeleteAddonInstanceRequestRequestTypeDef = { # (1)
"AddonInstanceId": ...,
}
parent.delete_addon_instance(**kwargs)
delete_addon_subscription#
Deletes an Add On subscription.
Type annotations and code completion for boto3.client("mailmanager").delete_addon_subscription
method.
boto3 documentation
# delete_addon_subscription method definition
def delete_addon_subscription(
self,
*,
AddonSubscriptionId: str,
) -> Dict[str, Any]:
...
# delete_addon_subscription method usage example with argument unpacking
kwargs: DeleteAddonSubscriptionRequestRequestTypeDef = { # (1)
"AddonSubscriptionId": ...,
}
parent.delete_addon_subscription(**kwargs)
delete_archive#
Initiates deletion of an email archive.
Type annotations and code completion for boto3.client("mailmanager").delete_archive
method.
boto3 documentation
# delete_archive method definition
def delete_archive(
self,
*,
ArchiveId: str,
) -> Dict[str, Any]:
...
# delete_archive method usage example with argument unpacking
kwargs: DeleteArchiveRequestRequestTypeDef = { # (1)
"ArchiveId": ...,
}
parent.delete_archive(**kwargs)
delete_ingress_point#
Delete an ingress endpoint resource.
Type annotations and code completion for boto3.client("mailmanager").delete_ingress_point
method.
boto3 documentation
# delete_ingress_point method definition
def delete_ingress_point(
self,
*,
IngressPointId: str,
) -> Dict[str, Any]:
...
# delete_ingress_point method usage example with argument unpacking
kwargs: DeleteIngressPointRequestRequestTypeDef = { # (1)
"IngressPointId": ...,
}
parent.delete_ingress_point(**kwargs)
delete_relay#
Deletes an existing relay resource.
Type annotations and code completion for boto3.client("mailmanager").delete_relay
method.
boto3 documentation
# delete_relay method definition
def delete_relay(
self,
*,
RelayId: str,
) -> Dict[str, Any]:
...
# delete_relay method usage example with argument unpacking
kwargs: DeleteRelayRequestRequestTypeDef = { # (1)
"RelayId": ...,
}
parent.delete_relay(**kwargs)
delete_rule_set#
Delete a rule set.
Type annotations and code completion for boto3.client("mailmanager").delete_rule_set
method.
boto3 documentation
# delete_rule_set method definition
def delete_rule_set(
self,
*,
RuleSetId: str,
) -> Dict[str, Any]:
...
# delete_rule_set method usage example with argument unpacking
kwargs: DeleteRuleSetRequestRequestTypeDef = { # (1)
"RuleSetId": ...,
}
parent.delete_rule_set(**kwargs)
delete_traffic_policy#
Delete a traffic policy resource.
Type annotations and code completion for boto3.client("mailmanager").delete_traffic_policy
method.
boto3 documentation
# delete_traffic_policy method definition
def delete_traffic_policy(
self,
*,
TrafficPolicyId: str,
) -> Dict[str, Any]:
...
# delete_traffic_policy method usage example with argument unpacking
kwargs: DeleteTrafficPolicyRequestRequestTypeDef = { # (1)
"TrafficPolicyId": ...,
}
parent.delete_traffic_policy(**kwargs)
generate_presigned_url#
Generate a presigned url given a client, its method, and arguments.
Type annotations and code completion for boto3.client("mailmanager").generate_presigned_url
method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
get_addon_instance#
Gets detailed information about an Add On instance.
Type annotations and code completion for boto3.client("mailmanager").get_addon_instance
method.
boto3 documentation
# get_addon_instance method definition
def get_addon_instance(
self,
*,
AddonInstanceId: str,
) -> GetAddonInstanceResponseTypeDef: # (1)
...
# get_addon_instance method usage example with argument unpacking
kwargs: GetAddonInstanceRequestRequestTypeDef = { # (1)
"AddonInstanceId": ...,
}
parent.get_addon_instance(**kwargs)
get_addon_subscription#
Gets detailed information about an Add On subscription.
Type annotations and code completion for boto3.client("mailmanager").get_addon_subscription
method.
boto3 documentation
# get_addon_subscription method definition
def get_addon_subscription(
self,
*,
AddonSubscriptionId: str,
) -> GetAddonSubscriptionResponseTypeDef: # (1)
...
# get_addon_subscription method usage example with argument unpacking
kwargs: GetAddonSubscriptionRequestRequestTypeDef = { # (1)
"AddonSubscriptionId": ...,
}
parent.get_addon_subscription(**kwargs)
get_archive#
Retrieves the full details and current state of a specified email archive.
Type annotations and code completion for boto3.client("mailmanager").get_archive
method.
boto3 documentation
# get_archive method definition
def get_archive(
self,
*,
ArchiveId: str,
) -> GetArchiveResponseTypeDef: # (1)
...
# get_archive method usage example with argument unpacking
kwargs: GetArchiveRequestRequestTypeDef = { # (1)
"ArchiveId": ...,
}
parent.get_archive(**kwargs)
get_archive_export#
Retrieves the details and current status of a specific email archive export job.
Type annotations and code completion for boto3.client("mailmanager").get_archive_export
method.
boto3 documentation
# get_archive_export method definition
def get_archive_export(
self,
*,
ExportId: str,
) -> GetArchiveExportResponseTypeDef: # (1)
...
# get_archive_export method usage example with argument unpacking
kwargs: GetArchiveExportRequestRequestTypeDef = { # (1)
"ExportId": ...,
}
parent.get_archive_export(**kwargs)
get_archive_message#
Returns a pre-signed URL that provides temporary download access to the specific email message stored in the archive.
Type annotations and code completion for boto3.client("mailmanager").get_archive_message
method.
boto3 documentation
# get_archive_message method definition
def get_archive_message(
self,
*,
ArchivedMessageId: str,
) -> GetArchiveMessageResponseTypeDef: # (1)
...
# get_archive_message method usage example with argument unpacking
kwargs: GetArchiveMessageRequestRequestTypeDef = { # (1)
"ArchivedMessageId": ...,
}
parent.get_archive_message(**kwargs)
get_archive_message_content#
Returns the textual content of a specific email message stored in the archive.
Type annotations and code completion for boto3.client("mailmanager").get_archive_message_content
method.
boto3 documentation
# get_archive_message_content method definition
def get_archive_message_content(
self,
*,
ArchivedMessageId: str,
) -> GetArchiveMessageContentResponseTypeDef: # (1)
...
# get_archive_message_content method usage example with argument unpacking
kwargs: GetArchiveMessageContentRequestRequestTypeDef = { # (1)
"ArchivedMessageId": ...,
}
parent.get_archive_message_content(**kwargs)
get_archive_search#
Retrieves the details and current status of a specific email archive search job.
Type annotations and code completion for boto3.client("mailmanager").get_archive_search
method.
boto3 documentation
# get_archive_search method definition
def get_archive_search(
self,
*,
SearchId: str,
) -> GetArchiveSearchResponseTypeDef: # (1)
...
# get_archive_search method usage example with argument unpacking
kwargs: GetArchiveSearchRequestRequestTypeDef = { # (1)
"SearchId": ...,
}
parent.get_archive_search(**kwargs)
get_archive_search_results#
Returns the results of a completed email archive search job.
Type annotations and code completion for boto3.client("mailmanager").get_archive_search_results
method.
boto3 documentation
# get_archive_search_results method definition
def get_archive_search_results(
self,
*,
SearchId: str,
) -> GetArchiveSearchResultsResponseTypeDef: # (1)
...
# get_archive_search_results method usage example with argument unpacking
kwargs: GetArchiveSearchResultsRequestRequestTypeDef = { # (1)
"SearchId": ...,
}
parent.get_archive_search_results(**kwargs)
get_ingress_point#
Fetch ingress endpoint resource attributes.
Type annotations and code completion for boto3.client("mailmanager").get_ingress_point
method.
boto3 documentation
# get_ingress_point method definition
def get_ingress_point(
self,
*,
IngressPointId: str,
) -> GetIngressPointResponseTypeDef: # (1)
...
# get_ingress_point method usage example with argument unpacking
kwargs: GetIngressPointRequestRequestTypeDef = { # (1)
"IngressPointId": ...,
}
parent.get_ingress_point(**kwargs)
get_relay#
Fetch the relay resource and it's attributes.
Type annotations and code completion for boto3.client("mailmanager").get_relay
method.
boto3 documentation
# get_relay method definition
def get_relay(
self,
*,
RelayId: str,
) -> GetRelayResponseTypeDef: # (1)
...
# get_relay method usage example with argument unpacking
kwargs: GetRelayRequestRequestTypeDef = { # (1)
"RelayId": ...,
}
parent.get_relay(**kwargs)
get_rule_set#
Fetch attributes of a rule set.
Type annotations and code completion for boto3.client("mailmanager").get_rule_set
method.
boto3 documentation
# get_rule_set method definition
def get_rule_set(
self,
*,
RuleSetId: str,
) -> GetRuleSetResponseTypeDef: # (1)
...
# get_rule_set method usage example with argument unpacking
kwargs: GetRuleSetRequestRequestTypeDef = { # (1)
"RuleSetId": ...,
}
parent.get_rule_set(**kwargs)
get_traffic_policy#
Fetch attributes of a traffic policy resource.
Type annotations and code completion for boto3.client("mailmanager").get_traffic_policy
method.
boto3 documentation
# get_traffic_policy method definition
def get_traffic_policy(
self,
*,
TrafficPolicyId: str,
) -> GetTrafficPolicyResponseTypeDef: # (1)
...
# get_traffic_policy method usage example with argument unpacking
kwargs: GetTrafficPolicyRequestRequestTypeDef = { # (1)
"TrafficPolicyId": ...,
}
parent.get_traffic_policy(**kwargs)
list_addon_instances#
Lists all Add On instances in your account.
Type annotations and code completion for boto3.client("mailmanager").list_addon_instances
method.
boto3 documentation
# list_addon_instances method definition
def list_addon_instances(
self,
*,
NextToken: str = ...,
PageSize: int = ...,
) -> ListAddonInstancesResponseTypeDef: # (1)
...
# list_addon_instances method usage example with argument unpacking
kwargs: ListAddonInstancesRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_addon_instances(**kwargs)
list_addon_subscriptions#
Lists all Add On subscriptions in your account.
Type annotations and code completion for boto3.client("mailmanager").list_addon_subscriptions
method.
boto3 documentation
# list_addon_subscriptions method definition
def list_addon_subscriptions(
self,
*,
NextToken: str = ...,
PageSize: int = ...,
) -> ListAddonSubscriptionsResponseTypeDef: # (1)
...
# list_addon_subscriptions method usage example with argument unpacking
kwargs: ListAddonSubscriptionsRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_addon_subscriptions(**kwargs)
list_archive_exports#
Returns a list of email archive export jobs.
Type annotations and code completion for boto3.client("mailmanager").list_archive_exports
method.
boto3 documentation
# list_archive_exports method definition
def list_archive_exports(
self,
*,
ArchiveId: str,
NextToken: str = ...,
PageSize: int = ...,
) -> ListArchiveExportsResponseTypeDef: # (1)
...
# list_archive_exports method usage example with argument unpacking
kwargs: ListArchiveExportsRequestRequestTypeDef = { # (1)
"ArchiveId": ...,
}
parent.list_archive_exports(**kwargs)
list_archive_searches#
Returns a list of email archive search jobs.
Type annotations and code completion for boto3.client("mailmanager").list_archive_searches
method.
boto3 documentation
# list_archive_searches method definition
def list_archive_searches(
self,
*,
ArchiveId: str,
NextToken: str = ...,
PageSize: int = ...,
) -> ListArchiveSearchesResponseTypeDef: # (1)
...
# list_archive_searches method usage example with argument unpacking
kwargs: ListArchiveSearchesRequestRequestTypeDef = { # (1)
"ArchiveId": ...,
}
parent.list_archive_searches(**kwargs)
list_archives#
Returns a list of all email archives in your account.
Type annotations and code completion for boto3.client("mailmanager").list_archives
method.
boto3 documentation
# list_archives method definition
def list_archives(
self,
*,
NextToken: str = ...,
PageSize: int = ...,
) -> ListArchivesResponseTypeDef: # (1)
...
# list_archives method usage example with argument unpacking
kwargs: ListArchivesRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_archives(**kwargs)
list_ingress_points#
List all ingress endpoint resources.
Type annotations and code completion for boto3.client("mailmanager").list_ingress_points
method.
boto3 documentation
# list_ingress_points method definition
def list_ingress_points(
self,
*,
NextToken: str = ...,
PageSize: int = ...,
) -> ListIngressPointsResponseTypeDef: # (1)
...
# list_ingress_points method usage example with argument unpacking
kwargs: ListIngressPointsRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_ingress_points(**kwargs)
list_relays#
Lists all the existing relay resources.
Type annotations and code completion for boto3.client("mailmanager").list_relays
method.
boto3 documentation
# list_relays method definition
def list_relays(
self,
*,
NextToken: str = ...,
PageSize: int = ...,
) -> ListRelaysResponseTypeDef: # (1)
...
# list_relays method usage example with argument unpacking
kwargs: ListRelaysRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_relays(**kwargs)
list_rule_sets#
List rule sets for this account.
Type annotations and code completion for boto3.client("mailmanager").list_rule_sets
method.
boto3 documentation
# list_rule_sets method definition
def list_rule_sets(
self,
*,
NextToken: str = ...,
PageSize: int = ...,
) -> ListRuleSetsResponseTypeDef: # (1)
...
# list_rule_sets method usage example with argument unpacking
kwargs: ListRuleSetsRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_rule_sets(**kwargs)
list_tags_for_resource#
Retrieves the list of tags (keys and values) assigned to the resource.
Type annotations and code completion for boto3.client("mailmanager").list_tags_for_resource
method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
ResourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
list_traffic_policies#
List traffic policy resources.
Type annotations and code completion for boto3.client("mailmanager").list_traffic_policies
method.
boto3 documentation
# list_traffic_policies method definition
def list_traffic_policies(
self,
*,
NextToken: str = ...,
PageSize: int = ...,
) -> ListTrafficPoliciesResponseTypeDef: # (1)
...
# list_traffic_policies method usage example with argument unpacking
kwargs: ListTrafficPoliciesRequestRequestTypeDef = { # (1)
"NextToken": ...,
}
parent.list_traffic_policies(**kwargs)
start_archive_export#
Initiates an export of emails from the specified archive.
Type annotations and code completion for boto3.client("mailmanager").start_archive_export
method.
boto3 documentation
# start_archive_export method definition
def start_archive_export(
self,
*,
ArchiveId: str,
ExportDestinationConfiguration: ExportDestinationConfigurationTypeDef, # (1)
FromTimestamp: TimestampTypeDef,
ToTimestamp: TimestampTypeDef,
Filters: ArchiveFiltersTypeDef = ..., # (2)
IncludeMetadata: bool = ...,
MaxResults: int = ...,
) -> StartArchiveExportResponseTypeDef: # (3)
...
- See ExportDestinationConfigurationTypeDef
- See ArchiveFiltersTypeDef
- See StartArchiveExportResponseTypeDef
# start_archive_export method usage example with argument unpacking
kwargs: StartArchiveExportRequestRequestTypeDef = { # (1)
"ArchiveId": ...,
"ExportDestinationConfiguration": ...,
"FromTimestamp": ...,
"ToTimestamp": ...,
}
parent.start_archive_export(**kwargs)
start_archive_search#
Initiates a search across emails in the specified archive.
Type annotations and code completion for boto3.client("mailmanager").start_archive_search
method.
boto3 documentation
# start_archive_search method definition
def start_archive_search(
self,
*,
ArchiveId: str,
FromTimestamp: TimestampTypeDef,
MaxResults: int,
ToTimestamp: TimestampTypeDef,
Filters: ArchiveFiltersTypeDef = ..., # (1)
) -> StartArchiveSearchResponseTypeDef: # (2)
...
# start_archive_search method usage example with argument unpacking
kwargs: StartArchiveSearchRequestRequestTypeDef = { # (1)
"ArchiveId": ...,
"FromTimestamp": ...,
"MaxResults": ...,
"ToTimestamp": ...,
}
parent.start_archive_search(**kwargs)
stop_archive_export#
Stops an in-progress export of emails from an archive.
Type annotations and code completion for boto3.client("mailmanager").stop_archive_export
method.
boto3 documentation
# stop_archive_export method definition
def stop_archive_export(
self,
*,
ExportId: str,
) -> Dict[str, Any]:
...
# stop_archive_export method usage example with argument unpacking
kwargs: StopArchiveExportRequestRequestTypeDef = { # (1)
"ExportId": ...,
}
parent.stop_archive_export(**kwargs)
stop_archive_search#
Stops an in-progress archive search job.
Type annotations and code completion for boto3.client("mailmanager").stop_archive_search
method.
boto3 documentation
# stop_archive_search method definition
def stop_archive_search(
self,
*,
SearchId: str,
) -> Dict[str, Any]:
...
# stop_archive_search method usage example with argument unpacking
kwargs: StopArchiveSearchRequestRequestTypeDef = { # (1)
"SearchId": ...,
}
parent.stop_archive_search(**kwargs)
tag_resource#
Adds one or more tags (keys and values) to a specified resource.
Type annotations and code completion for boto3.client("mailmanager").tag_resource
method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
ResourceArn: str,
Tags: Sequence[TagTypeDef], # (1)
) -> Dict[str, Any]:
...
- See TagTypeDef
# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"Tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Remove one or more tags (keys and values) from a specified resource.
Type annotations and code completion for boto3.client("mailmanager").untag_resource
method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
ResourceArn: str,
TagKeys: Sequence[str],
) -> Dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"ResourceArn": ...,
"TagKeys": ...,
}
parent.untag_resource(**kwargs)
update_archive#
Updates the attributes of an existing email archive.
Type annotations and code completion for boto3.client("mailmanager").update_archive
method.
boto3 documentation
# update_archive method definition
def update_archive(
self,
*,
ArchiveId: str,
ArchiveName: str = ...,
Retention: ArchiveRetentionTypeDef = ..., # (1)
) -> Dict[str, Any]:
...
# update_archive method usage example with argument unpacking
kwargs: UpdateArchiveRequestRequestTypeDef = { # (1)
"ArchiveId": ...,
}
parent.update_archive(**kwargs)
update_ingress_point#
Update attributes of a provisioned ingress endpoint resource.
Type annotations and code completion for boto3.client("mailmanager").update_ingress_point
method.
boto3 documentation
# update_ingress_point method definition
def update_ingress_point(
self,
*,
IngressPointId: str,
IngressPointConfiguration: IngressPointConfigurationTypeDef = ..., # (1)
IngressPointName: str = ...,
RuleSetId: str = ...,
StatusToUpdate: IngressPointStatusToUpdateType = ..., # (2)
TrafficPolicyId: str = ...,
) -> Dict[str, Any]:
...
# update_ingress_point method usage example with argument unpacking
kwargs: UpdateIngressPointRequestRequestTypeDef = { # (1)
"IngressPointId": ...,
}
parent.update_ingress_point(**kwargs)
update_relay#
Updates the attributes of an existing relay resource.
Type annotations and code completion for boto3.client("mailmanager").update_relay
method.
boto3 documentation
# update_relay method definition
def update_relay(
self,
*,
RelayId: str,
Authentication: RelayAuthenticationTypeDef = ..., # (1)
RelayName: str = ...,
ServerName: str = ...,
ServerPort: int = ...,
) -> Dict[str, Any]:
...
# update_relay method usage example with argument unpacking
kwargs: UpdateRelayRequestRequestTypeDef = { # (1)
"RelayId": ...,
}
parent.update_relay(**kwargs)
update_rule_set#
Update attributes of an already provisioned rule set.
Type annotations and code completion for boto3.client("mailmanager").update_rule_set
method.
boto3 documentation
# update_rule_set method definition
def update_rule_set(
self,
*,
RuleSetId: str,
RuleSetName: str = ...,
Rules: Sequence[RuleTypeDef] = ..., # (1)
) -> Dict[str, Any]:
...
- See RuleTypeDef
# update_rule_set method usage example with argument unpacking
kwargs: UpdateRuleSetRequestRequestTypeDef = { # (1)
"RuleSetId": ...,
}
parent.update_rule_set(**kwargs)
update_traffic_policy#
Update attributes of an already provisioned traffic policy resource.
Type annotations and code completion for boto3.client("mailmanager").update_traffic_policy
method.
boto3 documentation
# update_traffic_policy method definition
def update_traffic_policy(
self,
*,
TrafficPolicyId: str,
DefaultAction: AcceptActionType = ..., # (1)
MaxMessageSizeBytes: int = ...,
PolicyStatements: Sequence[PolicyStatementTypeDef] = ..., # (2)
TrafficPolicyName: str = ...,
) -> Dict[str, Any]:
...
# update_traffic_policy method usage example with argument unpacking
kwargs: UpdateTrafficPolicyRequestRequestTypeDef = { # (1)
"TrafficPolicyId": ...,
}
parent.update_traffic_policy(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("mailmanager").get_paginator
method with overloads.
client.get_paginator("list_addon_instances")
-> ListAddonInstancesPaginatorclient.get_paginator("list_addon_subscriptions")
-> ListAddonSubscriptionsPaginatorclient.get_paginator("list_archive_exports")
-> ListArchiveExportsPaginatorclient.get_paginator("list_archive_searches")
-> ListArchiveSearchesPaginatorclient.get_paginator("list_archives")
-> ListArchivesPaginatorclient.get_paginator("list_ingress_points")
-> ListIngressPointsPaginatorclient.get_paginator("list_relays")
-> ListRelaysPaginatorclient.get_paginator("list_rule_sets")
-> ListRuleSetsPaginatorclient.get_paginator("list_traffic_policies")
-> ListTrafficPoliciesPaginator