aws-sdk-iot 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,7 @@ module Aws::IoT
17
17
  ActionType = Shapes::StringShape.new(name: 'ActionType')
18
18
  AddThingToThingGroupRequest = Shapes::StructureShape.new(name: 'AddThingToThingGroupRequest')
19
19
  AddThingToThingGroupResponse = Shapes::StructureShape.new(name: 'AddThingToThingGroupResponse')
20
+ AdditionalParameterMap = Shapes::MapShape.new(name: 'AdditionalParameterMap')
20
21
  AlarmName = Shapes::StringShape.new(name: 'AlarmName')
21
22
  AllowAutoRegistration = Shapes::BooleanShape.new(name: 'AllowAutoRegistration')
22
23
  Allowed = Shapes::StructureShape.new(name: 'Allowed')
@@ -31,6 +32,7 @@ module Aws::IoT
31
32
  AttributePayload = Shapes::StructureShape.new(name: 'AttributePayload')
32
33
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
33
34
  Attributes = Shapes::MapShape.new(name: 'Attributes')
35
+ AttributesMap = Shapes::MapShape.new(name: 'AttributesMap')
34
36
  AuthDecision = Shapes::StringShape.new(name: 'AuthDecision')
35
37
  AuthInfo = Shapes::StructureShape.new(name: 'AuthInfo')
36
38
  AuthInfos = Shapes::ListShape.new(name: 'AuthInfos')
@@ -46,6 +48,8 @@ module Aws::IoT
46
48
  AutoRegistrationStatus = Shapes::StringShape.new(name: 'AutoRegistrationStatus')
47
49
  AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
48
50
  AwsArn = Shapes::StringShape.new(name: 'AwsArn')
51
+ AwsIotJobArn = Shapes::StringShape.new(name: 'AwsIotJobArn')
52
+ AwsIotJobId = Shapes::StringShape.new(name: 'AwsIotJobId')
49
53
  AwsIotSqlVersion = Shapes::StringShape.new(name: 'AwsIotSqlVersion')
50
54
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
51
55
  BucketName = Shapes::StringShape.new(name: 'BucketName')
@@ -63,6 +67,7 @@ module Aws::IoT
63
67
  CertificateConflictException = Shapes::StructureShape.new(name: 'CertificateConflictException')
64
68
  CertificateDescription = Shapes::StructureShape.new(name: 'CertificateDescription')
65
69
  CertificateId = Shapes::StringShape.new(name: 'CertificateId')
70
+ CertificateName = Shapes::StringShape.new(name: 'CertificateName')
66
71
  CertificatePem = Shapes::StringShape.new(name: 'CertificatePem')
67
72
  CertificateSigningRequest = Shapes::StringShape.new(name: 'CertificateSigningRequest')
68
73
  CertificateStateException = Shapes::StructureShape.new(name: 'CertificateStateException')
@@ -74,6 +79,10 @@ module Aws::IoT
74
79
  ClientId = Shapes::StringShape.new(name: 'ClientId')
75
80
  CloudwatchAlarmAction = Shapes::StructureShape.new(name: 'CloudwatchAlarmAction')
76
81
  CloudwatchMetricAction = Shapes::StructureShape.new(name: 'CloudwatchMetricAction')
82
+ Code = Shapes::StringShape.new(name: 'Code')
83
+ CodeSigning = Shapes::StructureShape.new(name: 'CodeSigning')
84
+ CodeSigningCertificateChain = Shapes::StructureShape.new(name: 'CodeSigningCertificateChain')
85
+ CodeSigningSignature = Shapes::StructureShape.new(name: 'CodeSigningSignature')
77
86
  CognitoIdentityPoolId = Shapes::StringShape.new(name: 'CognitoIdentityPoolId')
78
87
  Comment = Shapes::StringShape.new(name: 'Comment')
79
88
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
@@ -87,12 +96,16 @@ module Aws::IoT
87
96
  CreateJobResponse = Shapes::StructureShape.new(name: 'CreateJobResponse')
88
97
  CreateKeysAndCertificateRequest = Shapes::StructureShape.new(name: 'CreateKeysAndCertificateRequest')
89
98
  CreateKeysAndCertificateResponse = Shapes::StructureShape.new(name: 'CreateKeysAndCertificateResponse')
99
+ CreateOTAUpdateRequest = Shapes::StructureShape.new(name: 'CreateOTAUpdateRequest')
100
+ CreateOTAUpdateResponse = Shapes::StructureShape.new(name: 'CreateOTAUpdateResponse')
90
101
  CreatePolicyRequest = Shapes::StructureShape.new(name: 'CreatePolicyRequest')
91
102
  CreatePolicyResponse = Shapes::StructureShape.new(name: 'CreatePolicyResponse')
92
103
  CreatePolicyVersionRequest = Shapes::StructureShape.new(name: 'CreatePolicyVersionRequest')
93
104
  CreatePolicyVersionResponse = Shapes::StructureShape.new(name: 'CreatePolicyVersionResponse')
94
105
  CreateRoleAliasRequest = Shapes::StructureShape.new(name: 'CreateRoleAliasRequest')
95
106
  CreateRoleAliasResponse = Shapes::StructureShape.new(name: 'CreateRoleAliasResponse')
107
+ CreateStreamRequest = Shapes::StructureShape.new(name: 'CreateStreamRequest')
108
+ CreateStreamResponse = Shapes::StructureShape.new(name: 'CreateStreamResponse')
96
109
  CreateThingGroupRequest = Shapes::StructureShape.new(name: 'CreateThingGroupRequest')
97
110
  CreateThingGroupResponse = Shapes::StructureShape.new(name: 'CreateThingGroupResponse')
98
111
  CreateThingRequest = Shapes::StructureShape.new(name: 'CreateThingRequest')
@@ -103,6 +116,7 @@ module Aws::IoT
103
116
  CreatedAtDate = Shapes::TimestampShape.new(name: 'CreatedAtDate')
104
117
  CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
105
118
  CredentialDurationSeconds = Shapes::IntegerShape.new(name: 'CredentialDurationSeconds')
119
+ CustomCodeSigning = Shapes::StructureShape.new(name: 'CustomCodeSigning')
106
120
  DateType = Shapes::TimestampShape.new(name: 'DateType')
107
121
  DeleteAuthorizerRequest = Shapes::StructureShape.new(name: 'DeleteAuthorizerRequest')
108
122
  DeleteAuthorizerResponse = Shapes::StructureShape.new(name: 'DeleteAuthorizerResponse')
@@ -110,12 +124,16 @@ module Aws::IoT
110
124
  DeleteCACertificateResponse = Shapes::StructureShape.new(name: 'DeleteCACertificateResponse')
111
125
  DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
112
126
  DeleteConflictException = Shapes::StructureShape.new(name: 'DeleteConflictException')
127
+ DeleteOTAUpdateRequest = Shapes::StructureShape.new(name: 'DeleteOTAUpdateRequest')
128
+ DeleteOTAUpdateResponse = Shapes::StructureShape.new(name: 'DeleteOTAUpdateResponse')
113
129
  DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
114
130
  DeletePolicyVersionRequest = Shapes::StructureShape.new(name: 'DeletePolicyVersionRequest')
115
131
  DeleteRegistrationCodeRequest = Shapes::StructureShape.new(name: 'DeleteRegistrationCodeRequest')
116
132
  DeleteRegistrationCodeResponse = Shapes::StructureShape.new(name: 'DeleteRegistrationCodeResponse')
117
133
  DeleteRoleAliasRequest = Shapes::StructureShape.new(name: 'DeleteRoleAliasRequest')
118
134
  DeleteRoleAliasResponse = Shapes::StructureShape.new(name: 'DeleteRoleAliasResponse')
135
+ DeleteStreamRequest = Shapes::StructureShape.new(name: 'DeleteStreamRequest')
136
+ DeleteStreamResponse = Shapes::StructureShape.new(name: 'DeleteStreamResponse')
119
137
  DeleteThingGroupRequest = Shapes::StructureShape.new(name: 'DeleteThingGroupRequest')
120
138
  DeleteThingGroupResponse = Shapes::StructureShape.new(name: 'DeleteThingGroupResponse')
121
139
  DeleteThingRequest = Shapes::StructureShape.new(name: 'DeleteThingRequest')
@@ -149,6 +167,8 @@ module Aws::IoT
149
167
  DescribeJobResponse = Shapes::StructureShape.new(name: 'DescribeJobResponse')
150
168
  DescribeRoleAliasRequest = Shapes::StructureShape.new(name: 'DescribeRoleAliasRequest')
151
169
  DescribeRoleAliasResponse = Shapes::StructureShape.new(name: 'DescribeRoleAliasResponse')
170
+ DescribeStreamRequest = Shapes::StructureShape.new(name: 'DescribeStreamRequest')
171
+ DescribeStreamResponse = Shapes::StructureShape.new(name: 'DescribeStreamResponse')
152
172
  DescribeThingGroupRequest = Shapes::StructureShape.new(name: 'DescribeThingGroupRequest')
153
173
  DescribeThingGroupResponse = Shapes::StructureShape.new(name: 'DescribeThingGroupResponse')
154
174
  DescribeThingRegistrationTaskRequest = Shapes::StructureShape.new(name: 'DescribeThingRegistrationTaskRequest')
@@ -182,6 +202,7 @@ module Aws::IoT
182
202
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
183
203
  EndpointAddress = Shapes::StringShape.new(name: 'EndpointAddress')
184
204
  EndpointType = Shapes::StringShape.new(name: 'EndpointType')
205
+ ErrorInfo = Shapes::StructureShape.new(name: 'ErrorInfo')
185
206
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
186
207
  EventConfigurations = Shapes::MapShape.new(name: 'EventConfigurations')
187
208
  EventType = Shapes::StringShape.new(name: 'EventType')
@@ -189,6 +210,8 @@ module Aws::IoT
189
210
  ExpiresInSec = Shapes::IntegerShape.new(name: 'ExpiresInSec')
190
211
  ExplicitDeny = Shapes::StructureShape.new(name: 'ExplicitDeny')
191
212
  FailedThings = Shapes::IntegerShape.new(name: 'FailedThings')
213
+ FileId = Shapes::IntegerShape.new(name: 'FileId')
214
+ FileName = Shapes::StringShape.new(name: 'FileName')
192
215
  FirehoseAction = Shapes::StructureShape.new(name: 'FirehoseAction')
193
216
  FirehoseSeparator = Shapes::StringShape.new(name: 'FirehoseSeparator')
194
217
  Flag = Shapes::BooleanShape.new(name: 'Flag')
@@ -203,6 +226,8 @@ module Aws::IoT
203
226
  GetJobDocumentResponse = Shapes::StructureShape.new(name: 'GetJobDocumentResponse')
204
227
  GetLoggingOptionsRequest = Shapes::StructureShape.new(name: 'GetLoggingOptionsRequest')
205
228
  GetLoggingOptionsResponse = Shapes::StructureShape.new(name: 'GetLoggingOptionsResponse')
229
+ GetOTAUpdateRequest = Shapes::StructureShape.new(name: 'GetOTAUpdateRequest')
230
+ GetOTAUpdateResponse = Shapes::StructureShape.new(name: 'GetOTAUpdateResponse')
206
231
  GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
207
232
  GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
208
233
  GetPolicyVersionRequest = Shapes::StructureShape.new(name: 'GetPolicyVersionRequest')
@@ -214,6 +239,7 @@ module Aws::IoT
214
239
  GetV2LoggingOptionsRequest = Shapes::StructureShape.new(name: 'GetV2LoggingOptionsRequest')
215
240
  GetV2LoggingOptionsResponse = Shapes::StructureShape.new(name: 'GetV2LoggingOptionsResponse')
216
241
  GroupNameAndArn = Shapes::StructureShape.new(name: 'GroupNameAndArn')
242
+ HashAlgorithm = Shapes::StringShape.new(name: 'HashAlgorithm')
217
243
  HashKeyField = Shapes::StringShape.new(name: 'HashKeyField')
218
244
  HashKeyValue = Shapes::StringShape.new(name: 'HashKeyValue')
219
245
  ImplicitDeny = Shapes::StructureShape.new(name: 'ImplicitDeny')
@@ -223,6 +249,7 @@ module Aws::IoT
223
249
  IndexNotReadyException = Shapes::StructureShape.new(name: 'IndexNotReadyException')
224
250
  IndexSchema = Shapes::StringShape.new(name: 'IndexSchema')
225
251
  IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
252
+ InlineDocument = Shapes::StringShape.new(name: 'InlineDocument')
226
253
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
227
254
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
228
255
  InvalidQueryException = Shapes::StructureShape.new(name: 'InvalidQueryException')
@@ -280,6 +307,8 @@ module Aws::IoT
280
307
  ListJobExecutionsForThingResponse = Shapes::StructureShape.new(name: 'ListJobExecutionsForThingResponse')
281
308
  ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
282
309
  ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
310
+ ListOTAUpdatesRequest = Shapes::StructureShape.new(name: 'ListOTAUpdatesRequest')
311
+ ListOTAUpdatesResponse = Shapes::StructureShape.new(name: 'ListOTAUpdatesResponse')
283
312
  ListOutgoingCertificatesRequest = Shapes::StructureShape.new(name: 'ListOutgoingCertificatesRequest')
284
313
  ListOutgoingCertificatesResponse = Shapes::StructureShape.new(name: 'ListOutgoingCertificatesResponse')
285
314
  ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
@@ -294,6 +323,8 @@ module Aws::IoT
294
323
  ListPrincipalThingsResponse = Shapes::StructureShape.new(name: 'ListPrincipalThingsResponse')
295
324
  ListRoleAliasesRequest = Shapes::StructureShape.new(name: 'ListRoleAliasesRequest')
296
325
  ListRoleAliasesResponse = Shapes::StructureShape.new(name: 'ListRoleAliasesResponse')
326
+ ListStreamsRequest = Shapes::StructureShape.new(name: 'ListStreamsRequest')
327
+ ListStreamsResponse = Shapes::StructureShape.new(name: 'ListStreamsResponse')
297
328
  ListTargetsForPolicyRequest = Shapes::StructureShape.new(name: 'ListTargetsForPolicyRequest')
298
329
  ListTargetsForPolicyResponse = Shapes::StructureShape.new(name: 'ListTargetsForPolicyResponse')
299
330
  ListThingGroupsForThingRequest = Shapes::StructureShape.new(name: 'ListThingGroupsForThingRequest')
@@ -326,6 +357,7 @@ module Aws::IoT
326
357
  MalformedPolicyException = Shapes::StructureShape.new(name: 'MalformedPolicyException')
327
358
  Marker = Shapes::StringShape.new(name: 'Marker')
328
359
  MaxJobExecutionsPerMin = Shapes::IntegerShape.new(name: 'MaxJobExecutionsPerMin')
360
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
329
361
  Message = Shapes::StringShape.new(name: 'Message')
330
362
  MessageFormat = Shapes::StringShape.new(name: 'MessageFormat')
331
363
  MetricName = Shapes::StringShape.new(name: 'MetricName')
@@ -337,6 +369,17 @@ module Aws::IoT
337
369
  MissingContextValues = Shapes::ListShape.new(name: 'MissingContextValues')
338
370
  NextToken = Shapes::StringShape.new(name: 'NextToken')
339
371
  NotConfiguredException = Shapes::StructureShape.new(name: 'NotConfiguredException')
372
+ OTAUpdateArn = Shapes::StringShape.new(name: 'OTAUpdateArn')
373
+ OTAUpdateDescription = Shapes::StringShape.new(name: 'OTAUpdateDescription')
374
+ OTAUpdateErrorMessage = Shapes::StringShape.new(name: 'OTAUpdateErrorMessage')
375
+ OTAUpdateFile = Shapes::StructureShape.new(name: 'OTAUpdateFile')
376
+ OTAUpdateFileVersion = Shapes::StringShape.new(name: 'OTAUpdateFileVersion')
377
+ OTAUpdateFiles = Shapes::ListShape.new(name: 'OTAUpdateFiles')
378
+ OTAUpdateId = Shapes::StringShape.new(name: 'OTAUpdateId')
379
+ OTAUpdateInfo = Shapes::StructureShape.new(name: 'OTAUpdateInfo')
380
+ OTAUpdateStatus = Shapes::StringShape.new(name: 'OTAUpdateStatus')
381
+ OTAUpdateSummary = Shapes::StructureShape.new(name: 'OTAUpdateSummary')
382
+ OTAUpdatesSummary = Shapes::ListShape.new(name: 'OTAUpdatesSummary')
340
383
  OptionalVersion = Shapes::IntegerShape.new(name: 'OptionalVersion')
341
384
  OutgoingCertificate = Shapes::StructureShape.new(name: 'OutgoingCertificate')
342
385
  OutgoingCertificates = Shapes::ListShape.new(name: 'OutgoingCertificates')
@@ -418,8 +461,12 @@ module Aws::IoT
418
461
  RuleArn = Shapes::StringShape.new(name: 'RuleArn')
419
462
  RuleName = Shapes::StringShape.new(name: 'RuleName')
420
463
  S3Action = Shapes::StructureShape.new(name: 'S3Action')
464
+ S3Bucket = Shapes::StringShape.new(name: 'S3Bucket')
421
465
  S3FileUrl = Shapes::StringShape.new(name: 'S3FileUrl')
422
466
  S3FileUrlList = Shapes::ListShape.new(name: 'S3FileUrlList')
467
+ S3Key = Shapes::StringShape.new(name: 'S3Key')
468
+ S3Location = Shapes::StructureShape.new(name: 'S3Location')
469
+ S3Version = Shapes::StringShape.new(name: 'S3Version')
423
470
  SQL = Shapes::StringShape.new(name: 'SQL')
424
471
  SalesforceAction = Shapes::StructureShape.new(name: 'SalesforceAction')
425
472
  SalesforceEndpoint = Shapes::StringShape.new(name: 'SalesforceEndpoint')
@@ -438,6 +485,9 @@ module Aws::IoT
438
485
  SetLoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetLoggingOptionsRequest')
439
486
  SetV2LoggingLevelRequest = Shapes::StructureShape.new(name: 'SetV2LoggingLevelRequest')
440
487
  SetV2LoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetV2LoggingOptionsRequest')
488
+ Signature = Shapes::BlobShape.new(name: 'Signature')
489
+ SignatureAlgorithm = Shapes::StringShape.new(name: 'SignatureAlgorithm')
490
+ SigningJobId = Shapes::StringShape.new(name: 'SigningJobId')
441
491
  SkyfallMaxResults = Shapes::IntegerShape.new(name: 'SkyfallMaxResults')
442
492
  SnsAction = Shapes::StructureShape.new(name: 'SnsAction')
443
493
  SqlParseException = Shapes::StructureShape.new(name: 'SqlParseException')
@@ -449,11 +499,23 @@ module Aws::IoT
449
499
  Status = Shapes::StringShape.new(name: 'Status')
450
500
  StopThingRegistrationTaskRequest = Shapes::StructureShape.new(name: 'StopThingRegistrationTaskRequest')
451
501
  StopThingRegistrationTaskResponse = Shapes::StructureShape.new(name: 'StopThingRegistrationTaskResponse')
502
+ Stream = Shapes::StructureShape.new(name: 'Stream')
503
+ StreamArn = Shapes::StringShape.new(name: 'StreamArn')
504
+ StreamDescription = Shapes::StringShape.new(name: 'StreamDescription')
505
+ StreamFile = Shapes::StructureShape.new(name: 'StreamFile')
506
+ StreamFiles = Shapes::ListShape.new(name: 'StreamFiles')
507
+ StreamId = Shapes::StringShape.new(name: 'StreamId')
508
+ StreamInfo = Shapes::StructureShape.new(name: 'StreamInfo')
452
509
  StreamName = Shapes::StringShape.new(name: 'StreamName')
510
+ StreamSummary = Shapes::StructureShape.new(name: 'StreamSummary')
511
+ StreamVersion = Shapes::IntegerShape.new(name: 'StreamVersion')
512
+ StreamsSummary = Shapes::ListShape.new(name: 'StreamsSummary')
453
513
  SucceededThings = Shapes::IntegerShape.new(name: 'SucceededThings')
454
514
  TableName = Shapes::StringShape.new(name: 'TableName')
515
+ Target = Shapes::StringShape.new(name: 'Target')
455
516
  TargetArn = Shapes::StringShape.new(name: 'TargetArn')
456
517
  TargetSelection = Shapes::StringShape.new(name: 'TargetSelection')
518
+ Targets = Shapes::ListShape.new(name: 'Targets')
457
519
  TaskId = Shapes::StringShape.new(name: 'TaskId')
458
520
  TaskIdList = Shapes::ListShape.new(name: 'TaskIdList')
459
521
  TemplateBody = Shapes::StringShape.new(name: 'TemplateBody')
@@ -515,6 +577,8 @@ module Aws::IoT
515
577
  UpdateIndexingConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateIndexingConfigurationResponse')
516
578
  UpdateRoleAliasRequest = Shapes::StructureShape.new(name: 'UpdateRoleAliasRequest')
517
579
  UpdateRoleAliasResponse = Shapes::StructureShape.new(name: 'UpdateRoleAliasResponse')
580
+ UpdateStreamRequest = Shapes::StructureShape.new(name: 'UpdateStreamRequest')
581
+ UpdateStreamResponse = Shapes::StructureShape.new(name: 'UpdateStreamResponse')
518
582
  UpdateThingGroupRequest = Shapes::StructureShape.new(name: 'UpdateThingGroupRequest')
519
583
  UpdateThingGroupResponse = Shapes::StructureShape.new(name: 'UpdateThingGroupResponse')
520
584
  UpdateThingGroupsForThingRequest = Shapes::StructureShape.new(name: 'UpdateThingGroupsForThingRequest')
@@ -559,6 +623,9 @@ module Aws::IoT
559
623
 
560
624
  AddThingToThingGroupResponse.struct_class = Types::AddThingToThingGroupResponse
561
625
 
626
+ AdditionalParameterMap.key = Shapes::ShapeRef.new(shape: Key)
627
+ AdditionalParameterMap.value = Shapes::ShapeRef.new(shape: Value)
628
+
562
629
  Allowed.add_member(:policies, Shapes::ShapeRef.new(shape: Policies, location_name: "policies"))
563
630
  Allowed.struct_class = Types::Allowed
564
631
 
@@ -593,6 +660,9 @@ module Aws::IoT
593
660
  Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
594
661
  Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
595
662
 
663
+ AttributesMap.key = Shapes::ShapeRef.new(shape: Key)
664
+ AttributesMap.value = Shapes::ShapeRef.new(shape: Value)
665
+
596
666
  AuthInfo.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, location_name: "actionType"))
597
667
  AuthInfo.add_member(:resources, Shapes::ShapeRef.new(shape: Resources, location_name: "resources"))
598
668
  AuthInfo.struct_class = Types::AuthInfo
@@ -691,6 +761,19 @@ module Aws::IoT
691
761
  CloudwatchMetricAction.add_member(:metric_timestamp, Shapes::ShapeRef.new(shape: MetricTimestamp, location_name: "metricTimestamp"))
692
762
  CloudwatchMetricAction.struct_class = Types::CloudwatchMetricAction
693
763
 
764
+ CodeSigning.add_member(:aws_signer_job_id, Shapes::ShapeRef.new(shape: SigningJobId, location_name: "awsSignerJobId"))
765
+ CodeSigning.add_member(:custom_code_signing, Shapes::ShapeRef.new(shape: CustomCodeSigning, location_name: "customCodeSigning"))
766
+ CodeSigning.struct_class = Types::CodeSigning
767
+
768
+ CodeSigningCertificateChain.add_member(:stream, Shapes::ShapeRef.new(shape: Stream, location_name: "stream"))
769
+ CodeSigningCertificateChain.add_member(:certificate_name, Shapes::ShapeRef.new(shape: CertificateName, location_name: "certificateName"))
770
+ CodeSigningCertificateChain.add_member(:inline_document, Shapes::ShapeRef.new(shape: InlineDocument, location_name: "inlineDocument"))
771
+ CodeSigningCertificateChain.struct_class = Types::CodeSigningCertificateChain
772
+
773
+ CodeSigningSignature.add_member(:stream, Shapes::ShapeRef.new(shape: Stream, location_name: "stream"))
774
+ CodeSigningSignature.add_member(:inline_document, Shapes::ShapeRef.new(shape: Signature, location_name: "inlineDocument"))
775
+ CodeSigningSignature.struct_class = Types::CodeSigningSignature
776
+
694
777
  Configuration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
695
778
  Configuration.struct_class = Types::Configuration
696
779
 
@@ -739,6 +822,22 @@ module Aws::IoT
739
822
  CreateKeysAndCertificateResponse.add_member(:key_pair, Shapes::ShapeRef.new(shape: KeyPair, location_name: "keyPair"))
740
823
  CreateKeysAndCertificateResponse.struct_class = Types::CreateKeysAndCertificateResponse
741
824
 
825
+ CreateOTAUpdateRequest.add_member(:ota_update_id, Shapes::ShapeRef.new(shape: OTAUpdateId, required: true, location: "uri", location_name: "otaUpdateId"))
826
+ CreateOTAUpdateRequest.add_member(:description, Shapes::ShapeRef.new(shape: OTAUpdateDescription, location_name: "description"))
827
+ CreateOTAUpdateRequest.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, required: true, location_name: "targets"))
828
+ CreateOTAUpdateRequest.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
829
+ CreateOTAUpdateRequest.add_member(:files, Shapes::ShapeRef.new(shape: OTAUpdateFiles, required: true, location_name: "files"))
830
+ CreateOTAUpdateRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
831
+ CreateOTAUpdateRequest.add_member(:additional_parameters, Shapes::ShapeRef.new(shape: AdditionalParameterMap, location_name: "additionalParameters"))
832
+ CreateOTAUpdateRequest.struct_class = Types::CreateOTAUpdateRequest
833
+
834
+ CreateOTAUpdateResponse.add_member(:ota_update_id, Shapes::ShapeRef.new(shape: OTAUpdateId, location_name: "otaUpdateId"))
835
+ CreateOTAUpdateResponse.add_member(:aws_iot_job_id, Shapes::ShapeRef.new(shape: AwsIotJobId, location_name: "awsIotJobId"))
836
+ CreateOTAUpdateResponse.add_member(:ota_update_arn, Shapes::ShapeRef.new(shape: OTAUpdateArn, location_name: "otaUpdateArn"))
837
+ CreateOTAUpdateResponse.add_member(:aws_iot_job_arn, Shapes::ShapeRef.new(shape: AwsIotJobArn, location_name: "awsIotJobArn"))
838
+ CreateOTAUpdateResponse.add_member(:ota_update_status, Shapes::ShapeRef.new(shape: OTAUpdateStatus, location_name: "otaUpdateStatus"))
839
+ CreateOTAUpdateResponse.struct_class = Types::CreateOTAUpdateResponse
840
+
742
841
  CreatePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
743
842
  CreatePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
744
843
  CreatePolicyRequest.struct_class = Types::CreatePolicyRequest
@@ -769,6 +868,18 @@ module Aws::IoT
769
868
  CreateRoleAliasResponse.add_member(:role_alias_arn, Shapes::ShapeRef.new(shape: RoleAliasArn, location_name: "roleAliasArn"))
770
869
  CreateRoleAliasResponse.struct_class = Types::CreateRoleAliasResponse
771
870
 
871
+ CreateStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
872
+ CreateStreamRequest.add_member(:description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "description"))
873
+ CreateStreamRequest.add_member(:files, Shapes::ShapeRef.new(shape: StreamFiles, required: true, location_name: "files"))
874
+ CreateStreamRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
875
+ CreateStreamRequest.struct_class = Types::CreateStreamRequest
876
+
877
+ CreateStreamResponse.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
878
+ CreateStreamResponse.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "streamArn"))
879
+ CreateStreamResponse.add_member(:description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "description"))
880
+ CreateStreamResponse.add_member(:stream_version, Shapes::ShapeRef.new(shape: StreamVersion, location_name: "streamVersion"))
881
+ CreateStreamResponse.struct_class = Types::CreateStreamResponse
882
+
772
883
  CreateThingGroupRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, required: true, location: "uri", location_name: "thingGroupName"))
773
884
  CreateThingGroupRequest.add_member(:parent_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, location_name: "parentGroupName"))
774
885
  CreateThingGroupRequest.add_member(:thing_group_properties, Shapes::ShapeRef.new(shape: ThingGroupProperties, location_name: "thingGroupProperties"))
@@ -804,6 +915,12 @@ module Aws::IoT
804
915
  CreateTopicRuleRequest[:payload] = :topic_rule_payload
805
916
  CreateTopicRuleRequest[:payload_member] = CreateTopicRuleRequest.member(:topic_rule_payload)
806
917
 
918
+ CustomCodeSigning.add_member(:signature, Shapes::ShapeRef.new(shape: CodeSigningSignature, location_name: "signature"))
919
+ CustomCodeSigning.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: CodeSigningCertificateChain, location_name: "certificateChain"))
920
+ CustomCodeSigning.add_member(:hash_algorithm, Shapes::ShapeRef.new(shape: HashAlgorithm, location_name: "hashAlgorithm"))
921
+ CustomCodeSigning.add_member(:signature_algorithm, Shapes::ShapeRef.new(shape: SignatureAlgorithm, location_name: "signatureAlgorithm"))
922
+ CustomCodeSigning.struct_class = Types::CustomCodeSigning
923
+
807
924
  DeleteAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
808
925
  DeleteAuthorizerRequest.struct_class = Types::DeleteAuthorizerRequest
809
926
 
@@ -818,6 +935,11 @@ module Aws::IoT
818
935
  DeleteCertificateRequest.add_member(:force_delete, Shapes::ShapeRef.new(shape: ForceDelete, location: "querystring", location_name: "forceDelete"))
819
936
  DeleteCertificateRequest.struct_class = Types::DeleteCertificateRequest
820
937
 
938
+ DeleteOTAUpdateRequest.add_member(:ota_update_id, Shapes::ShapeRef.new(shape: OTAUpdateId, required: true, location: "uri", location_name: "otaUpdateId"))
939
+ DeleteOTAUpdateRequest.struct_class = Types::DeleteOTAUpdateRequest
940
+
941
+ DeleteOTAUpdateResponse.struct_class = Types::DeleteOTAUpdateResponse
942
+
821
943
  DeletePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
822
944
  DeletePolicyRequest.struct_class = Types::DeletePolicyRequest
823
945
 
@@ -834,6 +956,11 @@ module Aws::IoT
834
956
 
835
957
  DeleteRoleAliasResponse.struct_class = Types::DeleteRoleAliasResponse
836
958
 
959
+ DeleteStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
960
+ DeleteStreamRequest.struct_class = Types::DeleteStreamRequest
961
+
962
+ DeleteStreamResponse.struct_class = Types::DeleteStreamResponse
963
+
837
964
  DeleteThingGroupRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, required: true, location: "uri", location_name: "thingGroupName"))
838
965
  DeleteThingGroupRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
839
966
  DeleteThingGroupRequest.struct_class = Types::DeleteThingGroupRequest
@@ -934,6 +1061,12 @@ module Aws::IoT
934
1061
  DescribeRoleAliasResponse.add_member(:role_alias_description, Shapes::ShapeRef.new(shape: RoleAliasDescription, location_name: "roleAliasDescription"))
935
1062
  DescribeRoleAliasResponse.struct_class = Types::DescribeRoleAliasResponse
936
1063
 
1064
+ DescribeStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
1065
+ DescribeStreamRequest.struct_class = Types::DescribeStreamRequest
1066
+
1067
+ DescribeStreamResponse.add_member(:stream_info, Shapes::ShapeRef.new(shape: StreamInfo, location_name: "streamInfo"))
1068
+ DescribeStreamResponse.struct_class = Types::DescribeStreamResponse
1069
+
937
1070
  DescribeThingGroupRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, required: true, location: "uri", location_name: "thingGroupName"))
938
1071
  DescribeThingGroupRequest.struct_class = Types::DescribeThingGroupRequest
939
1072
 
@@ -1037,6 +1170,10 @@ module Aws::IoT
1037
1170
  EnableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
1038
1171
  EnableTopicRuleRequest.struct_class = Types::EnableTopicRuleRequest
1039
1172
 
1173
+ ErrorInfo.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "code"))
1174
+ ErrorInfo.add_member(:message, Shapes::ShapeRef.new(shape: OTAUpdateErrorMessage, location_name: "message"))
1175
+ ErrorInfo.struct_class = Types::ErrorInfo
1176
+
1040
1177
  EventConfigurations.key = Shapes::ShapeRef.new(shape: EventType)
1041
1178
  EventConfigurations.value = Shapes::ShapeRef.new(shape: Configuration)
1042
1179
 
@@ -1073,6 +1210,12 @@ module Aws::IoT
1073
1210
  GetLoggingOptionsResponse.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "logLevel"))
1074
1211
  GetLoggingOptionsResponse.struct_class = Types::GetLoggingOptionsResponse
1075
1212
 
1213
+ GetOTAUpdateRequest.add_member(:ota_update_id, Shapes::ShapeRef.new(shape: OTAUpdateId, required: true, location: "uri", location_name: "otaUpdateId"))
1214
+ GetOTAUpdateRequest.struct_class = Types::GetOTAUpdateRequest
1215
+
1216
+ GetOTAUpdateResponse.add_member(:ota_update_info, Shapes::ShapeRef.new(shape: OTAUpdateInfo, location_name: "otaUpdateInfo"))
1217
+ GetOTAUpdateResponse.struct_class = Types::GetOTAUpdateResponse
1218
+
1076
1219
  GetPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
1077
1220
  GetPolicyRequest.struct_class = Types::GetPolicyRequest
1078
1221
 
@@ -1299,6 +1442,15 @@ module Aws::IoT
1299
1442
  ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1300
1443
  ListJobsResponse.struct_class = Types::ListJobsResponse
1301
1444
 
1445
+ ListOTAUpdatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1446
+ ListOTAUpdatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1447
+ ListOTAUpdatesRequest.add_member(:ota_update_status, Shapes::ShapeRef.new(shape: OTAUpdateStatus, location: "querystring", location_name: "otaUpdateStatus"))
1448
+ ListOTAUpdatesRequest.struct_class = Types::ListOTAUpdatesRequest
1449
+
1450
+ ListOTAUpdatesResponse.add_member(:ota_updates, Shapes::ShapeRef.new(shape: OTAUpdatesSummary, location_name: "otaUpdates"))
1451
+ ListOTAUpdatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1452
+ ListOTAUpdatesResponse.struct_class = Types::ListOTAUpdatesResponse
1453
+
1302
1454
  ListOutgoingCertificatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
1303
1455
  ListOutgoingCertificatesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
1304
1456
  ListOutgoingCertificatesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
@@ -1361,6 +1513,15 @@ module Aws::IoT
1361
1513
  ListRoleAliasesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
1362
1514
  ListRoleAliasesResponse.struct_class = Types::ListRoleAliasesResponse
1363
1515
 
1516
+ ListStreamsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1517
+ ListStreamsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1518
+ ListStreamsRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
1519
+ ListStreamsRequest.struct_class = Types::ListStreamsRequest
1520
+
1521
+ ListStreamsResponse.add_member(:streams, Shapes::ShapeRef.new(shape: StreamsSummary, location_name: "streams"))
1522
+ ListStreamsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1523
+ ListStreamsResponse.struct_class = Types::ListStreamsResponse
1524
+
1364
1525
  ListTargetsForPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
1365
1526
  ListTargetsForPolicyRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
1366
1527
  ListTargetsForPolicyRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
@@ -1481,6 +1642,37 @@ module Aws::IoT
1481
1642
 
1482
1643
  MissingContextValues.member = Shapes::ShapeRef.new(shape: MissingContextValue)
1483
1644
 
1645
+ OTAUpdateFile.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "fileName"))
1646
+ OTAUpdateFile.add_member(:file_version, Shapes::ShapeRef.new(shape: OTAUpdateFileVersion, location_name: "fileVersion"))
1647
+ OTAUpdateFile.add_member(:file_source, Shapes::ShapeRef.new(shape: Stream, location_name: "fileSource"))
1648
+ OTAUpdateFile.add_member(:code_signing, Shapes::ShapeRef.new(shape: CodeSigning, location_name: "codeSigning"))
1649
+ OTAUpdateFile.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributesMap, location_name: "attributes"))
1650
+ OTAUpdateFile.struct_class = Types::OTAUpdateFile
1651
+
1652
+ OTAUpdateFiles.member = Shapes::ShapeRef.new(shape: OTAUpdateFile)
1653
+
1654
+ OTAUpdateInfo.add_member(:ota_update_id, Shapes::ShapeRef.new(shape: OTAUpdateId, location_name: "otaUpdateId"))
1655
+ OTAUpdateInfo.add_member(:ota_update_arn, Shapes::ShapeRef.new(shape: OTAUpdateArn, location_name: "otaUpdateArn"))
1656
+ OTAUpdateInfo.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
1657
+ OTAUpdateInfo.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
1658
+ OTAUpdateInfo.add_member(:description, Shapes::ShapeRef.new(shape: OTAUpdateDescription, location_name: "description"))
1659
+ OTAUpdateInfo.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "targets"))
1660
+ OTAUpdateInfo.add_member(:target_selection, Shapes::ShapeRef.new(shape: TargetSelection, location_name: "targetSelection"))
1661
+ OTAUpdateInfo.add_member(:ota_update_files, Shapes::ShapeRef.new(shape: OTAUpdateFiles, location_name: "otaUpdateFiles"))
1662
+ OTAUpdateInfo.add_member(:ota_update_status, Shapes::ShapeRef.new(shape: OTAUpdateStatus, location_name: "otaUpdateStatus"))
1663
+ OTAUpdateInfo.add_member(:aws_iot_job_id, Shapes::ShapeRef.new(shape: AwsIotJobId, location_name: "awsIotJobId"))
1664
+ OTAUpdateInfo.add_member(:aws_iot_job_arn, Shapes::ShapeRef.new(shape: AwsIotJobArn, location_name: "awsIotJobArn"))
1665
+ OTAUpdateInfo.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfo, location_name: "errorInfo"))
1666
+ OTAUpdateInfo.add_member(:additional_parameters, Shapes::ShapeRef.new(shape: AdditionalParameterMap, location_name: "additionalParameters"))
1667
+ OTAUpdateInfo.struct_class = Types::OTAUpdateInfo
1668
+
1669
+ OTAUpdateSummary.add_member(:ota_update_id, Shapes::ShapeRef.new(shape: OTAUpdateId, location_name: "otaUpdateId"))
1670
+ OTAUpdateSummary.add_member(:ota_update_arn, Shapes::ShapeRef.new(shape: OTAUpdateArn, location_name: "otaUpdateArn"))
1671
+ OTAUpdateSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
1672
+ OTAUpdateSummary.struct_class = Types::OTAUpdateSummary
1673
+
1674
+ OTAUpdatesSummary.member = Shapes::ShapeRef.new(shape: OTAUpdateSummary)
1675
+
1484
1676
  OutgoingCertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
1485
1677
  OutgoingCertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
1486
1678
  OutgoingCertificate.add_member(:transferred_to, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "transferredTo"))
@@ -1605,6 +1797,11 @@ module Aws::IoT
1605
1797
 
1606
1798
  S3FileUrlList.member = Shapes::ShapeRef.new(shape: S3FileUrl)
1607
1799
 
1800
+ S3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: S3Bucket, required: true, location_name: "bucket"))
1801
+ S3Location.add_member(:key, Shapes::ShapeRef.new(shape: S3Key, required: true, location_name: "key"))
1802
+ S3Location.add_member(:version, Shapes::ShapeRef.new(shape: S3Version, location_name: "version"))
1803
+ S3Location.struct_class = Types::S3Location
1804
+
1608
1805
  SalesforceAction.add_member(:token, Shapes::ShapeRef.new(shape: SalesforceToken, required: true, location_name: "token"))
1609
1806
  SalesforceAction.add_member(:url, Shapes::ShapeRef.new(shape: SalesforceEndpoint, required: true, location_name: "url"))
1610
1807
  SalesforceAction.struct_class = Types::SalesforceAction
@@ -1671,6 +1868,36 @@ module Aws::IoT
1671
1868
 
1672
1869
  StopThingRegistrationTaskResponse.struct_class = Types::StopThingRegistrationTaskResponse
1673
1870
 
1871
+ Stream.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
1872
+ Stream.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, location_name: "fileId"))
1873
+ Stream.struct_class = Types::Stream
1874
+
1875
+ StreamFile.add_member(:file_id, Shapes::ShapeRef.new(shape: FileId, location_name: "fileId"))
1876
+ StreamFile.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
1877
+ StreamFile.struct_class = Types::StreamFile
1878
+
1879
+ StreamFiles.member = Shapes::ShapeRef.new(shape: StreamFile)
1880
+
1881
+ StreamInfo.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
1882
+ StreamInfo.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "streamArn"))
1883
+ StreamInfo.add_member(:stream_version, Shapes::ShapeRef.new(shape: StreamVersion, location_name: "streamVersion"))
1884
+ StreamInfo.add_member(:description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "description"))
1885
+ StreamInfo.add_member(:files, Shapes::ShapeRef.new(shape: StreamFiles, location_name: "files"))
1886
+ StreamInfo.add_member(:created_at, Shapes::ShapeRef.new(shape: DateType, location_name: "createdAt"))
1887
+ StreamInfo.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateType, location_name: "lastUpdatedAt"))
1888
+ StreamInfo.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
1889
+ StreamInfo.struct_class = Types::StreamInfo
1890
+
1891
+ StreamSummary.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
1892
+ StreamSummary.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "streamArn"))
1893
+ StreamSummary.add_member(:stream_version, Shapes::ShapeRef.new(shape: StreamVersion, location_name: "streamVersion"))
1894
+ StreamSummary.add_member(:description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "description"))
1895
+ StreamSummary.struct_class = Types::StreamSummary
1896
+
1897
+ StreamsSummary.member = Shapes::ShapeRef.new(shape: StreamSummary)
1898
+
1899
+ Targets.member = Shapes::ShapeRef.new(shape: Target)
1900
+
1674
1901
  TaskIdList.member = Shapes::ShapeRef.new(shape: TaskId)
1675
1902
 
1676
1903
  TestAuthorizationRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, location_name: "principal"))
@@ -1835,6 +2062,18 @@ module Aws::IoT
1835
2062
  UpdateRoleAliasResponse.add_member(:role_alias_arn, Shapes::ShapeRef.new(shape: RoleAliasArn, location_name: "roleAliasArn"))
1836
2063
  UpdateRoleAliasResponse.struct_class = Types::UpdateRoleAliasResponse
1837
2064
 
2065
+ UpdateStreamRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, required: true, location: "uri", location_name: "streamId"))
2066
+ UpdateStreamRequest.add_member(:description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "description"))
2067
+ UpdateStreamRequest.add_member(:files, Shapes::ShapeRef.new(shape: StreamFiles, location_name: "files"))
2068
+ UpdateStreamRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
2069
+ UpdateStreamRequest.struct_class = Types::UpdateStreamRequest
2070
+
2071
+ UpdateStreamResponse.add_member(:stream_id, Shapes::ShapeRef.new(shape: StreamId, location_name: "streamId"))
2072
+ UpdateStreamResponse.add_member(:stream_arn, Shapes::ShapeRef.new(shape: StreamArn, location_name: "streamArn"))
2073
+ UpdateStreamResponse.add_member(:description, Shapes::ShapeRef.new(shape: StreamDescription, location_name: "description"))
2074
+ UpdateStreamResponse.add_member(:stream_version, Shapes::ShapeRef.new(shape: StreamVersion, location_name: "streamVersion"))
2075
+ UpdateStreamResponse.struct_class = Types::UpdateStreamResponse
2076
+
1838
2077
  UpdateThingGroupRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, required: true, location: "uri", location_name: "thingGroupName"))
1839
2078
  UpdateThingGroupRequest.add_member(:thing_group_properties, Shapes::ShapeRef.new(shape: ThingGroupProperties, required: true, location_name: "thingGroupProperties"))
1840
2079
  UpdateThingGroupRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location_name: "expectedVersion"))
@@ -2054,6 +2293,21 @@ module Aws::IoT
2054
2293
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2055
2294
  end)
2056
2295
 
2296
+ api.add_operation(:create_ota_update, Seahorse::Model::Operation.new.tap do |o|
2297
+ o.name = "CreateOTAUpdate"
2298
+ o.http_method = "POST"
2299
+ o.http_request_uri = "/otaUpdates/{otaUpdateId}"
2300
+ o.input = Shapes::ShapeRef.new(shape: CreateOTAUpdateRequest)
2301
+ o.output = Shapes::ShapeRef.new(shape: CreateOTAUpdateResponse)
2302
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2303
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2304
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2305
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2306
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2307
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2308
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2309
+ end)
2310
+
2057
2311
  api.add_operation(:create_policy, Seahorse::Model::Operation.new.tap do |o|
2058
2312
  o.name = "CreatePolicy"
2059
2313
  o.http_method = "POST"
@@ -2100,6 +2354,21 @@ module Aws::IoT
2100
2354
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2101
2355
  end)
2102
2356
 
2357
+ api.add_operation(:create_stream, Seahorse::Model::Operation.new.tap do |o|
2358
+ o.name = "CreateStream"
2359
+ o.http_method = "POST"
2360
+ o.http_request_uri = "/streams/{streamId}"
2361
+ o.input = Shapes::ShapeRef.new(shape: CreateStreamRequest)
2362
+ o.output = Shapes::ShapeRef.new(shape: CreateStreamResponse)
2363
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2364
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2365
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
2366
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2367
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2368
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2369
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2370
+ end)
2371
+
2103
2372
  api.add_operation(:create_thing, Seahorse::Model::Operation.new.tap do |o|
2104
2373
  o.name = "CreateThing"
2105
2374
  o.http_method = "POST"
@@ -2200,6 +2469,20 @@ module Aws::IoT
2200
2469
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2201
2470
  end)
2202
2471
 
2472
+ api.add_operation(:delete_ota_update, Seahorse::Model::Operation.new.tap do |o|
2473
+ o.name = "DeleteOTAUpdate"
2474
+ o.http_method = "DELETE"
2475
+ o.http_request_uri = "/otaUpdates/{otaUpdateId}"
2476
+ o.input = Shapes::ShapeRef.new(shape: DeleteOTAUpdateRequest)
2477
+ o.output = Shapes::ShapeRef.new(shape: DeleteOTAUpdateResponse)
2478
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2479
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2480
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2481
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2482
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2483
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2484
+ end)
2485
+
2203
2486
  api.add_operation(:delete_policy, Seahorse::Model::Operation.new.tap do |o|
2204
2487
  o.name = "DeletePolicy"
2205
2488
  o.http_method = "DELETE"
@@ -2258,6 +2541,21 @@ module Aws::IoT
2258
2541
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2259
2542
  end)
2260
2543
 
2544
+ api.add_operation(:delete_stream, Seahorse::Model::Operation.new.tap do |o|
2545
+ o.name = "DeleteStream"
2546
+ o.http_method = "DELETE"
2547
+ o.http_request_uri = "/streams/{streamId}"
2548
+ o.input = Shapes::ShapeRef.new(shape: DeleteStreamRequest)
2549
+ o.output = Shapes::ShapeRef.new(shape: DeleteStreamResponse)
2550
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2551
+ o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
2552
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2553
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2554
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2555
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2556
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2557
+ end)
2558
+
2261
2559
  api.add_operation(:delete_thing, Seahorse::Model::Operation.new.tap do |o|
2262
2560
  o.name = "DeleteThing"
2263
2561
  o.http_method = "DELETE"
@@ -2466,6 +2764,20 @@ module Aws::IoT
2466
2764
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2467
2765
  end)
2468
2766
 
2767
+ api.add_operation(:describe_stream, Seahorse::Model::Operation.new.tap do |o|
2768
+ o.name = "DescribeStream"
2769
+ o.http_method = "GET"
2770
+ o.http_request_uri = "/streams/{streamId}"
2771
+ o.input = Shapes::ShapeRef.new(shape: DescribeStreamRequest)
2772
+ o.output = Shapes::ShapeRef.new(shape: DescribeStreamResponse)
2773
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2774
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2775
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2776
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2777
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2778
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2779
+ end)
2780
+
2469
2781
  api.add_operation(:describe_thing, Seahorse::Model::Operation.new.tap do |o|
2470
2782
  o.name = "DescribeThing"
2471
2783
  o.http_method = "GET"
@@ -2637,6 +2949,20 @@ module Aws::IoT
2637
2949
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2638
2950
  end)
2639
2951
 
2952
+ api.add_operation(:get_ota_update, Seahorse::Model::Operation.new.tap do |o|
2953
+ o.name = "GetOTAUpdate"
2954
+ o.http_method = "GET"
2955
+ o.http_request_uri = "/otaUpdates/{otaUpdateId}"
2956
+ o.input = Shapes::ShapeRef.new(shape: GetOTAUpdateRequest)
2957
+ o.output = Shapes::ShapeRef.new(shape: GetOTAUpdateResponse)
2958
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2959
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2960
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2961
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2962
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2963
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2964
+ end)
2965
+
2640
2966
  api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
2641
2967
  o.name = "GetPolicy"
2642
2968
  o.http_method = "GET"
@@ -2817,6 +3143,19 @@ module Aws::IoT
2817
3143
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2818
3144
  end)
2819
3145
 
3146
+ api.add_operation(:list_ota_updates, Seahorse::Model::Operation.new.tap do |o|
3147
+ o.name = "ListOTAUpdates"
3148
+ o.http_method = "GET"
3149
+ o.http_request_uri = "/otaUpdates"
3150
+ o.input = Shapes::ShapeRef.new(shape: ListOTAUpdatesRequest)
3151
+ o.output = Shapes::ShapeRef.new(shape: ListOTAUpdatesResponse)
3152
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3153
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3154
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3155
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3156
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3157
+ end)
3158
+
2820
3159
  api.add_operation(:list_outgoing_certificates, Seahorse::Model::Operation.new.tap do |o|
2821
3160
  o.name = "ListOutgoingCertificates"
2822
3161
  o.http_method = "GET"
@@ -2914,6 +3253,19 @@ module Aws::IoT
2914
3253
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2915
3254
  end)
2916
3255
 
3256
+ api.add_operation(:list_streams, Seahorse::Model::Operation.new.tap do |o|
3257
+ o.name = "ListStreams"
3258
+ o.http_method = "GET"
3259
+ o.http_request_uri = "/streams"
3260
+ o.input = Shapes::ShapeRef.new(shape: ListStreamsRequest)
3261
+ o.output = Shapes::ShapeRef.new(shape: ListStreamsResponse)
3262
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3263
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3264
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3265
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3266
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3267
+ end)
3268
+
2917
3269
  api.add_operation(:list_targets_for_policy, Seahorse::Model::Operation.new.tap do |o|
2918
3270
  o.name = "ListTargetsForPolicy"
2919
3271
  o.http_method = "POST"
@@ -3369,6 +3721,20 @@ module Aws::IoT
3369
3721
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3370
3722
  end)
3371
3723
 
3724
+ api.add_operation(:update_stream, Seahorse::Model::Operation.new.tap do |o|
3725
+ o.name = "UpdateStream"
3726
+ o.http_method = "PUT"
3727
+ o.http_request_uri = "/streams/{streamId}"
3728
+ o.input = Shapes::ShapeRef.new(shape: UpdateStreamRequest)
3729
+ o.output = Shapes::ShapeRef.new(shape: UpdateStreamResponse)
3730
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3731
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3732
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3733
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
3734
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3735
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
3736
+ end)
3737
+
3372
3738
  api.add_operation(:update_thing, Seahorse::Model::Operation.new.tap do |o|
3373
3739
  o.name = "UpdateThing"
3374
3740
  o.http_method = "PATCH"