public static BatchPutScheduledUpdateGroupActionResultStaxUnmarshaller getInstance() { if (instance == null) instance = new BatchPutScheduledUpdateGroupActionResultStaxUnmarshaller(); return instance; } }
@SdkInternalApi final BatchPutScheduledUpdateGroupActionResult executeBatchPutScheduledUpdateGroupAction( BatchPutScheduledUpdateGroupActionRequest batchPutScheduledUpdateGroupActionRequest) { ExecutionContext executionContext = createExecutionContext(batchPutScheduledUpdateGroupActionRequest); AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics(); awsRequestMetrics.startEvent(Field.ClientExecuteTime); Request<BatchPutScheduledUpdateGroupActionRequest> request = null; Response<BatchPutScheduledUpdateGroupActionResult> response = null; try { awsRequestMetrics.startEvent(Field.RequestMarshallTime); try { request = new BatchPutScheduledUpdateGroupActionRequestMarshaller() .marshall(super.beforeMarshalling(batchPutScheduledUpdateGroupActionRequest)); // Binds the request metrics to the current request. request.setAWSRequestMetrics(awsRequestMetrics); request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion()); request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Auto Scaling"); request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "BatchPutScheduledUpdateGroupAction"); request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig); } finally { awsRequestMetrics.endEvent(Field.RequestMarshallTime); } StaxResponseHandler<BatchPutScheduledUpdateGroupActionResult> responseHandler = new StaxResponseHandler<BatchPutScheduledUpdateGroupActionResult>( new BatchPutScheduledUpdateGroupActionResultStaxUnmarshaller()); response = invoke(request, responseHandler, executionContext); return response.getAwsResponse(); } finally { endClientExecution(awsRequestMetrics, request, response); } }
public static BatchPutScheduledUpdateGroupActionResultStaxUnmarshaller getInstance() { if (instance == null) instance = new BatchPutScheduledUpdateGroupActionResultStaxUnmarshaller(); return instance; } }
new BatchPutScheduledUpdateGroupActionResultStaxUnmarshaller(), executionContext); return response.getAwsResponse();