@SdkInternalApi
    final GetAssociationForServiceQuotaTemplateResult executeGetAssociationForServiceQuotaTemplate(
            GetAssociationForServiceQuotaTemplateRequest getAssociationForServiceQuotaTemplateRequest) {

        ExecutionContext executionContext = createExecutionContext(getAssociationForServiceQuotaTemplateRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<GetAssociationForServiceQuotaTemplateRequest> request = null;
        Response<GetAssociationForServiceQuotaTemplateResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new GetAssociationForServiceQuotaTemplateRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(getAssociationForServiceQuotaTemplateRequest));
                // 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, "GetAssociationForServiceQuotaTemplate");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Retrieves the status of the association for the quota request template.
</p>

@param getAssociationForServiceQuotaTemplateRequest
@return Result of the GetAssociationForServiceQuotaTemplate operation returned by the service.
@throws DependencyAccessDeniedException
        You can't perform this action because a dependency does not have access.
@throws ServiceQuotaTemplateNotInUseException
        The quota request template is not associated with your organization.
@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 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.GetAssociationForServiceQuotaTemplate
@see <a
     href="http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplate"
     target="_top">AWS API Documentation</a>
aws-java-sdk-servicequotas/src/main/java/com/amazonaws/services/servicequotas/AWSServiceQuotasClient.java