start_outbound_email_contact
async
¶
start_outbound_email_contact(
instance_id: InstanceId,
contact_id: ContactId,
destination_email_address: EmailAddressInfo,
email_message: OutboundEmailContent,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
from_email_address: Optional[EmailAddressInfo] = None,
additional_recipients: Optional[OutboundAdditionalRecipients] = None,
client_token: Optional[ClientToken] = None,
) -> StartOutboundEmailContactResponse
Initiates a flow to send an agent reply or outbound email contact (created from the CreateContact API) to a customer.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
contact_id(ContactId) –The identifier of the contact in this instance of Connect Customer.
-
from_email_address(Optional[EmailAddressInfo], default:None) –The email address associated with the Connect Customer instance.
-
destination_email_address(EmailAddressInfo) –The email address of the customer.
-
additional_recipients(Optional[OutboundAdditionalRecipients], default:None) –The additional recipients address of email in CC.
-
email_message(OutboundEmailContent) –The email message body to be sent to the newly created email.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
IdempotencyException–An entity with the same name already exists.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
24014 24015 24016 24017 24018 24019 24020 24021 24022 24023 24024 24025 24026 24027 24028 24029 24030 24031 24032 24033 24034 24035 24036 24037 24038 24039 24040 24041 24042 24043 24044 24045 24046 24047 24048 24049 24050 24051 24052 24053 24054 24055 24056 24057 24058 24059 24060 24061 24062 24063 24064 24065 24066 24067 24068 24069 24070 24071 24072 24073 24074 24075 24076 24077 24078 24079 24080 24081 24082 24083 24084 24085 24086 24087 24088 24089 24090 24091 24092 24093 24094 24095 24096 24097 24098 24099 24100 | |