@SdkInternalApi
    final CreateCodeSigningConfigResult executeCreateCodeSigningConfig(CreateCodeSigningConfigRequest createCodeSigningConfigRequest) {

        ExecutionContext executionContext = createExecutionContext(createCodeSigningConfigRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<CreateCodeSigningConfigRequest> request = null;
        Response<CreateCodeSigningConfigResult> response = null;

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

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Creates a code signing configuration. A <a
href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">code signing configuration</a>
defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if
deployment validation checks fail).
</p>

@param createCodeSigningConfigRequest
@return Result of the CreateCodeSigningConfig operation returned by the service.
@throws ServiceException
        The Lambda service encountered an internal error.
@throws InvalidParameterValueException
        One of the parameters in the request is not valid.
@sample AWSLambda.CreateCodeSigningConfig
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfig" target="_top">AWS
     API Documentation</a>
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/AWSLambdaClient.java