@SdkInternalApi
    final AssociateServiceQuotaTemplateResult executeAssociateServiceQuotaTemplate(AssociateServiceQuotaTemplateRequest associateServiceQuotaTemplateRequest) {

        ExecutionContext executionContext = createExecutionContext(associateServiceQuotaTemplateRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<AssociateServiceQuotaTemplateRequest> request = null;
        Response<AssociateServiceQuotaTemplateResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new AssociateServiceQuotaTemplateRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(associateServiceQuotaTemplateRequest));
                // 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, "Service Quotas");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "AssociateServiceQuotaTemplate");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Associates your quota request template with your organization. When a new Amazon Web Services account is created
in your organization, the quota increase requests in the template are automatically applied to the account. You
can add a quota increase request for any adjustable quota to your template.
</p>

@param associateServiceQuotaTemplateRequest
@return Result of the AssociateServiceQuotaTemplate operation returned by the service.
@throws DependencyAccessDeniedException
        You can't perform this action because a dependency does not have access.
@throws AccessDeniedException
        You do not have sufficient permission to perform this action.
@throws ServiceException
        Something went wrong.
@throws TooManyRequestsException
        Due to throttling, the request was denied. Slow down the rate of request calls, or request an increase
        for this quota.
@throws AWSServiceAccessNotEnabledException
        The action you attempted is not allowed unless Service Access with Service Quotas is enabled in your
        organization.
@throws OrganizationNotInAllFeaturesModeException
        The organization that your Amazon Web Services account belongs to is not in All Features mode.
@throws TemplatesNotAvailableInRegionException
        The Service Quotas template is not available in this Amazon Web Services Region.
@throws NoAvailableOrganizationException
        The Amazon Web Services account making this call is not a member of an organization.
@sample AWSServiceQuotas.AssociateServiceQuotaTemplate
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplate"
     target="_top">AWS API Documentation</a>
aws-java-sdk-servicequotas/src/main/java/com/amazonaws/services/servicequotas/AWSServiceQuotasClient.java