Skip to content

resend_operation_authorization async

resend_operation_authorization(
    operation_id: OperationId,
    *,
    config_overrides: Optional[AsyncRoute53DomainsClientConfig] = None,
) -> None

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/async_route53_domains.py
async def resend_operation_authorization(
    self,
    operation_id: "capo_route_53_domains.types.operation_id.OperationId",
    *,
    config_overrides: Optional[AsyncRoute53DomainsClientConfig] = 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.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_route_53_domains.types.resend_operation_authorization_request.ResendOperationAuthorizationRequest]",
    ) -> AsyncOperationResponse[None]:
        import capo_route_53_domains._operations.route53_domains_v20140515.resend_operation_authorization

        (
            output,
            http_response,
        ) = await capo_route_53_domains._operations.route53_domains_v20140515.resend_operation_authorization.async_resend_operation_authorization(
            req.options, req.input
        )
        return AsyncOperationResponse(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 = await aexecute_pipeline(
        AsyncOperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    await response.response.aclose()
    return response.output