Deletes an association between a configuration set and a custom domain for open and click event tracking.
By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide.
Deleting this kind of association results in emails sent using the specified configuration set to capture open and click events using the standard, Amazon SES-operated domains.
Parameters:
Raises:
Source code in docs_src/capo_ses/_services/async_ses.py
| async def delete_configuration_set_tracking_options(
self,
configuration_set_name: "capo_ses.types.configuration_set_name.ConfigurationSetName",
*,
config_overrides: Optional[AsyncSESClientConfig] = None,
) -> "capo_ses.types.delete_configuration_set_tracking_options_response.DeleteConfigurationSetTrackingOptionsResponse":
"""<p>Deletes an association between a configuration set and a custom domain for open and click event tracking.</p> <p>By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the <a href="https://docs.aws.amazon.com/ses/latest/dg/configure-custom-open-click-domains.html">Amazon SES Developer Guide</a>.</p> <note> <p>Deleting this kind of association results in emails sent using the specified configuration set to capture open and click events using the standard, Amazon SES-operated domains.</p> </note>
Args:
configuration_set_name: <p>The name of the configuration set.</p>
Raises:
capo_ses.errors.configuration_set_does_not_exist_exception.ConfigurationSetDoesNotExistException: <p>Indicates that the configuration set does not exist.</p>
capo_ses.errors.tracking_options_does_not_exist_exception.TrackingOptionsDoesNotExistException: <p>Indicates that the TrackingOptions object you specified does not exist.</p>
capo_ses.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_ses.types.delete_configuration_set_tracking_options_request.DeleteConfigurationSetTrackingOptionsRequest]",
) -> AsyncOperationResponse[
"capo_ses.types.delete_configuration_set_tracking_options_response.DeleteConfigurationSetTrackingOptionsResponse"
]:
import capo_ses._operations.simple_email_service.delete_configuration_set_tracking_options
(
output,
http_response,
) = await capo_ses._operations.simple_email_service.delete_configuration_set_tracking_options.async_delete_configuration_set_tracking_options(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DeleteConfigurationSetTrackingOptions")
)
input_: capo_ses.types.delete_configuration_set_tracking_options_request.DeleteConfigurationSetTrackingOptionsRequest = {
"configuration_set_name": configuration_set_name
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|