aws-sdk-iot 1.72.0 → 1.76.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,6 +34,10 @@ module Aws::IoT
34
34
  AdditionalMetricsToRetainV2List = Shapes::ListShape.new(name: 'AdditionalMetricsToRetainV2List')
35
35
  AdditionalParameterMap = Shapes::MapShape.new(name: 'AdditionalParameterMap')
36
36
  AggregationField = Shapes::StringShape.new(name: 'AggregationField')
37
+ AggregationType = Shapes::StructureShape.new(name: 'AggregationType')
38
+ AggregationTypeName = Shapes::StringShape.new(name: 'AggregationTypeName')
39
+ AggregationTypeValue = Shapes::StringShape.new(name: 'AggregationTypeValue')
40
+ AggregationTypeValues = Shapes::ListShape.new(name: 'AggregationTypeValues')
37
41
  AlarmName = Shapes::StringShape.new(name: 'AlarmName')
38
42
  AlertTarget = Shapes::StructureShape.new(name: 'AlertTarget')
39
43
  AlertTargetArn = Shapes::StringShape.new(name: 'AlertTargetArn')
@@ -158,7 +162,11 @@ module Aws::IoT
158
162
  BillingGroupProperties = Shapes::StructureShape.new(name: 'BillingGroupProperties')
159
163
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
160
164
  BooleanKey = Shapes::BooleanShape.new(name: 'BooleanKey')
165
+ Bucket = Shapes::StructureShape.new(name: 'Bucket')
166
+ BucketKeyValue = Shapes::StringShape.new(name: 'BucketKeyValue')
161
167
  BucketName = Shapes::StringShape.new(name: 'BucketName')
168
+ Buckets = Shapes::ListShape.new(name: 'Buckets')
169
+ BucketsAggregationType = Shapes::StructureShape.new(name: 'BucketsAggregationType')
162
170
  CACertificate = Shapes::StructureShape.new(name: 'CACertificate')
163
171
  CACertificateDescription = Shapes::StructureShape.new(name: 'CACertificateDescription')
164
172
  CACertificateStatus = Shapes::StringShape.new(name: 'CACertificateStatus')
@@ -240,6 +248,8 @@ module Aws::IoT
240
248
  CreateDomainConfigurationResponse = Shapes::StructureShape.new(name: 'CreateDomainConfigurationResponse')
241
249
  CreateDynamicThingGroupRequest = Shapes::StructureShape.new(name: 'CreateDynamicThingGroupRequest')
242
250
  CreateDynamicThingGroupResponse = Shapes::StructureShape.new(name: 'CreateDynamicThingGroupResponse')
251
+ CreateFleetMetricRequest = Shapes::StructureShape.new(name: 'CreateFleetMetricRequest')
252
+ CreateFleetMetricResponse = Shapes::StructureShape.new(name: 'CreateFleetMetricResponse')
243
253
  CreateJobRequest = Shapes::StructureShape.new(name: 'CreateJobRequest')
244
254
  CreateJobResponse = Shapes::StructureShape.new(name: 'CreateJobResponse')
245
255
  CreateJobTemplateRequest = Shapes::StructureShape.new(name: 'CreateJobTemplateRequest')
@@ -312,6 +322,7 @@ module Aws::IoT
312
322
  DeleteDomainConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteDomainConfigurationResponse')
313
323
  DeleteDynamicThingGroupRequest = Shapes::StructureShape.new(name: 'DeleteDynamicThingGroupRequest')
314
324
  DeleteDynamicThingGroupResponse = Shapes::StructureShape.new(name: 'DeleteDynamicThingGroupResponse')
325
+ DeleteFleetMetricRequest = Shapes::StructureShape.new(name: 'DeleteFleetMetricRequest')
315
326
  DeleteJobExecutionRequest = Shapes::StructureShape.new(name: 'DeleteJobExecutionRequest')
316
327
  DeleteJobRequest = Shapes::StructureShape.new(name: 'DeleteJobRequest')
317
328
  DeleteJobTemplateRequest = Shapes::StructureShape.new(name: 'DeleteJobTemplateRequest')
@@ -384,6 +395,8 @@ module Aws::IoT
384
395
  DescribeEndpointResponse = Shapes::StructureShape.new(name: 'DescribeEndpointResponse')
385
396
  DescribeEventConfigurationsRequest = Shapes::StructureShape.new(name: 'DescribeEventConfigurationsRequest')
386
397
  DescribeEventConfigurationsResponse = Shapes::StructureShape.new(name: 'DescribeEventConfigurationsResponse')
398
+ DescribeFleetMetricRequest = Shapes::StructureShape.new(name: 'DescribeFleetMetricRequest')
399
+ DescribeFleetMetricResponse = Shapes::StructureShape.new(name: 'DescribeFleetMetricResponse')
387
400
  DescribeIndexRequest = Shapes::StructureShape.new(name: 'DescribeIndexRequest')
388
401
  DescribeIndexResponse = Shapes::StructureShape.new(name: 'DescribeIndexResponse')
389
402
  DescribeJobExecutionRequest = Shapes::StructureShape.new(name: 'DescribeJobExecutionRequest')
@@ -446,6 +459,7 @@ module Aws::IoT
446
459
  DimensionValueOperator = Shapes::StringShape.new(name: 'DimensionValueOperator')
447
460
  DisableAllLogs = Shapes::BooleanShape.new(name: 'DisableAllLogs')
448
461
  DisableTopicRuleRequest = Shapes::StructureShape.new(name: 'DisableTopicRuleRequest')
462
+ DisconnectReason = Shapes::StringShape.new(name: 'DisconnectReason')
449
463
  DomainConfigurationArn = Shapes::StringShape.new(name: 'DomainConfigurationArn')
450
464
  DomainConfigurationName = Shapes::StringShape.new(name: 'DomainConfigurationName')
451
465
  DomainConfigurationStatus = Shapes::StringShape.new(name: 'DomainConfigurationStatus')
@@ -500,6 +514,13 @@ module Aws::IoT
500
514
  FirehoseAction = Shapes::StructureShape.new(name: 'FirehoseAction')
501
515
  FirehoseSeparator = Shapes::StringShape.new(name: 'FirehoseSeparator')
502
516
  Flag = Shapes::BooleanShape.new(name: 'Flag')
517
+ FleetMetricArn = Shapes::StringShape.new(name: 'FleetMetricArn')
518
+ FleetMetricDescription = Shapes::StringShape.new(name: 'FleetMetricDescription')
519
+ FleetMetricName = Shapes::StringShape.new(name: 'FleetMetricName')
520
+ FleetMetricNameAndArn = Shapes::StructureShape.new(name: 'FleetMetricNameAndArn')
521
+ FleetMetricNameAndArnList = Shapes::ListShape.new(name: 'FleetMetricNameAndArnList')
522
+ FleetMetricPeriod = Shapes::IntegerShape.new(name: 'FleetMetricPeriod')
523
+ FleetMetricUnit = Shapes::StringShape.new(name: 'FleetMetricUnit')
503
524
  ForceDelete = Shapes::BooleanShape.new(name: 'ForceDelete')
504
525
  ForceDeleteAWSJob = Shapes::BooleanShape.new(name: 'ForceDeleteAWSJob')
505
526
  ForceFlag = Shapes::BooleanShape.new(name: 'ForceFlag')
@@ -509,6 +530,8 @@ module Aws::IoT
509
530
  GenericLongValue = Shapes::IntegerShape.new(name: 'GenericLongValue')
510
531
  GetBehaviorModelTrainingSummariesRequest = Shapes::StructureShape.new(name: 'GetBehaviorModelTrainingSummariesRequest')
511
532
  GetBehaviorModelTrainingSummariesResponse = Shapes::StructureShape.new(name: 'GetBehaviorModelTrainingSummariesResponse')
533
+ GetBucketsAggregationRequest = Shapes::StructureShape.new(name: 'GetBucketsAggregationRequest')
534
+ GetBucketsAggregationResponse = Shapes::StructureShape.new(name: 'GetBucketsAggregationResponse')
512
535
  GetCardinalityRequest = Shapes::StructureShape.new(name: 'GetCardinalityRequest')
513
536
  GetCardinalityResponse = Shapes::StructureShape.new(name: 'GetCardinalityResponse')
514
537
  GetEffectivePoliciesRequest = Shapes::StructureShape.new(name: 'GetEffectivePoliciesRequest')
@@ -652,6 +675,8 @@ module Aws::IoT
652
675
  ListDimensionsResponse = Shapes::StructureShape.new(name: 'ListDimensionsResponse')
653
676
  ListDomainConfigurationsRequest = Shapes::StructureShape.new(name: 'ListDomainConfigurationsRequest')
654
677
  ListDomainConfigurationsResponse = Shapes::StructureShape.new(name: 'ListDomainConfigurationsResponse')
678
+ ListFleetMetricsRequest = Shapes::StructureShape.new(name: 'ListFleetMetricsRequest')
679
+ ListFleetMetricsResponse = Shapes::StructureShape.new(name: 'ListFleetMetricsResponse')
655
680
  ListIndicesRequest = Shapes::StructureShape.new(name: 'ListIndicesRequest')
656
681
  ListIndicesResponse = Shapes::StructureShape.new(name: 'ListIndicesResponse')
657
682
  ListJobExecutionsForJobRequest = Shapes::StructureShape.new(name: 'ListJobExecutionsForJobRequest')
@@ -737,6 +762,7 @@ module Aws::IoT
737
762
  MachineLearningDetectionConfig = Shapes::StructureShape.new(name: 'MachineLearningDetectionConfig')
738
763
  MalformedPolicyException = Shapes::StructureShape.new(name: 'MalformedPolicyException')
739
764
  Marker = Shapes::StringShape.new(name: 'Marker')
765
+ MaxBuckets = Shapes::IntegerShape.new(name: 'MaxBuckets')
740
766
  MaxJobExecutionsPerMin = Shapes::IntegerShape.new(name: 'MaxJobExecutionsPerMin')
741
767
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
742
768
  Maximum = Shapes::FloatShape.new(name: 'Maximum')
@@ -790,6 +816,7 @@ module Aws::IoT
790
816
  OTAUpdateStatus = Shapes::StringShape.new(name: 'OTAUpdateStatus')
791
817
  OTAUpdateSummary = Shapes::StructureShape.new(name: 'OTAUpdateSummary')
792
818
  OTAUpdatesSummary = Shapes::ListShape.new(name: 'OTAUpdatesSummary')
819
+ OpenSearchAction = Shapes::StructureShape.new(name: 'OpenSearchAction')
793
820
  OptionalVersion = Shapes::IntegerShape.new(name: 'OptionalVersion')
794
821
  OutgoingCertificate = Shapes::StructureShape.new(name: 'OutgoingCertificate')
795
822
  OutgoingCertificates = Shapes::ListShape.new(name: 'OutgoingCertificates')
@@ -846,6 +873,8 @@ module Aws::IoT
846
873
  PutAssetPropertyValueEntry = Shapes::StructureShape.new(name: 'PutAssetPropertyValueEntry')
847
874
  PutAssetPropertyValueEntryList = Shapes::ListShape.new(name: 'PutAssetPropertyValueEntryList')
848
875
  PutItemInput = Shapes::StructureShape.new(name: 'PutItemInput')
876
+ PutVerificationStateOnViolationRequest = Shapes::StructureShape.new(name: 'PutVerificationStateOnViolationRequest')
877
+ PutVerificationStateOnViolationResponse = Shapes::StructureShape.new(name: 'PutVerificationStateOnViolationResponse')
849
878
  Qos = Shapes::IntegerShape.new(name: 'Qos')
850
879
  QueryMaxResults = Shapes::IntegerShape.new(name: 'QueryMaxResults')
851
880
  QueryString = Shapes::StringShape.new(name: 'QueryString')
@@ -1040,6 +1069,7 @@ module Aws::IoT
1040
1069
  TemplateDescription = Shapes::StringShape.new(name: 'TemplateDescription')
1041
1070
  TemplateName = Shapes::StringShape.new(name: 'TemplateName')
1042
1071
  TemplateVersionId = Shapes::IntegerShape.new(name: 'TemplateVersionId')
1072
+ TermsAggregation = Shapes::StructureShape.new(name: 'TermsAggregation')
1043
1073
  TestAuthorizationRequest = Shapes::StructureShape.new(name: 'TestAuthorizationRequest')
1044
1074
  TestAuthorizationResponse = Shapes::StructureShape.new(name: 'TestAuthorizationResponse')
1045
1075
  TestInvokeAuthorizerRequest = Shapes::StructureShape.new(name: 'TestInvokeAuthorizerRequest')
@@ -1145,6 +1175,7 @@ module Aws::IoT
1145
1175
  UpdateDynamicThingGroupResponse = Shapes::StructureShape.new(name: 'UpdateDynamicThingGroupResponse')
1146
1176
  UpdateEventConfigurationsRequest = Shapes::StructureShape.new(name: 'UpdateEventConfigurationsRequest')
1147
1177
  UpdateEventConfigurationsResponse = Shapes::StructureShape.new(name: 'UpdateEventConfigurationsResponse')
1178
+ UpdateFleetMetricRequest = Shapes::StructureShape.new(name: 'UpdateFleetMetricRequest')
1148
1179
  UpdateIndexingConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateIndexingConfigurationRequest')
1149
1180
  UpdateIndexingConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateIndexingConfigurationResponse')
1150
1181
  UpdateJobRequest = Shapes::StructureShape.new(name: 'UpdateJobRequest')
@@ -1177,6 +1208,8 @@ module Aws::IoT
1177
1208
  ValidationErrors = Shapes::ListShape.new(name: 'ValidationErrors')
1178
1209
  Value = Shapes::StringShape.new(name: 'Value')
1179
1210
  Variance = Shapes::FloatShape.new(name: 'Variance')
1211
+ VerificationState = Shapes::StringShape.new(name: 'VerificationState')
1212
+ VerificationStateDescription = Shapes::StringShape.new(name: 'VerificationStateDescription')
1180
1213
  Version = Shapes::IntegerShape.new(name: 'Version')
1181
1214
  VersionConflictException = Shapes::StructureShape.new(name: 'VersionConflictException')
1182
1215
  VersionNumber = Shapes::IntegerShape.new(name: 'VersionNumber')
@@ -1234,6 +1267,7 @@ module Aws::IoT
1234
1267
  Action.add_member(:timestream, Shapes::ShapeRef.new(shape: TimestreamAction, location_name: "timestream"))
1235
1268
  Action.add_member(:http, Shapes::ShapeRef.new(shape: HttpAction, location_name: "http"))
1236
1269
  Action.add_member(:kafka, Shapes::ShapeRef.new(shape: KafkaAction, location_name: "kafka"))
1270
+ Action.add_member(:open_search, Shapes::ShapeRef.new(shape: OpenSearchAction, location_name: "openSearch"))
1237
1271
  Action.struct_class = Types::Action
1238
1272
 
1239
1273
  ActionList.member = Shapes::ShapeRef.new(shape: Action)
@@ -1244,6 +1278,8 @@ module Aws::IoT
1244
1278
  ActiveViolation.add_member(:behavior, Shapes::ShapeRef.new(shape: Behavior, location_name: "behavior"))
1245
1279
  ActiveViolation.add_member(:last_violation_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "lastViolationValue"))
1246
1280
  ActiveViolation.add_member(:violation_event_additional_info, Shapes::ShapeRef.new(shape: ViolationEventAdditionalInfo, location_name: "violationEventAdditionalInfo"))
1281
+ ActiveViolation.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location_name: "verificationState"))
1282
+ ActiveViolation.add_member(:verification_state_description, Shapes::ShapeRef.new(shape: VerificationStateDescription, location_name: "verificationStateDescription"))
1247
1283
  ActiveViolation.add_member(:last_violation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastViolationTime"))
1248
1284
  ActiveViolation.add_member(:violation_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationStartTime"))
1249
1285
  ActiveViolation.struct_class = Types::ActiveViolation
@@ -1278,6 +1314,12 @@ module Aws::IoT
1278
1314
  AdditionalParameterMap.key = Shapes::ShapeRef.new(shape: AttributeKey)
1279
1315
  AdditionalParameterMap.value = Shapes::ShapeRef.new(shape: Value)
1280
1316
 
1317
+ AggregationType.add_member(:name, Shapes::ShapeRef.new(shape: AggregationTypeName, required: true, location_name: "name"))
1318
+ AggregationType.add_member(:values, Shapes::ShapeRef.new(shape: AggregationTypeValues, location_name: "values"))
1319
+ AggregationType.struct_class = Types::AggregationType
1320
+
1321
+ AggregationTypeValues.member = Shapes::ShapeRef.new(shape: AggregationTypeValue)
1322
+
1281
1323
  AlertTarget.add_member(:alert_target_arn, Shapes::ShapeRef.new(shape: AlertTargetArn, required: true, location_name: "alertTargetArn"))
1282
1324
  AlertTarget.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
1283
1325
  AlertTarget.struct_class = Types::AlertTarget
@@ -1539,6 +1581,15 @@ module Aws::IoT
1539
1581
  BillingGroupProperties.add_member(:billing_group_description, Shapes::ShapeRef.new(shape: BillingGroupDescription, location_name: "billingGroupDescription"))
1540
1582
  BillingGroupProperties.struct_class = Types::BillingGroupProperties
1541
1583
 
1584
+ Bucket.add_member(:key_value, Shapes::ShapeRef.new(shape: BucketKeyValue, location_name: "keyValue"))
1585
+ Bucket.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "count"))
1586
+ Bucket.struct_class = Types::Bucket
1587
+
1588
+ Buckets.member = Shapes::ShapeRef.new(shape: Bucket)
1589
+
1590
+ BucketsAggregationType.add_member(:terms_aggregation, Shapes::ShapeRef.new(shape: TermsAggregation, location_name: "termsAggregation"))
1591
+ BucketsAggregationType.struct_class = Types::BucketsAggregationType
1592
+
1542
1593
  CACertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
1543
1594
  CACertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
1544
1595
  CACertificate.add_member(:status, Shapes::ShapeRef.new(shape: CACertificateStatus, location_name: "status"))
@@ -1780,6 +1831,22 @@ module Aws::IoT
1780
1831
  CreateDynamicThingGroupResponse.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
1781
1832
  CreateDynamicThingGroupResponse.struct_class = Types::CreateDynamicThingGroupResponse
1782
1833
 
1834
+ CreateFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
1835
+ CreateFleetMetricRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
1836
+ CreateFleetMetricRequest.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, required: true, location_name: "aggregationType"))
1837
+ CreateFleetMetricRequest.add_member(:period, Shapes::ShapeRef.new(shape: FleetMetricPeriod, required: true, location_name: "period"))
1838
+ CreateFleetMetricRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, required: true, location_name: "aggregationField"))
1839
+ CreateFleetMetricRequest.add_member(:description, Shapes::ShapeRef.new(shape: FleetMetricDescription, location_name: "description"))
1840
+ CreateFleetMetricRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
1841
+ CreateFleetMetricRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
1842
+ CreateFleetMetricRequest.add_member(:unit, Shapes::ShapeRef.new(shape: FleetMetricUnit, location_name: "unit"))
1843
+ CreateFleetMetricRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1844
+ CreateFleetMetricRequest.struct_class = Types::CreateFleetMetricRequest
1845
+
1846
+ CreateFleetMetricResponse.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
1847
+ CreateFleetMetricResponse.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
1848
+ CreateFleetMetricResponse.struct_class = Types::CreateFleetMetricResponse
1849
+
1783
1850
  CreateJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
1784
1851
  CreateJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
1785
1852
  CreateJobRequest.add_member(:document_source, Shapes::ShapeRef.new(shape: JobDocumentSource, location_name: "documentSource"))
@@ -2066,6 +2133,10 @@ module Aws::IoT
2066
2133
 
2067
2134
  DeleteDynamicThingGroupResponse.struct_class = Types::DeleteDynamicThingGroupResponse
2068
2135
 
2136
+ DeleteFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
2137
+ DeleteFleetMetricRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
2138
+ DeleteFleetMetricRequest.struct_class = Types::DeleteFleetMetricRequest
2139
+
2069
2140
  DeleteJobExecutionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
2070
2141
  DeleteJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
2071
2142
  DeleteJobExecutionRequest.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, required: true, location: "uri", location_name: "executionNumber"))
@@ -2312,6 +2383,24 @@ module Aws::IoT
2312
2383
  DescribeEventConfigurationsResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
2313
2384
  DescribeEventConfigurationsResponse.struct_class = Types::DescribeEventConfigurationsResponse
2314
2385
 
2386
+ DescribeFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
2387
+ DescribeFleetMetricRequest.struct_class = Types::DescribeFleetMetricRequest
2388
+
2389
+ DescribeFleetMetricResponse.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
2390
+ DescribeFleetMetricResponse.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, location_name: "queryString"))
2391
+ DescribeFleetMetricResponse.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, location_name: "aggregationType"))
2392
+ DescribeFleetMetricResponse.add_member(:period, Shapes::ShapeRef.new(shape: FleetMetricPeriod, location_name: "period"))
2393
+ DescribeFleetMetricResponse.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
2394
+ DescribeFleetMetricResponse.add_member(:description, Shapes::ShapeRef.new(shape: FleetMetricDescription, location_name: "description"))
2395
+ DescribeFleetMetricResponse.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
2396
+ DescribeFleetMetricResponse.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
2397
+ DescribeFleetMetricResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
2398
+ DescribeFleetMetricResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
2399
+ DescribeFleetMetricResponse.add_member(:unit, Shapes::ShapeRef.new(shape: FleetMetricUnit, location_name: "unit"))
2400
+ DescribeFleetMetricResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
2401
+ DescribeFleetMetricResponse.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
2402
+ DescribeFleetMetricResponse.struct_class = Types::DescribeFleetMetricResponse
2403
+
2315
2404
  DescribeIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location: "uri", location_name: "indexName"))
2316
2405
  DescribeIndexRequest.struct_class = Types::DescribeIndexRequest
2317
2406
 
@@ -2630,6 +2719,12 @@ module Aws::IoT
2630
2719
  FirehoseAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
2631
2720
  FirehoseAction.struct_class = Types::FirehoseAction
2632
2721
 
2722
+ FleetMetricNameAndArn.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
2723
+ FleetMetricNameAndArn.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
2724
+ FleetMetricNameAndArn.struct_class = Types::FleetMetricNameAndArn
2725
+
2726
+ FleetMetricNameAndArnList.member = Shapes::ShapeRef.new(shape: FleetMetricNameAndArn)
2727
+
2633
2728
  GetBehaviorModelTrainingSummariesRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
2634
2729
  GetBehaviorModelTrainingSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TinyMaxResults, location: "querystring", location_name: "maxResults"))
2635
2730
  GetBehaviorModelTrainingSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -2639,6 +2734,17 @@ module Aws::IoT
2639
2734
  GetBehaviorModelTrainingSummariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2640
2735
  GetBehaviorModelTrainingSummariesResponse.struct_class = Types::GetBehaviorModelTrainingSummariesResponse
2641
2736
 
2737
+ GetBucketsAggregationRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
2738
+ GetBucketsAggregationRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
2739
+ GetBucketsAggregationRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, required: true, location_name: "aggregationField"))
2740
+ GetBucketsAggregationRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
2741
+ GetBucketsAggregationRequest.add_member(:buckets_aggregation_type, Shapes::ShapeRef.new(shape: BucketsAggregationType, required: true, location_name: "bucketsAggregationType"))
2742
+ GetBucketsAggregationRequest.struct_class = Types::GetBucketsAggregationRequest
2743
+
2744
+ GetBucketsAggregationResponse.add_member(:total_count, Shapes::ShapeRef.new(shape: Count, location_name: "totalCount"))
2745
+ GetBucketsAggregationResponse.add_member(:buckets, Shapes::ShapeRef.new(shape: Buckets, location_name: "buckets"))
2746
+ GetBucketsAggregationResponse.struct_class = Types::GetBucketsAggregationResponse
2747
+
2642
2748
  GetCardinalityRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
2643
2749
  GetCardinalityRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
2644
2750
  GetCardinalityRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
@@ -2949,6 +3055,7 @@ module Aws::IoT
2949
3055
  ListActiveViolationsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
2950
3056
  ListActiveViolationsRequest.add_member(:behavior_criteria_type, Shapes::ShapeRef.new(shape: BehaviorCriteriaType, location: "querystring", location_name: "behaviorCriteriaType"))
2951
3057
  ListActiveViolationsRequest.add_member(:list_suppressed_alerts, Shapes::ShapeRef.new(shape: ListSuppressedAlerts, location: "querystring", location_name: "listSuppressedAlerts"))
3058
+ ListActiveViolationsRequest.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location: "querystring", location_name: "verificationState"))
2952
3059
  ListActiveViolationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
2953
3060
  ListActiveViolationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
2954
3061
  ListActiveViolationsRequest.struct_class = Types::ListActiveViolationsRequest
@@ -3123,6 +3230,14 @@ module Aws::IoT
3123
3230
  ListDomainConfigurationsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
3124
3231
  ListDomainConfigurationsResponse.struct_class = Types::ListDomainConfigurationsResponse
3125
3232
 
3233
+ ListFleetMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3234
+ ListFleetMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3235
+ ListFleetMetricsRequest.struct_class = Types::ListFleetMetricsRequest
3236
+
3237
+ ListFleetMetricsResponse.add_member(:fleet_metrics, Shapes::ShapeRef.new(shape: FleetMetricNameAndArnList, location_name: "fleetMetrics"))
3238
+ ListFleetMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3239
+ ListFleetMetricsResponse.struct_class = Types::ListFleetMetricsResponse
3240
+
3126
3241
  ListIndicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3127
3242
  ListIndicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryMaxResults, location: "querystring", location_name: "maxResults"))
3128
3243
  ListIndicesRequest.struct_class = Types::ListIndicesRequest
@@ -3455,6 +3570,7 @@ module Aws::IoT
3455
3570
  ListViolationEventsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
3456
3571
  ListViolationEventsRequest.add_member(:behavior_criteria_type, Shapes::ShapeRef.new(shape: BehaviorCriteriaType, location: "querystring", location_name: "behaviorCriteriaType"))
3457
3572
  ListViolationEventsRequest.add_member(:list_suppressed_alerts, Shapes::ShapeRef.new(shape: ListSuppressedAlerts, location: "querystring", location_name: "listSuppressedAlerts"))
3573
+ ListViolationEventsRequest.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location: "querystring", location_name: "verificationState"))
3458
3574
  ListViolationEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3459
3575
  ListViolationEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3460
3576
  ListViolationEventsRequest.struct_class = Types::ListViolationEventsRequest
@@ -3578,6 +3694,13 @@ module Aws::IoT
3578
3694
 
3579
3695
  OTAUpdatesSummary.member = Shapes::ShapeRef.new(shape: OTAUpdateSummary)
3580
3696
 
3697
+ OpenSearchAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
3698
+ OpenSearchAction.add_member(:endpoint, Shapes::ShapeRef.new(shape: ElasticsearchEndpoint, required: true, location_name: "endpoint"))
3699
+ OpenSearchAction.add_member(:index, Shapes::ShapeRef.new(shape: ElasticsearchIndex, required: true, location_name: "index"))
3700
+ OpenSearchAction.add_member(:type, Shapes::ShapeRef.new(shape: ElasticsearchType, required: true, location_name: "type"))
3701
+ OpenSearchAction.add_member(:id, Shapes::ShapeRef.new(shape: ElasticsearchId, required: true, location_name: "id"))
3702
+ OpenSearchAction.struct_class = Types::OpenSearchAction
3703
+
3581
3704
  OutgoingCertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
3582
3705
  OutgoingCertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
3583
3706
  OutgoingCertificate.add_member(:transferred_to, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "transferredTo"))
@@ -3673,6 +3796,13 @@ module Aws::IoT
3673
3796
  PutItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
3674
3797
  PutItemInput.struct_class = Types::PutItemInput
3675
3798
 
3799
+ PutVerificationStateOnViolationRequest.add_member(:violation_id, Shapes::ShapeRef.new(shape: ViolationId, required: true, location: "uri", location_name: "violationId"))
3800
+ PutVerificationStateOnViolationRequest.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, required: true, location_name: "verificationState"))
3801
+ PutVerificationStateOnViolationRequest.add_member(:verification_state_description, Shapes::ShapeRef.new(shape: VerificationStateDescription, location_name: "verificationStateDescription"))
3802
+ PutVerificationStateOnViolationRequest.struct_class = Types::PutVerificationStateOnViolationRequest
3803
+
3804
+ PutVerificationStateOnViolationResponse.struct_class = Types::PutVerificationStateOnViolationResponse
3805
+
3676
3806
  RateIncreaseCriteria.add_member(:number_of_notified_things, Shapes::ShapeRef.new(shape: NumberOfThings, location_name: "numberOfNotifiedThings"))
3677
3807
  RateIncreaseCriteria.add_member(:number_of_succeeded_things, Shapes::ShapeRef.new(shape: NumberOfThings, location_name: "numberOfSucceededThings"))
3678
3808
  RateIncreaseCriteria.struct_class = Types::RateIncreaseCriteria
@@ -4065,6 +4195,9 @@ module Aws::IoT
4065
4195
  TaskStatisticsForAuditCheck.add_member(:canceled_findings_count, Shapes::ShapeRef.new(shape: CanceledFindingsCount, location_name: "canceledFindingsCount"))
4066
4196
  TaskStatisticsForAuditCheck.struct_class = Types::TaskStatisticsForAuditCheck
4067
4197
 
4198
+ TermsAggregation.add_member(:max_buckets, Shapes::ShapeRef.new(shape: MaxBuckets, location_name: "maxBuckets"))
4199
+ TermsAggregation.struct_class = Types::TermsAggregation
4200
+
4068
4201
  TestAuthorizationRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "principal"))
4069
4202
  TestAuthorizationRequest.add_member(:cognito_identity_pool_id, Shapes::ShapeRef.new(shape: CognitoIdentityPoolId, location_name: "cognitoIdentityPoolId"))
4070
4203
  TestAuthorizationRequest.add_member(:auth_infos, Shapes::ShapeRef.new(shape: AuthInfos, required: true, location_name: "authInfos"))
@@ -4102,6 +4235,7 @@ module Aws::IoT
4102
4235
 
4103
4236
  ThingConnectivity.add_member(:connected, Shapes::ShapeRef.new(shape: Boolean, location_name: "connected"))
4104
4237
  ThingConnectivity.add_member(:timestamp, Shapes::ShapeRef.new(shape: ConnectivityTimestamp, location_name: "timestamp"))
4238
+ ThingConnectivity.add_member(:disconnect_reason, Shapes::ShapeRef.new(shape: DisconnectReason, location_name: "disconnectReason"))
4105
4239
  ThingConnectivity.struct_class = Types::ThingConnectivity
4106
4240
 
4107
4241
  ThingDocument.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
@@ -4380,6 +4514,18 @@ module Aws::IoT
4380
4514
 
4381
4515
  UpdateEventConfigurationsResponse.struct_class = Types::UpdateEventConfigurationsResponse
4382
4516
 
4517
+ UpdateFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
4518
+ UpdateFleetMetricRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, location_name: "queryString"))
4519
+ UpdateFleetMetricRequest.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, location_name: "aggregationType"))
4520
+ UpdateFleetMetricRequest.add_member(:period, Shapes::ShapeRef.new(shape: FleetMetricPeriod, location_name: "period"))
4521
+ UpdateFleetMetricRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
4522
+ UpdateFleetMetricRequest.add_member(:description, Shapes::ShapeRef.new(shape: FleetMetricDescription, location_name: "description"))
4523
+ UpdateFleetMetricRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
4524
+ UpdateFleetMetricRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "indexName"))
4525
+ UpdateFleetMetricRequest.add_member(:unit, Shapes::ShapeRef.new(shape: FleetMetricUnit, location_name: "unit"))
4526
+ UpdateFleetMetricRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location_name: "expectedVersion"))
4527
+ UpdateFleetMetricRequest.struct_class = Types::UpdateFleetMetricRequest
4528
+
4383
4529
  UpdateIndexingConfigurationRequest.add_member(:thing_indexing_configuration, Shapes::ShapeRef.new(shape: ThingIndexingConfiguration, location_name: "thingIndexingConfiguration"))
4384
4530
  UpdateIndexingConfigurationRequest.add_member(:thing_group_indexing_configuration, Shapes::ShapeRef.new(shape: ThingGroupIndexingConfiguration, location_name: "thingGroupIndexingConfiguration"))
4385
4531
  UpdateIndexingConfigurationRequest.struct_class = Types::UpdateIndexingConfigurationRequest
@@ -4526,6 +4672,8 @@ module Aws::IoT
4526
4672
  ViolationEvent.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "metricValue"))
4527
4673
  ViolationEvent.add_member(:violation_event_additional_info, Shapes::ShapeRef.new(shape: ViolationEventAdditionalInfo, location_name: "violationEventAdditionalInfo"))
4528
4674
  ViolationEvent.add_member(:violation_event_type, Shapes::ShapeRef.new(shape: ViolationEventType, location_name: "violationEventType"))
4675
+ ViolationEvent.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location_name: "verificationState"))
4676
+ ViolationEvent.add_member(:verification_state_description, Shapes::ShapeRef.new(shape: VerificationStateDescription, location_name: "verificationStateDescription"))
4529
4677
  ViolationEvent.add_member(:violation_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationEventTime"))
4530
4678
  ViolationEvent.struct_class = Types::ViolationEvent
4531
4679
 
@@ -4898,6 +5046,25 @@ module Aws::IoT
4898
5046
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
4899
5047
  end)
4900
5048
 
5049
+ api.add_operation(:create_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
5050
+ o.name = "CreateFleetMetric"
5051
+ o.http_method = "PUT"
5052
+ o.http_request_uri = "/fleet-metric/{metricName}"
5053
+ o.input = Shapes::ShapeRef.new(shape: CreateFleetMetricRequest)
5054
+ o.output = Shapes::ShapeRef.new(shape: CreateFleetMetricResponse)
5055
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5056
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5057
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5058
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5059
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5060
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
5061
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
5062
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5063
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
5064
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
5065
+ o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
5066
+ end)
5067
+
4901
5068
  api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
4902
5069
  o.name = "CreateJob"
4903
5070
  o.http_method = "PUT"
@@ -5295,6 +5462,20 @@ module Aws::IoT
5295
5462
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5296
5463
  end)
5297
5464
 
5465
+ api.add_operation(:delete_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
5466
+ o.name = "DeleteFleetMetric"
5467
+ o.http_method = "DELETE"
5468
+ o.http_request_uri = "/fleet-metric/{metricName}"
5469
+ o.input = Shapes::ShapeRef.new(shape: DeleteFleetMetricRequest)
5470
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
5471
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5472
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5473
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5474
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5475
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5476
+ o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
5477
+ end)
5478
+
5298
5479
  api.add_operation(:delete_job, Seahorse::Model::Operation.new.tap do |o|
5299
5480
  o.name = "DeleteJob"
5300
5481
  o.http_method = "DELETE"
@@ -5777,6 +5958,20 @@ module Aws::IoT
5777
5958
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5778
5959
  end)
5779
5960
 
5961
+ api.add_operation(:describe_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
5962
+ o.name = "DescribeFleetMetric"
5963
+ o.http_method = "GET"
5964
+ o.http_request_uri = "/fleet-metric/{metricName}"
5965
+ o.input = Shapes::ShapeRef.new(shape: DescribeFleetMetricRequest)
5966
+ o.output = Shapes::ShapeRef.new(shape: DescribeFleetMetricResponse)
5967
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5968
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5969
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5970
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5971
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5972
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5973
+ end)
5974
+
5780
5975
  api.add_operation(:describe_index, Seahorse::Model::Operation.new.tap do |o|
5781
5976
  o.name = "DescribeIndex"
5782
5977
  o.http_method = "GET"
@@ -6069,6 +6264,23 @@ module Aws::IoT
6069
6264
  )
6070
6265
  end)
6071
6266
 
6267
+ api.add_operation(:get_buckets_aggregation, Seahorse::Model::Operation.new.tap do |o|
6268
+ o.name = "GetBucketsAggregation"
6269
+ o.http_method = "POST"
6270
+ o.http_request_uri = "/indices/buckets"
6271
+ o.input = Shapes::ShapeRef.new(shape: GetBucketsAggregationRequest)
6272
+ o.output = Shapes::ShapeRef.new(shape: GetBucketsAggregationResponse)
6273
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6274
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6275
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6276
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6277
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6278
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6279
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
6280
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
6281
+ o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
6282
+ end)
6283
+
6072
6284
  api.add_operation(:get_cardinality, Seahorse::Model::Operation.new.tap do |o|
6073
6285
  o.name = "GetCardinality"
6074
6286
  o.http_method = "POST"
@@ -6566,6 +6778,25 @@ module Aws::IoT
6566
6778
  )
6567
6779
  end)
6568
6780
 
6781
+ api.add_operation(:list_fleet_metrics, Seahorse::Model::Operation.new.tap do |o|
6782
+ o.name = "ListFleetMetrics"
6783
+ o.http_method = "GET"
6784
+ o.http_request_uri = "/fleet-metrics"
6785
+ o.input = Shapes::ShapeRef.new(shape: ListFleetMetricsRequest)
6786
+ o.output = Shapes::ShapeRef.new(shape: ListFleetMetricsResponse)
6787
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6788
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6789
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6790
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6791
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6792
+ o[:pager] = Aws::Pager.new(
6793
+ limit_key: "max_results",
6794
+ tokens: {
6795
+ "next_token" => "next_token"
6796
+ }
6797
+ )
6798
+ end)
6799
+
6569
6800
  api.add_operation(:list_indices, Seahorse::Model::Operation.new.tap do |o|
6570
6801
  o.name = "ListIndices"
6571
6802
  o.http_method = "GET"
@@ -6630,6 +6861,12 @@ module Aws::IoT
6630
6861
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6631
6862
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6632
6863
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6864
+ o[:pager] = Aws::Pager.new(
6865
+ limit_key: "max_results",
6866
+ tokens: {
6867
+ "next_token" => "next_token"
6868
+ }
6869
+ )
6633
6870
  end)
6634
6871
 
6635
6872
  api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
@@ -7220,6 +7457,17 @@ module Aws::IoT
7220
7457
  )
7221
7458
  end)
7222
7459
 
7460
+ api.add_operation(:put_verification_state_on_violation, Seahorse::Model::Operation.new.tap do |o|
7461
+ o.name = "PutVerificationStateOnViolation"
7462
+ o.http_method = "POST"
7463
+ o.http_request_uri = "/violations/verification-state/{violationId}"
7464
+ o.input = Shapes::ShapeRef.new(shape: PutVerificationStateOnViolationRequest)
7465
+ o.output = Shapes::ShapeRef.new(shape: PutVerificationStateOnViolationResponse)
7466
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7467
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7468
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
7469
+ end)
7470
+
7223
7471
  api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
7224
7472
  o.name = "RegisterCACertificate"
7225
7473
  o.http_method = "POST"
@@ -7696,6 +7944,24 @@ module Aws::IoT
7696
7944
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7697
7945
  end)
7698
7946
 
7947
+ api.add_operation(:update_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
7948
+ o.name = "UpdateFleetMetric"
7949
+ o.http_method = "PATCH"
7950
+ o.http_request_uri = "/fleet-metric/{metricName}"
7951
+ o.input = Shapes::ShapeRef.new(shape: UpdateFleetMetricRequest)
7952
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
7953
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7954
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7955
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
7956
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
7957
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
7958
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7959
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
7960
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
7961
+ o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
7962
+ o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
7963
+ end)
7964
+
7699
7965
  api.add_operation(:update_indexing_configuration, Seahorse::Model::Operation.new.tap do |o|
7700
7966
  o.name = "UpdateIndexingConfiguration"
7701
7967
  o.http_method = "POST"