@SdkInternalApi
    final CreateAutoScalingConfigurationResult executeCreateAutoScalingConfiguration(CreateAutoScalingConfigurationRequest createAutoScalingConfigurationRequest) {

        ExecutionContext executionContext = createExecutionContext(createAutoScalingConfigurationRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<CreateAutoScalingConfigurationRequest> request = null;
        Response<CreateAutoScalingConfigurationResult> response = null;

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

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create
or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling
configuration across multiple services.
</p>
<p>
Create multiple revisions of a configuration by calling this action multiple times using the same
<code>AutoScalingConfigurationName</code>. The call returns incremental
<code>AutoScalingConfigurationRevision</code> values. When you create a service and configure an auto scaling
configuration resource, the service uses the latest active revision of the auto scaling configuration by default.
You can optionally configure the service to use a specific revision.
</p>
<p>
Configure a higher <code>MinSize</code> to increase the spread of your App Runner service over more Availability
Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost.
</p>
<p>
Configure a lower <code>MaxSize</code> to control your cost. The tradeoff is lower responsiveness during peak
demand.
</p>

@param createAutoScalingConfigurationRequest
@return Result of the CreateAutoScalingConfiguration operation returned by the service.
@throws InvalidRequestException
        One or more input parameters aren't valid. Refer to the API action's document page, correct the input
        parameters, and try the action again.
@throws InternalServiceErrorException
        An unexpected service exception occurred.
@throws ServiceQuotaExceededException
        App Runner can't create this resource. You've reached your account quota for this resource type.</p>
        <p>
        For App Runner per-resource quotas, see <a
        href="https://docs.aws.amazon.com/general/latest/gr/apprunner.html">App Runner endpoints and quotas</a>
        in the <i>Amazon Web Services General Reference</i>.
@sample AWSAppRunner.CreateAutoScalingConfiguration
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateAutoScalingConfiguration"
     target="_top">AWS API Documentation</a>
aws-java-sdk-apprunner/src/main/java/com/amazonaws/services/apprunner/AWSAppRunnerClient.java