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
24253 24254 24255 24256 24257 24258 24259 24260 24261 24262 24263 24264 24265 24266 24267 24268 24269 24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 24281 24282 24283 24284 24285 24286 24287 24288 24289 24290 24291 24292 24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 24304 24305 24306 24307 24308 24309 24310 24311 24312 24313 24314 24315 24316 24317 24318 24319 24320 24321 24322 24323 24324 24325 24326 24327 24328 24329 24330 24331 24332 24333 24334 24335 24336 24337 24338 24339 | |