aws-sdk-iot 1.139.0 → 1.141.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -166,8 +166,12 @@ module Aws::IoT
166
166
  BillingGroupName = Shapes::StringShape.new(name: 'BillingGroupName')
167
167
  BillingGroupNameAndArnList = Shapes::ListShape.new(name: 'BillingGroupNameAndArnList')
168
168
  BillingGroupProperties = Shapes::StructureShape.new(name: 'BillingGroupProperties')
169
+ BinaryCommandExecutionResult = Shapes::BlobShape.new(name: 'BinaryCommandExecutionResult')
170
+ BinaryParameterValue = Shapes::BlobShape.new(name: 'BinaryParameterValue')
169
171
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
172
+ BooleanCommandExecutionResult = Shapes::BooleanShape.new(name: 'BooleanCommandExecutionResult')
170
173
  BooleanKey = Shapes::BooleanShape.new(name: 'BooleanKey')
174
+ BooleanParameterValue = Shapes::BooleanShape.new(name: 'BooleanParameterValue')
171
175
  BooleanWrapperObject = Shapes::BooleanShape.new(name: 'BooleanWrapperObject')
172
176
  Bucket = Shapes::StructureShape.new(name: 'Bucket')
173
177
  BucketKeyValue = Shapes::StringShape.new(name: 'BucketKeyValue')
@@ -235,6 +239,29 @@ module Aws::IoT
235
239
  CodeSigningCertificateChain = Shapes::StructureShape.new(name: 'CodeSigningCertificateChain')
236
240
  CodeSigningSignature = Shapes::StructureShape.new(name: 'CodeSigningSignature')
237
241
  CognitoIdentityPoolId = Shapes::StringShape.new(name: 'CognitoIdentityPoolId')
242
+ CommandArn = Shapes::StringShape.new(name: 'CommandArn')
243
+ CommandDescription = Shapes::StringShape.new(name: 'CommandDescription')
244
+ CommandExecutionId = Shapes::StringShape.new(name: 'CommandExecutionId')
245
+ CommandExecutionParameterMap = Shapes::MapShape.new(name: 'CommandExecutionParameterMap')
246
+ CommandExecutionResult = Shapes::StructureShape.new(name: 'CommandExecutionResult')
247
+ CommandExecutionResultMap = Shapes::MapShape.new(name: 'CommandExecutionResultMap')
248
+ CommandExecutionResultName = Shapes::StringShape.new(name: 'CommandExecutionResultName')
249
+ CommandExecutionStatus = Shapes::StringShape.new(name: 'CommandExecutionStatus')
250
+ CommandExecutionSummary = Shapes::StructureShape.new(name: 'CommandExecutionSummary')
251
+ CommandExecutionSummaryList = Shapes::ListShape.new(name: 'CommandExecutionSummaryList')
252
+ CommandExecutionTimeoutInSeconds = Shapes::IntegerShape.new(name: 'CommandExecutionTimeoutInSeconds')
253
+ CommandId = Shapes::StringShape.new(name: 'CommandId')
254
+ CommandMaxResults = Shapes::IntegerShape.new(name: 'CommandMaxResults')
255
+ CommandNamespace = Shapes::StringShape.new(name: 'CommandNamespace')
256
+ CommandParameter = Shapes::StructureShape.new(name: 'CommandParameter')
257
+ CommandParameterDescription = Shapes::StringShape.new(name: 'CommandParameterDescription')
258
+ CommandParameterList = Shapes::ListShape.new(name: 'CommandParameterList')
259
+ CommandParameterName = Shapes::StringShape.new(name: 'CommandParameterName')
260
+ CommandParameterValue = Shapes::StructureShape.new(name: 'CommandParameterValue')
261
+ CommandPayload = Shapes::StructureShape.new(name: 'CommandPayload')
262
+ CommandPayloadBlob = Shapes::BlobShape.new(name: 'CommandPayloadBlob')
263
+ CommandSummary = Shapes::StructureShape.new(name: 'CommandSummary')
264
+ CommandSummaryList = Shapes::ListShape.new(name: 'CommandSummaryList')
238
265
  Comment = Shapes::StringShape.new(name: 'Comment')
239
266
  ComparisonOperator = Shapes::StringShape.new(name: 'ComparisonOperator')
240
267
  CompliantChecksCount = Shapes::IntegerShape.new(name: 'CompliantChecksCount')
@@ -246,6 +273,7 @@ module Aws::IoT
246
273
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
247
274
  ConflictingResourceUpdateException = Shapes::StructureShape.new(name: 'ConflictingResourceUpdateException')
248
275
  ConnectionAttributeName = Shapes::StringShape.new(name: 'ConnectionAttributeName')
276
+ ConnectivityApiThingName = Shapes::StringShape.new(name: 'ConnectivityApiThingName')
249
277
  ConnectivityTimestamp = Shapes::IntegerShape.new(name: 'ConnectivityTimestamp')
250
278
  ConsecutiveDatapointsToAlarm = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToAlarm')
251
279
  ConsecutiveDatapointsToClear = Shapes::IntegerShape.new(name: 'ConsecutiveDatapointsToClear')
@@ -262,6 +290,8 @@ module Aws::IoT
262
290
  CreateCertificateFromCsrResponse = Shapes::StructureShape.new(name: 'CreateCertificateFromCsrResponse')
263
291
  CreateCertificateProviderRequest = Shapes::StructureShape.new(name: 'CreateCertificateProviderRequest')
264
292
  CreateCertificateProviderResponse = Shapes::StructureShape.new(name: 'CreateCertificateProviderResponse')
293
+ CreateCommandRequest = Shapes::StructureShape.new(name: 'CreateCommandRequest')
294
+ CreateCommandResponse = Shapes::StructureShape.new(name: 'CreateCommandResponse')
265
295
  CreateCustomMetricRequest = Shapes::StructureShape.new(name: 'CreateCustomMetricRequest')
266
296
  CreateCustomMetricResponse = Shapes::StructureShape.new(name: 'CreateCustomMetricResponse')
267
297
  CreateDimensionRequest = Shapes::StructureShape.new(name: 'CreateDimensionRequest')
@@ -342,6 +372,10 @@ module Aws::IoT
342
372
  DeleteCertificateProviderRequest = Shapes::StructureShape.new(name: 'DeleteCertificateProviderRequest')
343
373
  DeleteCertificateProviderResponse = Shapes::StructureShape.new(name: 'DeleteCertificateProviderResponse')
344
374
  DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
375
+ DeleteCommandExecutionRequest = Shapes::StructureShape.new(name: 'DeleteCommandExecutionRequest')
376
+ DeleteCommandExecutionResponse = Shapes::StructureShape.new(name: 'DeleteCommandExecutionResponse')
377
+ DeleteCommandRequest = Shapes::StructureShape.new(name: 'DeleteCommandRequest')
378
+ DeleteCommandResponse = Shapes::StructureShape.new(name: 'DeleteCommandResponse')
345
379
  DeleteConflictException = Shapes::StructureShape.new(name: 'DeleteConflictException')
346
380
  DeleteCustomMetricRequest = Shapes::StructureShape.new(name: 'DeleteCustomMetricRequest')
347
381
  DeleteCustomMetricResponse = Shapes::StructureShape.new(name: 'DeleteCustomMetricResponse')
@@ -397,6 +431,7 @@ module Aws::IoT
397
431
  DeprecateThingTypeRequest = Shapes::StructureShape.new(name: 'DeprecateThingTypeRequest')
398
432
  DeprecateThingTypeResponse = Shapes::StructureShape.new(name: 'DeprecateThingTypeResponse')
399
433
  DeprecationDate = Shapes::TimestampShape.new(name: 'DeprecationDate')
434
+ DeprecationFlag = Shapes::BooleanShape.new(name: 'DeprecationFlag')
400
435
  DescribeAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAccountAuditConfigurationRequest')
401
436
  DescribeAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeAccountAuditConfigurationResponse')
402
437
  DescribeAuditFindingRequest = Shapes::StructureShape.new(name: 'DescribeAuditFindingRequest')
@@ -502,6 +537,8 @@ module Aws::IoT
502
537
  DisassociateSbomFromPackageVersionRequest = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionRequest')
503
538
  DisassociateSbomFromPackageVersionResponse = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionResponse')
504
539
  DisconnectReason = Shapes::StringShape.new(name: 'DisconnectReason')
540
+ DisconnectReasonValue = Shapes::StringShape.new(name: 'DisconnectReasonValue')
541
+ DisplayName = Shapes::StringShape.new(name: 'DisplayName')
505
542
  DocumentParameter = Shapes::StructureShape.new(name: 'DocumentParameter')
506
543
  DocumentParameters = Shapes::ListShape.new(name: 'DocumentParameters')
507
544
  DomainConfigurationArn = Shapes::StringShape.new(name: 'DomainConfigurationArn')
@@ -511,6 +548,7 @@ module Aws::IoT
511
548
  DomainConfigurations = Shapes::ListShape.new(name: 'DomainConfigurations')
512
549
  DomainName = Shapes::StringShape.new(name: 'DomainName')
513
550
  DomainType = Shapes::StringShape.new(name: 'DomainType')
551
+ DoubleParameterValue = Shapes::FloatShape.new(name: 'DoubleParameterValue')
514
552
  DurationInMinutes = Shapes::IntegerShape.new(name: 'DurationInMinutes')
515
553
  DurationSeconds = Shapes::IntegerShape.new(name: 'DurationSeconds')
516
554
  DynamicGroupStatus = Shapes::StringShape.new(name: 'DynamicGroupStatus')
@@ -588,6 +626,10 @@ module Aws::IoT
588
626
  GetBucketsAggregationResponse = Shapes::StructureShape.new(name: 'GetBucketsAggregationResponse')
589
627
  GetCardinalityRequest = Shapes::StructureShape.new(name: 'GetCardinalityRequest')
590
628
  GetCardinalityResponse = Shapes::StructureShape.new(name: 'GetCardinalityResponse')
629
+ GetCommandExecutionRequest = Shapes::StructureShape.new(name: 'GetCommandExecutionRequest')
630
+ GetCommandExecutionResponse = Shapes::StructureShape.new(name: 'GetCommandExecutionResponse')
631
+ GetCommandRequest = Shapes::StructureShape.new(name: 'GetCommandRequest')
632
+ GetCommandResponse = Shapes::StructureShape.new(name: 'GetCommandResponse')
591
633
  GetEffectivePoliciesRequest = Shapes::StructureShape.new(name: 'GetEffectivePoliciesRequest')
592
634
  GetEffectivePoliciesResponse = Shapes::StructureShape.new(name: 'GetEffectivePoliciesResponse')
593
635
  GetIndexingConfigurationRequest = Shapes::StructureShape.new(name: 'GetIndexingConfigurationRequest')
@@ -614,6 +656,8 @@ module Aws::IoT
614
656
  GetRegistrationCodeResponse = Shapes::StructureShape.new(name: 'GetRegistrationCodeResponse')
615
657
  GetStatisticsRequest = Shapes::StructureShape.new(name: 'GetStatisticsRequest')
616
658
  GetStatisticsResponse = Shapes::StructureShape.new(name: 'GetStatisticsResponse')
659
+ GetThingConnectivityDataRequest = Shapes::StructureShape.new(name: 'GetThingConnectivityDataRequest')
660
+ GetThingConnectivityDataResponse = Shapes::StructureShape.new(name: 'GetThingConnectivityDataResponse')
617
661
  GetTopicRuleDestinationRequest = Shapes::StructureShape.new(name: 'GetTopicRuleDestinationRequest')
618
662
  GetTopicRuleDestinationResponse = Shapes::StructureShape.new(name: 'GetTopicRuleDestinationResponse')
619
663
  GetTopicRuleRequest = Shapes::StructureShape.new(name: 'GetTopicRuleRequest')
@@ -651,6 +695,7 @@ module Aws::IoT
651
695
  IndexingFilter = Shapes::StructureShape.new(name: 'IndexingFilter')
652
696
  InlineDocument = Shapes::StringShape.new(name: 'InlineDocument')
653
697
  InputName = Shapes::StringShape.new(name: 'InputName')
698
+ IntegerParameterValue = Shapes::IntegerShape.new(name: 'IntegerParameterValue')
654
699
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
655
700
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
656
701
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -739,6 +784,10 @@ module Aws::IoT
739
784
  ListCertificatesByCAResponse = Shapes::StructureShape.new(name: 'ListCertificatesByCAResponse')
740
785
  ListCertificatesRequest = Shapes::StructureShape.new(name: 'ListCertificatesRequest')
741
786
  ListCertificatesResponse = Shapes::StructureShape.new(name: 'ListCertificatesResponse')
787
+ ListCommandExecutionsRequest = Shapes::StructureShape.new(name: 'ListCommandExecutionsRequest')
788
+ ListCommandExecutionsResponse = Shapes::StructureShape.new(name: 'ListCommandExecutionsResponse')
789
+ ListCommandsRequest = Shapes::StructureShape.new(name: 'ListCommandsRequest')
790
+ ListCommandsResponse = Shapes::StructureShape.new(name: 'ListCommandsResponse')
742
791
  ListCustomMetricsRequest = Shapes::StructureShape.new(name: 'ListCustomMetricsRequest')
743
792
  ListCustomMetricsResponse = Shapes::StructureShape.new(name: 'ListCustomMetricsResponse')
744
793
  ListDetectMitigationActionsExecutionsRequest = Shapes::StructureShape.new(name: 'ListDetectMitigationActionsExecutionsRequest')
@@ -851,6 +900,7 @@ module Aws::IoT
851
900
  LogTargetName = Shapes::StringShape.new(name: 'LogTargetName')
852
901
  LogTargetType = Shapes::StringShape.new(name: 'LogTargetType')
853
902
  LoggingOptionsPayload = Shapes::StructureShape.new(name: 'LoggingOptionsPayload')
903
+ LongParameterValue = Shapes::IntegerShape.new(name: 'LongParameterValue')
854
904
  MachineLearningDetectionConfig = Shapes::StructureShape.new(name: 'MachineLearningDetectionConfig')
855
905
  MaintenanceWindow = Shapes::StructureShape.new(name: 'MaintenanceWindow')
856
906
  MaintenanceWindows = Shapes::ListShape.new(name: 'MaintenanceWindows')
@@ -877,6 +927,7 @@ module Aws::IoT
877
927
  MetricToRetain = Shapes::StructureShape.new(name: 'MetricToRetain')
878
928
  MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
879
929
  MetricsExportConfig = Shapes::StructureShape.new(name: 'MetricsExportConfig')
930
+ MimeType = Shapes::StringShape.new(name: 'MimeType')
880
931
  Minimum = Shapes::FloatShape.new(name: 'Minimum')
881
932
  MinimumNumberOfExecutedThings = Shapes::IntegerShape.new(name: 'MinimumNumberOfExecutedThings')
882
933
  MissingContextValue = Shapes::StringShape.new(name: 'MissingContextValue')
@@ -1157,6 +1208,7 @@ module Aws::IoT
1157
1208
  SkyfallMaxResults = Shapes::IntegerShape.new(name: 'SkyfallMaxResults')
1158
1209
  SnsAction = Shapes::StructureShape.new(name: 'SnsAction')
1159
1210
  SnsTopicArn = Shapes::StringShape.new(name: 'SnsTopicArn')
1211
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
1160
1212
  SqlParseException = Shapes::StructureShape.new(name: 'SqlParseException')
1161
1213
  SqsAction = Shapes::StructureShape.new(name: 'SqsAction')
1162
1214
  StartAuditMitigationActionsTaskRequest = Shapes::StructureShape.new(name: 'StartAuditMitigationActionsTaskRequest')
@@ -1174,6 +1226,10 @@ module Aws::IoT
1174
1226
  StatisticalThreshold = Shapes::StructureShape.new(name: 'StatisticalThreshold')
1175
1227
  Statistics = Shapes::StructureShape.new(name: 'Statistics')
1176
1228
  Status = Shapes::StringShape.new(name: 'Status')
1229
+ StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
1230
+ StatusReason = Shapes::StructureShape.new(name: 'StatusReason')
1231
+ StatusReasonCode = Shapes::StringShape.new(name: 'StatusReasonCode')
1232
+ StatusReasonDescription = Shapes::StringShape.new(name: 'StatusReasonDescription')
1177
1233
  StdDeviation = Shapes::FloatShape.new(name: 'StdDeviation')
1178
1234
  StepFunctionsAction = Shapes::StructureShape.new(name: 'StepFunctionsAction')
1179
1235
  StopThingRegistrationTaskRequest = Shapes::StructureShape.new(name: 'StopThingRegistrationTaskRequest')
@@ -1190,9 +1246,11 @@ module Aws::IoT
1190
1246
  StreamVersion = Shapes::IntegerShape.new(name: 'StreamVersion')
1191
1247
  StreamsSummary = Shapes::ListShape.new(name: 'StreamsSummary')
1192
1248
  String = Shapes::StringShape.new(name: 'String')
1249
+ StringCommandExecutionResult = Shapes::StringShape.new(name: 'StringCommandExecutionResult')
1193
1250
  StringDateTime = Shapes::StringShape.new(name: 'StringDateTime')
1194
1251
  StringList = Shapes::ListShape.new(name: 'StringList')
1195
1252
  StringMap = Shapes::MapShape.new(name: 'StringMap')
1253
+ StringParameterValue = Shapes::StringShape.new(name: 'StringParameterValue')
1196
1254
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
1197
1255
  SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
1198
1256
  SucceededFindingsCount = Shapes::IntegerShape.new(name: 'SucceededFindingsCount')
@@ -1273,6 +1331,7 @@ module Aws::IoT
1273
1331
  ThingTypeName = Shapes::StringShape.new(name: 'ThingTypeName')
1274
1332
  ThingTypeProperties = Shapes::StructureShape.new(name: 'ThingTypeProperties')
1275
1333
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
1334
+ TimeFilter = Shapes::StructureShape.new(name: 'TimeFilter')
1276
1335
  TimedOutThings = Shapes::IntegerShape.new(name: 'TimedOutThings')
1277
1336
  TimeoutConfig = Shapes::StructureShape.new(name: 'TimeoutConfig')
1278
1337
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -1317,6 +1376,7 @@ module Aws::IoT
1317
1376
  UndoDeprecate = Shapes::BooleanShape.new(name: 'UndoDeprecate')
1318
1377
  UnsetDefaultVersion = Shapes::BooleanShape.new(name: 'UnsetDefaultVersion')
1319
1378
  UnsignedLong = Shapes::IntegerShape.new(name: 'UnsignedLong')
1379
+ UnsignedLongParameterValue = Shapes::StringShape.new(name: 'UnsignedLongParameterValue')
1320
1380
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
1321
1381
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
1322
1382
  UpdateAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationRequest')
@@ -1332,6 +1392,8 @@ module Aws::IoT
1332
1392
  UpdateCertificateProviderRequest = Shapes::StructureShape.new(name: 'UpdateCertificateProviderRequest')
1333
1393
  UpdateCertificateProviderResponse = Shapes::StructureShape.new(name: 'UpdateCertificateProviderResponse')
1334
1394
  UpdateCertificateRequest = Shapes::StructureShape.new(name: 'UpdateCertificateRequest')
1395
+ UpdateCommandRequest = Shapes::StructureShape.new(name: 'UpdateCommandRequest')
1396
+ UpdateCommandResponse = Shapes::StructureShape.new(name: 'UpdateCommandResponse')
1335
1397
  UpdateCustomMetricRequest = Shapes::StructureShape.new(name: 'UpdateCustomMetricRequest')
1336
1398
  UpdateCustomMetricResponse = Shapes::StructureShape.new(name: 'UpdateCustomMetricResponse')
1337
1399
  UpdateDeviceCertificateParams = Shapes::StructureShape.new(name: 'UpdateDeviceCertificateParams')
@@ -1937,6 +1999,60 @@ module Aws::IoT
1937
1999
  CodeSigningSignature.add_member(:inline_document, Shapes::ShapeRef.new(shape: Signature, location_name: "inlineDocument"))
1938
2000
  CodeSigningSignature.struct_class = Types::CodeSigningSignature
1939
2001
 
2002
+ CommandExecutionParameterMap.key = Shapes::ShapeRef.new(shape: CommandParameterName)
2003
+ CommandExecutionParameterMap.value = Shapes::ShapeRef.new(shape: CommandParameterValue)
2004
+
2005
+ CommandExecutionResult.add_member(:s, Shapes::ShapeRef.new(shape: StringCommandExecutionResult, location_name: "S"))
2006
+ CommandExecutionResult.add_member(:b, Shapes::ShapeRef.new(shape: BooleanCommandExecutionResult, location_name: "B"))
2007
+ CommandExecutionResult.add_member(:bin, Shapes::ShapeRef.new(shape: BinaryCommandExecutionResult, location_name: "BIN"))
2008
+ CommandExecutionResult.struct_class = Types::CommandExecutionResult
2009
+
2010
+ CommandExecutionResultMap.key = Shapes::ShapeRef.new(shape: CommandExecutionResultName)
2011
+ CommandExecutionResultMap.value = Shapes::ShapeRef.new(shape: CommandExecutionResult)
2012
+
2013
+ CommandExecutionSummary.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
2014
+ CommandExecutionSummary.add_member(:execution_id, Shapes::ShapeRef.new(shape: CommandExecutionId, location_name: "executionId"))
2015
+ CommandExecutionSummary.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "targetArn"))
2016
+ CommandExecutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: CommandExecutionStatus, location_name: "status"))
2017
+ CommandExecutionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
2018
+ CommandExecutionSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: DateType, location_name: "startedAt"))
2019
+ CommandExecutionSummary.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
2020
+ CommandExecutionSummary.struct_class = Types::CommandExecutionSummary
2021
+
2022
+ CommandExecutionSummaryList.member = Shapes::ShapeRef.new(shape: CommandExecutionSummary)
2023
+
2024
+ CommandParameter.add_member(:name, Shapes::ShapeRef.new(shape: CommandParameterName, required: true, location_name: "name"))
2025
+ CommandParameter.add_member(:value, Shapes::ShapeRef.new(shape: CommandParameterValue, location_name: "value"))
2026
+ CommandParameter.add_member(:default_value, Shapes::ShapeRef.new(shape: CommandParameterValue, location_name: "defaultValue"))
2027
+ CommandParameter.add_member(:description, Shapes::ShapeRef.new(shape: CommandParameterDescription, location_name: "description"))
2028
+ CommandParameter.struct_class = Types::CommandParameter
2029
+
2030
+ CommandParameterList.member = Shapes::ShapeRef.new(shape: CommandParameter)
2031
+
2032
+ CommandParameterValue.add_member(:s, Shapes::ShapeRef.new(shape: StringParameterValue, location_name: "S"))
2033
+ CommandParameterValue.add_member(:b, Shapes::ShapeRef.new(shape: BooleanParameterValue, location_name: "B"))
2034
+ CommandParameterValue.add_member(:i, Shapes::ShapeRef.new(shape: IntegerParameterValue, location_name: "I"))
2035
+ CommandParameterValue.add_member(:l, Shapes::ShapeRef.new(shape: LongParameterValue, location_name: "L"))
2036
+ CommandParameterValue.add_member(:d, Shapes::ShapeRef.new(shape: DoubleParameterValue, location_name: "D"))
2037
+ CommandParameterValue.add_member(:bin, Shapes::ShapeRef.new(shape: BinaryParameterValue, location_name: "BIN"))
2038
+ CommandParameterValue.add_member(:ul, Shapes::ShapeRef.new(shape: UnsignedLongParameterValue, location_name: "UL"))
2039
+ CommandParameterValue.struct_class = Types::CommandParameterValue
2040
+
2041
+ CommandPayload.add_member(:content, Shapes::ShapeRef.new(shape: CommandPayloadBlob, location_name: "content"))
2042
+ CommandPayload.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, location_name: "contentType"))
2043
+ CommandPayload.struct_class = Types::CommandPayload
2044
+
2045
+ CommandSummary.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
2046
+ CommandSummary.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "commandId"))
2047
+ CommandSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
2048
+ CommandSummary.add_member(:deprecated, Shapes::ShapeRef.new(shape: DeprecationFlag, location_name: "deprecated"))
2049
+ CommandSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
2050
+ CommandSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
2051
+ CommandSummary.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "pendingDeletion"))
2052
+ CommandSummary.struct_class = Types::CommandSummary
2053
+
2054
+ CommandSummaryList.member = Shapes::ShapeRef.new(shape: CommandSummary)
2055
+
1940
2056
  Configuration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
1941
2057
  Configuration.struct_class = Types::Configuration
1942
2058
 
@@ -2006,6 +2122,20 @@ module Aws::IoT
2006
2122
  CreateCertificateProviderResponse.add_member(:certificate_provider_arn, Shapes::ShapeRef.new(shape: CertificateProviderArn, location_name: "certificateProviderArn"))
2007
2123
  CreateCertificateProviderResponse.struct_class = Types::CreateCertificateProviderResponse
2008
2124
 
2125
+ CreateCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location: "uri", location_name: "commandId"))
2126
+ CreateCommandRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: CommandNamespace, location_name: "namespace"))
2127
+ CreateCommandRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
2128
+ CreateCommandRequest.add_member(:description, Shapes::ShapeRef.new(shape: CommandDescription, location_name: "description"))
2129
+ CreateCommandRequest.add_member(:payload, Shapes::ShapeRef.new(shape: CommandPayload, location_name: "payload"))
2130
+ CreateCommandRequest.add_member(:mandatory_parameters, Shapes::ShapeRef.new(shape: CommandParameterList, location_name: "mandatoryParameters"))
2131
+ CreateCommandRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
2132
+ CreateCommandRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
2133
+ CreateCommandRequest.struct_class = Types::CreateCommandRequest
2134
+
2135
+ CreateCommandResponse.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "commandId"))
2136
+ CreateCommandResponse.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
2137
+ CreateCommandResponse.struct_class = Types::CreateCommandResponse
2138
+
2009
2139
  CreateCustomMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location: "uri", location_name: "metricName"))
2010
2140
  CreateCustomMetricRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: CustomMetricDisplayName, location_name: "displayName"))
2011
2141
  CreateCustomMetricRequest.add_member(:metric_type, Shapes::ShapeRef.new(shape: CustomMetricType, required: true, location_name: "metricType"))
@@ -2384,6 +2514,18 @@ module Aws::IoT
2384
2514
  DeleteCertificateRequest.add_member(:force_delete, Shapes::ShapeRef.new(shape: ForceDelete, location: "querystring", location_name: "forceDelete"))
2385
2515
  DeleteCertificateRequest.struct_class = Types::DeleteCertificateRequest
2386
2516
 
2517
+ DeleteCommandExecutionRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: CommandExecutionId, required: true, location: "uri", location_name: "executionId"))
2518
+ DeleteCommandExecutionRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location: "querystring", location_name: "targetArn"))
2519
+ DeleteCommandExecutionRequest.struct_class = Types::DeleteCommandExecutionRequest
2520
+
2521
+ DeleteCommandExecutionResponse.struct_class = Types::DeleteCommandExecutionResponse
2522
+
2523
+ DeleteCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location: "uri", location_name: "commandId"))
2524
+ DeleteCommandRequest.struct_class = Types::DeleteCommandRequest
2525
+
2526
+ DeleteCommandResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "statusCode"))
2527
+ DeleteCommandResponse.struct_class = Types::DeleteCommandResponse
2528
+
2387
2529
  DeleteConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
2388
2530
  DeleteConflictException.struct_class = Types::DeleteConflictException
2389
2531
 
@@ -3103,6 +3245,43 @@ module Aws::IoT
3103
3245
  GetCardinalityResponse.add_member(:cardinality, Shapes::ShapeRef.new(shape: Count, location_name: "cardinality"))
3104
3246
  GetCardinalityResponse.struct_class = Types::GetCardinalityResponse
3105
3247
 
3248
+ GetCommandExecutionRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: CommandExecutionId, required: true, location: "uri", location_name: "executionId"))
3249
+ GetCommandExecutionRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location: "querystring", location_name: "targetArn"))
3250
+ GetCommandExecutionRequest.add_member(:include_result, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location: "querystring", location_name: "includeResult"))
3251
+ GetCommandExecutionRequest.struct_class = Types::GetCommandExecutionRequest
3252
+
3253
+ GetCommandExecutionResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: CommandExecutionId, location_name: "executionId"))
3254
+ GetCommandExecutionResponse.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
3255
+ GetCommandExecutionResponse.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "targetArn"))
3256
+ GetCommandExecutionResponse.add_member(:status, Shapes::ShapeRef.new(shape: CommandExecutionStatus, location_name: "status"))
3257
+ GetCommandExecutionResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, location_name: "statusReason"))
3258
+ GetCommandExecutionResponse.add_member(:result, Shapes::ShapeRef.new(shape: CommandExecutionResultMap, location_name: "result"))
3259
+ GetCommandExecutionResponse.add_member(:parameters, Shapes::ShapeRef.new(shape: CommandExecutionParameterMap, location_name: "parameters"))
3260
+ GetCommandExecutionResponse.add_member(:execution_timeout_seconds, Shapes::ShapeRef.new(shape: CommandExecutionTimeoutInSeconds, location_name: "executionTimeoutSeconds"))
3261
+ GetCommandExecutionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
3262
+ GetCommandExecutionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
3263
+ GetCommandExecutionResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: DateType, location_name: "startedAt"))
3264
+ GetCommandExecutionResponse.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
3265
+ GetCommandExecutionResponse.add_member(:time_to_live, Shapes::ShapeRef.new(shape: DateType, location_name: "timeToLive"))
3266
+ GetCommandExecutionResponse.struct_class = Types::GetCommandExecutionResponse
3267
+
3268
+ GetCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location: "uri", location_name: "commandId"))
3269
+ GetCommandRequest.struct_class = Types::GetCommandRequest
3270
+
3271
+ GetCommandResponse.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "commandId"))
3272
+ GetCommandResponse.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
3273
+ GetCommandResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: CommandNamespace, location_name: "namespace"))
3274
+ GetCommandResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
3275
+ GetCommandResponse.add_member(:description, Shapes::ShapeRef.new(shape: CommandDescription, location_name: "description"))
3276
+ GetCommandResponse.add_member(:mandatory_parameters, Shapes::ShapeRef.new(shape: CommandParameterList, location_name: "mandatoryParameters"))
3277
+ GetCommandResponse.add_member(:payload, Shapes::ShapeRef.new(shape: CommandPayload, location_name: "payload"))
3278
+ GetCommandResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
3279
+ GetCommandResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
3280
+ GetCommandResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
3281
+ GetCommandResponse.add_member(:deprecated, Shapes::ShapeRef.new(shape: DeprecationFlag, location_name: "deprecated"))
3282
+ GetCommandResponse.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "pendingDeletion"))
3283
+ GetCommandResponse.struct_class = Types::GetCommandResponse
3284
+
3106
3285
  GetEffectivePoliciesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "principal"))
3107
3286
  GetEffectivePoliciesRequest.add_member(:cognito_identity_pool_id, Shapes::ShapeRef.new(shape: CognitoIdentityPoolId, location_name: "cognitoIdentityPoolId"))
3108
3287
  GetEffectivePoliciesRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location: "querystring", location_name: "thingName"))
@@ -3221,6 +3400,15 @@ module Aws::IoT
3221
3400
  GetStatisticsResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: Statistics, location_name: "statistics"))
3222
3401
  GetStatisticsResponse.struct_class = Types::GetStatisticsResponse
3223
3402
 
3403
+ GetThingConnectivityDataRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ConnectivityApiThingName, required: true, location: "uri", location_name: "thingName"))
3404
+ GetThingConnectivityDataRequest.struct_class = Types::GetThingConnectivityDataRequest
3405
+
3406
+ GetThingConnectivityDataResponse.add_member(:thing_name, Shapes::ShapeRef.new(shape: ConnectivityApiThingName, location_name: "thingName"))
3407
+ GetThingConnectivityDataResponse.add_member(:connected, Shapes::ShapeRef.new(shape: Boolean, location_name: "connected"))
3408
+ GetThingConnectivityDataResponse.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "timestamp"))
3409
+ GetThingConnectivityDataResponse.add_member(:disconnect_reason, Shapes::ShapeRef.new(shape: DisconnectReasonValue, location_name: "disconnectReason"))
3410
+ GetThingConnectivityDataResponse.struct_class = Types::GetThingConnectivityDataResponse
3411
+
3224
3412
  GetTopicRuleDestinationRequest.add_member(:arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location: "uri", location_name: "arn"))
3225
3413
  GetTopicRuleDestinationRequest.struct_class = Types::GetTopicRuleDestinationRequest
3226
3414
 
@@ -3606,6 +3794,32 @@ module Aws::IoT
3606
3794
  ListCertificatesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
3607
3795
  ListCertificatesResponse.struct_class = Types::ListCertificatesResponse
3608
3796
 
3797
+ ListCommandExecutionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CommandMaxResults, location: "querystring", location_name: "maxResults"))
3798
+ ListCommandExecutionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3799
+ ListCommandExecutionsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: CommandNamespace, location_name: "namespace"))
3800
+ ListCommandExecutionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: CommandExecutionStatus, location_name: "status"))
3801
+ ListCommandExecutionsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
3802
+ ListCommandExecutionsRequest.add_member(:started_time_filter, Shapes::ShapeRef.new(shape: TimeFilter, location_name: "startedTimeFilter"))
3803
+ ListCommandExecutionsRequest.add_member(:completed_time_filter, Shapes::ShapeRef.new(shape: TimeFilter, location_name: "completedTimeFilter"))
3804
+ ListCommandExecutionsRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "targetArn"))
3805
+ ListCommandExecutionsRequest.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
3806
+ ListCommandExecutionsRequest.struct_class = Types::ListCommandExecutionsRequest
3807
+
3808
+ ListCommandExecutionsResponse.add_member(:command_executions, Shapes::ShapeRef.new(shape: CommandExecutionSummaryList, location_name: "commandExecutions"))
3809
+ ListCommandExecutionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3810
+ ListCommandExecutionsResponse.struct_class = Types::ListCommandExecutionsResponse
3811
+
3812
+ ListCommandsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CommandMaxResults, location: "querystring", location_name: "maxResults"))
3813
+ ListCommandsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3814
+ ListCommandsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: CommandNamespace, location: "querystring", location_name: "namespace"))
3815
+ ListCommandsRequest.add_member(:command_parameter_name, Shapes::ShapeRef.new(shape: CommandParameterName, location: "querystring", location_name: "commandParameterName"))
3816
+ ListCommandsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
3817
+ ListCommandsRequest.struct_class = Types::ListCommandsRequest
3818
+
3819
+ ListCommandsResponse.add_member(:commands, Shapes::ShapeRef.new(shape: CommandSummaryList, location_name: "commands"))
3820
+ ListCommandsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3821
+ ListCommandsResponse.struct_class = Types::ListCommandsResponse
3822
+
3609
3823
  ListCustomMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3610
3824
  ListCustomMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3611
3825
  ListCustomMetricsRequest.struct_class = Types::ListCustomMetricsRequest
@@ -4747,6 +4961,10 @@ module Aws::IoT
4747
4961
  Statistics.add_member(:std_deviation, Shapes::ShapeRef.new(shape: StdDeviation, location_name: "stdDeviation", metadata: {"box"=>true}))
4748
4962
  Statistics.struct_class = Types::Statistics
4749
4963
 
4964
+ StatusReason.add_member(:reason_code, Shapes::ShapeRef.new(shape: StatusReasonCode, required: true, location_name: "reasonCode"))
4965
+ StatusReason.add_member(:reason_description, Shapes::ShapeRef.new(shape: StatusReasonDescription, location_name: "reasonDescription"))
4966
+ StatusReason.struct_class = Types::StatusReason
4967
+
4750
4968
  StepFunctionsAction.add_member(:execution_name_prefix, Shapes::ShapeRef.new(shape: ExecutionNamePrefix, location_name: "executionNamePrefix"))
4751
4969
  StepFunctionsAction.add_member(:state_machine_name, Shapes::ShapeRef.new(shape: StateMachineName, required: true, location_name: "stateMachineName"))
4752
4970
  StepFunctionsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
@@ -4960,6 +5178,10 @@ module Aws::IoT
4960
5178
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
4961
5179
  ThrottlingException.struct_class = Types::ThrottlingException
4962
5180
 
5181
+ TimeFilter.add_member(:after, Shapes::ShapeRef.new(shape: StringDateTime, location_name: "after"))
5182
+ TimeFilter.add_member(:before, Shapes::ShapeRef.new(shape: StringDateTime, location_name: "before"))
5183
+ TimeFilter.struct_class = Types::TimeFilter
5184
+
4963
5185
  TimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: InProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes"))
4964
5186
  TimeoutConfig.struct_class = Types::TimeoutConfig
4965
5187
 
@@ -5126,6 +5348,19 @@ module Aws::IoT
5126
5348
  UpdateCertificateRequest.add_member(:new_status, Shapes::ShapeRef.new(shape: CertificateStatus, required: true, location: "querystring", location_name: "newStatus"))
5127
5349
  UpdateCertificateRequest.struct_class = Types::UpdateCertificateRequest
5128
5350
 
5351
+ UpdateCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location: "uri", location_name: "commandId"))
5352
+ UpdateCommandRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
5353
+ UpdateCommandRequest.add_member(:description, Shapes::ShapeRef.new(shape: CommandDescription, location_name: "description"))
5354
+ UpdateCommandRequest.add_member(:deprecated, Shapes::ShapeRef.new(shape: DeprecationFlag, location_name: "deprecated"))
5355
+ UpdateCommandRequest.struct_class = Types::UpdateCommandRequest
5356
+
5357
+ UpdateCommandResponse.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "commandId"))
5358
+ UpdateCommandResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
5359
+ UpdateCommandResponse.add_member(:description, Shapes::ShapeRef.new(shape: CommandDescription, location_name: "description"))
5360
+ UpdateCommandResponse.add_member(:deprecated, Shapes::ShapeRef.new(shape: DeprecationFlag, location_name: "deprecated"))
5361
+ UpdateCommandResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
5362
+ UpdateCommandResponse.struct_class = Types::UpdateCommandResponse
5363
+
5129
5364
  UpdateCustomMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location: "uri", location_name: "metricName"))
5130
5365
  UpdateCustomMetricRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: CustomMetricDisplayName, required: true, location_name: "displayName"))
5131
5366
  UpdateCustomMetricRequest.struct_class = Types::UpdateCustomMetricRequest
@@ -5741,6 +5976,19 @@ module Aws::IoT
5741
5976
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5742
5977
  end)
5743
5978
 
5979
+ api.add_operation(:create_command, Seahorse::Model::Operation.new.tap do |o|
5980
+ o.name = "CreateCommand"
5981
+ o.http_method = "PUT"
5982
+ o.http_request_uri = "/commands/{commandId}"
5983
+ o.input = Shapes::ShapeRef.new(shape: CreateCommandRequest)
5984
+ o.output = Shapes::ShapeRef.new(shape: CreateCommandResponse)
5985
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5986
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
5987
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
5988
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5989
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
5990
+ end)
5991
+
5744
5992
  api.add_operation(:create_custom_metric, Seahorse::Model::Operation.new.tap do |o|
5745
5993
  o.name = "CreateCustomMetric"
5746
5994
  o.http_method = "POST"
@@ -6207,6 +6455,30 @@ module Aws::IoT
6207
6455
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6208
6456
  end)
6209
6457
 
6458
+ api.add_operation(:delete_command, Seahorse::Model::Operation.new.tap do |o|
6459
+ o.name = "DeleteCommand"
6460
+ o.http_method = "DELETE"
6461
+ o.http_request_uri = "/commands/{commandId}"
6462
+ o.input = Shapes::ShapeRef.new(shape: DeleteCommandRequest)
6463
+ o.output = Shapes::ShapeRef.new(shape: DeleteCommandResponse)
6464
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6465
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
6466
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6467
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6468
+ end)
6469
+
6470
+ api.add_operation(:delete_command_execution, Seahorse::Model::Operation.new.tap do |o|
6471
+ o.name = "DeleteCommandExecution"
6472
+ o.http_method = "DELETE"
6473
+ o.http_request_uri = "/command-executions/{executionId}"
6474
+ o.input = Shapes::ShapeRef.new(shape: DeleteCommandExecutionRequest)
6475
+ o.output = Shapes::ShapeRef.new(shape: DeleteCommandExecutionResponse)
6476
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
6477
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6478
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6479
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6480
+ end)
6481
+
6210
6482
  api.add_operation(:delete_custom_metric, Seahorse::Model::Operation.new.tap do |o|
6211
6483
  o.name = "DeleteCustomMetric"
6212
6484
  o.http_method = "DELETE"
@@ -7152,6 +7424,30 @@ module Aws::IoT
7152
7424
  o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
7153
7425
  end)
7154
7426
 
7427
+ api.add_operation(:get_command, Seahorse::Model::Operation.new.tap do |o|
7428
+ o.name = "GetCommand"
7429
+ o.http_method = "GET"
7430
+ o.http_request_uri = "/commands/{commandId}"
7431
+ o.input = Shapes::ShapeRef.new(shape: GetCommandRequest)
7432
+ o.output = Shapes::ShapeRef.new(shape: GetCommandResponse)
7433
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7434
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7435
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7436
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7437
+ end)
7438
+
7439
+ api.add_operation(:get_command_execution, Seahorse::Model::Operation.new.tap do |o|
7440
+ o.name = "GetCommandExecution"
7441
+ o.http_method = "GET"
7442
+ o.http_request_uri = "/command-executions/{executionId}"
7443
+ o.input = Shapes::ShapeRef.new(shape: GetCommandExecutionRequest)
7444
+ o.output = Shapes::ShapeRef.new(shape: GetCommandExecutionResponse)
7445
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7446
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7447
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7448
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7449
+ end)
7450
+
7155
7451
  api.add_operation(:get_effective_policies, Seahorse::Model::Operation.new.tap do |o|
7156
7452
  o.name = "GetEffectivePolicies"
7157
7453
  o.http_method = "POST"
@@ -7326,6 +7622,21 @@ module Aws::IoT
7326
7622
  o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
7327
7623
  end)
7328
7624
 
7625
+ api.add_operation(:get_thing_connectivity_data, Seahorse::Model::Operation.new.tap do |o|
7626
+ o.name = "GetThingConnectivityData"
7627
+ o.http_method = "POST"
7628
+ o.http_request_uri = "/things/{thingName}/connectivity-data"
7629
+ o.input = Shapes::ShapeRef.new(shape: GetThingConnectivityDataRequest)
7630
+ o.output = Shapes::ShapeRef.new(shape: GetThingConnectivityDataResponse)
7631
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
7632
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7633
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
7634
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
7635
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
7636
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7637
+ o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
7638
+ end)
7639
+
7329
7640
  api.add_operation(:get_topic_rule, Seahorse::Model::Operation.new.tap do |o|
7330
7641
  o.name = "GetTopicRule"
7331
7642
  o.http_method = "GET"
@@ -7592,6 +7903,41 @@ module Aws::IoT
7592
7903
  )
7593
7904
  end)
7594
7905
 
7906
+ api.add_operation(:list_command_executions, Seahorse::Model::Operation.new.tap do |o|
7907
+ o.name = "ListCommandExecutions"
7908
+ o.http_method = "POST"
7909
+ o.http_request_uri = "/command-executions"
7910
+ o.input = Shapes::ShapeRef.new(shape: ListCommandExecutionsRequest)
7911
+ o.output = Shapes::ShapeRef.new(shape: ListCommandExecutionsResponse)
7912
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7913
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7914
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7915
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7916
+ o[:pager] = Aws::Pager.new(
7917
+ limit_key: "max_results",
7918
+ tokens: {
7919
+ "next_token" => "next_token"
7920
+ }
7921
+ )
7922
+ end)
7923
+
7924
+ api.add_operation(:list_commands, Seahorse::Model::Operation.new.tap do |o|
7925
+ o.name = "ListCommands"
7926
+ o.http_method = "GET"
7927
+ o.http_request_uri = "/commands"
7928
+ o.input = Shapes::ShapeRef.new(shape: ListCommandsRequest)
7929
+ o.output = Shapes::ShapeRef.new(shape: ListCommandsResponse)
7930
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7931
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7932
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7933
+ o[:pager] = Aws::Pager.new(
7934
+ limit_key: "max_results",
7935
+ tokens: {
7936
+ "next_token" => "next_token"
7937
+ }
7938
+ )
7939
+ end)
7940
+
7595
7941
  api.add_operation(:list_custom_metrics, Seahorse::Model::Operation.new.tap do |o|
7596
7942
  o.name = "ListCustomMetrics"
7597
7943
  o.http_method = "GET"
@@ -8942,6 +9288,19 @@ module Aws::IoT
8942
9288
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
8943
9289
  end)
8944
9290
 
9291
+ api.add_operation(:update_command, Seahorse::Model::Operation.new.tap do |o|
9292
+ o.name = "UpdateCommand"
9293
+ o.http_method = "PATCH"
9294
+ o.http_request_uri = "/commands/{commandId}"
9295
+ o.input = Shapes::ShapeRef.new(shape: UpdateCommandRequest)
9296
+ o.output = Shapes::ShapeRef.new(shape: UpdateCommandResponse)
9297
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
9298
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
9299
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
9300
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
9301
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
9302
+ end)
9303
+
8945
9304
  api.add_operation(:update_custom_metric, Seahorse::Model::Operation.new.tap do |o|
8946
9305
  o.name = "UpdateCustomMetric"
8947
9306
  o.http_method = "PATCH"