@@ -119,9 +119,9 @@ public APostOperationResponse aPostOperation(APostOperationRequest aPostOperatio
119
119
HttpResponseHandler <AwsServiceException > errorResponseHandler = createErrorResponseHandler (protocolFactory ,
120
120
operationMetadata );
121
121
MetricCollector apiCallMetricCollector = MetricCollector .create ("ApiCall" );
122
- apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
123
- apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "APostOperation" );
124
122
try {
123
+ apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
124
+ apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "APostOperation" );
125
125
126
126
return clientHandler .execute (new ClientExecutionParams <APostOperationRequest , APostOperationResponse >()
127
127
.withOperationName ("APostOperation" ).withResponseHandler (responseHandler )
@@ -167,9 +167,9 @@ public APostOperationWithOutputResponse aPostOperationWithOutput(
167
167
HttpResponseHandler <AwsServiceException > errorResponseHandler = createErrorResponseHandler (protocolFactory ,
168
168
operationMetadata );
169
169
MetricCollector apiCallMetricCollector = MetricCollector .create ("ApiCall" );
170
- apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
171
- apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "APostOperationWithOutput" );
172
170
try {
171
+ apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
172
+ apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "APostOperationWithOutput" );
173
173
174
174
return clientHandler
175
175
.execute (new ClientExecutionParams <APostOperationWithOutputRequest , APostOperationWithOutputResponse >()
@@ -217,9 +217,9 @@ public GetWithoutRequiredMembersResponse getWithoutRequiredMembers(
217
217
HttpResponseHandler <AwsServiceException > errorResponseHandler = createErrorResponseHandler (protocolFactory ,
218
218
operationMetadata );
219
219
MetricCollector apiCallMetricCollector = MetricCollector .create ("ApiCall" );
220
- apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
221
- apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "GetWithoutRequiredMembers" );
222
220
try {
221
+ apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
222
+ apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "GetWithoutRequiredMembers" );
223
223
224
224
return clientHandler
225
225
.execute (new ClientExecutionParams <GetWithoutRequiredMembersRequest , GetWithoutRequiredMembersResponse >()
@@ -263,9 +263,9 @@ public PaginatedOperationWithResultKeyResponse paginatedOperationWithResultKey(
263
263
HttpResponseHandler <AwsServiceException > errorResponseHandler = createErrorResponseHandler (protocolFactory ,
264
264
operationMetadata );
265
265
MetricCollector apiCallMetricCollector = MetricCollector .create ("ApiCall" );
266
- apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
267
- apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "PaginatedOperationWithResultKey" );
268
266
try {
267
+ apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
268
+ apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "PaginatedOperationWithResultKey" );
269
269
270
270
return clientHandler
271
271
.execute (new ClientExecutionParams <PaginatedOperationWithResultKeyRequest , PaginatedOperationWithResultKeyResponse >()
@@ -387,9 +387,9 @@ public PaginatedOperationWithoutResultKeyResponse paginatedOperationWithoutResul
387
387
HttpResponseHandler <AwsServiceException > errorResponseHandler = createErrorResponseHandler (protocolFactory ,
388
388
operationMetadata );
389
389
MetricCollector apiCallMetricCollector = MetricCollector .create ("ApiCall" );
390
- apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
391
- apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "PaginatedOperationWithoutResultKey" );
392
390
try {
391
+ apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
392
+ apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "PaginatedOperationWithoutResultKey" );
393
393
394
394
return clientHandler
395
395
.execute (new ClientExecutionParams <PaginatedOperationWithoutResultKeyRequest , PaginatedOperationWithoutResultKeyResponse >()
@@ -522,9 +522,9 @@ public StreamingInputOperationResponse streamingInputOperation(StreamingInputOpe
522
522
HttpResponseHandler <AwsServiceException > errorResponseHandler = createErrorResponseHandler (protocolFactory ,
523
523
operationMetadata );
524
524
MetricCollector apiCallMetricCollector = MetricCollector .create ("ApiCall" );
525
- apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
526
- apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "StreamingInputOperation" );
527
525
try {
526
+ apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
527
+ apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "StreamingInputOperation" );
528
528
529
529
return clientHandler
530
530
.execute (new ClientExecutionParams <StreamingInputOperationRequest , StreamingInputOperationResponse >()
@@ -595,9 +595,9 @@ public <ReturnT> ReturnT streamingInputOutputOperation(
595
595
HttpResponseHandler <AwsServiceException > errorResponseHandler = createErrorResponseHandler (protocolFactory ,
596
596
operationMetadata );
597
597
MetricCollector apiCallMetricCollector = MetricCollector .create ("ApiCall" );
598
- apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
599
- apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "StreamingInputOutputOperation" );
600
598
try {
599
+ apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
600
+ apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "StreamingInputOutputOperation" );
601
601
602
602
return clientHandler .execute (
603
603
new ClientExecutionParams <StreamingInputOutputOperationRequest , StreamingInputOutputOperationResponse >()
@@ -656,9 +656,9 @@ public <ReturnT> ReturnT streamingOutputOperation(StreamingOutputOperationReques
656
656
HttpResponseHandler <AwsServiceException > errorResponseHandler = createErrorResponseHandler (protocolFactory ,
657
657
operationMetadata );
658
658
MetricCollector apiCallMetricCollector = MetricCollector .create ("ApiCall" );
659
- apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
660
- apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "StreamingOutputOperation" );
661
659
try {
660
+ apiCallMetricCollector .reportMetric (CoreMetric .SERVICE_ID , "Json Service" );
661
+ apiCallMetricCollector .reportMetric (CoreMetric .OPERATION_NAME , "StreamingOutputOperation" );
662
662
663
663
return clientHandler .execute (
664
664
new ClientExecutionParams <StreamingOutputOperationRequest , StreamingOutputOperationResponse >()
0 commit comments