aws-sdk-iot 1.69.0 → 1.73.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')
@@ -1040,6 +1066,7 @@ module Aws::IoT
1040
1066
  TemplateDescription = Shapes::StringShape.new(name: 'TemplateDescription')
1041
1067
  TemplateName = Shapes::StringShape.new(name: 'TemplateName')
1042
1068
  TemplateVersionId = Shapes::IntegerShape.new(name: 'TemplateVersionId')
1069
+ TermsAggregation = Shapes::StructureShape.new(name: 'TermsAggregation')
1043
1070
  TestAuthorizationRequest = Shapes::StructureShape.new(name: 'TestAuthorizationRequest')
1044
1071
  TestAuthorizationResponse = Shapes::StructureShape.new(name: 'TestAuthorizationResponse')
1045
1072
  TestInvokeAuthorizerRequest = Shapes::StructureShape.new(name: 'TestInvokeAuthorizerRequest')
@@ -1145,6 +1172,7 @@ module Aws::IoT
1145
1172
  UpdateDynamicThingGroupResponse = Shapes::StructureShape.new(name: 'UpdateDynamicThingGroupResponse')
1146
1173
  UpdateEventConfigurationsRequest = Shapes::StructureShape.new(name: 'UpdateEventConfigurationsRequest')
1147
1174
  UpdateEventConfigurationsResponse = Shapes::StructureShape.new(name: 'UpdateEventConfigurationsResponse')
1175
+ UpdateFleetMetricRequest = Shapes::StructureShape.new(name: 'UpdateFleetMetricRequest')
1148
1176
  UpdateIndexingConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateIndexingConfigurationRequest')
1149
1177
  UpdateIndexingConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateIndexingConfigurationResponse')
1150
1178
  UpdateJobRequest = Shapes::StructureShape.new(name: 'UpdateJobRequest')
@@ -1278,6 +1306,12 @@ module Aws::IoT
1278
1306
  AdditionalParameterMap.key = Shapes::ShapeRef.new(shape: AttributeKey)
1279
1307
  AdditionalParameterMap.value = Shapes::ShapeRef.new(shape: Value)
1280
1308
 
1309
+ AggregationType.add_member(:name, Shapes::ShapeRef.new(shape: AggregationTypeName, required: true, location_name: "name"))
1310
+ AggregationType.add_member(:values, Shapes::ShapeRef.new(shape: AggregationTypeValues, location_name: "values"))
1311
+ AggregationType.struct_class = Types::AggregationType
1312
+
1313
+ AggregationTypeValues.member = Shapes::ShapeRef.new(shape: AggregationTypeValue)
1314
+
1281
1315
  AlertTarget.add_member(:alert_target_arn, Shapes::ShapeRef.new(shape: AlertTargetArn, required: true, location_name: "alertTargetArn"))
1282
1316
  AlertTarget.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
1283
1317
  AlertTarget.struct_class = Types::AlertTarget
@@ -1539,6 +1573,15 @@ module Aws::IoT
1539
1573
  BillingGroupProperties.add_member(:billing_group_description, Shapes::ShapeRef.new(shape: BillingGroupDescription, location_name: "billingGroupDescription"))
1540
1574
  BillingGroupProperties.struct_class = Types::BillingGroupProperties
1541
1575
 
1576
+ Bucket.add_member(:key_value, Shapes::ShapeRef.new(shape: BucketKeyValue, location_name: "keyValue"))
1577
+ Bucket.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "count"))
1578
+ Bucket.struct_class = Types::Bucket
1579
+
1580
+ Buckets.member = Shapes::ShapeRef.new(shape: Bucket)
1581
+
1582
+ BucketsAggregationType.add_member(:terms_aggregation, Shapes::ShapeRef.new(shape: TermsAggregation, location_name: "termsAggregation"))
1583
+ BucketsAggregationType.struct_class = Types::BucketsAggregationType
1584
+
1542
1585
  CACertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
1543
1586
  CACertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
1544
1587
  CACertificate.add_member(:status, Shapes::ShapeRef.new(shape: CACertificateStatus, location_name: "status"))
@@ -1780,6 +1823,22 @@ module Aws::IoT
1780
1823
  CreateDynamicThingGroupResponse.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
1781
1824
  CreateDynamicThingGroupResponse.struct_class = Types::CreateDynamicThingGroupResponse
1782
1825
 
1826
+ CreateFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
1827
+ CreateFleetMetricRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
1828
+ CreateFleetMetricRequest.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, required: true, location_name: "aggregationType"))
1829
+ CreateFleetMetricRequest.add_member(:period, Shapes::ShapeRef.new(shape: FleetMetricPeriod, required: true, location_name: "period"))
1830
+ CreateFleetMetricRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, required: true, location_name: "aggregationField"))
1831
+ CreateFleetMetricRequest.add_member(:description, Shapes::ShapeRef.new(shape: FleetMetricDescription, location_name: "description"))
1832
+ CreateFleetMetricRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
1833
+ CreateFleetMetricRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
1834
+ CreateFleetMetricRequest.add_member(:unit, Shapes::ShapeRef.new(shape: FleetMetricUnit, location_name: "unit"))
1835
+ CreateFleetMetricRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1836
+ CreateFleetMetricRequest.struct_class = Types::CreateFleetMetricRequest
1837
+
1838
+ CreateFleetMetricResponse.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
1839
+ CreateFleetMetricResponse.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
1840
+ CreateFleetMetricResponse.struct_class = Types::CreateFleetMetricResponse
1841
+
1783
1842
  CreateJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
1784
1843
  CreateJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
1785
1844
  CreateJobRequest.add_member(:document_source, Shapes::ShapeRef.new(shape: JobDocumentSource, location_name: "documentSource"))
@@ -2066,6 +2125,10 @@ module Aws::IoT
2066
2125
 
2067
2126
  DeleteDynamicThingGroupResponse.struct_class = Types::DeleteDynamicThingGroupResponse
2068
2127
 
2128
+ DeleteFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
2129
+ DeleteFleetMetricRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
2130
+ DeleteFleetMetricRequest.struct_class = Types::DeleteFleetMetricRequest
2131
+
2069
2132
  DeleteJobExecutionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
2070
2133
  DeleteJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
2071
2134
  DeleteJobExecutionRequest.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, required: true, location: "uri", location_name: "executionNumber"))
@@ -2312,6 +2375,24 @@ module Aws::IoT
2312
2375
  DescribeEventConfigurationsResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
2313
2376
  DescribeEventConfigurationsResponse.struct_class = Types::DescribeEventConfigurationsResponse
2314
2377
 
2378
+ DescribeFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
2379
+ DescribeFleetMetricRequest.struct_class = Types::DescribeFleetMetricRequest
2380
+
2381
+ DescribeFleetMetricResponse.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
2382
+ DescribeFleetMetricResponse.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, location_name: "queryString"))
2383
+ DescribeFleetMetricResponse.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, location_name: "aggregationType"))
2384
+ DescribeFleetMetricResponse.add_member(:period, Shapes::ShapeRef.new(shape: FleetMetricPeriod, location_name: "period"))
2385
+ DescribeFleetMetricResponse.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
2386
+ DescribeFleetMetricResponse.add_member(:description, Shapes::ShapeRef.new(shape: FleetMetricDescription, location_name: "description"))
2387
+ DescribeFleetMetricResponse.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
2388
+ DescribeFleetMetricResponse.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
2389
+ DescribeFleetMetricResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
2390
+ DescribeFleetMetricResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
2391
+ DescribeFleetMetricResponse.add_member(:unit, Shapes::ShapeRef.new(shape: FleetMetricUnit, location_name: "unit"))
2392
+ DescribeFleetMetricResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
2393
+ DescribeFleetMetricResponse.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
2394
+ DescribeFleetMetricResponse.struct_class = Types::DescribeFleetMetricResponse
2395
+
2315
2396
  DescribeIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location: "uri", location_name: "indexName"))
2316
2397
  DescribeIndexRequest.struct_class = Types::DescribeIndexRequest
2317
2398
 
@@ -2630,6 +2711,12 @@ module Aws::IoT
2630
2711
  FirehoseAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
2631
2712
  FirehoseAction.struct_class = Types::FirehoseAction
2632
2713
 
2714
+ FleetMetricNameAndArn.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
2715
+ FleetMetricNameAndArn.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
2716
+ FleetMetricNameAndArn.struct_class = Types::FleetMetricNameAndArn
2717
+
2718
+ FleetMetricNameAndArnList.member = Shapes::ShapeRef.new(shape: FleetMetricNameAndArn)
2719
+
2633
2720
  GetBehaviorModelTrainingSummariesRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
2634
2721
  GetBehaviorModelTrainingSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TinyMaxResults, location: "querystring", location_name: "maxResults"))
2635
2722
  GetBehaviorModelTrainingSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -2639,6 +2726,17 @@ module Aws::IoT
2639
2726
  GetBehaviorModelTrainingSummariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2640
2727
  GetBehaviorModelTrainingSummariesResponse.struct_class = Types::GetBehaviorModelTrainingSummariesResponse
2641
2728
 
2729
+ GetBucketsAggregationRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
2730
+ GetBucketsAggregationRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
2731
+ GetBucketsAggregationRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, required: true, location_name: "aggregationField"))
2732
+ GetBucketsAggregationRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
2733
+ GetBucketsAggregationRequest.add_member(:buckets_aggregation_type, Shapes::ShapeRef.new(shape: BucketsAggregationType, required: true, location_name: "bucketsAggregationType"))
2734
+ GetBucketsAggregationRequest.struct_class = Types::GetBucketsAggregationRequest
2735
+
2736
+ GetBucketsAggregationResponse.add_member(:total_count, Shapes::ShapeRef.new(shape: Count, location_name: "totalCount"))
2737
+ GetBucketsAggregationResponse.add_member(:buckets, Shapes::ShapeRef.new(shape: Buckets, location_name: "buckets"))
2738
+ GetBucketsAggregationResponse.struct_class = Types::GetBucketsAggregationResponse
2739
+
2642
2740
  GetCardinalityRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
2643
2741
  GetCardinalityRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
2644
2742
  GetCardinalityRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
@@ -3123,6 +3221,14 @@ module Aws::IoT
3123
3221
  ListDomainConfigurationsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
3124
3222
  ListDomainConfigurationsResponse.struct_class = Types::ListDomainConfigurationsResponse
3125
3223
 
3224
+ ListFleetMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3225
+ ListFleetMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3226
+ ListFleetMetricsRequest.struct_class = Types::ListFleetMetricsRequest
3227
+
3228
+ ListFleetMetricsResponse.add_member(:fleet_metrics, Shapes::ShapeRef.new(shape: FleetMetricNameAndArnList, location_name: "fleetMetrics"))
3229
+ ListFleetMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3230
+ ListFleetMetricsResponse.struct_class = Types::ListFleetMetricsResponse
3231
+
3126
3232
  ListIndicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3127
3233
  ListIndicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryMaxResults, location: "querystring", location_name: "maxResults"))
3128
3234
  ListIndicesRequest.struct_class = Types::ListIndicesRequest
@@ -4065,6 +4171,9 @@ module Aws::IoT
4065
4171
  TaskStatisticsForAuditCheck.add_member(:canceled_findings_count, Shapes::ShapeRef.new(shape: CanceledFindingsCount, location_name: "canceledFindingsCount"))
4066
4172
  TaskStatisticsForAuditCheck.struct_class = Types::TaskStatisticsForAuditCheck
4067
4173
 
4174
+ TermsAggregation.add_member(:max_buckets, Shapes::ShapeRef.new(shape: MaxBuckets, location_name: "maxBuckets"))
4175
+ TermsAggregation.struct_class = Types::TermsAggregation
4176
+
4068
4177
  TestAuthorizationRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "principal"))
4069
4178
  TestAuthorizationRequest.add_member(:cognito_identity_pool_id, Shapes::ShapeRef.new(shape: CognitoIdentityPoolId, location_name: "cognitoIdentityPoolId"))
4070
4179
  TestAuthorizationRequest.add_member(:auth_infos, Shapes::ShapeRef.new(shape: AuthInfos, required: true, location_name: "authInfos"))
@@ -4102,6 +4211,7 @@ module Aws::IoT
4102
4211
 
4103
4212
  ThingConnectivity.add_member(:connected, Shapes::ShapeRef.new(shape: Boolean, location_name: "connected"))
4104
4213
  ThingConnectivity.add_member(:timestamp, Shapes::ShapeRef.new(shape: ConnectivityTimestamp, location_name: "timestamp"))
4214
+ ThingConnectivity.add_member(:disconnect_reason, Shapes::ShapeRef.new(shape: DisconnectReason, location_name: "disconnectReason"))
4105
4215
  ThingConnectivity.struct_class = Types::ThingConnectivity
4106
4216
 
4107
4217
  ThingDocument.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
@@ -4380,6 +4490,18 @@ module Aws::IoT
4380
4490
 
4381
4491
  UpdateEventConfigurationsResponse.struct_class = Types::UpdateEventConfigurationsResponse
4382
4492
 
4493
+ UpdateFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
4494
+ UpdateFleetMetricRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, location_name: "queryString"))
4495
+ UpdateFleetMetricRequest.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, location_name: "aggregationType"))
4496
+ UpdateFleetMetricRequest.add_member(:period, Shapes::ShapeRef.new(shape: FleetMetricPeriod, location_name: "period"))
4497
+ UpdateFleetMetricRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
4498
+ UpdateFleetMetricRequest.add_member(:description, Shapes::ShapeRef.new(shape: FleetMetricDescription, location_name: "description"))
4499
+ UpdateFleetMetricRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
4500
+ UpdateFleetMetricRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "indexName"))
4501
+ UpdateFleetMetricRequest.add_member(:unit, Shapes::ShapeRef.new(shape: FleetMetricUnit, location_name: "unit"))
4502
+ UpdateFleetMetricRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location_name: "expectedVersion"))
4503
+ UpdateFleetMetricRequest.struct_class = Types::UpdateFleetMetricRequest
4504
+
4383
4505
  UpdateIndexingConfigurationRequest.add_member(:thing_indexing_configuration, Shapes::ShapeRef.new(shape: ThingIndexingConfiguration, location_name: "thingIndexingConfiguration"))
4384
4506
  UpdateIndexingConfigurationRequest.add_member(:thing_group_indexing_configuration, Shapes::ShapeRef.new(shape: ThingGroupIndexingConfiguration, location_name: "thingGroupIndexingConfiguration"))
4385
4507
  UpdateIndexingConfigurationRequest.struct_class = Types::UpdateIndexingConfigurationRequest
@@ -4898,6 +5020,25 @@ module Aws::IoT
4898
5020
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
4899
5021
  end)
4900
5022
 
5023
+ api.add_operation(:create_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
5024
+ o.name = "CreateFleetMetric"
5025
+ o.http_method = "PUT"
5026
+ o.http_request_uri = "/fleet-metric/{metricName}"
5027
+ o.input = Shapes::ShapeRef.new(shape: CreateFleetMetricRequest)
5028
+ o.output = Shapes::ShapeRef.new(shape: CreateFleetMetricResponse)
5029
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5030
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5031
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5032
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5033
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5034
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
5035
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
5036
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5037
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
5038
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
5039
+ o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
5040
+ end)
5041
+
4901
5042
  api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
4902
5043
  o.name = "CreateJob"
4903
5044
  o.http_method = "PUT"
@@ -5295,6 +5436,20 @@ module Aws::IoT
5295
5436
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5296
5437
  end)
5297
5438
 
5439
+ api.add_operation(:delete_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
5440
+ o.name = "DeleteFleetMetric"
5441
+ o.http_method = "DELETE"
5442
+ o.http_request_uri = "/fleet-metric/{metricName}"
5443
+ o.input = Shapes::ShapeRef.new(shape: DeleteFleetMetricRequest)
5444
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
5445
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5446
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5447
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5448
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5449
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5450
+ o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
5451
+ end)
5452
+
5298
5453
  api.add_operation(:delete_job, Seahorse::Model::Operation.new.tap do |o|
5299
5454
  o.name = "DeleteJob"
5300
5455
  o.http_method = "DELETE"
@@ -5777,6 +5932,20 @@ module Aws::IoT
5777
5932
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5778
5933
  end)
5779
5934
 
5935
+ api.add_operation(:describe_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
5936
+ o.name = "DescribeFleetMetric"
5937
+ o.http_method = "GET"
5938
+ o.http_request_uri = "/fleet-metric/{metricName}"
5939
+ o.input = Shapes::ShapeRef.new(shape: DescribeFleetMetricRequest)
5940
+ o.output = Shapes::ShapeRef.new(shape: DescribeFleetMetricResponse)
5941
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
5942
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5943
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
5944
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
5945
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5946
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5947
+ end)
5948
+
5780
5949
  api.add_operation(:describe_index, Seahorse::Model::Operation.new.tap do |o|
5781
5950
  o.name = "DescribeIndex"
5782
5951
  o.http_method = "GET"
@@ -6069,6 +6238,23 @@ module Aws::IoT
6069
6238
  )
6070
6239
  end)
6071
6240
 
6241
+ api.add_operation(:get_buckets_aggregation, Seahorse::Model::Operation.new.tap do |o|
6242
+ o.name = "GetBucketsAggregation"
6243
+ o.http_method = "POST"
6244
+ o.http_request_uri = "/indices/buckets"
6245
+ o.input = Shapes::ShapeRef.new(shape: GetBucketsAggregationRequest)
6246
+ o.output = Shapes::ShapeRef.new(shape: GetBucketsAggregationResponse)
6247
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6248
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6249
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6250
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6251
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6252
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6253
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
6254
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
6255
+ o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
6256
+ end)
6257
+
6072
6258
  api.add_operation(:get_cardinality, Seahorse::Model::Operation.new.tap do |o|
6073
6259
  o.name = "GetCardinality"
6074
6260
  o.http_method = "POST"
@@ -6566,6 +6752,25 @@ module Aws::IoT
6566
6752
  )
6567
6753
  end)
6568
6754
 
6755
+ api.add_operation(:list_fleet_metrics, Seahorse::Model::Operation.new.tap do |o|
6756
+ o.name = "ListFleetMetrics"
6757
+ o.http_method = "GET"
6758
+ o.http_request_uri = "/fleet-metrics"
6759
+ o.input = Shapes::ShapeRef.new(shape: ListFleetMetricsRequest)
6760
+ o.output = Shapes::ShapeRef.new(shape: ListFleetMetricsResponse)
6761
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6762
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6763
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
6764
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6765
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6766
+ o[:pager] = Aws::Pager.new(
6767
+ limit_key: "max_results",
6768
+ tokens: {
6769
+ "next_token" => "next_token"
6770
+ }
6771
+ )
6772
+ end)
6773
+
6569
6774
  api.add_operation(:list_indices, Seahorse::Model::Operation.new.tap do |o|
6570
6775
  o.name = "ListIndices"
6571
6776
  o.http_method = "GET"
@@ -6630,6 +6835,12 @@ module Aws::IoT
6630
6835
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6631
6836
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6632
6837
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6838
+ o[:pager] = Aws::Pager.new(
6839
+ limit_key: "max_results",
6840
+ tokens: {
6841
+ "next_token" => "next_token"
6842
+ }
6843
+ )
6633
6844
  end)
6634
6845
 
6635
6846
  api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
@@ -7696,6 +7907,24 @@ module Aws::IoT
7696
7907
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7697
7908
  end)
7698
7909
 
7910
+ api.add_operation(:update_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
7911
+ o.name = "UpdateFleetMetric"
7912
+ o.http_method = "PATCH"
7913
+ o.http_request_uri = "/fleet-metric/{metricName}"
7914
+ o.input = Shapes::ShapeRef.new(shape: UpdateFleetMetricRequest)
7915
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
7916
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7917
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7918
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
7919
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
7920
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
7921
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7922
+ o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
7923
+ o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
7924
+ o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
7925
+ o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
7926
+ end)
7927
+
7699
7928
  api.add_operation(:update_indexing_configuration, Seahorse::Model::Operation.new.tap do |o|
7700
7929
  o.name = "UpdateIndexingConfiguration"
7701
7930
  o.http_method = "POST"
@@ -60,8 +60,8 @@ module Aws::IoT
60
60
  # The minimum percentage of job execution failures that must occur to
61
61
  # initiate the job abort.
62
62
  #
63
- # AWS IoT supports up to two digits after the decimal (for example,
64
- # 10.9 and 10.99, but not 10.999).
63
+ # Amazon Web Services IoT Core supports up to two digits after the
64
+ # decimal (for example, 10.9 and 10.99, but not 10.999).
65
65
  # @return [Float]
66
66
  #
67
67
  # @!attribute [rw] min_number_of_executed_things
@@ -337,15 +337,15 @@ module Aws::IoT
337
337
  # @return [Types::SalesforceAction]
338
338
  #
339
339
  # @!attribute [rw] iot_analytics
340
- # Sends message data to an AWS IoT Analytics channel.
340
+ # Sends message data to an IoT Analytics channel.
341
341
  # @return [Types::IotAnalyticsAction]
342
342
  #
343
343
  # @!attribute [rw] iot_events
344
- # Sends an input to an AWS IoT Events detector.
344
+ # Sends an input to an IoT Events detector.
345
345
  # @return [Types::IotEventsAction]
346
346
  #
347
347
  # @!attribute [rw] iot_site_wise
348
- # Sends data from the MQTT message that triggered the rule to AWS IoT
348
+ # Sends data from the MQTT message that triggered the rule to IoT
349
349
  # SiteWise asset properties.
350
350
  # @return [Types::IotSiteWiseAction]
351
351
  #
@@ -561,6 +561,31 @@ module Aws::IoT
561
561
  include Aws::Structure
562
562
  end
563
563
 
564
+ # The type of aggregation queries.
565
+ #
566
+ # @note When making an API call, you may pass AggregationType
567
+ # data as a hash:
568
+ #
569
+ # {
570
+ # name: "Statistics", # required, accepts Statistics, Percentiles, Cardinality
571
+ # values: ["AggregationTypeValue"],
572
+ # }
573
+ #
574
+ # @!attribute [rw] name
575
+ # The name of the aggregation type.
576
+ # @return [String]
577
+ #
578
+ # @!attribute [rw] values
579
+ # A list of the values of aggregation types.
580
+ # @return [Array<String>]
581
+ #
582
+ class AggregationType < Struct.new(
583
+ :name,
584
+ :values)
585
+ SENSITIVE = []
586
+ include Aws::Structure
587
+ end
588
+
564
589
  # A structure containing the alert target ARN and the role ARN.
565
590
  #
566
591
  # @note When making an API call, you may pass AlertTarget
@@ -735,9 +760,9 @@ module Aws::IoT
735
760
  # @!attribute [rw] namespace_id
736
761
  # The namespace used to indicate that a job is a customer-managed job.
737
762
  #
738
- # When you specify a value for this parameter, AWS IoT Core sends jobs
739
- # notifications to MQTT topics that contain the value in the following
740
- # format.
763
+ # When you specify a value for this parameter, Amazon Web Services IoT
764
+ # Core sends jobs notifications to MQTT topics that contain the value
765
+ # in the following format.
741
766
  #
742
767
  # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
743
768
  #
@@ -1396,7 +1421,7 @@ module Aws::IoT
1396
1421
  # @return [Time]
1397
1422
  #
1398
1423
  # @!attribute [rw] signing_disabled
1399
- # Specifies whether AWS IoT validates the token signature in an
1424
+ # Specifies whether IoT validates the token signature in an
1400
1425
  # authorization request.
1401
1426
  # @return [Boolean]
1402
1427
  #
@@ -1481,8 +1506,8 @@ module Aws::IoT
1481
1506
  # The minimum percentage of job execution failures that must occur to
1482
1507
  # initiate the job abort.
1483
1508
  #
1484
- # AWS IoT supports up to two digits after the decimal (for example,
1485
- # 10.9 and 10.99, but not 10.999).
1509
+ # Amazon Web Services IoT Core supports up to two digits after the
1510
+ # decimal (for example, 10.9 and 10.99, but not 10.999).
1486
1511
  # @return [Float]
1487
1512
  #
1488
1513
  # @!attribute [rw] min_number_of_executed_things
@@ -1561,8 +1586,8 @@ module Aws::IoT
1561
1586
  # @!attribute [rw] rate_increase_criteria
1562
1587
  # The criteria to initiate the increase in rate of rollout for a job.
1563
1588
  #
1564
- # AWS IoT supports up to one digit after the decimal (for example,
1565
- # 1.5, but not 1.55).
1589
+ # Amazon Web Services IoT Core supports up to one digit after the
1590
+ # decimal (for example, 1.5, but not 1.55).
1566
1591
  # @return [Types::AwsJobRateIncreaseCriteria]
1567
1592
  #
1568
1593
  class AwsJobExponentialRolloutRate < Struct.new(
@@ -1879,6 +1904,47 @@ module Aws::IoT
1879
1904
  include Aws::Structure
1880
1905
  end
1881
1906
 
1907
+ # A count of documents that meets a specific aggregation criteria.
1908
+ #
1909
+ # @!attribute [rw] key_value
1910
+ # The value counted for the particular bucket.
1911
+ # @return [String]
1912
+ #
1913
+ # @!attribute [rw] count
1914
+ # The number of documents that have the value counted for the
1915
+ # particular bucket.
1916
+ # @return [Integer]
1917
+ #
1918
+ class Bucket < Struct.new(
1919
+ :key_value,
1920
+ :count)
1921
+ SENSITIVE = []
1922
+ include Aws::Structure
1923
+ end
1924
+
1925
+ # The type of bucketed aggregation performed.
1926
+ #
1927
+ # @note When making an API call, you may pass BucketsAggregationType
1928
+ # data as a hash:
1929
+ #
1930
+ # {
1931
+ # terms_aggregation: {
1932
+ # max_buckets: 1,
1933
+ # },
1934
+ # }
1935
+ #
1936
+ # @!attribute [rw] terms_aggregation
1937
+ # Performs an aggregation that will return a list of buckets. The list
1938
+ # of buckets is a ranked list of the number of occurrences of an
1939
+ # aggregation field value.
1940
+ # @return [Types::TermsAggregation]
1941
+ #
1942
+ class BucketsAggregationType < Struct.new(
1943
+ :terms_aggregation)
1944
+ SENSITIVE = []
1945
+ include Aws::Structure
1946
+ end
1947
+
1882
1948
  # A CA certificate.
1883
1949
  #
1884
1950
  # @!attribute [rw] certificate_arn
@@ -2249,11 +2315,12 @@ module Aws::IoT
2249
2315
  # @return [String]
2250
2316
  #
2251
2317
  # @!attribute [rw] owned_by
2252
- # The ID of the AWS account that owns the certificate.
2318
+ # The ID of the Amazon Web Services account that owns the certificate.
2253
2319
  # @return [String]
2254
2320
  #
2255
2321
  # @!attribute [rw] previous_owned_by
2256
- # The ID of the AWS account of the previous owner of the certificate.
2322
+ # The ID of the Amazon Web Services account of the previous owner of
2323
+ # the certificate.
2257
2324
  # @return [String]
2258
2325
  #
2259
2326
  # @!attribute [rw] creation_date
@@ -2505,7 +2572,7 @@ module Aws::IoT
2505
2572
  # }
2506
2573
  #
2507
2574
  # @!attribute [rw] aws_signer_job_id
2508
- # The ID of the AWSSignerJob which was created to sign the file.
2575
+ # The ID of the `AWSSignerJob` which was created to sign the file.
2509
2576
  # @return [String]
2510
2577
  #
2511
2578
  # @!attribute [rw] start_signing_job_parameter
@@ -2759,7 +2826,7 @@ module Aws::IoT
2759
2826
  # @return [Array<Types::Tag>]
2760
2827
  #
2761
2828
  # @!attribute [rw] signing_disabled
2762
- # Specifies whether AWS IoT validates the token signature in an
2829
+ # Specifies whether IoT validates the token signature in an
2763
2830
  # authorization request.
2764
2831
  # @return [Boolean]
2765
2832
  #
@@ -2936,8 +3003,9 @@ module Aws::IoT
2936
3003
  # @!attribute [rw] client_request_token
2937
3004
  # Each custom metric must have a unique client request token. If you
2938
3005
  # try to create a new custom metric that already exists with a
2939
- # different token, an exception occurs. If you omit this value, AWS
2940
- # SDKs will automatically generate a unique client request.
3006
+ # different token, an exception occurs. If you omit this value, Amazon
3007
+ # Web Services SDKs will automatically generate a unique client
3008
+ # request.
2941
3009
  #
2942
3010
  # **A suitable default value is auto-generated.** You should normally
2943
3011
  # not need to pass this option.
@@ -3008,8 +3076,9 @@ module Aws::IoT
3008
3076
  # @!attribute [rw] client_request_token
3009
3077
  # Each dimension must have a unique client request token. If you try
3010
3078
  # to create a new dimension with the same token as a dimension that
3011
- # already exists, an exception occurs. If you omit this value, AWS
3012
- # SDKs will automatically generate a unique client request.
3079
+ # already exists, an exception occurs. If you omit this value, Amazon
3080
+ # Web Services SDKs will automatically generate a unique client
3081
+ # request.
3013
3082
  #
3014
3083
  # **A suitable default value is auto-generated.** You should normally
3015
3084
  # not need to pass this option.
@@ -3071,16 +3140,17 @@ module Aws::IoT
3071
3140
  # @return [String]
3072
3141
  #
3073
3142
  # @!attribute [rw] server_certificate_arns
3074
- # The ARNs of the certificates that AWS IoT passes to the device
3075
- # during the TLS handshake. Currently you can specify only one
3076
- # certificate ARN. This value is not required for AWS-managed domains.
3143
+ # The ARNs of the certificates that IoT passes to the device during
3144
+ # the TLS handshake. Currently you can specify only one certificate
3145
+ # ARN. This value is not required for Amazon Web Services-managed
3146
+ # domains.
3077
3147
  # @return [Array<String>]
3078
3148
  #
3079
3149
  # @!attribute [rw] validation_certificate_arn
3080
3150
  # The certificate used to validate the server certificate and prove
3081
3151
  # domain name ownership. This certificate must be signed by a public
3082
- # certificate authority. This value is not required for AWS-managed
3083
- # domains.
3152
+ # certificate authority. This value is not required for Amazon Web
3153
+ # Services-managed domains.
3084
3154
  # @return [String]
3085
3155
  #
3086
3156
  # @!attribute [rw] authorizer_config
@@ -3090,7 +3160,8 @@ module Aws::IoT
3090
3160
  # @!attribute [rw] service_type
3091
3161
  # The type of service delivered by the endpoint.
3092
3162
  #
3093
- # <note markdown="1"> AWS IoT Core currently supports only the `DATA` service type.
3163
+ # <note markdown="1"> Amazon Web Services IoT Core currently supports only the `DATA`
3164
+ # service type.
3094
3165
  #
3095
3166
  # </note>
3096
3167
  # @return [String]
@@ -3173,7 +3244,7 @@ module Aws::IoT
3173
3244
  # @!attribute [rw] index_name
3174
3245
  # The dynamic thing group index name.
3175
3246
  #
3176
- # <note markdown="1"> Currently one index is supported: "AWS\_Things".
3247
+ # <note markdown="1"> Currently one index is supported: `AWS_Things`.
3177
3248
  #
3178
3249
  # </note>
3179
3250
  # @return [String]
@@ -3247,6 +3318,106 @@ module Aws::IoT
3247
3318
  include Aws::Structure
3248
3319
  end
3249
3320
 
3321
+ # @note When making an API call, you may pass CreateFleetMetricRequest
3322
+ # data as a hash:
3323
+ #
3324
+ # {
3325
+ # metric_name: "FleetMetricName", # required
3326
+ # query_string: "QueryString", # required
3327
+ # aggregation_type: { # required
3328
+ # name: "Statistics", # required, accepts Statistics, Percentiles, Cardinality
3329
+ # values: ["AggregationTypeValue"],
3330
+ # },
3331
+ # period: 1, # required
3332
+ # aggregation_field: "AggregationField", # required
3333
+ # description: "FleetMetricDescription",
3334
+ # query_version: "QueryVersion",
3335
+ # index_name: "IndexName",
3336
+ # unit: "Seconds", # accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
3337
+ # tags: [
3338
+ # {
3339
+ # key: "TagKey", # required
3340
+ # value: "TagValue",
3341
+ # },
3342
+ # ],
3343
+ # }
3344
+ #
3345
+ # @!attribute [rw] metric_name
3346
+ # The name of the fleet metric to create.
3347
+ # @return [String]
3348
+ #
3349
+ # @!attribute [rw] query_string
3350
+ # The search query string.
3351
+ # @return [String]
3352
+ #
3353
+ # @!attribute [rw] aggregation_type
3354
+ # The type of the aggregation query.
3355
+ # @return [Types::AggregationType]
3356
+ #
3357
+ # @!attribute [rw] period
3358
+ # The time in seconds between fleet metric emissions. Range \[60(1
3359
+ # min), 86400(1 day)\] and must be multiple of 60.
3360
+ # @return [Integer]
3361
+ #
3362
+ # @!attribute [rw] aggregation_field
3363
+ # The field to aggregate.
3364
+ # @return [String]
3365
+ #
3366
+ # @!attribute [rw] description
3367
+ # The fleet metric description.
3368
+ # @return [String]
3369
+ #
3370
+ # @!attribute [rw] query_version
3371
+ # The query version.
3372
+ # @return [String]
3373
+ #
3374
+ # @!attribute [rw] index_name
3375
+ # The name of the index to search.
3376
+ # @return [String]
3377
+ #
3378
+ # @!attribute [rw] unit
3379
+ # Used to support unit transformation such as milliseconds to seconds.
3380
+ # The unit must be supported by [CW metric][1]. Default to null.
3381
+ #
3382
+ #
3383
+ #
3384
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
3385
+ # @return [String]
3386
+ #
3387
+ # @!attribute [rw] tags
3388
+ # Metadata, which can be used to manage the fleet metric.
3389
+ # @return [Array<Types::Tag>]
3390
+ #
3391
+ class CreateFleetMetricRequest < Struct.new(
3392
+ :metric_name,
3393
+ :query_string,
3394
+ :aggregation_type,
3395
+ :period,
3396
+ :aggregation_field,
3397
+ :description,
3398
+ :query_version,
3399
+ :index_name,
3400
+ :unit,
3401
+ :tags)
3402
+ SENSITIVE = []
3403
+ include Aws::Structure
3404
+ end
3405
+
3406
+ # @!attribute [rw] metric_name
3407
+ # The name of the fleet metric to create.
3408
+ # @return [String]
3409
+ #
3410
+ # @!attribute [rw] metric_arn
3411
+ # The Amazon Resource Name (ARN) of the new fleet metric.
3412
+ # @return [String]
3413
+ #
3414
+ class CreateFleetMetricResponse < Struct.new(
3415
+ :metric_name,
3416
+ :metric_arn)
3417
+ SENSITIVE = []
3418
+ include Aws::Structure
3419
+ end
3420
+
3250
3421
  # @note When making an API call, you may pass CreateJobRequest
3251
3422
  # data as a hash:
3252
3423
  #
@@ -3296,9 +3467,9 @@ module Aws::IoT
3296
3467
  # }
3297
3468
  #
3298
3469
  # @!attribute [rw] job_id
3299
- # A job identifier which must be unique for your AWS account. We
3300
- # recommend using a UUID. Alpha-numeric characters, "-" and "\_"
3301
- # are valid for use here.
3470
+ # A job identifier which must be unique for your Amazon Web Services
3471
+ # account. We recommend using a UUID. Alpha-numeric characters, "-"
3472
+ # and "\_" are valid for use here.
3302
3473
  # @return [String]
3303
3474
  #
3304
3475
  # @!attribute [rw] targets
@@ -3367,9 +3538,9 @@ module Aws::IoT
3367
3538
  # @!attribute [rw] namespace_id
3368
3539
  # The namespace used to indicate that a job is a customer-managed job.
3369
3540
  #
3370
- # When you specify a value for this parameter, AWS IoT Core sends jobs
3371
- # notifications to MQTT topics that contain the value in the following
3372
- # format.
3541
+ # When you specify a value for this parameter, Amazon Web Services IoT
3542
+ # Core sends jobs notifications to MQTT topics that contain the value
3543
+ # in the following format.
3373
3544
  #
3374
3545
  # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
3375
3546
  #
@@ -3556,6 +3727,13 @@ module Aws::IoT
3556
3727
 
3557
3728
  # The input for the CreateKeysAndCertificate operation.
3558
3729
  #
3730
+ # Requires permission to access the [CreateKeysAndCertificateRequest][1]
3731
+ # action.
3732
+ #
3733
+ #
3734
+ #
3735
+ # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
3736
+ #
3559
3737
  # @note When making an API call, you may pass CreateKeysAndCertificateRequest
3560
3738
  # data as a hash:
3561
3739
  #
@@ -3580,8 +3758,8 @@ module Aws::IoT
3580
3758
  # @return [String]
3581
3759
  #
3582
3760
  # @!attribute [rw] certificate_id
3583
- # The ID of the certificate. AWS IoT issues a default subject name for
3584
- # the certificate (for example, AWS IoT Certificate).
3761
+ # The ID of the certificate. IoT issues a default subject name for the
3762
+ # certificate (for example, IoT Certificate).
3585
3763
  # @return [String]
3586
3764
  #
3587
3765
  # @!attribute [rw] certificate_pem
@@ -3829,8 +4007,9 @@ module Aws::IoT
3829
4007
  # @return [Array<Types::OTAUpdateFile>]
3830
4008
  #
3831
4009
  # @!attribute [rw] role_arn
3832
- # The IAM role that grants AWS IoT access to the Amazon S3, AWS IoT
3833
- # jobs and AWS Code Signing resources to create an OTA update job.
4010
+ # The IAM role that grants Amazon Web Services IoT Core access to the
4011
+ # Amazon S3, IoT jobs and Amazon Web Services Code Signing resources
4012
+ # to create an OTA update job.
3834
4013
  # @return [String]
3835
4014
  #
3836
4015
  # @!attribute [rw] additional_parameters
@@ -3865,7 +4044,7 @@ module Aws::IoT
3865
4044
  # @return [String]
3866
4045
  #
3867
4046
  # @!attribute [rw] aws_iot_job_id
3868
- # The AWS IoT job ID associated with the OTA update.
4047
+ # The IoT job ID associated with the OTA update.
3869
4048
  # @return [String]
3870
4049
  #
3871
4050
  # @!attribute [rw] ota_update_arn
@@ -3873,7 +4052,7 @@ module Aws::IoT
3873
4052
  # @return [String]
3874
4053
  #
3875
4054
  # @!attribute [rw] aws_iot_job_arn
3876
- # The AWS IoT job ARN associated with the OTA update.
4055
+ # The IoT job ARN associated with the OTA update.
3877
4056
  # @return [String]
3878
4057
  #
3879
4058
  # @!attribute [rw] ota_update_status
@@ -4244,7 +4423,8 @@ module Aws::IoT
4244
4423
  # @return [String]
4245
4424
  #
4246
4425
  # @!attribute [rw] credential_duration_seconds
4247
- # How long (in seconds) the credentials will be valid.
4426
+ # How long (in seconds) the credentials will be valid. The default
4427
+ # value is 3,600 seconds.
4248
4428
  # @return [Integer]
4249
4429
  #
4250
4430
  # @!attribute [rw] tags
@@ -5490,6 +5670,29 @@ module Aws::IoT
5490
5670
 
5491
5671
  class DeleteDynamicThingGroupResponse < Aws::EmptyStructure; end
5492
5672
 
5673
+ # @note When making an API call, you may pass DeleteFleetMetricRequest
5674
+ # data as a hash:
5675
+ #
5676
+ # {
5677
+ # metric_name: "FleetMetricName", # required
5678
+ # expected_version: 1,
5679
+ # }
5680
+ #
5681
+ # @!attribute [rw] metric_name
5682
+ # The name of the fleet metric to delete.
5683
+ # @return [String]
5684
+ #
5685
+ # @!attribute [rw] expected_version
5686
+ # The expected version of the fleet metric to delete.
5687
+ # @return [Integer]
5688
+ #
5689
+ class DeleteFleetMetricRequest < Struct.new(
5690
+ :metric_name,
5691
+ :expected_version)
5692
+ SENSITIVE = []
5693
+ include Aws::Structure
5694
+ end
5695
+
5493
5696
  # @note When making an API call, you may pass DeleteJobExecutionRequest
5494
5697
  # data as a hash:
5495
5698
  #
@@ -5536,9 +5739,9 @@ module Aws::IoT
5536
5739
  # @!attribute [rw] namespace_id
5537
5740
  # The namespace used to indicate that a job is a customer-managed job.
5538
5741
  #
5539
- # When you specify a value for this parameter, AWS IoT Core sends jobs
5540
- # notifications to MQTT topics that contain the value in the following
5541
- # format.
5742
+ # When you specify a value for this parameter, Amazon Web Services IoT
5743
+ # Core sends jobs notifications to MQTT topics that contain the value
5744
+ # in the following format.
5542
5745
  #
5543
5746
  # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
5544
5747
  #
@@ -5593,9 +5796,9 @@ module Aws::IoT
5593
5796
  # @!attribute [rw] namespace_id
5594
5797
  # The namespace used to indicate that a job is a customer-managed job.
5595
5798
  #
5596
- # When you specify a value for this parameter, AWS IoT Core sends jobs
5597
- # notifications to MQTT topics that contain the value in the following
5598
- # format.
5799
+ # When you specify a value for this parameter, Amazon Web Services IoT
5800
+ # Core sends jobs notifications to MQTT topics that contain the value
5801
+ # in the following format.
5599
5802
  #
5600
5803
  # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
5601
5804
  #
@@ -5668,7 +5871,7 @@ module Aws::IoT
5668
5871
  # @return [Boolean]
5669
5872
  #
5670
5873
  # @!attribute [rw] force_delete_aws_job
5671
- # When true, deletes the AWS job created by the OTAUpdate process even
5874
+ # When true, deletes the IoT job created by the OTAUpdate process even
5672
5875
  # if it is "IN\_PROGRESS". Otherwise, if the job is not in a
5673
5876
  # terminal state ("COMPLETED" or "CANCELED") an exception will
5674
5877
  # occur. The default is false.
@@ -6064,7 +6267,7 @@ module Aws::IoT
6064
6267
  class DescribeAccountAuditConfigurationRequest < Aws::EmptyStructure; end
6065
6268
 
6066
6269
  # @!attribute [rw] role_arn
6067
- # The ARN of the role that grants permission to AWS IoT to access
6270
+ # The ARN of the role that grants permission to IoT to access
6068
6271
  # information about your devices, policies, certificates, and other
6069
6272
  # items as required when performing an audit.
6070
6273
  #
@@ -6696,14 +6899,13 @@ module Aws::IoT
6696
6899
  # ^
6697
6900
  # ^
6698
6901
  #
6699
- # * `iot:CredentialProvider` - Returns an AWS IoT credentials provider
6700
- # API endpoint.
6902
+ # * `iot:CredentialProvider` - Returns an IoT credentials provider API
6903
+ # endpoint.
6701
6904
  #
6702
6905
  # ^
6703
6906
  # ^
6704
6907
  #
6705
- # * `iot:Jobs` - Returns an AWS IoT device management Jobs API
6706
- # endpoint.
6908
+ # * `iot:Jobs` - Returns an IoT device management Jobs API endpoint.
6707
6909
  #
6708
6910
  # ^
6709
6911
  #
@@ -6755,6 +6957,99 @@ module Aws::IoT
6755
6957
  include Aws::Structure
6756
6958
  end
6757
6959
 
6960
+ # @note When making an API call, you may pass DescribeFleetMetricRequest
6961
+ # data as a hash:
6962
+ #
6963
+ # {
6964
+ # metric_name: "FleetMetricName", # required
6965
+ # }
6966
+ #
6967
+ # @!attribute [rw] metric_name
6968
+ # The name of the fleet metric to describe.
6969
+ # @return [String]
6970
+ #
6971
+ class DescribeFleetMetricRequest < Struct.new(
6972
+ :metric_name)
6973
+ SENSITIVE = []
6974
+ include Aws::Structure
6975
+ end
6976
+
6977
+ # @!attribute [rw] metric_name
6978
+ # The name of the fleet metric to describe.
6979
+ # @return [String]
6980
+ #
6981
+ # @!attribute [rw] query_string
6982
+ # The search query string.
6983
+ # @return [String]
6984
+ #
6985
+ # @!attribute [rw] aggregation_type
6986
+ # The type of the aggregation query.
6987
+ # @return [Types::AggregationType]
6988
+ #
6989
+ # @!attribute [rw] period
6990
+ # The time in seconds between fleet metric emissions. Range \[60(1
6991
+ # min), 86400(1 day)\] and must be multiple of 60.
6992
+ # @return [Integer]
6993
+ #
6994
+ # @!attribute [rw] aggregation_field
6995
+ # The field to aggregate.
6996
+ # @return [String]
6997
+ #
6998
+ # @!attribute [rw] description
6999
+ # The fleet metric description.
7000
+ # @return [String]
7001
+ #
7002
+ # @!attribute [rw] query_version
7003
+ # The query version.
7004
+ # @return [String]
7005
+ #
7006
+ # @!attribute [rw] index_name
7007
+ # The name of the index to search.
7008
+ # @return [String]
7009
+ #
7010
+ # @!attribute [rw] creation_date
7011
+ # The date when the fleet metric is created.
7012
+ # @return [Time]
7013
+ #
7014
+ # @!attribute [rw] last_modified_date
7015
+ # The date when the fleet metric is last modified.
7016
+ # @return [Time]
7017
+ #
7018
+ # @!attribute [rw] unit
7019
+ # Used to support unit transformation such as milliseconds to seconds.
7020
+ # The unit must be supported by [CW metric][1].
7021
+ #
7022
+ #
7023
+ #
7024
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
7025
+ # @return [String]
7026
+ #
7027
+ # @!attribute [rw] version
7028
+ # The version of the fleet metric.
7029
+ # @return [Integer]
7030
+ #
7031
+ # @!attribute [rw] metric_arn
7032
+ # The ARN of the fleet metric to describe.
7033
+ # @return [String]
7034
+ #
7035
+ class DescribeFleetMetricResponse < Struct.new(
7036
+ :metric_name,
7037
+ :query_string,
7038
+ :aggregation_type,
7039
+ :period,
7040
+ :aggregation_field,
7041
+ :description,
7042
+ :query_version,
7043
+ :index_name,
7044
+ :creation_date,
7045
+ :last_modified_date,
7046
+ :unit,
7047
+ :version,
7048
+ :metric_arn)
7049
+ SENSITIVE = []
7050
+ include Aws::Structure
7051
+ end
7052
+
6758
7053
  # @note When making an API call, you may pass DescribeIndexRequest
6759
7054
  # data as a hash:
6760
7055
  #
@@ -6997,8 +7292,8 @@ module Aws::IoT
6997
7292
  # @return [Types::MitigationActionParams]
6998
7293
  #
6999
7294
  # @!attribute [rw] creation_date
7000
- # The date and time when the mitigation action was added to your AWS
7001
- # account.
7295
+ # The date and time when the mitigation action was added to your
7296
+ # Amazon Web Services accounts.
7002
7297
  # @return [Time]
7003
7298
  #
7004
7299
  # @!attribute [rw] last_modified_date
@@ -7525,9 +7820,8 @@ module Aws::IoT
7525
7820
  # thing name and use it as the MQTT client ID for the registry and the
7526
7821
  # Device Shadow service.
7527
7822
  #
7528
- # This lets you better organize your AWS IoT fleet without removing
7529
- # the flexibility of the underlying device certificate model or
7530
- # shadows.
7823
+ # This lets you better organize your IoT fleet without removing the
7824
+ # flexibility of the underlying device certificate model or shadows.
7531
7825
  # @return [String]
7532
7826
  #
7533
7827
  # @!attribute [rw] thing_name
@@ -7951,9 +8245,9 @@ module Aws::IoT
7951
8245
 
7952
8246
  # The summary of a domain configuration. A domain configuration
7953
8247
  # specifies custom IoT-specific information about a domain. A domain
7954
- # configuration can be associated with an AWS-managed domain (for
7955
- # example, dbc123defghijk.iot.us-west-2.amazonaws.com), a customer
7956
- # managed domain, or a default endpoint.
8248
+ # configuration can be associated with an Amazon Web Services-managed
8249
+ # domain (for example, dbc123defghijk.iot.us-west-2.amazonaws.com), a
8250
+ # customer managed domain, or a default endpoint.
7957
8251
  #
7958
8252
  # * Data
7959
8253
  #
@@ -8177,8 +8471,8 @@ module Aws::IoT
8177
8471
  include Aws::Structure
8178
8472
  end
8179
8473
 
8180
- # Parameters used when defining a mitigation action that enable AWS IoT
8181
- # logging.
8474
+ # Parameters used when defining a mitigation action that enable Amazon
8475
+ # Web Services IoT Core logging.
8182
8476
  #
8183
8477
  # @note When making an API call, you may pass EnableIoTLoggingParams
8184
8478
  # data as a hash:
@@ -8274,8 +8568,8 @@ module Aws::IoT
8274
8568
  # @!attribute [rw] increment_factor
8275
8569
  # The exponential factor to increase the rate of rollout for a job.
8276
8570
  #
8277
- # AWS IoT supports up to one digit after the decimal (for example,
8278
- # 1.5, but not 1.55).
8571
+ # Amazon Web Services IoT Core supports up to one digit after the
8572
+ # decimal (for example, 1.5, but not 1.55).
8279
8573
  # @return [Float]
8280
8574
  #
8281
8575
  # @!attribute [rw] rate_increase_criteria
@@ -8305,7 +8599,7 @@ module Aws::IoT
8305
8599
  # @return [String]
8306
8600
  #
8307
8601
  # @!attribute [rw] type
8308
- # The datatype of the field.
8602
+ # The data type of the field.
8309
8603
  # @return [String]
8310
8604
  #
8311
8605
  class Field < Struct.new(
@@ -8398,6 +8692,23 @@ module Aws::IoT
8398
8692
  include Aws::Structure
8399
8693
  end
8400
8694
 
8695
+ # The name and ARN of a fleet metric.
8696
+ #
8697
+ # @!attribute [rw] metric_name
8698
+ # The fleet metric name.
8699
+ # @return [String]
8700
+ #
8701
+ # @!attribute [rw] metric_arn
8702
+ # The fleet metric ARN.
8703
+ # @return [String]
8704
+ #
8705
+ class FleetMetricNameAndArn < Struct.new(
8706
+ :metric_name,
8707
+ :metric_arn)
8708
+ SENSITIVE = []
8709
+ include Aws::Structure
8710
+ end
8711
+
8401
8712
  # @note When making an API call, you may pass GetBehaviorModelTrainingSummariesRequest
8402
8713
  # data as a hash:
8403
8714
  #
@@ -8445,6 +8756,74 @@ module Aws::IoT
8445
8756
  include Aws::Structure
8446
8757
  end
8447
8758
 
8759
+ # @note When making an API call, you may pass GetBucketsAggregationRequest
8760
+ # data as a hash:
8761
+ #
8762
+ # {
8763
+ # index_name: "IndexName",
8764
+ # query_string: "QueryString", # required
8765
+ # aggregation_field: "AggregationField", # required
8766
+ # query_version: "QueryVersion",
8767
+ # buckets_aggregation_type: { # required
8768
+ # terms_aggregation: {
8769
+ # max_buckets: 1,
8770
+ # },
8771
+ # },
8772
+ # }
8773
+ #
8774
+ # @!attribute [rw] index_name
8775
+ # The name of the index to search.
8776
+ # @return [String]
8777
+ #
8778
+ # @!attribute [rw] query_string
8779
+ # The search query string.
8780
+ # @return [String]
8781
+ #
8782
+ # @!attribute [rw] aggregation_field
8783
+ # The aggregation field.
8784
+ # @return [String]
8785
+ #
8786
+ # @!attribute [rw] query_version
8787
+ # The version of the query.
8788
+ # @return [String]
8789
+ #
8790
+ # @!attribute [rw] buckets_aggregation_type
8791
+ # The basic control of the response shape and the bucket aggregation
8792
+ # type to perform.
8793
+ # @return [Types::BucketsAggregationType]
8794
+ #
8795
+ class GetBucketsAggregationRequest < Struct.new(
8796
+ :index_name,
8797
+ :query_string,
8798
+ :aggregation_field,
8799
+ :query_version,
8800
+ :buckets_aggregation_type)
8801
+ SENSITIVE = []
8802
+ include Aws::Structure
8803
+ end
8804
+
8805
+ # @!attribute [rw] total_count
8806
+ # The total number of documents that fit the query string criteria and
8807
+ # contain a value for the Aggregation field targeted in the request.
8808
+ # @return [Integer]
8809
+ #
8810
+ # @!attribute [rw] buckets
8811
+ # The main part of the response with a list of buckets. Each bucket
8812
+ # contains a `keyValue` and a `count`.
8813
+ #
8814
+ # `keyValue`\: The aggregation field value counted for the particular
8815
+ # bucket.
8816
+ #
8817
+ # `count`\: The number of documents that have that value.
8818
+ # @return [Array<Types::Bucket>]
8819
+ #
8820
+ class GetBucketsAggregationResponse < Struct.new(
8821
+ :total_count,
8822
+ :buckets)
8823
+ SENSITIVE = []
8824
+ include Aws::Structure
8825
+ end
8826
+
8448
8827
  # @note When making an API call, you may pass GetCardinalityRequest
8449
8828
  # data as a hash:
8450
8829
  #
@@ -8460,7 +8839,7 @@ module Aws::IoT
8460
8839
  # @return [String]
8461
8840
  #
8462
8841
  # @!attribute [rw] query_string
8463
- # The search query.
8842
+ # The search query string.
8464
8843
  # @return [String]
8465
8844
  #
8466
8845
  # @!attribute [rw] aggregation_field
@@ -8645,7 +9024,7 @@ module Aws::IoT
8645
9024
  # @return [String]
8646
9025
  #
8647
9026
  # @!attribute [rw] query_string
8648
- # The query string.
9027
+ # The search query string.
8649
9028
  # @return [String]
8650
9029
  #
8651
9030
  # @!attribute [rw] aggregation_field
@@ -8847,7 +9226,8 @@ module Aws::IoT
8847
9226
  #
8848
9227
  # @!attribute [rw] query_string
8849
9228
  # The query used to search. You can specify "*" for the query
8850
- # string to get the count of all indexed things in your AWS account.
9229
+ # string to get the count of all indexed things in your Amazon Web
9230
+ # Services account.
8851
9231
  # @return [String]
8852
9232
  #
8853
9233
  # @!attribute [rw] aggregation_field
@@ -8946,7 +9326,7 @@ module Aws::IoT
8946
9326
  class GetV2LoggingOptionsRequest < Aws::EmptyStructure; end
8947
9327
 
8948
9328
  # @!attribute [rw] role_arn
8949
- # The IAM role ARN AWS IoT uses to write to your CloudWatch logs.
9329
+ # The IAM role ARN IoT uses to write to your CloudWatch logs.
8950
9330
  # @return [String]
8951
9331
  #
8952
9332
  # @!attribute [rw] default_log_level
@@ -9012,9 +9392,9 @@ module Aws::IoT
9012
9392
  # @return [String]
9013
9393
  #
9014
9394
  # @!attribute [rw] confirmation_url
9015
- # The URL to which AWS IoT sends a confirmation message. The value of
9016
- # the confirmation URL must be a prefix of the endpoint URL. If you do
9017
- # not specify a confirmation URL AWS IoT uses the endpoint URL as the
9395
+ # The URL to which IoT sends a confirmation message. The value of the
9396
+ # confirmation URL must be a prefix of the endpoint URL. If you do not
9397
+ # specify a confirmation URL IoT uses the endpoint URL as the
9018
9398
  # confirmation URL. If you use substitution templates in the
9019
9399
  # confirmationUrl, you must create and enable topic rule destinations
9020
9400
  # that match each possible value of the substitution template before
@@ -9130,8 +9510,8 @@ module Aws::IoT
9130
9510
  # }
9131
9511
  #
9132
9512
  # @!attribute [rw] confirmation_url
9133
- # The URL AWS IoT uses to confirm ownership of or access to the topic
9134
- # rule destination URL.
9513
+ # The URL IoT uses to confirm ownership of or access to the topic rule
9514
+ # destination URL.
9135
9515
  # @return [String]
9136
9516
  #
9137
9517
  class HttpUrlDestinationConfiguration < Struct.new(
@@ -9277,7 +9657,7 @@ module Aws::IoT
9277
9657
  include Aws::Structure
9278
9658
  end
9279
9659
 
9280
- # Sends message data to an AWS IoT Analytics channel.
9660
+ # Sends message data to an IoT Analytics channel.
9281
9661
  #
9282
9662
  # @note When making an API call, you may pass IotAnalyticsAction
9283
9663
  # data as a hash:
@@ -9305,8 +9685,8 @@ module Aws::IoT
9305
9685
  #
9306
9686
  # When `batchMode` is `true` and the rule SQL statement evaluates to
9307
9687
  # an Array, each Array element is delivered as a separate message when
9308
- # passed by [ `BatchPutMessage` ][1] to the AWS IoT Analytics channel.
9309
- # The resulting array can't have more than 100 messages.
9688
+ # passed by [ `BatchPutMessage` ][1] to the IoT Analytics channel. The
9689
+ # resulting array can't have more than 100 messages.
9310
9690
  #
9311
9691
  #
9312
9692
  #
@@ -9328,7 +9708,7 @@ module Aws::IoT
9328
9708
  include Aws::Structure
9329
9709
  end
9330
9710
 
9331
- # Sends an input to an AWS IoT Events detector.
9711
+ # Sends an input to an IoT Events detector.
9332
9712
  #
9333
9713
  # @note When making an API call, you may pass IotEventsAction
9334
9714
  # data as a hash:
@@ -9341,7 +9721,7 @@ module Aws::IoT
9341
9721
  # }
9342
9722
  #
9343
9723
  # @!attribute [rw] input_name
9344
- # The name of the AWS IoT Events input.
9724
+ # The name of the IoT Events input.
9345
9725
  # @return [String]
9346
9726
  #
9347
9727
  # @!attribute [rw] message_id
@@ -9351,7 +9731,7 @@ module Aws::IoT
9351
9731
  # UUID value will be assigned.
9352
9732
  #
9353
9733
  # Assign a value to this property to ensure that only one input
9354
- # (message) with a given `messageId` will be processed by an AWS IoT
9734
+ # (message) with a given `messageId` will be processed by an IoT
9355
9735
  # Events detector.
9356
9736
  # @return [String]
9357
9737
  #
@@ -9363,8 +9743,8 @@ module Aws::IoT
9363
9743
  #
9364
9744
  # When `batchMode` is `true` and the rule SQL statement evaluates to
9365
9745
  # an Array, each Array element is treated as a separate message when
9366
- # it's sent to AWS IoT Events by calling [ `BatchPutMessage` ][1].
9367
- # The resulting array can't have more than 10 messages.
9746
+ # it's sent to IoT Events by calling [ `BatchPutMessage` ][1]. The
9747
+ # resulting array can't have more than 10 messages.
9368
9748
  #
9369
9749
  #
9370
9750
  #
@@ -9372,9 +9752,8 @@ module Aws::IoT
9372
9752
  # @return [Boolean]
9373
9753
  #
9374
9754
  # @!attribute [rw] role_arn
9375
- # The ARN of the role that grants AWS IoT permission to send an input
9376
- # to an AWS IoT Events detector.
9377
- # ("Action":"iotevents:BatchPutMessage").
9755
+ # The ARN of the role that grants IoT permission to send an input to
9756
+ # an IoT Events detector. ("Action":"iotevents:BatchPutMessage").
9378
9757
  # @return [String]
9379
9758
  #
9380
9759
  class IotEventsAction < Struct.new(
@@ -9387,7 +9766,7 @@ module Aws::IoT
9387
9766
  end
9388
9767
 
9389
9768
  # Describes an action to send data from an MQTT message that triggered
9390
- # the rule to AWS IoT SiteWise asset properties.
9769
+ # the rule to IoT SiteWise asset properties.
9391
9770
  #
9392
9771
  # @note When making an API call, you may pass IotSiteWiseAction
9393
9772
  # data as a hash:
@@ -9424,8 +9803,8 @@ module Aws::IoT
9424
9803
  # @return [Array<Types::PutAssetPropertyValueEntry>]
9425
9804
  #
9426
9805
  # @!attribute [rw] role_arn
9427
- # The ARN of the role that grants AWS IoT permission to send an asset
9428
- # property value to AWS IoTSiteWise. (`"Action":
9806
+ # The ARN of the role that grants IoT permission to send an asset
9807
+ # property value to IoT SiteWise. (`"Action":
9429
9808
  # "iotsitewise:BatchPutAssetPropertyValue"`). The trust policy can
9430
9809
  # restrict access to specific asset hierarchy paths.
9431
9810
  # @return [String]
@@ -9524,9 +9903,9 @@ module Aws::IoT
9524
9903
  # @!attribute [rw] namespace_id
9525
9904
  # The namespace used to indicate that a job is a customer-managed job.
9526
9905
  #
9527
- # When you specify a value for this parameter, AWS IoT Core sends jobs
9528
- # notifications to MQTT topics that contain the value in the following
9529
- # format.
9906
+ # When you specify a value for this parameter, Amazon Web Services IoT
9907
+ # Core sends jobs notifications to MQTT topics that contain the value
9908
+ # in the following format.
9530
9909
  #
9531
9910
  # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
9532
9911
  #
@@ -10654,7 +11033,7 @@ module Aws::IoT
10654
11033
  # The output from the ListCACertificates operation.
10655
11034
  #
10656
11035
  # @!attribute [rw] certificates
10657
- # The CA certificates registered in your AWS account.
11036
+ # The CA certificates registered in your Amazon Web Services account.
10658
11037
  # @return [Array<Types::CACertificate>]
10659
11038
  #
10660
11039
  # @!attribute [rw] next_marker
@@ -11030,6 +11409,47 @@ module Aws::IoT
11030
11409
  include Aws::Structure
11031
11410
  end
11032
11411
 
11412
+ # @note When making an API call, you may pass ListFleetMetricsRequest
11413
+ # data as a hash:
11414
+ #
11415
+ # {
11416
+ # next_token: "NextToken",
11417
+ # max_results: 1,
11418
+ # }
11419
+ #
11420
+ # @!attribute [rw] next_token
11421
+ # To retrieve the next set of results, the `nextToken` value from a
11422
+ # previous response; otherwise `null` to receive the first set of
11423
+ # results.
11424
+ # @return [String]
11425
+ #
11426
+ # @!attribute [rw] max_results
11427
+ # The maximum number of results to return in this operation.
11428
+ # @return [Integer]
11429
+ #
11430
+ class ListFleetMetricsRequest < Struct.new(
11431
+ :next_token,
11432
+ :max_results)
11433
+ SENSITIVE = []
11434
+ include Aws::Structure
11435
+ end
11436
+
11437
+ # @!attribute [rw] fleet_metrics
11438
+ # The list of fleet metrics objects.
11439
+ # @return [Array<Types::FleetMetricNameAndArn>]
11440
+ #
11441
+ # @!attribute [rw] next_token
11442
+ # The token for the next set of results. Will not be returned if the
11443
+ # operation has returned all results.
11444
+ # @return [String]
11445
+ #
11446
+ class ListFleetMetricsResponse < Struct.new(
11447
+ :fleet_metrics,
11448
+ :next_token)
11449
+ SENSITIVE = []
11450
+ include Aws::Structure
11451
+ end
11452
+
11033
11453
  # @note When making an API call, you may pass ListIndicesRequest
11034
11454
  # data as a hash:
11035
11455
  #
@@ -11144,9 +11564,9 @@ module Aws::IoT
11144
11564
  # @!attribute [rw] namespace_id
11145
11565
  # The namespace used to indicate that a job is a customer-managed job.
11146
11566
  #
11147
- # When you specify a value for this parameter, AWS IoT Core sends jobs
11148
- # notifications to MQTT topics that contain the value in the following
11149
- # format.
11567
+ # When you specify a value for this parameter, Amazon Web Services IoT
11568
+ # Core sends jobs notifications to MQTT topics that contain the value
11569
+ # in the following format.
11150
11570
  #
11151
11571
  # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
11152
11572
  #
@@ -11276,9 +11696,9 @@ module Aws::IoT
11276
11696
  # @!attribute [rw] namespace_id
11277
11697
  # The namespace used to indicate that a job is a customer-managed job.
11278
11698
  #
11279
- # When you specify a value for this parameter, AWS IoT Core sends jobs
11280
- # notifications to MQTT topics that contain the value in the following
11281
- # format.
11699
+ # When you specify a value for this parameter, Amazon Web Services IoT
11700
+ # Core sends jobs notifications to MQTT topics that contain the value
11701
+ # in the following format.
11282
11702
  #
11283
11703
  # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
11284
11704
  #
@@ -13175,8 +13595,8 @@ module Aws::IoT
13175
13595
  # @return [Types::ReplaceDefaultPolicyVersionParams]
13176
13596
  #
13177
13597
  # @!attribute [rw] enable_io_t_logging_params
13178
- # Parameters to define a mitigation action that enables AWS IoT
13179
- # logging at a specified level of detail.
13598
+ # Parameters to define a mitigation action that enables Amazon Web
13599
+ # Services IoT Core logging at a specified level of detail.
13180
13600
  # @return [Types::EnableIoTLoggingParams]
13181
13601
  #
13182
13602
  # @!attribute [rw] publish_finding_to_sns_params
@@ -13411,11 +13831,11 @@ module Aws::IoT
13411
13831
  # @return [String]
13412
13832
  #
13413
13833
  # @!attribute [rw] aws_iot_job_id
13414
- # The AWS IoT job ID associated with the OTA update.
13834
+ # The IoT job ID associated with the OTA update.
13415
13835
  # @return [String]
13416
13836
  #
13417
13837
  # @!attribute [rw] aws_iot_job_arn
13418
- # The AWS IoT job ARN associated with the OTA update.
13838
+ # The IoT job ARN associated with the OTA update.
13419
13839
  # @return [String]
13420
13840
  #
13421
13841
  # @!attribute [rw] error_info
@@ -13480,7 +13900,7 @@ module Aws::IoT
13480
13900
  # @return [String]
13481
13901
  #
13482
13902
  # @!attribute [rw] transferred_to
13483
- # The AWS account to which the transfer was made.
13903
+ # The Amazon Web Services account to which the transfer was made.
13484
13904
  # @return [String]
13485
13905
  #
13486
13906
  # @!attribute [rw] transfer_date
@@ -13523,7 +13943,7 @@ module Aws::IoT
13523
13943
  include Aws::Structure
13524
13944
  end
13525
13945
 
13526
- # Describes an AWS IoT policy.
13946
+ # Describes an IoT policy.
13527
13947
  #
13528
13948
  # @!attribute [rw] policy_name
13529
13949
  # The policy name.
@@ -13762,7 +14182,7 @@ module Aws::IoT
13762
14182
  # @return [String]
13763
14183
  #
13764
14184
  # @!attribute [rw] asset_id
13765
- # The ID of the AWS IoT SiteWise asset. You must specify either a
14185
+ # The ID of the IoT SiteWise asset. You must specify either a
13766
14186
  # `propertyAlias` or both an `aliasId` and a `propertyId`. Accepts
13767
14187
  # substitution templates.
13768
14188
  # @return [String]
@@ -15436,7 +15856,7 @@ module Aws::IoT
15436
15856
  #
15437
15857
  # @!attribute [rw] audit_check_to_actions_mapping
15438
15858
  # For an audit check, specifies which mitigation actions to apply.
15439
- # Those actions must be defined in your AWS account.
15859
+ # Those actions must be defined in your Amazon Web Services accounts.
15440
15860
  # @return [Hash<String,Array<String>>]
15441
15861
  #
15442
15862
  # @!attribute [rw] client_request_token
@@ -15518,8 +15938,9 @@ module Aws::IoT
15518
15938
  # @!attribute [rw] client_request_token
15519
15939
  # Each mitigation action task must have a unique client request token.
15520
15940
  # If you try to create a new task with the same token as a task that
15521
- # already exists, an exception occurs. If you omit this value, AWS
15522
- # SDKs will automatically generate a unique client request.
15941
+ # already exists, an exception occurs. If you omit this value, Amazon
15942
+ # Web Services SDKs will automatically generate a unique client
15943
+ # request.
15523
15944
  #
15524
15945
  # **A suitable default value is auto-generated.** You should normally
15525
15946
  # not need to pass this option.
@@ -15883,7 +16304,7 @@ module Aws::IoT
15883
16304
  # @return [Time]
15884
16305
  #
15885
16306
  # @!attribute [rw] role_arn
15886
- # An IAM role AWS IoT assumes to access your S3 files.
16307
+ # An IAM role IoT assumes to access your S3 files.
15887
16308
  # @return [String]
15888
16309
  #
15889
16310
  class StreamInfo < Struct.new(
@@ -16074,6 +16495,27 @@ module Aws::IoT
16074
16495
  include Aws::Structure
16075
16496
  end
16076
16497
 
16498
+ # Performs an aggregation that will return a list of buckets. The list
16499
+ # of buckets is a ranked list of the number of occurrences of an
16500
+ # aggregation field value.
16501
+ #
16502
+ # @note When making an API call, you may pass TermsAggregation
16503
+ # data as a hash:
16504
+ #
16505
+ # {
16506
+ # max_buckets: 1,
16507
+ # }
16508
+ #
16509
+ # @!attribute [rw] max_buckets
16510
+ # The number of buckets to return in the response. Default to 10.
16511
+ # @return [Integer]
16512
+ #
16513
+ class TermsAggregation < Struct.new(
16514
+ :max_buckets)
16515
+ SENSITIVE = []
16516
+ include Aws::Structure
16517
+ end
16518
+
16077
16519
  # @note When making an API call, you may pass TestAuthorizationRequest
16078
16520
  # data as a hash:
16079
16521
  #
@@ -16271,19 +16713,24 @@ module Aws::IoT
16271
16713
  # The connectivity status of the thing.
16272
16714
  #
16273
16715
  # @!attribute [rw] connected
16274
- # True if the thing is connected to the AWS IoT service; false if it
16275
- # is not connected.
16716
+ # True if the thing is connected to the Amazon Web Services IoT Core
16717
+ # service; false if it is not connected.
16276
16718
  # @return [Boolean]
16277
16719
  #
16278
16720
  # @!attribute [rw] timestamp
16279
16721
  # The epoch time (in milliseconds) when the thing last connected or
16280
- # disconnected. If the thing has been disconnected for more than a few
16281
- # weeks, the time value might be missing.
16722
+ # disconnected. If the thing has been disconnected for approximately
16723
+ # an hour, the time value might be missing.
16282
16724
  # @return [Integer]
16283
16725
  #
16726
+ # @!attribute [rw] disconnect_reason
16727
+ # The reason why the client is disconnected.
16728
+ # @return [String]
16729
+ #
16284
16730
  class ThingConnectivity < Struct.new(
16285
16731
  :connected,
16286
- :timestamp)
16732
+ :timestamp,
16733
+ :disconnect_reason)
16287
16734
  SENSITIVE = []
16288
16735
  include Aws::Structure
16289
16736
  end
@@ -16315,7 +16762,8 @@ module Aws::IoT
16315
16762
  # @return [String]
16316
16763
  #
16317
16764
  # @!attribute [rw] connectivity
16318
- # Indicates whether the thing is connected to the AWS IoT service.
16765
+ # Indicates whether the thing is connected to the Amazon Web Services
16766
+ # IoT Core service.
16319
16767
  # @return [Types::ThingConnectivity]
16320
16768
  #
16321
16769
  class ThingDocument < Struct.new(
@@ -16502,7 +16950,7 @@ module Aws::IoT
16502
16950
  # Thing connectivity indexing mode. Valid values are:
16503
16951
  #
16504
16952
  # * STATUS – Your thing index contains connectivity status. To enable
16505
- # thing connectivity indexing, thingIndexMode must not be set to
16953
+ # thing connectivity indexing, *thingIndexMode* must not be set to
16506
16954
  # OFF.
16507
16955
  #
16508
16956
  # * OFF - Thing connectivity status indexing is disabled.
@@ -17407,7 +17855,7 @@ module Aws::IoT
17407
17855
  #
17408
17856
  # @!attribute [rw] sql
17409
17857
  # The SQL statement used to query the topic. For more information, see
17410
- # [AWS IoT SQL Reference][1] in the *AWS IoT Developer Guide*.
17858
+ # [IoT SQL Reference][1] in the *IoT Developer Guide*.
17411
17859
  #
17412
17860
  #
17413
17861
  #
@@ -17475,7 +17923,7 @@ module Aws::IoT
17475
17923
  # @return [String]
17476
17924
  #
17477
17925
  # @!attribute [rw] target_aws_account
17478
- # The AWS account.
17926
+ # The Amazon Web Services account.
17479
17927
  # @return [String]
17480
17928
  #
17481
17929
  # @!attribute [rw] transfer_message
@@ -17515,7 +17963,7 @@ module Aws::IoT
17515
17963
  include Aws::Structure
17516
17964
  end
17517
17965
 
17518
- # Data used to transfer a certificate to an AWS account.
17966
+ # Data used to transfer a certificate to an Amazon Web Services account.
17519
17967
  #
17520
17968
  # @!attribute [rw] transfer_message
17521
17969
  # The transfer message.
@@ -17605,7 +18053,7 @@ module Aws::IoT
17605
18053
  #
17606
18054
  # @!attribute [rw] role_arn
17607
18055
  # The Amazon Resource Name (ARN) of the role that grants permission to
17608
- # AWS IoT to access information about your devices, policies,
18056
+ # IoT to access information about your devices, policies,
17609
18057
  # certificates, and other items as required when performing an audit.
17610
18058
  # @return [String]
17611
18059
  #
@@ -17894,7 +18342,7 @@ module Aws::IoT
17894
18342
  # **Note:** Setting the status to PENDING\_TRANSFER or
17895
18343
  # PENDING\_ACTIVATION will result in an exception being thrown.
17896
18344
  # PENDING\_TRANSFER and PENDING\_ACTIVATION are statuses used
17897
- # internally by AWS IoT. They are not intended for developer use.
18345
+ # internally by IoT. They are not intended for developer use.
17898
18346
  #
17899
18347
  # **Note:** The status value REGISTER\_INACTIVE is deprecated and
17900
18348
  # should not be used.
@@ -18144,7 +18592,7 @@ module Aws::IoT
18144
18592
  # @!attribute [rw] index_name
18145
18593
  # The dynamic thing group index to update.
18146
18594
  #
18147
- # <note markdown="1"> Currently one index is supported: 'AWS\_Things'.
18595
+ # <note markdown="1"> Currently one index is supported: `AWS_Things`.
18148
18596
  #
18149
18597
  # </note>
18150
18598
  # @return [String]
@@ -18206,6 +18654,86 @@ module Aws::IoT
18206
18654
 
18207
18655
  class UpdateEventConfigurationsResponse < Aws::EmptyStructure; end
18208
18656
 
18657
+ # @note When making an API call, you may pass UpdateFleetMetricRequest
18658
+ # data as a hash:
18659
+ #
18660
+ # {
18661
+ # metric_name: "FleetMetricName", # required
18662
+ # query_string: "QueryString",
18663
+ # aggregation_type: {
18664
+ # name: "Statistics", # required, accepts Statistics, Percentiles, Cardinality
18665
+ # values: ["AggregationTypeValue"],
18666
+ # },
18667
+ # period: 1,
18668
+ # aggregation_field: "AggregationField",
18669
+ # description: "FleetMetricDescription",
18670
+ # query_version: "QueryVersion",
18671
+ # index_name: "IndexName", # required
18672
+ # unit: "Seconds", # accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
18673
+ # expected_version: 1,
18674
+ # }
18675
+ #
18676
+ # @!attribute [rw] metric_name
18677
+ # The name of the fleet metric to update.
18678
+ # @return [String]
18679
+ #
18680
+ # @!attribute [rw] query_string
18681
+ # The search query string.
18682
+ # @return [String]
18683
+ #
18684
+ # @!attribute [rw] aggregation_type
18685
+ # The type of the aggregation query.
18686
+ # @return [Types::AggregationType]
18687
+ #
18688
+ # @!attribute [rw] period
18689
+ # The time in seconds between fleet metric emissions. Range \[60(1
18690
+ # min), 86400(1 day)\] and must be multiple of 60.
18691
+ # @return [Integer]
18692
+ #
18693
+ # @!attribute [rw] aggregation_field
18694
+ # The field to aggregate.
18695
+ # @return [String]
18696
+ #
18697
+ # @!attribute [rw] description
18698
+ # The description of the fleet metric.
18699
+ # @return [String]
18700
+ #
18701
+ # @!attribute [rw] query_version
18702
+ # The version of the query.
18703
+ # @return [String]
18704
+ #
18705
+ # @!attribute [rw] index_name
18706
+ # The name of the index to search.
18707
+ # @return [String]
18708
+ #
18709
+ # @!attribute [rw] unit
18710
+ # Used to support unit transformation such as milliseconds to seconds.
18711
+ # The unit must be supported by [CW metric][1].
18712
+ #
18713
+ #
18714
+ #
18715
+ # [1]: https://docs.aws.amazon.com/https:/docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
18716
+ # @return [String]
18717
+ #
18718
+ # @!attribute [rw] expected_version
18719
+ # The expected version of the fleet metric record in the registry.
18720
+ # @return [Integer]
18721
+ #
18722
+ class UpdateFleetMetricRequest < Struct.new(
18723
+ :metric_name,
18724
+ :query_string,
18725
+ :aggregation_type,
18726
+ :period,
18727
+ :aggregation_field,
18728
+ :description,
18729
+ :query_version,
18730
+ :index_name,
18731
+ :unit,
18732
+ :expected_version)
18733
+ SENSITIVE = []
18734
+ include Aws::Structure
18735
+ end
18736
+
18209
18737
  # @note When making an API call, you may pass UpdateIndexingConfigurationRequest
18210
18738
  # data as a hash:
18211
18739
  #
@@ -18328,9 +18856,9 @@ module Aws::IoT
18328
18856
  # @!attribute [rw] namespace_id
18329
18857
  # The namespace used to indicate that a job is a customer-managed job.
18330
18858
  #
18331
- # When you specify a value for this parameter, AWS IoT Core sends jobs
18332
- # notifications to MQTT topics that contain the value in the following
18333
- # format.
18859
+ # When you specify a value for this parameter, Amazon Web Services IoT
18860
+ # Core sends jobs notifications to MQTT topics that contain the value
18861
+ # in the following format.
18334
18862
  #
18335
18863
  # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
18336
18864
  #