Resend the form of authorization email for this operation.
Parameters:
Raises:
-
InvalidInput
–
The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, the password might be invalid.
-
TLDInMaintenance
–
The top-level domain is currently undergoing maintenance and the request cannot be processed. Try again later.
-
UnknownServiceError
–
The service returned an error code this client does not model.
Source code in docs_src/capo_route_53_domains/_services/route53_domains.py
| def resend_operation_authorization(
self,
operation_id: "capo_route_53_domains.types.operation_id.OperationId",
*,
config_overrides: Optional[Route53DomainsClientConfig] = None,
) -> None:
"""<p> Resend the form of authorization email for this operation. </p>
Args:
operation_id: <p> Operation ID. </p>
Raises:
capo_route_53_domains.errors.invalid_input.InvalidInput: <p>The requested item is not acceptable. For example, for APIs that accept a domain name, the request might specify a domain name that doesn't belong to the account that submitted the request. For <code>AcceptDomainTransferFromAnotherAwsAccount</code>, the password might be invalid.</p>
capo_route_53_domains.errors.tld_in_maintenance.TLDInMaintenance: <p>The top-level domain is currently undergoing maintenance and the request cannot be processed. Try again later.</p>
capo_route_53_domains.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_route_53_domains.types.resend_operation_authorization_request.ResendOperationAuthorizationRequest]",
) -> OperationResponse[None]:
import capo_route_53_domains._operations.route53_domains_v20140515.resend_operation_authorization
output, http_response = (
capo_route_53_domains._operations.route53_domains_v20140515.resend_operation_authorization.resend_operation_authorization(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("ResendOperationAuthorization")
)
input_: capo_route_53_domains.types.resend_operation_authorization_request.ResendOperationAuthorizationRequest = {
"operation_id": operation_id
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|