@SdkInternalApi
    final DeleteEmailIdentityPolicyResult executeDeleteEmailIdentityPolicy(DeleteEmailIdentityPolicyRequest deleteEmailIdentityPolicyRequest) {

        ExecutionContext executionContext = createExecutionContext(deleteEmailIdentityPolicyRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DeleteEmailIdentityPolicyRequest> request = null;
        Response<DeleteEmailIdentityPolicyResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new DeleteEmailIdentityPolicyRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(deleteEmailIdentityPolicyRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "SESv2");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteEmailIdentityPolicy");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<DeleteEmailIdentityPolicyResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                    new DeleteEmailIdentityPolicyResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Deletes the specified sending authorization policy for the given identity (an email address or a domain). This
API returns successfully even if a policy with the specified name does not exist.
</p>
<note>
<p>
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
</p>
</note>
<p>
Sending authorization is a feature that enables an identity owner to authorize other senders to use its
identities. For information about using sending authorization, see the <a
href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html">Amazon SES Developer
Guide</a>.
</p>
<p>
You can execute this operation no more than once per second.
</p>

@param deleteEmailIdentityPolicyRequest
       Represents a request to delete a sending authorization policy for an identity. Sending authorization is an
       Amazon SES feature that enables you to authorize other senders to use your identities. For information,
       see the <a href=
       "https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-identity-owner-tasks-management.html"
       >Amazon SES Developer Guide</a>.
@return Result of the DeleteEmailIdentityPolicy operation returned by the service.
@throws NotFoundException
        The resource you attempted to access doesn't exist.
@throws TooManyRequestsException
        Too many requests have been made to the operation.
@throws BadRequestException
        The input you provided is invalid.
@sample AmazonSimpleEmailServiceV2.DeleteEmailIdentityPolicy
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentityPolicy"
     target="_top">AWS API Documentation</a>
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/AmazonSimpleEmailServiceV2Client.java