aws-sdk-iot 1.71.0 → 1.75.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +1899 -131
- data/lib/aws-sdk-iot/client_api.rb +238 -0
- data/lib/aws-sdk-iot/types.rb +771 -127
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +5 -5
@@ -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')
|
@@ -1040,6 +1067,7 @@ module Aws::IoT
|
|
1040
1067
|
TemplateDescription = Shapes::StringShape.new(name: 'TemplateDescription')
|
1041
1068
|
TemplateName = Shapes::StringShape.new(name: 'TemplateName')
|
1042
1069
|
TemplateVersionId = Shapes::IntegerShape.new(name: 'TemplateVersionId')
|
1070
|
+
TermsAggregation = Shapes::StructureShape.new(name: 'TermsAggregation')
|
1043
1071
|
TestAuthorizationRequest = Shapes::StructureShape.new(name: 'TestAuthorizationRequest')
|
1044
1072
|
TestAuthorizationResponse = Shapes::StructureShape.new(name: 'TestAuthorizationResponse')
|
1045
1073
|
TestInvokeAuthorizerRequest = Shapes::StructureShape.new(name: 'TestInvokeAuthorizerRequest')
|
@@ -1145,6 +1173,7 @@ module Aws::IoT
|
|
1145
1173
|
UpdateDynamicThingGroupResponse = Shapes::StructureShape.new(name: 'UpdateDynamicThingGroupResponse')
|
1146
1174
|
UpdateEventConfigurationsRequest = Shapes::StructureShape.new(name: 'UpdateEventConfigurationsRequest')
|
1147
1175
|
UpdateEventConfigurationsResponse = Shapes::StructureShape.new(name: 'UpdateEventConfigurationsResponse')
|
1176
|
+
UpdateFleetMetricRequest = Shapes::StructureShape.new(name: 'UpdateFleetMetricRequest')
|
1148
1177
|
UpdateIndexingConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateIndexingConfigurationRequest')
|
1149
1178
|
UpdateIndexingConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateIndexingConfigurationResponse')
|
1150
1179
|
UpdateJobRequest = Shapes::StructureShape.new(name: 'UpdateJobRequest')
|
@@ -1234,6 +1263,7 @@ module Aws::IoT
|
|
1234
1263
|
Action.add_member(:timestream, Shapes::ShapeRef.new(shape: TimestreamAction, location_name: "timestream"))
|
1235
1264
|
Action.add_member(:http, Shapes::ShapeRef.new(shape: HttpAction, location_name: "http"))
|
1236
1265
|
Action.add_member(:kafka, Shapes::ShapeRef.new(shape: KafkaAction, location_name: "kafka"))
|
1266
|
+
Action.add_member(:open_search, Shapes::ShapeRef.new(shape: OpenSearchAction, location_name: "openSearch"))
|
1237
1267
|
Action.struct_class = Types::Action
|
1238
1268
|
|
1239
1269
|
ActionList.member = Shapes::ShapeRef.new(shape: Action)
|
@@ -1278,6 +1308,12 @@ module Aws::IoT
|
|
1278
1308
|
AdditionalParameterMap.key = Shapes::ShapeRef.new(shape: AttributeKey)
|
1279
1309
|
AdditionalParameterMap.value = Shapes::ShapeRef.new(shape: Value)
|
1280
1310
|
|
1311
|
+
AggregationType.add_member(:name, Shapes::ShapeRef.new(shape: AggregationTypeName, required: true, location_name: "name"))
|
1312
|
+
AggregationType.add_member(:values, Shapes::ShapeRef.new(shape: AggregationTypeValues, location_name: "values"))
|
1313
|
+
AggregationType.struct_class = Types::AggregationType
|
1314
|
+
|
1315
|
+
AggregationTypeValues.member = Shapes::ShapeRef.new(shape: AggregationTypeValue)
|
1316
|
+
|
1281
1317
|
AlertTarget.add_member(:alert_target_arn, Shapes::ShapeRef.new(shape: AlertTargetArn, required: true, location_name: "alertTargetArn"))
|
1282
1318
|
AlertTarget.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
1283
1319
|
AlertTarget.struct_class = Types::AlertTarget
|
@@ -1539,6 +1575,15 @@ module Aws::IoT
|
|
1539
1575
|
BillingGroupProperties.add_member(:billing_group_description, Shapes::ShapeRef.new(shape: BillingGroupDescription, location_name: "billingGroupDescription"))
|
1540
1576
|
BillingGroupProperties.struct_class = Types::BillingGroupProperties
|
1541
1577
|
|
1578
|
+
Bucket.add_member(:key_value, Shapes::ShapeRef.new(shape: BucketKeyValue, location_name: "keyValue"))
|
1579
|
+
Bucket.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "count"))
|
1580
|
+
Bucket.struct_class = Types::Bucket
|
1581
|
+
|
1582
|
+
Buckets.member = Shapes::ShapeRef.new(shape: Bucket)
|
1583
|
+
|
1584
|
+
BucketsAggregationType.add_member(:terms_aggregation, Shapes::ShapeRef.new(shape: TermsAggregation, location_name: "termsAggregation"))
|
1585
|
+
BucketsAggregationType.struct_class = Types::BucketsAggregationType
|
1586
|
+
|
1542
1587
|
CACertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
|
1543
1588
|
CACertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
|
1544
1589
|
CACertificate.add_member(:status, Shapes::ShapeRef.new(shape: CACertificateStatus, location_name: "status"))
|
@@ -1780,6 +1825,22 @@ module Aws::IoT
|
|
1780
1825
|
CreateDynamicThingGroupResponse.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
|
1781
1826
|
CreateDynamicThingGroupResponse.struct_class = Types::CreateDynamicThingGroupResponse
|
1782
1827
|
|
1828
|
+
CreateFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
|
1829
|
+
CreateFleetMetricRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
|
1830
|
+
CreateFleetMetricRequest.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, required: true, location_name: "aggregationType"))
|
1831
|
+
CreateFleetMetricRequest.add_member(:period, Shapes::ShapeRef.new(shape: FleetMetricPeriod, required: true, location_name: "period"))
|
1832
|
+
CreateFleetMetricRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, required: true, location_name: "aggregationField"))
|
1833
|
+
CreateFleetMetricRequest.add_member(:description, Shapes::ShapeRef.new(shape: FleetMetricDescription, location_name: "description"))
|
1834
|
+
CreateFleetMetricRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
|
1835
|
+
CreateFleetMetricRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
1836
|
+
CreateFleetMetricRequest.add_member(:unit, Shapes::ShapeRef.new(shape: FleetMetricUnit, location_name: "unit"))
|
1837
|
+
CreateFleetMetricRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1838
|
+
CreateFleetMetricRequest.struct_class = Types::CreateFleetMetricRequest
|
1839
|
+
|
1840
|
+
CreateFleetMetricResponse.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
|
1841
|
+
CreateFleetMetricResponse.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
|
1842
|
+
CreateFleetMetricResponse.struct_class = Types::CreateFleetMetricResponse
|
1843
|
+
|
1783
1844
|
CreateJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
1784
1845
|
CreateJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
|
1785
1846
|
CreateJobRequest.add_member(:document_source, Shapes::ShapeRef.new(shape: JobDocumentSource, location_name: "documentSource"))
|
@@ -2066,6 +2127,10 @@ module Aws::IoT
|
|
2066
2127
|
|
2067
2128
|
DeleteDynamicThingGroupResponse.struct_class = Types::DeleteDynamicThingGroupResponse
|
2068
2129
|
|
2130
|
+
DeleteFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
|
2131
|
+
DeleteFleetMetricRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
|
2132
|
+
DeleteFleetMetricRequest.struct_class = Types::DeleteFleetMetricRequest
|
2133
|
+
|
2069
2134
|
DeleteJobExecutionRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
2070
2135
|
DeleteJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
2071
2136
|
DeleteJobExecutionRequest.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, required: true, location: "uri", location_name: "executionNumber"))
|
@@ -2312,6 +2377,24 @@ module Aws::IoT
|
|
2312
2377
|
DescribeEventConfigurationsResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
|
2313
2378
|
DescribeEventConfigurationsResponse.struct_class = Types::DescribeEventConfigurationsResponse
|
2314
2379
|
|
2380
|
+
DescribeFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
|
2381
|
+
DescribeFleetMetricRequest.struct_class = Types::DescribeFleetMetricRequest
|
2382
|
+
|
2383
|
+
DescribeFleetMetricResponse.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
|
2384
|
+
DescribeFleetMetricResponse.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, location_name: "queryString"))
|
2385
|
+
DescribeFleetMetricResponse.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, location_name: "aggregationType"))
|
2386
|
+
DescribeFleetMetricResponse.add_member(:period, Shapes::ShapeRef.new(shape: FleetMetricPeriod, location_name: "period"))
|
2387
|
+
DescribeFleetMetricResponse.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
|
2388
|
+
DescribeFleetMetricResponse.add_member(:description, Shapes::ShapeRef.new(shape: FleetMetricDescription, location_name: "description"))
|
2389
|
+
DescribeFleetMetricResponse.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
|
2390
|
+
DescribeFleetMetricResponse.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
2391
|
+
DescribeFleetMetricResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
|
2392
|
+
DescribeFleetMetricResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
|
2393
|
+
DescribeFleetMetricResponse.add_member(:unit, Shapes::ShapeRef.new(shape: FleetMetricUnit, location_name: "unit"))
|
2394
|
+
DescribeFleetMetricResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
2395
|
+
DescribeFleetMetricResponse.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
|
2396
|
+
DescribeFleetMetricResponse.struct_class = Types::DescribeFleetMetricResponse
|
2397
|
+
|
2315
2398
|
DescribeIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location: "uri", location_name: "indexName"))
|
2316
2399
|
DescribeIndexRequest.struct_class = Types::DescribeIndexRequest
|
2317
2400
|
|
@@ -2630,6 +2713,12 @@ module Aws::IoT
|
|
2630
2713
|
FirehoseAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
|
2631
2714
|
FirehoseAction.struct_class = Types::FirehoseAction
|
2632
2715
|
|
2716
|
+
FleetMetricNameAndArn.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, location_name: "metricName"))
|
2717
|
+
FleetMetricNameAndArn.add_member(:metric_arn, Shapes::ShapeRef.new(shape: FleetMetricArn, location_name: "metricArn"))
|
2718
|
+
FleetMetricNameAndArn.struct_class = Types::FleetMetricNameAndArn
|
2719
|
+
|
2720
|
+
FleetMetricNameAndArnList.member = Shapes::ShapeRef.new(shape: FleetMetricNameAndArn)
|
2721
|
+
|
2633
2722
|
GetBehaviorModelTrainingSummariesRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
|
2634
2723
|
GetBehaviorModelTrainingSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TinyMaxResults, location: "querystring", location_name: "maxResults"))
|
2635
2724
|
GetBehaviorModelTrainingSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -2639,6 +2728,17 @@ module Aws::IoT
|
|
2639
2728
|
GetBehaviorModelTrainingSummariesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2640
2729
|
GetBehaviorModelTrainingSummariesResponse.struct_class = Types::GetBehaviorModelTrainingSummariesResponse
|
2641
2730
|
|
2731
|
+
GetBucketsAggregationRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
2732
|
+
GetBucketsAggregationRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
|
2733
|
+
GetBucketsAggregationRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, required: true, location_name: "aggregationField"))
|
2734
|
+
GetBucketsAggregationRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
|
2735
|
+
GetBucketsAggregationRequest.add_member(:buckets_aggregation_type, Shapes::ShapeRef.new(shape: BucketsAggregationType, required: true, location_name: "bucketsAggregationType"))
|
2736
|
+
GetBucketsAggregationRequest.struct_class = Types::GetBucketsAggregationRequest
|
2737
|
+
|
2738
|
+
GetBucketsAggregationResponse.add_member(:total_count, Shapes::ShapeRef.new(shape: Count, location_name: "totalCount"))
|
2739
|
+
GetBucketsAggregationResponse.add_member(:buckets, Shapes::ShapeRef.new(shape: Buckets, location_name: "buckets"))
|
2740
|
+
GetBucketsAggregationResponse.struct_class = Types::GetBucketsAggregationResponse
|
2741
|
+
|
2642
2742
|
GetCardinalityRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
2643
2743
|
GetCardinalityRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, required: true, location_name: "queryString"))
|
2644
2744
|
GetCardinalityRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
|
@@ -3123,6 +3223,14 @@ module Aws::IoT
|
|
3123
3223
|
ListDomainConfigurationsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
|
3124
3224
|
ListDomainConfigurationsResponse.struct_class = Types::ListDomainConfigurationsResponse
|
3125
3225
|
|
3226
|
+
ListFleetMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3227
|
+
ListFleetMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3228
|
+
ListFleetMetricsRequest.struct_class = Types::ListFleetMetricsRequest
|
3229
|
+
|
3230
|
+
ListFleetMetricsResponse.add_member(:fleet_metrics, Shapes::ShapeRef.new(shape: FleetMetricNameAndArnList, location_name: "fleetMetrics"))
|
3231
|
+
ListFleetMetricsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3232
|
+
ListFleetMetricsResponse.struct_class = Types::ListFleetMetricsResponse
|
3233
|
+
|
3126
3234
|
ListIndicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3127
3235
|
ListIndicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: QueryMaxResults, location: "querystring", location_name: "maxResults"))
|
3128
3236
|
ListIndicesRequest.struct_class = Types::ListIndicesRequest
|
@@ -3578,6 +3686,13 @@ module Aws::IoT
|
|
3578
3686
|
|
3579
3687
|
OTAUpdatesSummary.member = Shapes::ShapeRef.new(shape: OTAUpdateSummary)
|
3580
3688
|
|
3689
|
+
OpenSearchAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
3690
|
+
OpenSearchAction.add_member(:endpoint, Shapes::ShapeRef.new(shape: ElasticsearchEndpoint, required: true, location_name: "endpoint"))
|
3691
|
+
OpenSearchAction.add_member(:index, Shapes::ShapeRef.new(shape: ElasticsearchIndex, required: true, location_name: "index"))
|
3692
|
+
OpenSearchAction.add_member(:type, Shapes::ShapeRef.new(shape: ElasticsearchType, required: true, location_name: "type"))
|
3693
|
+
OpenSearchAction.add_member(:id, Shapes::ShapeRef.new(shape: ElasticsearchId, required: true, location_name: "id"))
|
3694
|
+
OpenSearchAction.struct_class = Types::OpenSearchAction
|
3695
|
+
|
3581
3696
|
OutgoingCertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
|
3582
3697
|
OutgoingCertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
|
3583
3698
|
OutgoingCertificate.add_member(:transferred_to, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "transferredTo"))
|
@@ -4065,6 +4180,9 @@ module Aws::IoT
|
|
4065
4180
|
TaskStatisticsForAuditCheck.add_member(:canceled_findings_count, Shapes::ShapeRef.new(shape: CanceledFindingsCount, location_name: "canceledFindingsCount"))
|
4066
4181
|
TaskStatisticsForAuditCheck.struct_class = Types::TaskStatisticsForAuditCheck
|
4067
4182
|
|
4183
|
+
TermsAggregation.add_member(:max_buckets, Shapes::ShapeRef.new(shape: MaxBuckets, location_name: "maxBuckets"))
|
4184
|
+
TermsAggregation.struct_class = Types::TermsAggregation
|
4185
|
+
|
4068
4186
|
TestAuthorizationRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "principal"))
|
4069
4187
|
TestAuthorizationRequest.add_member(:cognito_identity_pool_id, Shapes::ShapeRef.new(shape: CognitoIdentityPoolId, location_name: "cognitoIdentityPoolId"))
|
4070
4188
|
TestAuthorizationRequest.add_member(:auth_infos, Shapes::ShapeRef.new(shape: AuthInfos, required: true, location_name: "authInfos"))
|
@@ -4102,6 +4220,7 @@ module Aws::IoT
|
|
4102
4220
|
|
4103
4221
|
ThingConnectivity.add_member(:connected, Shapes::ShapeRef.new(shape: Boolean, location_name: "connected"))
|
4104
4222
|
ThingConnectivity.add_member(:timestamp, Shapes::ShapeRef.new(shape: ConnectivityTimestamp, location_name: "timestamp"))
|
4223
|
+
ThingConnectivity.add_member(:disconnect_reason, Shapes::ShapeRef.new(shape: DisconnectReason, location_name: "disconnectReason"))
|
4105
4224
|
ThingConnectivity.struct_class = Types::ThingConnectivity
|
4106
4225
|
|
4107
4226
|
ThingDocument.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
|
@@ -4380,6 +4499,18 @@ module Aws::IoT
|
|
4380
4499
|
|
4381
4500
|
UpdateEventConfigurationsResponse.struct_class = Types::UpdateEventConfigurationsResponse
|
4382
4501
|
|
4502
|
+
UpdateFleetMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: FleetMetricName, required: true, location: "uri", location_name: "metricName"))
|
4503
|
+
UpdateFleetMetricRequest.add_member(:query_string, Shapes::ShapeRef.new(shape: QueryString, location_name: "queryString"))
|
4504
|
+
UpdateFleetMetricRequest.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, location_name: "aggregationType"))
|
4505
|
+
UpdateFleetMetricRequest.add_member(:period, Shapes::ShapeRef.new(shape: FleetMetricPeriod, location_name: "period"))
|
4506
|
+
UpdateFleetMetricRequest.add_member(:aggregation_field, Shapes::ShapeRef.new(shape: AggregationField, location_name: "aggregationField"))
|
4507
|
+
UpdateFleetMetricRequest.add_member(:description, Shapes::ShapeRef.new(shape: FleetMetricDescription, location_name: "description"))
|
4508
|
+
UpdateFleetMetricRequest.add_member(:query_version, Shapes::ShapeRef.new(shape: QueryVersion, location_name: "queryVersion"))
|
4509
|
+
UpdateFleetMetricRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "indexName"))
|
4510
|
+
UpdateFleetMetricRequest.add_member(:unit, Shapes::ShapeRef.new(shape: FleetMetricUnit, location_name: "unit"))
|
4511
|
+
UpdateFleetMetricRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location_name: "expectedVersion"))
|
4512
|
+
UpdateFleetMetricRequest.struct_class = Types::UpdateFleetMetricRequest
|
4513
|
+
|
4383
4514
|
UpdateIndexingConfigurationRequest.add_member(:thing_indexing_configuration, Shapes::ShapeRef.new(shape: ThingIndexingConfiguration, location_name: "thingIndexingConfiguration"))
|
4384
4515
|
UpdateIndexingConfigurationRequest.add_member(:thing_group_indexing_configuration, Shapes::ShapeRef.new(shape: ThingGroupIndexingConfiguration, location_name: "thingGroupIndexingConfiguration"))
|
4385
4516
|
UpdateIndexingConfigurationRequest.struct_class = Types::UpdateIndexingConfigurationRequest
|
@@ -4898,6 +5029,25 @@ module Aws::IoT
|
|
4898
5029
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
4899
5030
|
end)
|
4900
5031
|
|
5032
|
+
api.add_operation(:create_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
|
5033
|
+
o.name = "CreateFleetMetric"
|
5034
|
+
o.http_method = "PUT"
|
5035
|
+
o.http_request_uri = "/fleet-metric/{metricName}"
|
5036
|
+
o.input = Shapes::ShapeRef.new(shape: CreateFleetMetricRequest)
|
5037
|
+
o.output = Shapes::ShapeRef.new(shape: CreateFleetMetricResponse)
|
5038
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5039
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5040
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5041
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5042
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5043
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
5044
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
5045
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5046
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
|
5047
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
|
5048
|
+
o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
|
5049
|
+
end)
|
5050
|
+
|
4901
5051
|
api.add_operation(:create_job, Seahorse::Model::Operation.new.tap do |o|
|
4902
5052
|
o.name = "CreateJob"
|
4903
5053
|
o.http_method = "PUT"
|
@@ -5295,6 +5445,20 @@ module Aws::IoT
|
|
5295
5445
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5296
5446
|
end)
|
5297
5447
|
|
5448
|
+
api.add_operation(:delete_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
|
5449
|
+
o.name = "DeleteFleetMetric"
|
5450
|
+
o.http_method = "DELETE"
|
5451
|
+
o.http_request_uri = "/fleet-metric/{metricName}"
|
5452
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteFleetMetricRequest)
|
5453
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
5454
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5455
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5456
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5457
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5458
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5459
|
+
o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
|
5460
|
+
end)
|
5461
|
+
|
5298
5462
|
api.add_operation(:delete_job, Seahorse::Model::Operation.new.tap do |o|
|
5299
5463
|
o.name = "DeleteJob"
|
5300
5464
|
o.http_method = "DELETE"
|
@@ -5777,6 +5941,20 @@ module Aws::IoT
|
|
5777
5941
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5778
5942
|
end)
|
5779
5943
|
|
5944
|
+
api.add_operation(:describe_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
|
5945
|
+
o.name = "DescribeFleetMetric"
|
5946
|
+
o.http_method = "GET"
|
5947
|
+
o.http_request_uri = "/fleet-metric/{metricName}"
|
5948
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeFleetMetricRequest)
|
5949
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeFleetMetricResponse)
|
5950
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
5951
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
5952
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
5953
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
5954
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
5955
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
5956
|
+
end)
|
5957
|
+
|
5780
5958
|
api.add_operation(:describe_index, Seahorse::Model::Operation.new.tap do |o|
|
5781
5959
|
o.name = "DescribeIndex"
|
5782
5960
|
o.http_method = "GET"
|
@@ -6069,6 +6247,23 @@ module Aws::IoT
|
|
6069
6247
|
)
|
6070
6248
|
end)
|
6071
6249
|
|
6250
|
+
api.add_operation(:get_buckets_aggregation, Seahorse::Model::Operation.new.tap do |o|
|
6251
|
+
o.name = "GetBucketsAggregation"
|
6252
|
+
o.http_method = "POST"
|
6253
|
+
o.http_request_uri = "/indices/buckets"
|
6254
|
+
o.input = Shapes::ShapeRef.new(shape: GetBucketsAggregationRequest)
|
6255
|
+
o.output = Shapes::ShapeRef.new(shape: GetBucketsAggregationResponse)
|
6256
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6257
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6258
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
6259
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6260
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6261
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6262
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
|
6263
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
|
6264
|
+
o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
|
6265
|
+
end)
|
6266
|
+
|
6072
6267
|
api.add_operation(:get_cardinality, Seahorse::Model::Operation.new.tap do |o|
|
6073
6268
|
o.name = "GetCardinality"
|
6074
6269
|
o.http_method = "POST"
|
@@ -6566,6 +6761,25 @@ module Aws::IoT
|
|
6566
6761
|
)
|
6567
6762
|
end)
|
6568
6763
|
|
6764
|
+
api.add_operation(:list_fleet_metrics, Seahorse::Model::Operation.new.tap do |o|
|
6765
|
+
o.name = "ListFleetMetrics"
|
6766
|
+
o.http_method = "GET"
|
6767
|
+
o.http_request_uri = "/fleet-metrics"
|
6768
|
+
o.input = Shapes::ShapeRef.new(shape: ListFleetMetricsRequest)
|
6769
|
+
o.output = Shapes::ShapeRef.new(shape: ListFleetMetricsResponse)
|
6770
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6771
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6772
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
6773
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6774
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6775
|
+
o[:pager] = Aws::Pager.new(
|
6776
|
+
limit_key: "max_results",
|
6777
|
+
tokens: {
|
6778
|
+
"next_token" => "next_token"
|
6779
|
+
}
|
6780
|
+
)
|
6781
|
+
end)
|
6782
|
+
|
6569
6783
|
api.add_operation(:list_indices, Seahorse::Model::Operation.new.tap do |o|
|
6570
6784
|
o.name = "ListIndices"
|
6571
6785
|
o.http_method = "GET"
|
@@ -6630,6 +6844,12 @@ module Aws::IoT
|
|
6630
6844
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6631
6845
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6632
6846
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6847
|
+
o[:pager] = Aws::Pager.new(
|
6848
|
+
limit_key: "max_results",
|
6849
|
+
tokens: {
|
6850
|
+
"next_token" => "next_token"
|
6851
|
+
}
|
6852
|
+
)
|
6633
6853
|
end)
|
6634
6854
|
|
6635
6855
|
api.add_operation(:list_jobs, Seahorse::Model::Operation.new.tap do |o|
|
@@ -7696,6 +7916,24 @@ module Aws::IoT
|
|
7696
7916
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
7697
7917
|
end)
|
7698
7918
|
|
7919
|
+
api.add_operation(:update_fleet_metric, Seahorse::Model::Operation.new.tap do |o|
|
7920
|
+
o.name = "UpdateFleetMetric"
|
7921
|
+
o.http_method = "PATCH"
|
7922
|
+
o.http_request_uri = "/fleet-metric/{metricName}"
|
7923
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateFleetMetricRequest)
|
7924
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
7925
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
7926
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
7927
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
7928
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
7929
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
7930
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
7931
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidQueryException)
|
7932
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidAggregationException)
|
7933
|
+
o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
|
7934
|
+
o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
|
7935
|
+
end)
|
7936
|
+
|
7699
7937
|
api.add_operation(:update_indexing_configuration, Seahorse::Model::Operation.new.tap do |o|
|
7700
7938
|
o.name = "UpdateIndexingConfiguration"
|
7701
7939
|
o.http_method = "POST"
|