aws-sdk-iot 1.139.0 → 1.140.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')
@@ -262,6 +289,8 @@ module Aws::IoT
262
289
  CreateCertificateFromCsrResponse = Shapes::StructureShape.new(name: 'CreateCertificateFromCsrResponse')
263
290
  CreateCertificateProviderRequest = Shapes::StructureShape.new(name: 'CreateCertificateProviderRequest')
264
291
  CreateCertificateProviderResponse = Shapes::StructureShape.new(name: 'CreateCertificateProviderResponse')
292
+ CreateCommandRequest = Shapes::StructureShape.new(name: 'CreateCommandRequest')
293
+ CreateCommandResponse = Shapes::StructureShape.new(name: 'CreateCommandResponse')
265
294
  CreateCustomMetricRequest = Shapes::StructureShape.new(name: 'CreateCustomMetricRequest')
266
295
  CreateCustomMetricResponse = Shapes::StructureShape.new(name: 'CreateCustomMetricResponse')
267
296
  CreateDimensionRequest = Shapes::StructureShape.new(name: 'CreateDimensionRequest')
@@ -342,6 +371,10 @@ module Aws::IoT
342
371
  DeleteCertificateProviderRequest = Shapes::StructureShape.new(name: 'DeleteCertificateProviderRequest')
343
372
  DeleteCertificateProviderResponse = Shapes::StructureShape.new(name: 'DeleteCertificateProviderResponse')
344
373
  DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
374
+ DeleteCommandExecutionRequest = Shapes::StructureShape.new(name: 'DeleteCommandExecutionRequest')
375
+ DeleteCommandExecutionResponse = Shapes::StructureShape.new(name: 'DeleteCommandExecutionResponse')
376
+ DeleteCommandRequest = Shapes::StructureShape.new(name: 'DeleteCommandRequest')
377
+ DeleteCommandResponse = Shapes::StructureShape.new(name: 'DeleteCommandResponse')
345
378
  DeleteConflictException = Shapes::StructureShape.new(name: 'DeleteConflictException')
346
379
  DeleteCustomMetricRequest = Shapes::StructureShape.new(name: 'DeleteCustomMetricRequest')
347
380
  DeleteCustomMetricResponse = Shapes::StructureShape.new(name: 'DeleteCustomMetricResponse')
@@ -397,6 +430,7 @@ module Aws::IoT
397
430
  DeprecateThingTypeRequest = Shapes::StructureShape.new(name: 'DeprecateThingTypeRequest')
398
431
  DeprecateThingTypeResponse = Shapes::StructureShape.new(name: 'DeprecateThingTypeResponse')
399
432
  DeprecationDate = Shapes::TimestampShape.new(name: 'DeprecationDate')
433
+ DeprecationFlag = Shapes::BooleanShape.new(name: 'DeprecationFlag')
400
434
  DescribeAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAccountAuditConfigurationRequest')
401
435
  DescribeAccountAuditConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeAccountAuditConfigurationResponse')
402
436
  DescribeAuditFindingRequest = Shapes::StructureShape.new(name: 'DescribeAuditFindingRequest')
@@ -502,6 +536,7 @@ module Aws::IoT
502
536
  DisassociateSbomFromPackageVersionRequest = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionRequest')
503
537
  DisassociateSbomFromPackageVersionResponse = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionResponse')
504
538
  DisconnectReason = Shapes::StringShape.new(name: 'DisconnectReason')
539
+ DisplayName = Shapes::StringShape.new(name: 'DisplayName')
505
540
  DocumentParameter = Shapes::StructureShape.new(name: 'DocumentParameter')
506
541
  DocumentParameters = Shapes::ListShape.new(name: 'DocumentParameters')
507
542
  DomainConfigurationArn = Shapes::StringShape.new(name: 'DomainConfigurationArn')
@@ -511,6 +546,7 @@ module Aws::IoT
511
546
  DomainConfigurations = Shapes::ListShape.new(name: 'DomainConfigurations')
512
547
  DomainName = Shapes::StringShape.new(name: 'DomainName')
513
548
  DomainType = Shapes::StringShape.new(name: 'DomainType')
549
+ DoubleParameterValue = Shapes::FloatShape.new(name: 'DoubleParameterValue')
514
550
  DurationInMinutes = Shapes::IntegerShape.new(name: 'DurationInMinutes')
515
551
  DurationSeconds = Shapes::IntegerShape.new(name: 'DurationSeconds')
516
552
  DynamicGroupStatus = Shapes::StringShape.new(name: 'DynamicGroupStatus')
@@ -588,6 +624,10 @@ module Aws::IoT
588
624
  GetBucketsAggregationResponse = Shapes::StructureShape.new(name: 'GetBucketsAggregationResponse')
589
625
  GetCardinalityRequest = Shapes::StructureShape.new(name: 'GetCardinalityRequest')
590
626
  GetCardinalityResponse = Shapes::StructureShape.new(name: 'GetCardinalityResponse')
627
+ GetCommandExecutionRequest = Shapes::StructureShape.new(name: 'GetCommandExecutionRequest')
628
+ GetCommandExecutionResponse = Shapes::StructureShape.new(name: 'GetCommandExecutionResponse')
629
+ GetCommandRequest = Shapes::StructureShape.new(name: 'GetCommandRequest')
630
+ GetCommandResponse = Shapes::StructureShape.new(name: 'GetCommandResponse')
591
631
  GetEffectivePoliciesRequest = Shapes::StructureShape.new(name: 'GetEffectivePoliciesRequest')
592
632
  GetEffectivePoliciesResponse = Shapes::StructureShape.new(name: 'GetEffectivePoliciesResponse')
593
633
  GetIndexingConfigurationRequest = Shapes::StructureShape.new(name: 'GetIndexingConfigurationRequest')
@@ -651,6 +691,7 @@ module Aws::IoT
651
691
  IndexingFilter = Shapes::StructureShape.new(name: 'IndexingFilter')
652
692
  InlineDocument = Shapes::StringShape.new(name: 'InlineDocument')
653
693
  InputName = Shapes::StringShape.new(name: 'InputName')
694
+ IntegerParameterValue = Shapes::IntegerShape.new(name: 'IntegerParameterValue')
654
695
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
655
696
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
656
697
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -739,6 +780,10 @@ module Aws::IoT
739
780
  ListCertificatesByCAResponse = Shapes::StructureShape.new(name: 'ListCertificatesByCAResponse')
740
781
  ListCertificatesRequest = Shapes::StructureShape.new(name: 'ListCertificatesRequest')
741
782
  ListCertificatesResponse = Shapes::StructureShape.new(name: 'ListCertificatesResponse')
783
+ ListCommandExecutionsRequest = Shapes::StructureShape.new(name: 'ListCommandExecutionsRequest')
784
+ ListCommandExecutionsResponse = Shapes::StructureShape.new(name: 'ListCommandExecutionsResponse')
785
+ ListCommandsRequest = Shapes::StructureShape.new(name: 'ListCommandsRequest')
786
+ ListCommandsResponse = Shapes::StructureShape.new(name: 'ListCommandsResponse')
742
787
  ListCustomMetricsRequest = Shapes::StructureShape.new(name: 'ListCustomMetricsRequest')
743
788
  ListCustomMetricsResponse = Shapes::StructureShape.new(name: 'ListCustomMetricsResponse')
744
789
  ListDetectMitigationActionsExecutionsRequest = Shapes::StructureShape.new(name: 'ListDetectMitigationActionsExecutionsRequest')
@@ -851,6 +896,7 @@ module Aws::IoT
851
896
  LogTargetName = Shapes::StringShape.new(name: 'LogTargetName')
852
897
  LogTargetType = Shapes::StringShape.new(name: 'LogTargetType')
853
898
  LoggingOptionsPayload = Shapes::StructureShape.new(name: 'LoggingOptionsPayload')
899
+ LongParameterValue = Shapes::IntegerShape.new(name: 'LongParameterValue')
854
900
  MachineLearningDetectionConfig = Shapes::StructureShape.new(name: 'MachineLearningDetectionConfig')
855
901
  MaintenanceWindow = Shapes::StructureShape.new(name: 'MaintenanceWindow')
856
902
  MaintenanceWindows = Shapes::ListShape.new(name: 'MaintenanceWindows')
@@ -877,6 +923,7 @@ module Aws::IoT
877
923
  MetricToRetain = Shapes::StructureShape.new(name: 'MetricToRetain')
878
924
  MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
879
925
  MetricsExportConfig = Shapes::StructureShape.new(name: 'MetricsExportConfig')
926
+ MimeType = Shapes::StringShape.new(name: 'MimeType')
880
927
  Minimum = Shapes::FloatShape.new(name: 'Minimum')
881
928
  MinimumNumberOfExecutedThings = Shapes::IntegerShape.new(name: 'MinimumNumberOfExecutedThings')
882
929
  MissingContextValue = Shapes::StringShape.new(name: 'MissingContextValue')
@@ -1157,6 +1204,7 @@ module Aws::IoT
1157
1204
  SkyfallMaxResults = Shapes::IntegerShape.new(name: 'SkyfallMaxResults')
1158
1205
  SnsAction = Shapes::StructureShape.new(name: 'SnsAction')
1159
1206
  SnsTopicArn = Shapes::StringShape.new(name: 'SnsTopicArn')
1207
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
1160
1208
  SqlParseException = Shapes::StructureShape.new(name: 'SqlParseException')
1161
1209
  SqsAction = Shapes::StructureShape.new(name: 'SqsAction')
1162
1210
  StartAuditMitigationActionsTaskRequest = Shapes::StructureShape.new(name: 'StartAuditMitigationActionsTaskRequest')
@@ -1174,6 +1222,10 @@ module Aws::IoT
1174
1222
  StatisticalThreshold = Shapes::StructureShape.new(name: 'StatisticalThreshold')
1175
1223
  Statistics = Shapes::StructureShape.new(name: 'Statistics')
1176
1224
  Status = Shapes::StringShape.new(name: 'Status')
1225
+ StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
1226
+ StatusReason = Shapes::StructureShape.new(name: 'StatusReason')
1227
+ StatusReasonCode = Shapes::StringShape.new(name: 'StatusReasonCode')
1228
+ StatusReasonDescription = Shapes::StringShape.new(name: 'StatusReasonDescription')
1177
1229
  StdDeviation = Shapes::FloatShape.new(name: 'StdDeviation')
1178
1230
  StepFunctionsAction = Shapes::StructureShape.new(name: 'StepFunctionsAction')
1179
1231
  StopThingRegistrationTaskRequest = Shapes::StructureShape.new(name: 'StopThingRegistrationTaskRequest')
@@ -1190,9 +1242,11 @@ module Aws::IoT
1190
1242
  StreamVersion = Shapes::IntegerShape.new(name: 'StreamVersion')
1191
1243
  StreamsSummary = Shapes::ListShape.new(name: 'StreamsSummary')
1192
1244
  String = Shapes::StringShape.new(name: 'String')
1245
+ StringCommandExecutionResult = Shapes::StringShape.new(name: 'StringCommandExecutionResult')
1193
1246
  StringDateTime = Shapes::StringShape.new(name: 'StringDateTime')
1194
1247
  StringList = Shapes::ListShape.new(name: 'StringList')
1195
1248
  StringMap = Shapes::MapShape.new(name: 'StringMap')
1249
+ StringParameterValue = Shapes::StringShape.new(name: 'StringParameterValue')
1196
1250
  SubnetId = Shapes::StringShape.new(name: 'SubnetId')
1197
1251
  SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
1198
1252
  SucceededFindingsCount = Shapes::IntegerShape.new(name: 'SucceededFindingsCount')
@@ -1273,6 +1327,7 @@ module Aws::IoT
1273
1327
  ThingTypeName = Shapes::StringShape.new(name: 'ThingTypeName')
1274
1328
  ThingTypeProperties = Shapes::StructureShape.new(name: 'ThingTypeProperties')
1275
1329
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
1330
+ TimeFilter = Shapes::StructureShape.new(name: 'TimeFilter')
1276
1331
  TimedOutThings = Shapes::IntegerShape.new(name: 'TimedOutThings')
1277
1332
  TimeoutConfig = Shapes::StructureShape.new(name: 'TimeoutConfig')
1278
1333
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
@@ -1317,6 +1372,7 @@ module Aws::IoT
1317
1372
  UndoDeprecate = Shapes::BooleanShape.new(name: 'UndoDeprecate')
1318
1373
  UnsetDefaultVersion = Shapes::BooleanShape.new(name: 'UnsetDefaultVersion')
1319
1374
  UnsignedLong = Shapes::IntegerShape.new(name: 'UnsignedLong')
1375
+ UnsignedLongParameterValue = Shapes::StringShape.new(name: 'UnsignedLongParameterValue')
1320
1376
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
1321
1377
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
1322
1378
  UpdateAccountAuditConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAccountAuditConfigurationRequest')
@@ -1332,6 +1388,8 @@ module Aws::IoT
1332
1388
  UpdateCertificateProviderRequest = Shapes::StructureShape.new(name: 'UpdateCertificateProviderRequest')
1333
1389
  UpdateCertificateProviderResponse = Shapes::StructureShape.new(name: 'UpdateCertificateProviderResponse')
1334
1390
  UpdateCertificateRequest = Shapes::StructureShape.new(name: 'UpdateCertificateRequest')
1391
+ UpdateCommandRequest = Shapes::StructureShape.new(name: 'UpdateCommandRequest')
1392
+ UpdateCommandResponse = Shapes::StructureShape.new(name: 'UpdateCommandResponse')
1335
1393
  UpdateCustomMetricRequest = Shapes::StructureShape.new(name: 'UpdateCustomMetricRequest')
1336
1394
  UpdateCustomMetricResponse = Shapes::StructureShape.new(name: 'UpdateCustomMetricResponse')
1337
1395
  UpdateDeviceCertificateParams = Shapes::StructureShape.new(name: 'UpdateDeviceCertificateParams')
@@ -1937,6 +1995,60 @@ module Aws::IoT
1937
1995
  CodeSigningSignature.add_member(:inline_document, Shapes::ShapeRef.new(shape: Signature, location_name: "inlineDocument"))
1938
1996
  CodeSigningSignature.struct_class = Types::CodeSigningSignature
1939
1997
 
1998
+ CommandExecutionParameterMap.key = Shapes::ShapeRef.new(shape: CommandParameterName)
1999
+ CommandExecutionParameterMap.value = Shapes::ShapeRef.new(shape: CommandParameterValue)
2000
+
2001
+ CommandExecutionResult.add_member(:s, Shapes::ShapeRef.new(shape: StringCommandExecutionResult, location_name: "S"))
2002
+ CommandExecutionResult.add_member(:b, Shapes::ShapeRef.new(shape: BooleanCommandExecutionResult, location_name: "B"))
2003
+ CommandExecutionResult.add_member(:bin, Shapes::ShapeRef.new(shape: BinaryCommandExecutionResult, location_name: "BIN"))
2004
+ CommandExecutionResult.struct_class = Types::CommandExecutionResult
2005
+
2006
+ CommandExecutionResultMap.key = Shapes::ShapeRef.new(shape: CommandExecutionResultName)
2007
+ CommandExecutionResultMap.value = Shapes::ShapeRef.new(shape: CommandExecutionResult)
2008
+
2009
+ CommandExecutionSummary.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
2010
+ CommandExecutionSummary.add_member(:execution_id, Shapes::ShapeRef.new(shape: CommandExecutionId, location_name: "executionId"))
2011
+ CommandExecutionSummary.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "targetArn"))
2012
+ CommandExecutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: CommandExecutionStatus, location_name: "status"))
2013
+ CommandExecutionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
2014
+ CommandExecutionSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: DateType, location_name: "startedAt"))
2015
+ CommandExecutionSummary.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
2016
+ CommandExecutionSummary.struct_class = Types::CommandExecutionSummary
2017
+
2018
+ CommandExecutionSummaryList.member = Shapes::ShapeRef.new(shape: CommandExecutionSummary)
2019
+
2020
+ CommandParameter.add_member(:name, Shapes::ShapeRef.new(shape: CommandParameterName, required: true, location_name: "name"))
2021
+ CommandParameter.add_member(:value, Shapes::ShapeRef.new(shape: CommandParameterValue, location_name: "value"))
2022
+ CommandParameter.add_member(:default_value, Shapes::ShapeRef.new(shape: CommandParameterValue, location_name: "defaultValue"))
2023
+ CommandParameter.add_member(:description, Shapes::ShapeRef.new(shape: CommandParameterDescription, location_name: "description"))
2024
+ CommandParameter.struct_class = Types::CommandParameter
2025
+
2026
+ CommandParameterList.member = Shapes::ShapeRef.new(shape: CommandParameter)
2027
+
2028
+ CommandParameterValue.add_member(:s, Shapes::ShapeRef.new(shape: StringParameterValue, location_name: "S"))
2029
+ CommandParameterValue.add_member(:b, Shapes::ShapeRef.new(shape: BooleanParameterValue, location_name: "B"))
2030
+ CommandParameterValue.add_member(:i, Shapes::ShapeRef.new(shape: IntegerParameterValue, location_name: "I"))
2031
+ CommandParameterValue.add_member(:l, Shapes::ShapeRef.new(shape: LongParameterValue, location_name: "L"))
2032
+ CommandParameterValue.add_member(:d, Shapes::ShapeRef.new(shape: DoubleParameterValue, location_name: "D"))
2033
+ CommandParameterValue.add_member(:bin, Shapes::ShapeRef.new(shape: BinaryParameterValue, location_name: "BIN"))
2034
+ CommandParameterValue.add_member(:ul, Shapes::ShapeRef.new(shape: UnsignedLongParameterValue, location_name: "UL"))
2035
+ CommandParameterValue.struct_class = Types::CommandParameterValue
2036
+
2037
+ CommandPayload.add_member(:content, Shapes::ShapeRef.new(shape: CommandPayloadBlob, location_name: "content"))
2038
+ CommandPayload.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, location_name: "contentType"))
2039
+ CommandPayload.struct_class = Types::CommandPayload
2040
+
2041
+ CommandSummary.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
2042
+ CommandSummary.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "commandId"))
2043
+ CommandSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
2044
+ CommandSummary.add_member(:deprecated, Shapes::ShapeRef.new(shape: DeprecationFlag, location_name: "deprecated"))
2045
+ CommandSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
2046
+ CommandSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
2047
+ CommandSummary.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "pendingDeletion"))
2048
+ CommandSummary.struct_class = Types::CommandSummary
2049
+
2050
+ CommandSummaryList.member = Shapes::ShapeRef.new(shape: CommandSummary)
2051
+
1940
2052
  Configuration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
1941
2053
  Configuration.struct_class = Types::Configuration
1942
2054
 
@@ -2006,6 +2118,20 @@ module Aws::IoT
2006
2118
  CreateCertificateProviderResponse.add_member(:certificate_provider_arn, Shapes::ShapeRef.new(shape: CertificateProviderArn, location_name: "certificateProviderArn"))
2007
2119
  CreateCertificateProviderResponse.struct_class = Types::CreateCertificateProviderResponse
2008
2120
 
2121
+ CreateCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location: "uri", location_name: "commandId"))
2122
+ CreateCommandRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: CommandNamespace, location_name: "namespace"))
2123
+ CreateCommandRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
2124
+ CreateCommandRequest.add_member(:description, Shapes::ShapeRef.new(shape: CommandDescription, location_name: "description"))
2125
+ CreateCommandRequest.add_member(:payload, Shapes::ShapeRef.new(shape: CommandPayload, location_name: "payload"))
2126
+ CreateCommandRequest.add_member(:mandatory_parameters, Shapes::ShapeRef.new(shape: CommandParameterList, location_name: "mandatoryParameters"))
2127
+ CreateCommandRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
2128
+ CreateCommandRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
2129
+ CreateCommandRequest.struct_class = Types::CreateCommandRequest
2130
+
2131
+ CreateCommandResponse.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "commandId"))
2132
+ CreateCommandResponse.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
2133
+ CreateCommandResponse.struct_class = Types::CreateCommandResponse
2134
+
2009
2135
  CreateCustomMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location: "uri", location_name: "metricName"))
2010
2136
  CreateCustomMetricRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: CustomMetricDisplayName, location_name: "displayName"))
2011
2137
  CreateCustomMetricRequest.add_member(:metric_type, Shapes::ShapeRef.new(shape: CustomMetricType, required: true, location_name: "metricType"))
@@ -2384,6 +2510,18 @@ module Aws::IoT
2384
2510
  DeleteCertificateRequest.add_member(:force_delete, Shapes::ShapeRef.new(shape: ForceDelete, location: "querystring", location_name: "forceDelete"))
2385
2511
  DeleteCertificateRequest.struct_class = Types::DeleteCertificateRequest
2386
2512
 
2513
+ DeleteCommandExecutionRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: CommandExecutionId, required: true, location: "uri", location_name: "executionId"))
2514
+ DeleteCommandExecutionRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location: "querystring", location_name: "targetArn"))
2515
+ DeleteCommandExecutionRequest.struct_class = Types::DeleteCommandExecutionRequest
2516
+
2517
+ DeleteCommandExecutionResponse.struct_class = Types::DeleteCommandExecutionResponse
2518
+
2519
+ DeleteCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location: "uri", location_name: "commandId"))
2520
+ DeleteCommandRequest.struct_class = Types::DeleteCommandRequest
2521
+
2522
+ DeleteCommandResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "statusCode"))
2523
+ DeleteCommandResponse.struct_class = Types::DeleteCommandResponse
2524
+
2387
2525
  DeleteConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
2388
2526
  DeleteConflictException.struct_class = Types::DeleteConflictException
2389
2527
 
@@ -3103,6 +3241,43 @@ module Aws::IoT
3103
3241
  GetCardinalityResponse.add_member(:cardinality, Shapes::ShapeRef.new(shape: Count, location_name: "cardinality"))
3104
3242
  GetCardinalityResponse.struct_class = Types::GetCardinalityResponse
3105
3243
 
3244
+ GetCommandExecutionRequest.add_member(:execution_id, Shapes::ShapeRef.new(shape: CommandExecutionId, required: true, location: "uri", location_name: "executionId"))
3245
+ GetCommandExecutionRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location: "querystring", location_name: "targetArn"))
3246
+ GetCommandExecutionRequest.add_member(:include_result, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location: "querystring", location_name: "includeResult"))
3247
+ GetCommandExecutionRequest.struct_class = Types::GetCommandExecutionRequest
3248
+
3249
+ GetCommandExecutionResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: CommandExecutionId, location_name: "executionId"))
3250
+ GetCommandExecutionResponse.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
3251
+ GetCommandExecutionResponse.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "targetArn"))
3252
+ GetCommandExecutionResponse.add_member(:status, Shapes::ShapeRef.new(shape: CommandExecutionStatus, location_name: "status"))
3253
+ GetCommandExecutionResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, location_name: "statusReason"))
3254
+ GetCommandExecutionResponse.add_member(:result, Shapes::ShapeRef.new(shape: CommandExecutionResultMap, location_name: "result"))
3255
+ GetCommandExecutionResponse.add_member(:parameters, Shapes::ShapeRef.new(shape: CommandExecutionParameterMap, location_name: "parameters"))
3256
+ GetCommandExecutionResponse.add_member(:execution_timeout_seconds, Shapes::ShapeRef.new(shape: CommandExecutionTimeoutInSeconds, location_name: "executionTimeoutSeconds"))
3257
+ GetCommandExecutionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
3258
+ GetCommandExecutionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
3259
+ GetCommandExecutionResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: DateType, location_name: "startedAt"))
3260
+ GetCommandExecutionResponse.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
3261
+ GetCommandExecutionResponse.add_member(:time_to_live, Shapes::ShapeRef.new(shape: DateType, location_name: "timeToLive"))
3262
+ GetCommandExecutionResponse.struct_class = Types::GetCommandExecutionResponse
3263
+
3264
+ GetCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location: "uri", location_name: "commandId"))
3265
+ GetCommandRequest.struct_class = Types::GetCommandRequest
3266
+
3267
+ GetCommandResponse.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "commandId"))
3268
+ GetCommandResponse.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
3269
+ GetCommandResponse.add_member(:namespace, Shapes::ShapeRef.new(shape: CommandNamespace, location_name: "namespace"))
3270
+ GetCommandResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
3271
+ GetCommandResponse.add_member(:description, Shapes::ShapeRef.new(shape: CommandDescription, location_name: "description"))
3272
+ GetCommandResponse.add_member(:mandatory_parameters, Shapes::ShapeRef.new(shape: CommandParameterList, location_name: "mandatoryParameters"))
3273
+ GetCommandResponse.add_member(:payload, Shapes::ShapeRef.new(shape: CommandPayload, location_name: "payload"))
3274
+ GetCommandResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
3275
+ GetCommandResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
3276
+ GetCommandResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
3277
+ GetCommandResponse.add_member(:deprecated, Shapes::ShapeRef.new(shape: DeprecationFlag, location_name: "deprecated"))
3278
+ GetCommandResponse.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: BooleanWrapperObject, location_name: "pendingDeletion"))
3279
+ GetCommandResponse.struct_class = Types::GetCommandResponse
3280
+
3106
3281
  GetEffectivePoliciesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "principal"))
3107
3282
  GetEffectivePoliciesRequest.add_member(:cognito_identity_pool_id, Shapes::ShapeRef.new(shape: CognitoIdentityPoolId, location_name: "cognitoIdentityPoolId"))
3108
3283
  GetEffectivePoliciesRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location: "querystring", location_name: "thingName"))
@@ -3606,6 +3781,32 @@ module Aws::IoT
3606
3781
  ListCertificatesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
3607
3782
  ListCertificatesResponse.struct_class = Types::ListCertificatesResponse
3608
3783
 
3784
+ ListCommandExecutionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CommandMaxResults, location: "querystring", location_name: "maxResults"))
3785
+ ListCommandExecutionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3786
+ ListCommandExecutionsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: CommandNamespace, location_name: "namespace"))
3787
+ ListCommandExecutionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: CommandExecutionStatus, location_name: "status"))
3788
+ ListCommandExecutionsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
3789
+ ListCommandExecutionsRequest.add_member(:started_time_filter, Shapes::ShapeRef.new(shape: TimeFilter, location_name: "startedTimeFilter"))
3790
+ ListCommandExecutionsRequest.add_member(:completed_time_filter, Shapes::ShapeRef.new(shape: TimeFilter, location_name: "completedTimeFilter"))
3791
+ ListCommandExecutionsRequest.add_member(:target_arn, Shapes::ShapeRef.new(shape: TargetArn, location_name: "targetArn"))
3792
+ ListCommandExecutionsRequest.add_member(:command_arn, Shapes::ShapeRef.new(shape: CommandArn, location_name: "commandArn"))
3793
+ ListCommandExecutionsRequest.struct_class = Types::ListCommandExecutionsRequest
3794
+
3795
+ ListCommandExecutionsResponse.add_member(:command_executions, Shapes::ShapeRef.new(shape: CommandExecutionSummaryList, location_name: "commandExecutions"))
3796
+ ListCommandExecutionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3797
+ ListCommandExecutionsResponse.struct_class = Types::ListCommandExecutionsResponse
3798
+
3799
+ ListCommandsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CommandMaxResults, location: "querystring", location_name: "maxResults"))
3800
+ ListCommandsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3801
+ ListCommandsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: CommandNamespace, location: "querystring", location_name: "namespace"))
3802
+ ListCommandsRequest.add_member(:command_parameter_name, Shapes::ShapeRef.new(shape: CommandParameterName, location: "querystring", location_name: "commandParameterName"))
3803
+ ListCommandsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location: "querystring", location_name: "sortOrder"))
3804
+ ListCommandsRequest.struct_class = Types::ListCommandsRequest
3805
+
3806
+ ListCommandsResponse.add_member(:commands, Shapes::ShapeRef.new(shape: CommandSummaryList, location_name: "commands"))
3807
+ ListCommandsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3808
+ ListCommandsResponse.struct_class = Types::ListCommandsResponse
3809
+
3609
3810
  ListCustomMetricsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3610
3811
  ListCustomMetricsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
3611
3812
  ListCustomMetricsRequest.struct_class = Types::ListCustomMetricsRequest
@@ -4747,6 +4948,10 @@ module Aws::IoT
4747
4948
  Statistics.add_member(:std_deviation, Shapes::ShapeRef.new(shape: StdDeviation, location_name: "stdDeviation", metadata: {"box"=>true}))
4748
4949
  Statistics.struct_class = Types::Statistics
4749
4950
 
4951
+ StatusReason.add_member(:reason_code, Shapes::ShapeRef.new(shape: StatusReasonCode, required: true, location_name: "reasonCode"))
4952
+ StatusReason.add_member(:reason_description, Shapes::ShapeRef.new(shape: StatusReasonDescription, location_name: "reasonDescription"))
4953
+ StatusReason.struct_class = Types::StatusReason
4954
+
4750
4955
  StepFunctionsAction.add_member(:execution_name_prefix, Shapes::ShapeRef.new(shape: ExecutionNamePrefix, location_name: "executionNamePrefix"))
4751
4956
  StepFunctionsAction.add_member(:state_machine_name, Shapes::ShapeRef.new(shape: StateMachineName, required: true, location_name: "stateMachineName"))
4752
4957
  StepFunctionsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
@@ -4960,6 +5165,10 @@ module Aws::IoT
4960
5165
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
4961
5166
  ThrottlingException.struct_class = Types::ThrottlingException
4962
5167
 
5168
+ TimeFilter.add_member(:after, Shapes::ShapeRef.new(shape: StringDateTime, location_name: "after"))
5169
+ TimeFilter.add_member(:before, Shapes::ShapeRef.new(shape: StringDateTime, location_name: "before"))
5170
+ TimeFilter.struct_class = Types::TimeFilter
5171
+
4963
5172
  TimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: InProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes"))
4964
5173
  TimeoutConfig.struct_class = Types::TimeoutConfig
4965
5174
 
@@ -5126,6 +5335,19 @@ module Aws::IoT
5126
5335
  UpdateCertificateRequest.add_member(:new_status, Shapes::ShapeRef.new(shape: CertificateStatus, required: true, location: "querystring", location_name: "newStatus"))
5127
5336
  UpdateCertificateRequest.struct_class = Types::UpdateCertificateRequest
5128
5337
 
5338
+ UpdateCommandRequest.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, required: true, location: "uri", location_name: "commandId"))
5339
+ UpdateCommandRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
5340
+ UpdateCommandRequest.add_member(:description, Shapes::ShapeRef.new(shape: CommandDescription, location_name: "description"))
5341
+ UpdateCommandRequest.add_member(:deprecated, Shapes::ShapeRef.new(shape: DeprecationFlag, location_name: "deprecated"))
5342
+ UpdateCommandRequest.struct_class = Types::UpdateCommandRequest
5343
+
5344
+ UpdateCommandResponse.add_member(:command_id, Shapes::ShapeRef.new(shape: CommandId, location_name: "commandId"))
5345
+ UpdateCommandResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
5346
+ UpdateCommandResponse.add_member(:description, Shapes::ShapeRef.new(shape: CommandDescription, location_name: "description"))
5347
+ UpdateCommandResponse.add_member(:deprecated, Shapes::ShapeRef.new(shape: DeprecationFlag, location_name: "deprecated"))
5348
+ UpdateCommandResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
5349
+ UpdateCommandResponse.struct_class = Types::UpdateCommandResponse
5350
+
5129
5351
  UpdateCustomMetricRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location: "uri", location_name: "metricName"))
5130
5352
  UpdateCustomMetricRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: CustomMetricDisplayName, required: true, location_name: "displayName"))
5131
5353
  UpdateCustomMetricRequest.struct_class = Types::UpdateCustomMetricRequest
@@ -5741,6 +5963,19 @@ module Aws::IoT
5741
5963
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
5742
5964
  end)
5743
5965
 
5966
+ api.add_operation(:create_command, Seahorse::Model::Operation.new.tap do |o|
5967
+ o.name = "CreateCommand"
5968
+ o.http_method = "PUT"
5969
+ o.http_request_uri = "/commands/{commandId}"
5970
+ o.input = Shapes::ShapeRef.new(shape: CreateCommandRequest)
5971
+ o.output = Shapes::ShapeRef.new(shape: CreateCommandResponse)
5972
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5973
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
5974
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
5975
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5976
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
5977
+ end)
5978
+
5744
5979
  api.add_operation(:create_custom_metric, Seahorse::Model::Operation.new.tap do |o|
5745
5980
  o.name = "CreateCustomMetric"
5746
5981
  o.http_method = "POST"
@@ -6207,6 +6442,30 @@ module Aws::IoT
6207
6442
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6208
6443
  end)
6209
6444
 
6445
+ api.add_operation(:delete_command, Seahorse::Model::Operation.new.tap do |o|
6446
+ o.name = "DeleteCommand"
6447
+ o.http_method = "DELETE"
6448
+ o.http_request_uri = "/commands/{commandId}"
6449
+ o.input = Shapes::ShapeRef.new(shape: DeleteCommandRequest)
6450
+ o.output = Shapes::ShapeRef.new(shape: DeleteCommandResponse)
6451
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6452
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
6453
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6454
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6455
+ end)
6456
+
6457
+ api.add_operation(:delete_command_execution, Seahorse::Model::Operation.new.tap do |o|
6458
+ o.name = "DeleteCommandExecution"
6459
+ o.http_method = "DELETE"
6460
+ o.http_request_uri = "/command-executions/{executionId}"
6461
+ o.input = Shapes::ShapeRef.new(shape: DeleteCommandExecutionRequest)
6462
+ o.output = Shapes::ShapeRef.new(shape: DeleteCommandExecutionResponse)
6463
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
6464
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
6465
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6466
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
6467
+ end)
6468
+
6210
6469
  api.add_operation(:delete_custom_metric, Seahorse::Model::Operation.new.tap do |o|
6211
6470
  o.name = "DeleteCustomMetric"
6212
6471
  o.http_method = "DELETE"
@@ -7152,6 +7411,30 @@ module Aws::IoT
7152
7411
  o.errors << Shapes::ShapeRef.new(shape: IndexNotReadyException)
7153
7412
  end)
7154
7413
 
7414
+ api.add_operation(:get_command, Seahorse::Model::Operation.new.tap do |o|
7415
+ o.name = "GetCommand"
7416
+ o.http_method = "GET"
7417
+ o.http_request_uri = "/commands/{commandId}"
7418
+ o.input = Shapes::ShapeRef.new(shape: GetCommandRequest)
7419
+ o.output = Shapes::ShapeRef.new(shape: GetCommandResponse)
7420
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7421
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7422
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7423
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7424
+ end)
7425
+
7426
+ api.add_operation(:get_command_execution, Seahorse::Model::Operation.new.tap do |o|
7427
+ o.name = "GetCommandExecution"
7428
+ o.http_method = "GET"
7429
+ o.http_request_uri = "/command-executions/{executionId}"
7430
+ o.input = Shapes::ShapeRef.new(shape: GetCommandExecutionRequest)
7431
+ o.output = Shapes::ShapeRef.new(shape: GetCommandExecutionResponse)
7432
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7433
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7434
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7435
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7436
+ end)
7437
+
7155
7438
  api.add_operation(:get_effective_policies, Seahorse::Model::Operation.new.tap do |o|
7156
7439
  o.name = "GetEffectivePolicies"
7157
7440
  o.http_method = "POST"
@@ -7592,6 +7875,41 @@ module Aws::IoT
7592
7875
  )
7593
7876
  end)
7594
7877
 
7878
+ api.add_operation(:list_command_executions, Seahorse::Model::Operation.new.tap do |o|
7879
+ o.name = "ListCommandExecutions"
7880
+ o.http_method = "POST"
7881
+ o.http_request_uri = "/command-executions"
7882
+ o.input = Shapes::ShapeRef.new(shape: ListCommandExecutionsRequest)
7883
+ o.output = Shapes::ShapeRef.new(shape: ListCommandExecutionsResponse)
7884
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7885
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7886
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7887
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7888
+ o[:pager] = Aws::Pager.new(
7889
+ limit_key: "max_results",
7890
+ tokens: {
7891
+ "next_token" => "next_token"
7892
+ }
7893
+ )
7894
+ end)
7895
+
7896
+ api.add_operation(:list_commands, Seahorse::Model::Operation.new.tap do |o|
7897
+ o.name = "ListCommands"
7898
+ o.http_method = "GET"
7899
+ o.http_request_uri = "/commands"
7900
+ o.input = Shapes::ShapeRef.new(shape: ListCommandsRequest)
7901
+ o.output = Shapes::ShapeRef.new(shape: ListCommandsResponse)
7902
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
7903
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
7904
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
7905
+ o[:pager] = Aws::Pager.new(
7906
+ limit_key: "max_results",
7907
+ tokens: {
7908
+ "next_token" => "next_token"
7909
+ }
7910
+ )
7911
+ end)
7912
+
7595
7913
  api.add_operation(:list_custom_metrics, Seahorse::Model::Operation.new.tap do |o|
7596
7914
  o.name = "ListCustomMetrics"
7597
7915
  o.http_method = "GET"
@@ -8942,6 +9260,19 @@ module Aws::IoT
8942
9260
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
8943
9261
  end)
8944
9262
 
9263
+ api.add_operation(:update_command, Seahorse::Model::Operation.new.tap do |o|
9264
+ o.name = "UpdateCommand"
9265
+ o.http_method = "PATCH"
9266
+ o.http_request_uri = "/commands/{commandId}"
9267
+ o.input = Shapes::ShapeRef.new(shape: UpdateCommandRequest)
9268
+ o.output = Shapes::ShapeRef.new(shape: UpdateCommandResponse)
9269
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
9270
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
9271
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
9272
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
9273
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
9274
+ end)
9275
+
8945
9276
  api.add_operation(:update_custom_metric, Seahorse::Model::Operation.new.tap do |o|
8946
9277
  o.name = "UpdateCustomMetric"
8947
9278
  o.http_method = "PATCH"