A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.
Raises:
-
InternalErrorException
–
Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
-
ResourceNotFoundException
–
Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties.
-
UnknownServiceError
–
The service returned an error code this client does not model.
Source code in docs_src/capo_shield/_services/async_shield.py
| async def describe_emergency_contact_settings(
self, *, config_overrides: Optional[AsyncShieldClientConfig] = None
) -> "capo_shield.types.describe_emergency_contact_settings_response.DescribeEmergencyContactSettingsResponse":
"""<p>A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you if you have proactive engagement enabled, for escalations to the SRT and to initiate proactive customer support.</p>
Raises:
capo_shield.errors.internal_error_exception.InternalErrorException: <p>Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.</p>
capo_shield.errors.resource_not_found_exception.ResourceNotFoundException: <p>Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties. </p>
capo_shield.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_shield.types.describe_emergency_contact_settings_request.DescribeEmergencyContactSettingsRequest]",
) -> AsyncOperationResponse[
"capo_shield.types.describe_emergency_contact_settings_response.DescribeEmergencyContactSettingsResponse"
]:
import capo_shield._operations.aws_shield_20160616.describe_emergency_contact_settings
(
output,
http_response,
) = await capo_shield._operations.aws_shield_20160616.describe_emergency_contact_settings.async_describe_emergency_contact_settings(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeEmergencyContactSettings")
)
input_: capo_shield.types.describe_emergency_contact_settings_request.DescribeEmergencyContactSettingsRequest = {}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|