aws-sdk-iot 1.0.0.rc1 → 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2802 +1,1688 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module IoT
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- AcceptCertificateTransferRequest = Shapes::StructureShape.new(name: 'AcceptCertificateTransferRequest')
16
- Action = Shapes::StructureShape.new(name: 'Action')
17
- ActionList = Shapes::ListShape.new(name: 'ActionList')
18
- AlarmName = Shapes::StringShape.new(name: 'AlarmName')
19
- AllowAutoRegistration = Shapes::BooleanShape.new(name: 'AllowAutoRegistration')
20
- AscendingOrder = Shapes::BooleanShape.new(name: 'AscendingOrder')
21
- AttachPrincipalPolicyRequest = Shapes::StructureShape.new(name: 'AttachPrincipalPolicyRequest')
22
- AttachThingPrincipalRequest = Shapes::StructureShape.new(name: 'AttachThingPrincipalRequest')
23
- AttachThingPrincipalResponse = Shapes::StructureShape.new(name: 'AttachThingPrincipalResponse')
24
- AttributeName = Shapes::StringShape.new(name: 'AttributeName')
25
- AttributePayload = Shapes::StructureShape.new(name: 'AttributePayload')
26
- AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
27
- Attributes = Shapes::MapShape.new(name: 'Attributes')
28
- AutoRegistrationStatus = Shapes::StringShape.new(name: 'AutoRegistrationStatus')
29
- AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
30
- AwsArn = Shapes::StringShape.new(name: 'AwsArn')
31
- AwsIotSqlVersion = Shapes::StringShape.new(name: 'AwsIotSqlVersion')
32
- Boolean = Shapes::BooleanShape.new(name: 'Boolean')
33
- BucketName = Shapes::StringShape.new(name: 'BucketName')
34
- CACertificate = Shapes::StructureShape.new(name: 'CACertificate')
35
- CACertificateDescription = Shapes::StructureShape.new(name: 'CACertificateDescription')
36
- CACertificateStatus = Shapes::StringShape.new(name: 'CACertificateStatus')
37
- CACertificates = Shapes::ListShape.new(name: 'CACertificates')
38
- CancelCertificateTransferRequest = Shapes::StructureShape.new(name: 'CancelCertificateTransferRequest')
39
- CannedAccessControlList = Shapes::StringShape.new(name: 'CannedAccessControlList')
40
- Certificate = Shapes::StructureShape.new(name: 'Certificate')
41
- CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
42
- CertificateConflictException = Shapes::StructureShape.new(name: 'CertificateConflictException')
43
- CertificateDescription = Shapes::StructureShape.new(name: 'CertificateDescription')
44
- CertificateId = Shapes::StringShape.new(name: 'CertificateId')
45
- CertificatePem = Shapes::StringShape.new(name: 'CertificatePem')
46
- CertificateSigningRequest = Shapes::StringShape.new(name: 'CertificateSigningRequest')
47
- CertificateStateException = Shapes::StructureShape.new(name: 'CertificateStateException')
48
- CertificateStatus = Shapes::StringShape.new(name: 'CertificateStatus')
49
- CertificateValidationException = Shapes::StructureShape.new(name: 'CertificateValidationException')
50
- Certificates = Shapes::ListShape.new(name: 'Certificates')
51
- ClientId = Shapes::StringShape.new(name: 'ClientId')
52
- CloudwatchAlarmAction = Shapes::StructureShape.new(name: 'CloudwatchAlarmAction')
53
- CloudwatchMetricAction = Shapes::StructureShape.new(name: 'CloudwatchMetricAction')
54
- CreateCertificateFromCsrRequest = Shapes::StructureShape.new(name: 'CreateCertificateFromCsrRequest')
55
- CreateCertificateFromCsrResponse = Shapes::StructureShape.new(name: 'CreateCertificateFromCsrResponse')
56
- CreateKeysAndCertificateRequest = Shapes::StructureShape.new(name: 'CreateKeysAndCertificateRequest')
57
- CreateKeysAndCertificateResponse = Shapes::StructureShape.new(name: 'CreateKeysAndCertificateResponse')
58
- CreatePolicyRequest = Shapes::StructureShape.new(name: 'CreatePolicyRequest')
59
- CreatePolicyResponse = Shapes::StructureShape.new(name: 'CreatePolicyResponse')
60
- CreatePolicyVersionRequest = Shapes::StructureShape.new(name: 'CreatePolicyVersionRequest')
61
- CreatePolicyVersionResponse = Shapes::StructureShape.new(name: 'CreatePolicyVersionResponse')
62
- CreateThingRequest = Shapes::StructureShape.new(name: 'CreateThingRequest')
63
- CreateThingResponse = Shapes::StructureShape.new(name: 'CreateThingResponse')
64
- CreateThingTypeRequest = Shapes::StructureShape.new(name: 'CreateThingTypeRequest')
65
- CreateThingTypeResponse = Shapes::StructureShape.new(name: 'CreateThingTypeResponse')
66
- CreateTopicRuleRequest = Shapes::StructureShape.new(name: 'CreateTopicRuleRequest')
67
- CreatedAtDate = Shapes::TimestampShape.new(name: 'CreatedAtDate')
68
- CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
69
- DateType = Shapes::TimestampShape.new(name: 'DateType')
70
- DeleteCACertificateRequest = Shapes::StructureShape.new(name: 'DeleteCACertificateRequest')
71
- DeleteCACertificateResponse = Shapes::StructureShape.new(name: 'DeleteCACertificateResponse')
72
- DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
73
- DeleteConflictException = Shapes::StructureShape.new(name: 'DeleteConflictException')
74
- DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
75
- DeletePolicyVersionRequest = Shapes::StructureShape.new(name: 'DeletePolicyVersionRequest')
76
- DeleteRegistrationCodeRequest = Shapes::StructureShape.new(name: 'DeleteRegistrationCodeRequest')
77
- DeleteRegistrationCodeResponse = Shapes::StructureShape.new(name: 'DeleteRegistrationCodeResponse')
78
- DeleteThingRequest = Shapes::StructureShape.new(name: 'DeleteThingRequest')
79
- DeleteThingResponse = Shapes::StructureShape.new(name: 'DeleteThingResponse')
80
- DeleteThingTypeRequest = Shapes::StructureShape.new(name: 'DeleteThingTypeRequest')
81
- DeleteThingTypeResponse = Shapes::StructureShape.new(name: 'DeleteThingTypeResponse')
82
- DeleteTopicRuleRequest = Shapes::StructureShape.new(name: 'DeleteTopicRuleRequest')
83
- DeliveryStreamName = Shapes::StringShape.new(name: 'DeliveryStreamName')
84
- DeprecateThingTypeRequest = Shapes::StructureShape.new(name: 'DeprecateThingTypeRequest')
85
- DeprecateThingTypeResponse = Shapes::StructureShape.new(name: 'DeprecateThingTypeResponse')
86
- DeprecationDate = Shapes::TimestampShape.new(name: 'DeprecationDate')
87
- DescribeCACertificateRequest = Shapes::StructureShape.new(name: 'DescribeCACertificateRequest')
88
- DescribeCACertificateResponse = Shapes::StructureShape.new(name: 'DescribeCACertificateResponse')
89
- DescribeCertificateRequest = Shapes::StructureShape.new(name: 'DescribeCertificateRequest')
90
- DescribeCertificateResponse = Shapes::StructureShape.new(name: 'DescribeCertificateResponse')
91
- DescribeEndpointRequest = Shapes::StructureShape.new(name: 'DescribeEndpointRequest')
92
- DescribeEndpointResponse = Shapes::StructureShape.new(name: 'DescribeEndpointResponse')
93
- DescribeThingRequest = Shapes::StructureShape.new(name: 'DescribeThingRequest')
94
- DescribeThingResponse = Shapes::StructureShape.new(name: 'DescribeThingResponse')
95
- DescribeThingTypeRequest = Shapes::StructureShape.new(name: 'DescribeThingTypeRequest')
96
- DescribeThingTypeResponse = Shapes::StructureShape.new(name: 'DescribeThingTypeResponse')
97
- Description = Shapes::StringShape.new(name: 'Description')
98
- DetachPrincipalPolicyRequest = Shapes::StructureShape.new(name: 'DetachPrincipalPolicyRequest')
99
- DetachThingPrincipalRequest = Shapes::StructureShape.new(name: 'DetachThingPrincipalRequest')
100
- DetachThingPrincipalResponse = Shapes::StructureShape.new(name: 'DetachThingPrincipalResponse')
101
- DisableTopicRuleRequest = Shapes::StructureShape.new(name: 'DisableTopicRuleRequest')
102
- DynamoDBAction = Shapes::StructureShape.new(name: 'DynamoDBAction')
103
- DynamoDBv2Action = Shapes::StructureShape.new(name: 'DynamoDBv2Action')
104
- DynamoKeyType = Shapes::StringShape.new(name: 'DynamoKeyType')
105
- DynamoOperation = Shapes::StringShape.new(name: 'DynamoOperation')
106
- ElasticsearchAction = Shapes::StructureShape.new(name: 'ElasticsearchAction')
107
- ElasticsearchEndpoint = Shapes::StringShape.new(name: 'ElasticsearchEndpoint')
108
- ElasticsearchId = Shapes::StringShape.new(name: 'ElasticsearchId')
109
- ElasticsearchIndex = Shapes::StringShape.new(name: 'ElasticsearchIndex')
110
- ElasticsearchType = Shapes::StringShape.new(name: 'ElasticsearchType')
111
- EnableTopicRuleRequest = Shapes::StructureShape.new(name: 'EnableTopicRuleRequest')
112
- EndpointAddress = Shapes::StringShape.new(name: 'EndpointAddress')
113
- FirehoseAction = Shapes::StructureShape.new(name: 'FirehoseAction')
114
- FirehoseSeparator = Shapes::StringShape.new(name: 'FirehoseSeparator')
115
- Flag = Shapes::BooleanShape.new(name: 'Flag')
116
- FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
117
- GetLoggingOptionsRequest = Shapes::StructureShape.new(name: 'GetLoggingOptionsRequest')
118
- GetLoggingOptionsResponse = Shapes::StructureShape.new(name: 'GetLoggingOptionsResponse')
119
- GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
120
- GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
121
- GetPolicyVersionRequest = Shapes::StructureShape.new(name: 'GetPolicyVersionRequest')
122
- GetPolicyVersionResponse = Shapes::StructureShape.new(name: 'GetPolicyVersionResponse')
123
- GetRegistrationCodeRequest = Shapes::StructureShape.new(name: 'GetRegistrationCodeRequest')
124
- GetRegistrationCodeResponse = Shapes::StructureShape.new(name: 'GetRegistrationCodeResponse')
125
- GetTopicRuleRequest = Shapes::StructureShape.new(name: 'GetTopicRuleRequest')
126
- GetTopicRuleResponse = Shapes::StructureShape.new(name: 'GetTopicRuleResponse')
127
- HashKeyField = Shapes::StringShape.new(name: 'HashKeyField')
128
- HashKeyValue = Shapes::StringShape.new(name: 'HashKeyValue')
129
- InternalException = Shapes::StructureShape.new(name: 'InternalException')
130
- InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
131
- InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
132
- IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
133
- IsDisabled = Shapes::BooleanShape.new(name: 'IsDisabled')
134
- Key = Shapes::StringShape.new(name: 'Key')
135
- KeyPair = Shapes::StructureShape.new(name: 'KeyPair')
136
- KinesisAction = Shapes::StructureShape.new(name: 'KinesisAction')
137
- LambdaAction = Shapes::StructureShape.new(name: 'LambdaAction')
138
- LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
139
- ListCACertificatesRequest = Shapes::StructureShape.new(name: 'ListCACertificatesRequest')
140
- ListCACertificatesResponse = Shapes::StructureShape.new(name: 'ListCACertificatesResponse')
141
- ListCertificatesByCARequest = Shapes::StructureShape.new(name: 'ListCertificatesByCARequest')
142
- ListCertificatesByCAResponse = Shapes::StructureShape.new(name: 'ListCertificatesByCAResponse')
143
- ListCertificatesRequest = Shapes::StructureShape.new(name: 'ListCertificatesRequest')
144
- ListCertificatesResponse = Shapes::StructureShape.new(name: 'ListCertificatesResponse')
145
- ListOutgoingCertificatesRequest = Shapes::StructureShape.new(name: 'ListOutgoingCertificatesRequest')
146
- ListOutgoingCertificatesResponse = Shapes::StructureShape.new(name: 'ListOutgoingCertificatesResponse')
147
- ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
148
- ListPoliciesResponse = Shapes::StructureShape.new(name: 'ListPoliciesResponse')
149
- ListPolicyPrincipalsRequest = Shapes::StructureShape.new(name: 'ListPolicyPrincipalsRequest')
150
- ListPolicyPrincipalsResponse = Shapes::StructureShape.new(name: 'ListPolicyPrincipalsResponse')
151
- ListPolicyVersionsRequest = Shapes::StructureShape.new(name: 'ListPolicyVersionsRequest')
152
- ListPolicyVersionsResponse = Shapes::StructureShape.new(name: 'ListPolicyVersionsResponse')
153
- ListPrincipalPoliciesRequest = Shapes::StructureShape.new(name: 'ListPrincipalPoliciesRequest')
154
- ListPrincipalPoliciesResponse = Shapes::StructureShape.new(name: 'ListPrincipalPoliciesResponse')
155
- ListPrincipalThingsRequest = Shapes::StructureShape.new(name: 'ListPrincipalThingsRequest')
156
- ListPrincipalThingsResponse = Shapes::StructureShape.new(name: 'ListPrincipalThingsResponse')
157
- ListThingPrincipalsRequest = Shapes::StructureShape.new(name: 'ListThingPrincipalsRequest')
158
- ListThingPrincipalsResponse = Shapes::StructureShape.new(name: 'ListThingPrincipalsResponse')
159
- ListThingTypesRequest = Shapes::StructureShape.new(name: 'ListThingTypesRequest')
160
- ListThingTypesResponse = Shapes::StructureShape.new(name: 'ListThingTypesResponse')
161
- ListThingsRequest = Shapes::StructureShape.new(name: 'ListThingsRequest')
162
- ListThingsResponse = Shapes::StructureShape.new(name: 'ListThingsResponse')
163
- ListTopicRulesRequest = Shapes::StructureShape.new(name: 'ListTopicRulesRequest')
164
- ListTopicRulesResponse = Shapes::StructureShape.new(name: 'ListTopicRulesResponse')
165
- LogLevel = Shapes::StringShape.new(name: 'LogLevel')
166
- LoggingOptionsPayload = Shapes::StructureShape.new(name: 'LoggingOptionsPayload')
167
- MalformedPolicyException = Shapes::StructureShape.new(name: 'MalformedPolicyException')
168
- Marker = Shapes::StringShape.new(name: 'Marker')
169
- MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
170
- Message = Shapes::StringShape.new(name: 'Message')
171
- MessageFormat = Shapes::StringShape.new(name: 'MessageFormat')
172
- MetricName = Shapes::StringShape.new(name: 'MetricName')
173
- MetricNamespace = Shapes::StringShape.new(name: 'MetricNamespace')
174
- MetricTimestamp = Shapes::StringShape.new(name: 'MetricTimestamp')
175
- MetricUnit = Shapes::StringShape.new(name: 'MetricUnit')
176
- MetricValue = Shapes::StringShape.new(name: 'MetricValue')
177
- NextToken = Shapes::StringShape.new(name: 'NextToken')
178
- OptionalVersion = Shapes::IntegerShape.new(name: 'OptionalVersion')
179
- OutgoingCertificate = Shapes::StructureShape.new(name: 'OutgoingCertificate')
180
- OutgoingCertificates = Shapes::ListShape.new(name: 'OutgoingCertificates')
181
- PageSize = Shapes::IntegerShape.new(name: 'PageSize')
182
- PartitionKey = Shapes::StringShape.new(name: 'PartitionKey')
183
- PayloadField = Shapes::StringShape.new(name: 'PayloadField')
184
- Policies = Shapes::ListShape.new(name: 'Policies')
185
- Policy = Shapes::StructureShape.new(name: 'Policy')
186
- PolicyArn = Shapes::StringShape.new(name: 'PolicyArn')
187
- PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
188
- PolicyName = Shapes::StringShape.new(name: 'PolicyName')
189
- PolicyVersion = Shapes::StructureShape.new(name: 'PolicyVersion')
190
- PolicyVersionId = Shapes::StringShape.new(name: 'PolicyVersionId')
191
- PolicyVersions = Shapes::ListShape.new(name: 'PolicyVersions')
192
- Principal = Shapes::StringShape.new(name: 'Principal')
193
- PrincipalArn = Shapes::StringShape.new(name: 'PrincipalArn')
194
- Principals = Shapes::ListShape.new(name: 'Principals')
195
- PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
196
- PublicKey = Shapes::StringShape.new(name: 'PublicKey')
197
- PutItemInput = Shapes::StructureShape.new(name: 'PutItemInput')
198
- QueueUrl = Shapes::StringShape.new(name: 'QueueUrl')
199
- RangeKeyField = Shapes::StringShape.new(name: 'RangeKeyField')
200
- RangeKeyValue = Shapes::StringShape.new(name: 'RangeKeyValue')
201
- RegisterCACertificateRequest = Shapes::StructureShape.new(name: 'RegisterCACertificateRequest')
202
- RegisterCACertificateResponse = Shapes::StructureShape.new(name: 'RegisterCACertificateResponse')
203
- RegisterCertificateRequest = Shapes::StructureShape.new(name: 'RegisterCertificateRequest')
204
- RegisterCertificateResponse = Shapes::StructureShape.new(name: 'RegisterCertificateResponse')
205
- RegistrationCode = Shapes::StringShape.new(name: 'RegistrationCode')
206
- RegistrationCodeValidationException = Shapes::StructureShape.new(name: 'RegistrationCodeValidationException')
207
- RejectCertificateTransferRequest = Shapes::StructureShape.new(name: 'RejectCertificateTransferRequest')
208
- RemoveThingType = Shapes::BooleanShape.new(name: 'RemoveThingType')
209
- ReplaceTopicRuleRequest = Shapes::StructureShape.new(name: 'ReplaceTopicRuleRequest')
210
- RepublishAction = Shapes::StructureShape.new(name: 'RepublishAction')
211
- ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
212
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
213
- RuleArn = Shapes::StringShape.new(name: 'RuleArn')
214
- RuleName = Shapes::StringShape.new(name: 'RuleName')
215
- S3Action = Shapes::StructureShape.new(name: 'S3Action')
216
- SQL = Shapes::StringShape.new(name: 'SQL')
217
- SearchableAttributes = Shapes::ListShape.new(name: 'SearchableAttributes')
218
- ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
219
- SetAsActive = Shapes::BooleanShape.new(name: 'SetAsActive')
220
- SetAsActiveFlag = Shapes::BooleanShape.new(name: 'SetAsActiveFlag')
221
- SetAsDefault = Shapes::BooleanShape.new(name: 'SetAsDefault')
222
- SetDefaultPolicyVersionRequest = Shapes::StructureShape.new(name: 'SetDefaultPolicyVersionRequest')
223
- SetLoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetLoggingOptionsRequest')
224
- SnsAction = Shapes::StructureShape.new(name: 'SnsAction')
225
- SqlParseException = Shapes::StructureShape.new(name: 'SqlParseException')
226
- SqsAction = Shapes::StructureShape.new(name: 'SqsAction')
227
- StateReason = Shapes::StringShape.new(name: 'StateReason')
228
- StateValue = Shapes::StringShape.new(name: 'StateValue')
229
- StreamName = Shapes::StringShape.new(name: 'StreamName')
230
- TableName = Shapes::StringShape.new(name: 'TableName')
231
- ThingArn = Shapes::StringShape.new(name: 'ThingArn')
232
- ThingAttribute = Shapes::StructureShape.new(name: 'ThingAttribute')
233
- ThingAttributeList = Shapes::ListShape.new(name: 'ThingAttributeList')
234
- ThingName = Shapes::StringShape.new(name: 'ThingName')
235
- ThingNameList = Shapes::ListShape.new(name: 'ThingNameList')
236
- ThingTypeArn = Shapes::StringShape.new(name: 'ThingTypeArn')
237
- ThingTypeDefinition = Shapes::StructureShape.new(name: 'ThingTypeDefinition')
238
- ThingTypeDescription = Shapes::StringShape.new(name: 'ThingTypeDescription')
239
- ThingTypeList = Shapes::ListShape.new(name: 'ThingTypeList')
240
- ThingTypeMetadata = Shapes::StructureShape.new(name: 'ThingTypeMetadata')
241
- ThingTypeName = Shapes::StringShape.new(name: 'ThingTypeName')
242
- ThingTypeProperties = Shapes::StructureShape.new(name: 'ThingTypeProperties')
243
- ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
244
- Topic = Shapes::StringShape.new(name: 'Topic')
245
- TopicPattern = Shapes::StringShape.new(name: 'TopicPattern')
246
- TopicRule = Shapes::StructureShape.new(name: 'TopicRule')
247
- TopicRuleList = Shapes::ListShape.new(name: 'TopicRuleList')
248
- TopicRuleListItem = Shapes::StructureShape.new(name: 'TopicRuleListItem')
249
- TopicRulePayload = Shapes::StructureShape.new(name: 'TopicRulePayload')
250
- TransferAlreadyCompletedException = Shapes::StructureShape.new(name: 'TransferAlreadyCompletedException')
251
- TransferCertificateRequest = Shapes::StructureShape.new(name: 'TransferCertificateRequest')
252
- TransferCertificateResponse = Shapes::StructureShape.new(name: 'TransferCertificateResponse')
253
- TransferConflictException = Shapes::StructureShape.new(name: 'TransferConflictException')
254
- TransferData = Shapes::StructureShape.new(name: 'TransferData')
255
- UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
256
- UndoDeprecate = Shapes::BooleanShape.new(name: 'UndoDeprecate')
257
- UpdateCACertificateRequest = Shapes::StructureShape.new(name: 'UpdateCACertificateRequest')
258
- UpdateCertificateRequest = Shapes::StructureShape.new(name: 'UpdateCertificateRequest')
259
- UpdateThingRequest = Shapes::StructureShape.new(name: 'UpdateThingRequest')
260
- UpdateThingResponse = Shapes::StructureShape.new(name: 'UpdateThingResponse')
261
- UseBase64 = Shapes::BooleanShape.new(name: 'UseBase64')
262
- Version = Shapes::IntegerShape.new(name: 'Version')
263
- VersionConflictException = Shapes::StructureShape.new(name: 'VersionConflictException')
264
- VersionsLimitExceededException = Shapes::StructureShape.new(name: 'VersionsLimitExceededException')
265
- errorMessage = Shapes::StringShape.new(name: 'errorMessage')
266
- resourceArn = Shapes::StringShape.new(name: 'resourceArn')
267
- resourceId = Shapes::StringShape.new(name: 'resourceId')
268
-
269
- AcceptCertificateTransferRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
270
- AcceptCertificateTransferRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
271
- AcceptCertificateTransferRequest.struct_class = Types::AcceptCertificateTransferRequest
272
-
273
- Action.add_member(:dynamo_db, Shapes::ShapeRef.new(shape: DynamoDBAction, location_name: "dynamoDB"))
274
- Action.add_member(:dynamo_d_bv_2, Shapes::ShapeRef.new(shape: DynamoDBv2Action, location_name: "dynamoDBv2"))
275
- Action.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaAction, location_name: "lambda"))
276
- Action.add_member(:sns, Shapes::ShapeRef.new(shape: SnsAction, location_name: "sns"))
277
- Action.add_member(:sqs, Shapes::ShapeRef.new(shape: SqsAction, location_name: "sqs"))
278
- Action.add_member(:kinesis, Shapes::ShapeRef.new(shape: KinesisAction, location_name: "kinesis"))
279
- Action.add_member(:republish, Shapes::ShapeRef.new(shape: RepublishAction, location_name: "republish"))
280
- Action.add_member(:s3, Shapes::ShapeRef.new(shape: S3Action, location_name: "s3"))
281
- Action.add_member(:firehose, Shapes::ShapeRef.new(shape: FirehoseAction, location_name: "firehose"))
282
- Action.add_member(:cloudwatch_metric, Shapes::ShapeRef.new(shape: CloudwatchMetricAction, location_name: "cloudwatchMetric"))
283
- Action.add_member(:cloudwatch_alarm, Shapes::ShapeRef.new(shape: CloudwatchAlarmAction, location_name: "cloudwatchAlarm"))
284
- Action.add_member(:elasticsearch, Shapes::ShapeRef.new(shape: ElasticsearchAction, location_name: "elasticsearch"))
285
- Action.struct_class = Types::Action
286
-
287
- ActionList.member = Shapes::ShapeRef.new(shape: Action)
288
-
289
- AttachPrincipalPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
290
- AttachPrincipalPolicyRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-iot-principal"))
291
- AttachPrincipalPolicyRequest.struct_class = Types::AttachPrincipalPolicyRequest
292
-
293
- AttachThingPrincipalRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
294
- AttachThingPrincipalRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
295
- AttachThingPrincipalRequest.struct_class = Types::AttachThingPrincipalRequest
296
-
297
- AttachThingPrincipalResponse.struct_class = Types::AttachThingPrincipalResponse
298
-
299
- AttributePayload.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
300
- AttributePayload.add_member(:merge, Shapes::ShapeRef.new(shape: Flag, location_name: "merge"))
301
- AttributePayload.struct_class = Types::AttributePayload
302
-
303
- Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
304
- Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
305
-
306
- CACertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
307
- CACertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
308
- CACertificate.add_member(:status, Shapes::ShapeRef.new(shape: CACertificateStatus, location_name: "status"))
309
- CACertificate.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
310
- CACertificate.struct_class = Types::CACertificate
311
-
312
- CACertificateDescription.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
313
- CACertificateDescription.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
314
- CACertificateDescription.add_member(:status, Shapes::ShapeRef.new(shape: CACertificateStatus, location_name: "status"))
315
- CACertificateDescription.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "certificatePem"))
316
- CACertificateDescription.add_member(:owned_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "ownedBy"))
317
- CACertificateDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
318
- CACertificateDescription.add_member(:auto_registration_status, Shapes::ShapeRef.new(shape: AutoRegistrationStatus, location_name: "autoRegistrationStatus"))
319
- CACertificateDescription.struct_class = Types::CACertificateDescription
320
-
321
- CACertificates.member = Shapes::ShapeRef.new(shape: CACertificate)
322
-
323
- CancelCertificateTransferRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
324
- CancelCertificateTransferRequest.struct_class = Types::CancelCertificateTransferRequest
325
-
326
- Certificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
327
- Certificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
328
- Certificate.add_member(:status, Shapes::ShapeRef.new(shape: CertificateStatus, location_name: "status"))
329
- Certificate.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
330
- Certificate.struct_class = Types::Certificate
331
-
332
- CertificateDescription.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
333
- CertificateDescription.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
334
- CertificateDescription.add_member(:ca_certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "caCertificateId"))
335
- CertificateDescription.add_member(:status, Shapes::ShapeRef.new(shape: CertificateStatus, location_name: "status"))
336
- CertificateDescription.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "certificatePem"))
337
- CertificateDescription.add_member(:owned_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "ownedBy"))
338
- CertificateDescription.add_member(:previous_owned_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "previousOwnedBy"))
339
- CertificateDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
340
- CertificateDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
341
- CertificateDescription.add_member(:transfer_data, Shapes::ShapeRef.new(shape: TransferData, location_name: "transferData"))
342
- CertificateDescription.struct_class = Types::CertificateDescription
343
-
344
- Certificates.member = Shapes::ShapeRef.new(shape: Certificate)
345
-
346
- CloudwatchAlarmAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
347
- CloudwatchAlarmAction.add_member(:alarm_name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "alarmName"))
348
- CloudwatchAlarmAction.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, required: true, location_name: "stateReason"))
349
- CloudwatchAlarmAction.add_member(:state_value, Shapes::ShapeRef.new(shape: StateValue, required: true, location_name: "stateValue"))
350
- CloudwatchAlarmAction.struct_class = Types::CloudwatchAlarmAction
351
-
352
- CloudwatchMetricAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
353
- CloudwatchMetricAction.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: MetricNamespace, required: true, location_name: "metricNamespace"))
354
- CloudwatchMetricAction.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "metricName"))
355
- CloudwatchMetricAction.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, required: true, location_name: "metricValue"))
356
- CloudwatchMetricAction.add_member(:metric_unit, Shapes::ShapeRef.new(shape: MetricUnit, required: true, location_name: "metricUnit"))
357
- CloudwatchMetricAction.add_member(:metric_timestamp, Shapes::ShapeRef.new(shape: MetricTimestamp, location_name: "metricTimestamp"))
358
- CloudwatchMetricAction.struct_class = Types::CloudwatchMetricAction
359
-
360
- CreateCertificateFromCsrRequest.add_member(:certificate_signing_request, Shapes::ShapeRef.new(shape: CertificateSigningRequest, required: true, location_name: "certificateSigningRequest"))
361
- CreateCertificateFromCsrRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
362
- CreateCertificateFromCsrRequest.struct_class = Types::CreateCertificateFromCsrRequest
363
-
364
- CreateCertificateFromCsrResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
365
- CreateCertificateFromCsrResponse.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
366
- CreateCertificateFromCsrResponse.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "certificatePem"))
367
- CreateCertificateFromCsrResponse.struct_class = Types::CreateCertificateFromCsrResponse
368
-
369
- CreateKeysAndCertificateRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
370
- CreateKeysAndCertificateRequest.struct_class = Types::CreateKeysAndCertificateRequest
371
-
372
- CreateKeysAndCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
373
- CreateKeysAndCertificateResponse.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
374
- CreateKeysAndCertificateResponse.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "certificatePem"))
375
- CreateKeysAndCertificateResponse.add_member(:key_pair, Shapes::ShapeRef.new(shape: KeyPair, location_name: "keyPair"))
376
- CreateKeysAndCertificateResponse.struct_class = Types::CreateKeysAndCertificateResponse
377
-
378
- CreatePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
379
- CreatePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
380
- CreatePolicyRequest.struct_class = Types::CreatePolicyRequest
8
+ module Aws::IoT
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AcceptCertificateTransferRequest = Shapes::StructureShape.new(name: 'AcceptCertificateTransferRequest')
15
+ Action = Shapes::StructureShape.new(name: 'Action')
16
+ ActionList = Shapes::ListShape.new(name: 'ActionList')
17
+ AlarmName = Shapes::StringShape.new(name: 'AlarmName')
18
+ AllowAutoRegistration = Shapes::BooleanShape.new(name: 'AllowAutoRegistration')
19
+ AscendingOrder = Shapes::BooleanShape.new(name: 'AscendingOrder')
20
+ AttachPrincipalPolicyRequest = Shapes::StructureShape.new(name: 'AttachPrincipalPolicyRequest')
21
+ AttachThingPrincipalRequest = Shapes::StructureShape.new(name: 'AttachThingPrincipalRequest')
22
+ AttachThingPrincipalResponse = Shapes::StructureShape.new(name: 'AttachThingPrincipalResponse')
23
+ AttributeName = Shapes::StringShape.new(name: 'AttributeName')
24
+ AttributePayload = Shapes::StructureShape.new(name: 'AttributePayload')
25
+ AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
26
+ Attributes = Shapes::MapShape.new(name: 'Attributes')
27
+ AutoRegistrationStatus = Shapes::StringShape.new(name: 'AutoRegistrationStatus')
28
+ AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
29
+ AwsArn = Shapes::StringShape.new(name: 'AwsArn')
30
+ AwsIotSqlVersion = Shapes::StringShape.new(name: 'AwsIotSqlVersion')
31
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
32
+ BucketName = Shapes::StringShape.new(name: 'BucketName')
33
+ CACertificate = Shapes::StructureShape.new(name: 'CACertificate')
34
+ CACertificateDescription = Shapes::StructureShape.new(name: 'CACertificateDescription')
35
+ CACertificateStatus = Shapes::StringShape.new(name: 'CACertificateStatus')
36
+ CACertificates = Shapes::ListShape.new(name: 'CACertificates')
37
+ CancelCertificateTransferRequest = Shapes::StructureShape.new(name: 'CancelCertificateTransferRequest')
38
+ CannedAccessControlList = Shapes::StringShape.new(name: 'CannedAccessControlList')
39
+ Certificate = Shapes::StructureShape.new(name: 'Certificate')
40
+ CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
41
+ CertificateConflictException = Shapes::StructureShape.new(name: 'CertificateConflictException')
42
+ CertificateDescription = Shapes::StructureShape.new(name: 'CertificateDescription')
43
+ CertificateId = Shapes::StringShape.new(name: 'CertificateId')
44
+ CertificatePem = Shapes::StringShape.new(name: 'CertificatePem')
45
+ CertificateSigningRequest = Shapes::StringShape.new(name: 'CertificateSigningRequest')
46
+ CertificateStateException = Shapes::StructureShape.new(name: 'CertificateStateException')
47
+ CertificateStatus = Shapes::StringShape.new(name: 'CertificateStatus')
48
+ CertificateValidationException = Shapes::StructureShape.new(name: 'CertificateValidationException')
49
+ Certificates = Shapes::ListShape.new(name: 'Certificates')
50
+ ClientId = Shapes::StringShape.new(name: 'ClientId')
51
+ CloudwatchAlarmAction = Shapes::StructureShape.new(name: 'CloudwatchAlarmAction')
52
+ CloudwatchMetricAction = Shapes::StructureShape.new(name: 'CloudwatchMetricAction')
53
+ CreateCertificateFromCsrRequest = Shapes::StructureShape.new(name: 'CreateCertificateFromCsrRequest')
54
+ CreateCertificateFromCsrResponse = Shapes::StructureShape.new(name: 'CreateCertificateFromCsrResponse')
55
+ CreateKeysAndCertificateRequest = Shapes::StructureShape.new(name: 'CreateKeysAndCertificateRequest')
56
+ CreateKeysAndCertificateResponse = Shapes::StructureShape.new(name: 'CreateKeysAndCertificateResponse')
57
+ CreatePolicyRequest = Shapes::StructureShape.new(name: 'CreatePolicyRequest')
58
+ CreatePolicyResponse = Shapes::StructureShape.new(name: 'CreatePolicyResponse')
59
+ CreatePolicyVersionRequest = Shapes::StructureShape.new(name: 'CreatePolicyVersionRequest')
60
+ CreatePolicyVersionResponse = Shapes::StructureShape.new(name: 'CreatePolicyVersionResponse')
61
+ CreateThingRequest = Shapes::StructureShape.new(name: 'CreateThingRequest')
62
+ CreateThingResponse = Shapes::StructureShape.new(name: 'CreateThingResponse')
63
+ CreateThingTypeRequest = Shapes::StructureShape.new(name: 'CreateThingTypeRequest')
64
+ CreateThingTypeResponse = Shapes::StructureShape.new(name: 'CreateThingTypeResponse')
65
+ CreateTopicRuleRequest = Shapes::StructureShape.new(name: 'CreateTopicRuleRequest')
66
+ CreatedAtDate = Shapes::TimestampShape.new(name: 'CreatedAtDate')
67
+ CreationDate = Shapes::TimestampShape.new(name: 'CreationDate')
68
+ DateType = Shapes::TimestampShape.new(name: 'DateType')
69
+ DeleteCACertificateRequest = Shapes::StructureShape.new(name: 'DeleteCACertificateRequest')
70
+ DeleteCACertificateResponse = Shapes::StructureShape.new(name: 'DeleteCACertificateResponse')
71
+ DeleteCertificateRequest = Shapes::StructureShape.new(name: 'DeleteCertificateRequest')
72
+ DeleteConflictException = Shapes::StructureShape.new(name: 'DeleteConflictException')
73
+ DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
74
+ DeletePolicyVersionRequest = Shapes::StructureShape.new(name: 'DeletePolicyVersionRequest')
75
+ DeleteRegistrationCodeRequest = Shapes::StructureShape.new(name: 'DeleteRegistrationCodeRequest')
76
+ DeleteRegistrationCodeResponse = Shapes::StructureShape.new(name: 'DeleteRegistrationCodeResponse')
77
+ DeleteThingRequest = Shapes::StructureShape.new(name: 'DeleteThingRequest')
78
+ DeleteThingResponse = Shapes::StructureShape.new(name: 'DeleteThingResponse')
79
+ DeleteThingTypeRequest = Shapes::StructureShape.new(name: 'DeleteThingTypeRequest')
80
+ DeleteThingTypeResponse = Shapes::StructureShape.new(name: 'DeleteThingTypeResponse')
81
+ DeleteTopicRuleRequest = Shapes::StructureShape.new(name: 'DeleteTopicRuleRequest')
82
+ DeliveryStreamName = Shapes::StringShape.new(name: 'DeliveryStreamName')
83
+ DeprecateThingTypeRequest = Shapes::StructureShape.new(name: 'DeprecateThingTypeRequest')
84
+ DeprecateThingTypeResponse = Shapes::StructureShape.new(name: 'DeprecateThingTypeResponse')
85
+ DeprecationDate = Shapes::TimestampShape.new(name: 'DeprecationDate')
86
+ DescribeCACertificateRequest = Shapes::StructureShape.new(name: 'DescribeCACertificateRequest')
87
+ DescribeCACertificateResponse = Shapes::StructureShape.new(name: 'DescribeCACertificateResponse')
88
+ DescribeCertificateRequest = Shapes::StructureShape.new(name: 'DescribeCertificateRequest')
89
+ DescribeCertificateResponse = Shapes::StructureShape.new(name: 'DescribeCertificateResponse')
90
+ DescribeEndpointRequest = Shapes::StructureShape.new(name: 'DescribeEndpointRequest')
91
+ DescribeEndpointResponse = Shapes::StructureShape.new(name: 'DescribeEndpointResponse')
92
+ DescribeThingRequest = Shapes::StructureShape.new(name: 'DescribeThingRequest')
93
+ DescribeThingResponse = Shapes::StructureShape.new(name: 'DescribeThingResponse')
94
+ DescribeThingTypeRequest = Shapes::StructureShape.new(name: 'DescribeThingTypeRequest')
95
+ DescribeThingTypeResponse = Shapes::StructureShape.new(name: 'DescribeThingTypeResponse')
96
+ Description = Shapes::StringShape.new(name: 'Description')
97
+ DetachPrincipalPolicyRequest = Shapes::StructureShape.new(name: 'DetachPrincipalPolicyRequest')
98
+ DetachThingPrincipalRequest = Shapes::StructureShape.new(name: 'DetachThingPrincipalRequest')
99
+ DetachThingPrincipalResponse = Shapes::StructureShape.new(name: 'DetachThingPrincipalResponse')
100
+ DisableTopicRuleRequest = Shapes::StructureShape.new(name: 'DisableTopicRuleRequest')
101
+ DynamoDBAction = Shapes::StructureShape.new(name: 'DynamoDBAction')
102
+ DynamoDBv2Action = Shapes::StructureShape.new(name: 'DynamoDBv2Action')
103
+ DynamoKeyType = Shapes::StringShape.new(name: 'DynamoKeyType')
104
+ DynamoOperation = Shapes::StringShape.new(name: 'DynamoOperation')
105
+ ElasticsearchAction = Shapes::StructureShape.new(name: 'ElasticsearchAction')
106
+ ElasticsearchEndpoint = Shapes::StringShape.new(name: 'ElasticsearchEndpoint')
107
+ ElasticsearchId = Shapes::StringShape.new(name: 'ElasticsearchId')
108
+ ElasticsearchIndex = Shapes::StringShape.new(name: 'ElasticsearchIndex')
109
+ ElasticsearchType = Shapes::StringShape.new(name: 'ElasticsearchType')
110
+ EnableTopicRuleRequest = Shapes::StructureShape.new(name: 'EnableTopicRuleRequest')
111
+ EndpointAddress = Shapes::StringShape.new(name: 'EndpointAddress')
112
+ FirehoseAction = Shapes::StructureShape.new(name: 'FirehoseAction')
113
+ FirehoseSeparator = Shapes::StringShape.new(name: 'FirehoseSeparator')
114
+ Flag = Shapes::BooleanShape.new(name: 'Flag')
115
+ FunctionArn = Shapes::StringShape.new(name: 'FunctionArn')
116
+ GetLoggingOptionsRequest = Shapes::StructureShape.new(name: 'GetLoggingOptionsRequest')
117
+ GetLoggingOptionsResponse = Shapes::StructureShape.new(name: 'GetLoggingOptionsResponse')
118
+ GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
119
+ GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
120
+ GetPolicyVersionRequest = Shapes::StructureShape.new(name: 'GetPolicyVersionRequest')
121
+ GetPolicyVersionResponse = Shapes::StructureShape.new(name: 'GetPolicyVersionResponse')
122
+ GetRegistrationCodeRequest = Shapes::StructureShape.new(name: 'GetRegistrationCodeRequest')
123
+ GetRegistrationCodeResponse = Shapes::StructureShape.new(name: 'GetRegistrationCodeResponse')
124
+ GetTopicRuleRequest = Shapes::StructureShape.new(name: 'GetTopicRuleRequest')
125
+ GetTopicRuleResponse = Shapes::StructureShape.new(name: 'GetTopicRuleResponse')
126
+ HashKeyField = Shapes::StringShape.new(name: 'HashKeyField')
127
+ HashKeyValue = Shapes::StringShape.new(name: 'HashKeyValue')
128
+ InternalException = Shapes::StructureShape.new(name: 'InternalException')
129
+ InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
130
+ InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
131
+ IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
132
+ IsDisabled = Shapes::BooleanShape.new(name: 'IsDisabled')
133
+ Key = Shapes::StringShape.new(name: 'Key')
134
+ KeyPair = Shapes::StructureShape.new(name: 'KeyPair')
135
+ KinesisAction = Shapes::StructureShape.new(name: 'KinesisAction')
136
+ LambdaAction = Shapes::StructureShape.new(name: 'LambdaAction')
137
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
138
+ ListCACertificatesRequest = Shapes::StructureShape.new(name: 'ListCACertificatesRequest')
139
+ ListCACertificatesResponse = Shapes::StructureShape.new(name: 'ListCACertificatesResponse')
140
+ ListCertificatesByCARequest = Shapes::StructureShape.new(name: 'ListCertificatesByCARequest')
141
+ ListCertificatesByCAResponse = Shapes::StructureShape.new(name: 'ListCertificatesByCAResponse')
142
+ ListCertificatesRequest = Shapes::StructureShape.new(name: 'ListCertificatesRequest')
143
+ ListCertificatesResponse = Shapes::StructureShape.new(name: 'ListCertificatesResponse')
144
+ ListOutgoingCertificatesRequest = Shapes::StructureShape.new(name: 'ListOutgoingCertificatesRequest')
145
+ ListOutgoingCertificatesResponse = Shapes::StructureShape.new(name: 'ListOutgoingCertificatesResponse')
146
+ ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
147
+ ListPoliciesResponse = Shapes::StructureShape.new(name: 'ListPoliciesResponse')
148
+ ListPolicyPrincipalsRequest = Shapes::StructureShape.new(name: 'ListPolicyPrincipalsRequest')
149
+ ListPolicyPrincipalsResponse = Shapes::StructureShape.new(name: 'ListPolicyPrincipalsResponse')
150
+ ListPolicyVersionsRequest = Shapes::StructureShape.new(name: 'ListPolicyVersionsRequest')
151
+ ListPolicyVersionsResponse = Shapes::StructureShape.new(name: 'ListPolicyVersionsResponse')
152
+ ListPrincipalPoliciesRequest = Shapes::StructureShape.new(name: 'ListPrincipalPoliciesRequest')
153
+ ListPrincipalPoliciesResponse = Shapes::StructureShape.new(name: 'ListPrincipalPoliciesResponse')
154
+ ListPrincipalThingsRequest = Shapes::StructureShape.new(name: 'ListPrincipalThingsRequest')
155
+ ListPrincipalThingsResponse = Shapes::StructureShape.new(name: 'ListPrincipalThingsResponse')
156
+ ListThingPrincipalsRequest = Shapes::StructureShape.new(name: 'ListThingPrincipalsRequest')
157
+ ListThingPrincipalsResponse = Shapes::StructureShape.new(name: 'ListThingPrincipalsResponse')
158
+ ListThingTypesRequest = Shapes::StructureShape.new(name: 'ListThingTypesRequest')
159
+ ListThingTypesResponse = Shapes::StructureShape.new(name: 'ListThingTypesResponse')
160
+ ListThingsRequest = Shapes::StructureShape.new(name: 'ListThingsRequest')
161
+ ListThingsResponse = Shapes::StructureShape.new(name: 'ListThingsResponse')
162
+ ListTopicRulesRequest = Shapes::StructureShape.new(name: 'ListTopicRulesRequest')
163
+ ListTopicRulesResponse = Shapes::StructureShape.new(name: 'ListTopicRulesResponse')
164
+ LogLevel = Shapes::StringShape.new(name: 'LogLevel')
165
+ LoggingOptionsPayload = Shapes::StructureShape.new(name: 'LoggingOptionsPayload')
166
+ MalformedPolicyException = Shapes::StructureShape.new(name: 'MalformedPolicyException')
167
+ Marker = Shapes::StringShape.new(name: 'Marker')
168
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
169
+ Message = Shapes::StringShape.new(name: 'Message')
170
+ MessageFormat = Shapes::StringShape.new(name: 'MessageFormat')
171
+ MetricName = Shapes::StringShape.new(name: 'MetricName')
172
+ MetricNamespace = Shapes::StringShape.new(name: 'MetricNamespace')
173
+ MetricTimestamp = Shapes::StringShape.new(name: 'MetricTimestamp')
174
+ MetricUnit = Shapes::StringShape.new(name: 'MetricUnit')
175
+ MetricValue = Shapes::StringShape.new(name: 'MetricValue')
176
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
177
+ OptionalVersion = Shapes::IntegerShape.new(name: 'OptionalVersion')
178
+ OutgoingCertificate = Shapes::StructureShape.new(name: 'OutgoingCertificate')
179
+ OutgoingCertificates = Shapes::ListShape.new(name: 'OutgoingCertificates')
180
+ PageSize = Shapes::IntegerShape.new(name: 'PageSize')
181
+ PartitionKey = Shapes::StringShape.new(name: 'PartitionKey')
182
+ PayloadField = Shapes::StringShape.new(name: 'PayloadField')
183
+ Policies = Shapes::ListShape.new(name: 'Policies')
184
+ Policy = Shapes::StructureShape.new(name: 'Policy')
185
+ PolicyArn = Shapes::StringShape.new(name: 'PolicyArn')
186
+ PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
187
+ PolicyName = Shapes::StringShape.new(name: 'PolicyName')
188
+ PolicyVersion = Shapes::StructureShape.new(name: 'PolicyVersion')
189
+ PolicyVersionId = Shapes::StringShape.new(name: 'PolicyVersionId')
190
+ PolicyVersions = Shapes::ListShape.new(name: 'PolicyVersions')
191
+ Principal = Shapes::StringShape.new(name: 'Principal')
192
+ PrincipalArn = Shapes::StringShape.new(name: 'PrincipalArn')
193
+ Principals = Shapes::ListShape.new(name: 'Principals')
194
+ PrivateKey = Shapes::StringShape.new(name: 'PrivateKey')
195
+ PublicKey = Shapes::StringShape.new(name: 'PublicKey')
196
+ PutItemInput = Shapes::StructureShape.new(name: 'PutItemInput')
197
+ QueueUrl = Shapes::StringShape.new(name: 'QueueUrl')
198
+ RangeKeyField = Shapes::StringShape.new(name: 'RangeKeyField')
199
+ RangeKeyValue = Shapes::StringShape.new(name: 'RangeKeyValue')
200
+ RegisterCACertificateRequest = Shapes::StructureShape.new(name: 'RegisterCACertificateRequest')
201
+ RegisterCACertificateResponse = Shapes::StructureShape.new(name: 'RegisterCACertificateResponse')
202
+ RegisterCertificateRequest = Shapes::StructureShape.new(name: 'RegisterCertificateRequest')
203
+ RegisterCertificateResponse = Shapes::StructureShape.new(name: 'RegisterCertificateResponse')
204
+ RegistrationCode = Shapes::StringShape.new(name: 'RegistrationCode')
205
+ RegistrationCodeValidationException = Shapes::StructureShape.new(name: 'RegistrationCodeValidationException')
206
+ RejectCertificateTransferRequest = Shapes::StructureShape.new(name: 'RejectCertificateTransferRequest')
207
+ RemoveThingType = Shapes::BooleanShape.new(name: 'RemoveThingType')
208
+ ReplaceTopicRuleRequest = Shapes::StructureShape.new(name: 'ReplaceTopicRuleRequest')
209
+ RepublishAction = Shapes::StructureShape.new(name: 'RepublishAction')
210
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
211
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
212
+ RuleArn = Shapes::StringShape.new(name: 'RuleArn')
213
+ RuleName = Shapes::StringShape.new(name: 'RuleName')
214
+ S3Action = Shapes::StructureShape.new(name: 'S3Action')
215
+ SQL = Shapes::StringShape.new(name: 'SQL')
216
+ SearchableAttributes = Shapes::ListShape.new(name: 'SearchableAttributes')
217
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
218
+ SetAsActive = Shapes::BooleanShape.new(name: 'SetAsActive')
219
+ SetAsActiveFlag = Shapes::BooleanShape.new(name: 'SetAsActiveFlag')
220
+ SetAsDefault = Shapes::BooleanShape.new(name: 'SetAsDefault')
221
+ SetDefaultPolicyVersionRequest = Shapes::StructureShape.new(name: 'SetDefaultPolicyVersionRequest')
222
+ SetLoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetLoggingOptionsRequest')
223
+ SnsAction = Shapes::StructureShape.new(name: 'SnsAction')
224
+ SqlParseException = Shapes::StructureShape.new(name: 'SqlParseException')
225
+ SqsAction = Shapes::StructureShape.new(name: 'SqsAction')
226
+ StateReason = Shapes::StringShape.new(name: 'StateReason')
227
+ StateValue = Shapes::StringShape.new(name: 'StateValue')
228
+ StreamName = Shapes::StringShape.new(name: 'StreamName')
229
+ TableName = Shapes::StringShape.new(name: 'TableName')
230
+ ThingArn = Shapes::StringShape.new(name: 'ThingArn')
231
+ ThingAttribute = Shapes::StructureShape.new(name: 'ThingAttribute')
232
+ ThingAttributeList = Shapes::ListShape.new(name: 'ThingAttributeList')
233
+ ThingName = Shapes::StringShape.new(name: 'ThingName')
234
+ ThingNameList = Shapes::ListShape.new(name: 'ThingNameList')
235
+ ThingTypeArn = Shapes::StringShape.new(name: 'ThingTypeArn')
236
+ ThingTypeDefinition = Shapes::StructureShape.new(name: 'ThingTypeDefinition')
237
+ ThingTypeDescription = Shapes::StringShape.new(name: 'ThingTypeDescription')
238
+ ThingTypeList = Shapes::ListShape.new(name: 'ThingTypeList')
239
+ ThingTypeMetadata = Shapes::StructureShape.new(name: 'ThingTypeMetadata')
240
+ ThingTypeName = Shapes::StringShape.new(name: 'ThingTypeName')
241
+ ThingTypeProperties = Shapes::StructureShape.new(name: 'ThingTypeProperties')
242
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
243
+ Topic = Shapes::StringShape.new(name: 'Topic')
244
+ TopicPattern = Shapes::StringShape.new(name: 'TopicPattern')
245
+ TopicRule = Shapes::StructureShape.new(name: 'TopicRule')
246
+ TopicRuleList = Shapes::ListShape.new(name: 'TopicRuleList')
247
+ TopicRuleListItem = Shapes::StructureShape.new(name: 'TopicRuleListItem')
248
+ TopicRulePayload = Shapes::StructureShape.new(name: 'TopicRulePayload')
249
+ TransferAlreadyCompletedException = Shapes::StructureShape.new(name: 'TransferAlreadyCompletedException')
250
+ TransferCertificateRequest = Shapes::StructureShape.new(name: 'TransferCertificateRequest')
251
+ TransferCertificateResponse = Shapes::StructureShape.new(name: 'TransferCertificateResponse')
252
+ TransferConflictException = Shapes::StructureShape.new(name: 'TransferConflictException')
253
+ TransferData = Shapes::StructureShape.new(name: 'TransferData')
254
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
255
+ UndoDeprecate = Shapes::BooleanShape.new(name: 'UndoDeprecate')
256
+ UpdateCACertificateRequest = Shapes::StructureShape.new(name: 'UpdateCACertificateRequest')
257
+ UpdateCertificateRequest = Shapes::StructureShape.new(name: 'UpdateCertificateRequest')
258
+ UpdateThingRequest = Shapes::StructureShape.new(name: 'UpdateThingRequest')
259
+ UpdateThingResponse = Shapes::StructureShape.new(name: 'UpdateThingResponse')
260
+ UseBase64 = Shapes::BooleanShape.new(name: 'UseBase64')
261
+ Version = Shapes::IntegerShape.new(name: 'Version')
262
+ VersionConflictException = Shapes::StructureShape.new(name: 'VersionConflictException')
263
+ VersionsLimitExceededException = Shapes::StructureShape.new(name: 'VersionsLimitExceededException')
264
+ errorMessage = Shapes::StringShape.new(name: 'errorMessage')
265
+ resourceArn = Shapes::StringShape.new(name: 'resourceArn')
266
+ resourceId = Shapes::StringShape.new(name: 'resourceId')
267
+
268
+ AcceptCertificateTransferRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
269
+ AcceptCertificateTransferRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
270
+ AcceptCertificateTransferRequest.struct_class = Types::AcceptCertificateTransferRequest
271
+
272
+ Action.add_member(:dynamo_db, Shapes::ShapeRef.new(shape: DynamoDBAction, location_name: "dynamoDB"))
273
+ Action.add_member(:dynamo_d_bv_2, Shapes::ShapeRef.new(shape: DynamoDBv2Action, location_name: "dynamoDBv2"))
274
+ Action.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaAction, location_name: "lambda"))
275
+ Action.add_member(:sns, Shapes::ShapeRef.new(shape: SnsAction, location_name: "sns"))
276
+ Action.add_member(:sqs, Shapes::ShapeRef.new(shape: SqsAction, location_name: "sqs"))
277
+ Action.add_member(:kinesis, Shapes::ShapeRef.new(shape: KinesisAction, location_name: "kinesis"))
278
+ Action.add_member(:republish, Shapes::ShapeRef.new(shape: RepublishAction, location_name: "republish"))
279
+ Action.add_member(:s3, Shapes::ShapeRef.new(shape: S3Action, location_name: "s3"))
280
+ Action.add_member(:firehose, Shapes::ShapeRef.new(shape: FirehoseAction, location_name: "firehose"))
281
+ Action.add_member(:cloudwatch_metric, Shapes::ShapeRef.new(shape: CloudwatchMetricAction, location_name: "cloudwatchMetric"))
282
+ Action.add_member(:cloudwatch_alarm, Shapes::ShapeRef.new(shape: CloudwatchAlarmAction, location_name: "cloudwatchAlarm"))
283
+ Action.add_member(:elasticsearch, Shapes::ShapeRef.new(shape: ElasticsearchAction, location_name: "elasticsearch"))
284
+ Action.struct_class = Types::Action
285
+
286
+ ActionList.member = Shapes::ShapeRef.new(shape: Action)
287
+
288
+ AttachPrincipalPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
289
+ AttachPrincipalPolicyRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-iot-principal"))
290
+ AttachPrincipalPolicyRequest.struct_class = Types::AttachPrincipalPolicyRequest
291
+
292
+ AttachThingPrincipalRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
293
+ AttachThingPrincipalRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
294
+ AttachThingPrincipalRequest.struct_class = Types::AttachThingPrincipalRequest
295
+
296
+ AttachThingPrincipalResponse.struct_class = Types::AttachThingPrincipalResponse
297
+
298
+ AttributePayload.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
299
+ AttributePayload.add_member(:merge, Shapes::ShapeRef.new(shape: Flag, location_name: "merge"))
300
+ AttributePayload.struct_class = Types::AttributePayload
301
+
302
+ Attributes.key = Shapes::ShapeRef.new(shape: AttributeName)
303
+ Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
304
+
305
+ CACertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
306
+ CACertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
307
+ CACertificate.add_member(:status, Shapes::ShapeRef.new(shape: CACertificateStatus, location_name: "status"))
308
+ CACertificate.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
309
+ CACertificate.struct_class = Types::CACertificate
310
+
311
+ CACertificateDescription.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
312
+ CACertificateDescription.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
313
+ CACertificateDescription.add_member(:status, Shapes::ShapeRef.new(shape: CACertificateStatus, location_name: "status"))
314
+ CACertificateDescription.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "certificatePem"))
315
+ CACertificateDescription.add_member(:owned_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "ownedBy"))
316
+ CACertificateDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
317
+ CACertificateDescription.add_member(:auto_registration_status, Shapes::ShapeRef.new(shape: AutoRegistrationStatus, location_name: "autoRegistrationStatus"))
318
+ CACertificateDescription.struct_class = Types::CACertificateDescription
319
+
320
+ CACertificates.member = Shapes::ShapeRef.new(shape: CACertificate)
321
+
322
+ CancelCertificateTransferRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
323
+ CancelCertificateTransferRequest.struct_class = Types::CancelCertificateTransferRequest
324
+
325
+ Certificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
326
+ Certificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
327
+ Certificate.add_member(:status, Shapes::ShapeRef.new(shape: CertificateStatus, location_name: "status"))
328
+ Certificate.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
329
+ Certificate.struct_class = Types::Certificate
330
+
331
+ CertificateDescription.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
332
+ CertificateDescription.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
333
+ CertificateDescription.add_member(:ca_certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "caCertificateId"))
334
+ CertificateDescription.add_member(:status, Shapes::ShapeRef.new(shape: CertificateStatus, location_name: "status"))
335
+ CertificateDescription.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "certificatePem"))
336
+ CertificateDescription.add_member(:owned_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "ownedBy"))
337
+ CertificateDescription.add_member(:previous_owned_by, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "previousOwnedBy"))
338
+ CertificateDescription.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
339
+ CertificateDescription.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
340
+ CertificateDescription.add_member(:transfer_data, Shapes::ShapeRef.new(shape: TransferData, location_name: "transferData"))
341
+ CertificateDescription.struct_class = Types::CertificateDescription
342
+
343
+ Certificates.member = Shapes::ShapeRef.new(shape: Certificate)
344
+
345
+ CloudwatchAlarmAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
346
+ CloudwatchAlarmAction.add_member(:alarm_name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "alarmName"))
347
+ CloudwatchAlarmAction.add_member(:state_reason, Shapes::ShapeRef.new(shape: StateReason, required: true, location_name: "stateReason"))
348
+ CloudwatchAlarmAction.add_member(:state_value, Shapes::ShapeRef.new(shape: StateValue, required: true, location_name: "stateValue"))
349
+ CloudwatchAlarmAction.struct_class = Types::CloudwatchAlarmAction
350
+
351
+ CloudwatchMetricAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
352
+ CloudwatchMetricAction.add_member(:metric_namespace, Shapes::ShapeRef.new(shape: MetricNamespace, required: true, location_name: "metricNamespace"))
353
+ CloudwatchMetricAction.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, required: true, location_name: "metricName"))
354
+ CloudwatchMetricAction.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, required: true, location_name: "metricValue"))
355
+ CloudwatchMetricAction.add_member(:metric_unit, Shapes::ShapeRef.new(shape: MetricUnit, required: true, location_name: "metricUnit"))
356
+ CloudwatchMetricAction.add_member(:metric_timestamp, Shapes::ShapeRef.new(shape: MetricTimestamp, location_name: "metricTimestamp"))
357
+ CloudwatchMetricAction.struct_class = Types::CloudwatchMetricAction
358
+
359
+ CreateCertificateFromCsrRequest.add_member(:certificate_signing_request, Shapes::ShapeRef.new(shape: CertificateSigningRequest, required: true, location_name: "certificateSigningRequest"))
360
+ CreateCertificateFromCsrRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
361
+ CreateCertificateFromCsrRequest.struct_class = Types::CreateCertificateFromCsrRequest
362
+
363
+ CreateCertificateFromCsrResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
364
+ CreateCertificateFromCsrResponse.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
365
+ CreateCertificateFromCsrResponse.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "certificatePem"))
366
+ CreateCertificateFromCsrResponse.struct_class = Types::CreateCertificateFromCsrResponse
367
+
368
+ CreateKeysAndCertificateRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
369
+ CreateKeysAndCertificateRequest.struct_class = Types::CreateKeysAndCertificateRequest
370
+
371
+ CreateKeysAndCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
372
+ CreateKeysAndCertificateResponse.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
373
+ CreateKeysAndCertificateResponse.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "certificatePem"))
374
+ CreateKeysAndCertificateResponse.add_member(:key_pair, Shapes::ShapeRef.new(shape: KeyPair, location_name: "keyPair"))
375
+ CreateKeysAndCertificateResponse.struct_class = Types::CreateKeysAndCertificateResponse
376
+
377
+ CreatePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
378
+ CreatePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
379
+ CreatePolicyRequest.struct_class = Types::CreatePolicyRequest
380
+
381
+ CreatePolicyResponse.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
382
+ CreatePolicyResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
383
+ CreatePolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
384
+ CreatePolicyResponse.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "policyVersionId"))
385
+ CreatePolicyResponse.struct_class = Types::CreatePolicyResponse
381
386
 
382
- CreatePolicyResponse.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
383
- CreatePolicyResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
384
- CreatePolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
385
- CreatePolicyResponse.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "policyVersionId"))
386
- CreatePolicyResponse.struct_class = Types::CreatePolicyResponse
387
+ CreatePolicyVersionRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
388
+ CreatePolicyVersionRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
389
+ CreatePolicyVersionRequest.add_member(:set_as_default, Shapes::ShapeRef.new(shape: SetAsDefault, location: "querystring", location_name: "setAsDefault"))
390
+ CreatePolicyVersionRequest.struct_class = Types::CreatePolicyVersionRequest
387
391
 
388
- CreatePolicyVersionRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
389
- CreatePolicyVersionRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
390
- CreatePolicyVersionRequest.add_member(:set_as_default, Shapes::ShapeRef.new(shape: SetAsDefault, location: "querystring", location_name: "setAsDefault"))
391
- CreatePolicyVersionRequest.struct_class = Types::CreatePolicyVersionRequest
392
+ CreatePolicyVersionResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
393
+ CreatePolicyVersionResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
394
+ CreatePolicyVersionResponse.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "policyVersionId"))
395
+ CreatePolicyVersionResponse.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "isDefaultVersion"))
396
+ CreatePolicyVersionResponse.struct_class = Types::CreatePolicyVersionResponse
397
+
398
+ CreateThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
399
+ CreateThingRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
400
+ CreateThingRequest.add_member(:attribute_payload, Shapes::ShapeRef.new(shape: AttributePayload, location_name: "attributePayload"))
401
+ CreateThingRequest.struct_class = Types::CreateThingRequest
402
+
403
+ CreateThingResponse.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
404
+ CreateThingResponse.add_member(:thing_arn, Shapes::ShapeRef.new(shape: ThingArn, location_name: "thingArn"))
405
+ CreateThingResponse.struct_class = Types::CreateThingResponse
406
+
407
+ CreateThingTypeRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, required: true, location: "uri", location_name: "thingTypeName"))
408
+ CreateThingTypeRequest.add_member(:thing_type_properties, Shapes::ShapeRef.new(shape: ThingTypeProperties, location_name: "thingTypeProperties"))
409
+ CreateThingTypeRequest.struct_class = Types::CreateThingTypeRequest
392
410
 
393
- CreatePolicyVersionResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
394
- CreatePolicyVersionResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
395
- CreatePolicyVersionResponse.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "policyVersionId"))
396
- CreatePolicyVersionResponse.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "isDefaultVersion"))
397
- CreatePolicyVersionResponse.struct_class = Types::CreatePolicyVersionResponse
398
-
399
- CreateThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
400
- CreateThingRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
401
- CreateThingRequest.add_member(:attribute_payload, Shapes::ShapeRef.new(shape: AttributePayload, location_name: "attributePayload"))
402
- CreateThingRequest.struct_class = Types::CreateThingRequest
403
-
404
- CreateThingResponse.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
405
- CreateThingResponse.add_member(:thing_arn, Shapes::ShapeRef.new(shape: ThingArn, location_name: "thingArn"))
406
- CreateThingResponse.struct_class = Types::CreateThingResponse
407
-
408
- CreateThingTypeRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, required: true, location: "uri", location_name: "thingTypeName"))
409
- CreateThingTypeRequest.add_member(:thing_type_properties, Shapes::ShapeRef.new(shape: ThingTypeProperties, location_name: "thingTypeProperties"))
410
- CreateThingTypeRequest.struct_class = Types::CreateThingTypeRequest
411
+ CreateThingTypeResponse.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
412
+ CreateThingTypeResponse.add_member(:thing_type_arn, Shapes::ShapeRef.new(shape: ThingTypeArn, location_name: "thingTypeArn"))
413
+ CreateThingTypeResponse.struct_class = Types::CreateThingTypeResponse
414
+
415
+ CreateTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
416
+ CreateTopicRuleRequest.add_member(:topic_rule_payload, Shapes::ShapeRef.new(shape: TopicRulePayload, required: true, location_name: "topicRulePayload"))
417
+ CreateTopicRuleRequest.struct_class = Types::CreateTopicRuleRequest
418
+ CreateTopicRuleRequest[:payload] = :topic_rule_payload
419
+ CreateTopicRuleRequest[:payload_member] = CreateTopicRuleRequest.member(:topic_rule_payload)
420
+
421
+ DeleteCACertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "caCertificateId"))
422
+ DeleteCACertificateRequest.struct_class = Types::DeleteCACertificateRequest
423
+
424
+ DeleteCACertificateResponse.struct_class = Types::DeleteCACertificateResponse
425
+
426
+ DeleteCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
427
+ DeleteCertificateRequest.struct_class = Types::DeleteCertificateRequest
428
+
429
+ DeletePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
430
+ DeletePolicyRequest.struct_class = Types::DeletePolicyRequest
431
+
432
+ DeletePolicyVersionRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
433
+ DeletePolicyVersionRequest.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, required: true, location: "uri", location_name: "policyVersionId"))
434
+ DeletePolicyVersionRequest.struct_class = Types::DeletePolicyVersionRequest
435
+
436
+ DeleteRegistrationCodeRequest.struct_class = Types::DeleteRegistrationCodeRequest
437
+
438
+ DeleteRegistrationCodeResponse.struct_class = Types::DeleteRegistrationCodeResponse
411
439
 
412
- CreateThingTypeResponse.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
413
- CreateThingTypeResponse.add_member(:thing_type_arn, Shapes::ShapeRef.new(shape: ThingTypeArn, location_name: "thingTypeArn"))
414
- CreateThingTypeResponse.struct_class = Types::CreateThingTypeResponse
415
-
416
- CreateTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
417
- CreateTopicRuleRequest.add_member(:topic_rule_payload, Shapes::ShapeRef.new(shape: TopicRulePayload, required: true, location_name: "topicRulePayload"))
418
- CreateTopicRuleRequest.struct_class = Types::CreateTopicRuleRequest
419
- CreateTopicRuleRequest[:payload] = :topic_rule_payload
420
- CreateTopicRuleRequest[:payload_member] = CreateTopicRuleRequest.member(:topic_rule_payload)
421
-
422
- DeleteCACertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "caCertificateId"))
423
- DeleteCACertificateRequest.struct_class = Types::DeleteCACertificateRequest
424
-
425
- DeleteCACertificateResponse.struct_class = Types::DeleteCACertificateResponse
426
-
427
- DeleteCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
428
- DeleteCertificateRequest.struct_class = Types::DeleteCertificateRequest
429
-
430
- DeletePolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
431
- DeletePolicyRequest.struct_class = Types::DeletePolicyRequest
432
-
433
- DeletePolicyVersionRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
434
- DeletePolicyVersionRequest.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, required: true, location: "uri", location_name: "policyVersionId"))
435
- DeletePolicyVersionRequest.struct_class = Types::DeletePolicyVersionRequest
436
-
437
- DeleteRegistrationCodeRequest.struct_class = Types::DeleteRegistrationCodeRequest
438
-
439
- DeleteRegistrationCodeResponse.struct_class = Types::DeleteRegistrationCodeResponse
440
+ DeleteThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
441
+ DeleteThingRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
442
+ DeleteThingRequest.struct_class = Types::DeleteThingRequest
440
443
 
441
- DeleteThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
442
- DeleteThingRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
443
- DeleteThingRequest.struct_class = Types::DeleteThingRequest
444
+ DeleteThingResponse.struct_class = Types::DeleteThingResponse
444
445
 
445
- DeleteThingResponse.struct_class = Types::DeleteThingResponse
446
+ DeleteThingTypeRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, required: true, location: "uri", location_name: "thingTypeName"))
447
+ DeleteThingTypeRequest.struct_class = Types::DeleteThingTypeRequest
446
448
 
447
- DeleteThingTypeRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, required: true, location: "uri", location_name: "thingTypeName"))
448
- DeleteThingTypeRequest.struct_class = Types::DeleteThingTypeRequest
449
+ DeleteThingTypeResponse.struct_class = Types::DeleteThingTypeResponse
449
450
 
450
- DeleteThingTypeResponse.struct_class = Types::DeleteThingTypeResponse
451
+ DeleteTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
452
+ DeleteTopicRuleRequest.struct_class = Types::DeleteTopicRuleRequest
451
453
 
452
- DeleteTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
453
- DeleteTopicRuleRequest.struct_class = Types::DeleteTopicRuleRequest
454
+ DeprecateThingTypeRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, required: true, location: "uri", location_name: "thingTypeName"))
455
+ DeprecateThingTypeRequest.add_member(:undo_deprecate, Shapes::ShapeRef.new(shape: UndoDeprecate, location_name: "undoDeprecate"))
456
+ DeprecateThingTypeRequest.struct_class = Types::DeprecateThingTypeRequest
454
457
 
455
- DeprecateThingTypeRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, required: true, location: "uri", location_name: "thingTypeName"))
456
- DeprecateThingTypeRequest.add_member(:undo_deprecate, Shapes::ShapeRef.new(shape: UndoDeprecate, location_name: "undoDeprecate"))
457
- DeprecateThingTypeRequest.struct_class = Types::DeprecateThingTypeRequest
458
+ DeprecateThingTypeResponse.struct_class = Types::DeprecateThingTypeResponse
458
459
 
459
- DeprecateThingTypeResponse.struct_class = Types::DeprecateThingTypeResponse
460
+ DescribeCACertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "caCertificateId"))
461
+ DescribeCACertificateRequest.struct_class = Types::DescribeCACertificateRequest
460
462
 
461
- DescribeCACertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "caCertificateId"))
462
- DescribeCACertificateRequest.struct_class = Types::DescribeCACertificateRequest
463
+ DescribeCACertificateResponse.add_member(:certificate_description, Shapes::ShapeRef.new(shape: CACertificateDescription, location_name: "certificateDescription"))
464
+ DescribeCACertificateResponse.struct_class = Types::DescribeCACertificateResponse
463
465
 
464
- DescribeCACertificateResponse.add_member(:certificate_description, Shapes::ShapeRef.new(shape: CACertificateDescription, location_name: "certificateDescription"))
465
- DescribeCACertificateResponse.struct_class = Types::DescribeCACertificateResponse
466
+ DescribeCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
467
+ DescribeCertificateRequest.struct_class = Types::DescribeCertificateRequest
466
468
 
467
- DescribeCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
468
- DescribeCertificateRequest.struct_class = Types::DescribeCertificateRequest
469
+ DescribeCertificateResponse.add_member(:certificate_description, Shapes::ShapeRef.new(shape: CertificateDescription, location_name: "certificateDescription"))
470
+ DescribeCertificateResponse.struct_class = Types::DescribeCertificateResponse
469
471
 
470
- DescribeCertificateResponse.add_member(:certificate_description, Shapes::ShapeRef.new(shape: CertificateDescription, location_name: "certificateDescription"))
471
- DescribeCertificateResponse.struct_class = Types::DescribeCertificateResponse
472
+ DescribeEndpointRequest.struct_class = Types::DescribeEndpointRequest
472
473
 
473
- DescribeEndpointRequest.struct_class = Types::DescribeEndpointRequest
474
+ DescribeEndpointResponse.add_member(:endpoint_address, Shapes::ShapeRef.new(shape: EndpointAddress, location_name: "endpointAddress"))
475
+ DescribeEndpointResponse.struct_class = Types::DescribeEndpointResponse
474
476
 
475
- DescribeEndpointResponse.add_member(:endpoint_address, Shapes::ShapeRef.new(shape: EndpointAddress, location_name: "endpointAddress"))
476
- DescribeEndpointResponse.struct_class = Types::DescribeEndpointResponse
477
+ DescribeThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
478
+ DescribeThingRequest.struct_class = Types::DescribeThingRequest
477
479
 
478
- DescribeThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
479
- DescribeThingRequest.struct_class = Types::DescribeThingRequest
480
+ DescribeThingResponse.add_member(:default_client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "defaultClientId"))
481
+ DescribeThingResponse.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
482
+ DescribeThingResponse.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
483
+ DescribeThingResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
484
+ DescribeThingResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
485
+ DescribeThingResponse.struct_class = Types::DescribeThingResponse
480
486
 
481
- DescribeThingResponse.add_member(:default_client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "defaultClientId"))
482
- DescribeThingResponse.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
483
- DescribeThingResponse.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
484
- DescribeThingResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
485
- DescribeThingResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
486
- DescribeThingResponse.struct_class = Types::DescribeThingResponse
487
+ DescribeThingTypeRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, required: true, location: "uri", location_name: "thingTypeName"))
488
+ DescribeThingTypeRequest.struct_class = Types::DescribeThingTypeRequest
487
489
 
488
- DescribeThingTypeRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, required: true, location: "uri", location_name: "thingTypeName"))
489
- DescribeThingTypeRequest.struct_class = Types::DescribeThingTypeRequest
490
+ DescribeThingTypeResponse.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
491
+ DescribeThingTypeResponse.add_member(:thing_type_properties, Shapes::ShapeRef.new(shape: ThingTypeProperties, location_name: "thingTypeProperties"))
492
+ DescribeThingTypeResponse.add_member(:thing_type_metadata, Shapes::ShapeRef.new(shape: ThingTypeMetadata, location_name: "thingTypeMetadata"))
493
+ DescribeThingTypeResponse.struct_class = Types::DescribeThingTypeResponse
490
494
 
491
- DescribeThingTypeResponse.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
492
- DescribeThingTypeResponse.add_member(:thing_type_properties, Shapes::ShapeRef.new(shape: ThingTypeProperties, location_name: "thingTypeProperties"))
493
- DescribeThingTypeResponse.add_member(:thing_type_metadata, Shapes::ShapeRef.new(shape: ThingTypeMetadata, location_name: "thingTypeMetadata"))
494
- DescribeThingTypeResponse.struct_class = Types::DescribeThingTypeResponse
495
+ DetachPrincipalPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
496
+ DetachPrincipalPolicyRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-iot-principal"))
497
+ DetachPrincipalPolicyRequest.struct_class = Types::DetachPrincipalPolicyRequest
495
498
 
496
- DetachPrincipalPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
497
- DetachPrincipalPolicyRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-iot-principal"))
498
- DetachPrincipalPolicyRequest.struct_class = Types::DetachPrincipalPolicyRequest
499
+ DetachThingPrincipalRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
500
+ DetachThingPrincipalRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
501
+ DetachThingPrincipalRequest.struct_class = Types::DetachThingPrincipalRequest
499
502
 
500
- DetachThingPrincipalRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
501
- DetachThingPrincipalRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
502
- DetachThingPrincipalRequest.struct_class = Types::DetachThingPrincipalRequest
503
+ DetachThingPrincipalResponse.struct_class = Types::DetachThingPrincipalResponse
503
504
 
504
- DetachThingPrincipalResponse.struct_class = Types::DetachThingPrincipalResponse
505
+ DisableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
506
+ DisableTopicRuleRequest.struct_class = Types::DisableTopicRuleRequest
505
507
 
506
- DisableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
507
- DisableTopicRuleRequest.struct_class = Types::DisableTopicRuleRequest
508
+ DynamoDBAction.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
509
+ DynamoDBAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
510
+ DynamoDBAction.add_member(:operation, Shapes::ShapeRef.new(shape: DynamoOperation, location_name: "operation"))
511
+ DynamoDBAction.add_member(:hash_key_field, Shapes::ShapeRef.new(shape: HashKeyField, required: true, location_name: "hashKeyField"))
512
+ DynamoDBAction.add_member(:hash_key_value, Shapes::ShapeRef.new(shape: HashKeyValue, required: true, location_name: "hashKeyValue"))
513
+ DynamoDBAction.add_member(:hash_key_type, Shapes::ShapeRef.new(shape: DynamoKeyType, location_name: "hashKeyType"))
514
+ DynamoDBAction.add_member(:range_key_field, Shapes::ShapeRef.new(shape: RangeKeyField, location_name: "rangeKeyField"))
515
+ DynamoDBAction.add_member(:range_key_value, Shapes::ShapeRef.new(shape: RangeKeyValue, location_name: "rangeKeyValue"))
516
+ DynamoDBAction.add_member(:range_key_type, Shapes::ShapeRef.new(shape: DynamoKeyType, location_name: "rangeKeyType"))
517
+ DynamoDBAction.add_member(:payload_field, Shapes::ShapeRef.new(shape: PayloadField, location_name: "payloadField"))
518
+ DynamoDBAction.struct_class = Types::DynamoDBAction
508
519
 
509
- DynamoDBAction.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
510
- DynamoDBAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
511
- DynamoDBAction.add_member(:operation, Shapes::ShapeRef.new(shape: DynamoOperation, location_name: "operation"))
512
- DynamoDBAction.add_member(:hash_key_field, Shapes::ShapeRef.new(shape: HashKeyField, required: true, location_name: "hashKeyField"))
513
- DynamoDBAction.add_member(:hash_key_value, Shapes::ShapeRef.new(shape: HashKeyValue, required: true, location_name: "hashKeyValue"))
514
- DynamoDBAction.add_member(:hash_key_type, Shapes::ShapeRef.new(shape: DynamoKeyType, location_name: "hashKeyType"))
515
- DynamoDBAction.add_member(:range_key_field, Shapes::ShapeRef.new(shape: RangeKeyField, location_name: "rangeKeyField"))
516
- DynamoDBAction.add_member(:range_key_value, Shapes::ShapeRef.new(shape: RangeKeyValue, location_name: "rangeKeyValue"))
517
- DynamoDBAction.add_member(:range_key_type, Shapes::ShapeRef.new(shape: DynamoKeyType, location_name: "rangeKeyType"))
518
- DynamoDBAction.add_member(:payload_field, Shapes::ShapeRef.new(shape: PayloadField, location_name: "payloadField"))
519
- DynamoDBAction.struct_class = Types::DynamoDBAction
520
+ DynamoDBv2Action.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
521
+ DynamoDBv2Action.add_member(:put_item, Shapes::ShapeRef.new(shape: PutItemInput, location_name: "putItem"))
522
+ DynamoDBv2Action.struct_class = Types::DynamoDBv2Action
520
523
 
521
- DynamoDBv2Action.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
522
- DynamoDBv2Action.add_member(:put_item, Shapes::ShapeRef.new(shape: PutItemInput, location_name: "putItem"))
523
- DynamoDBv2Action.struct_class = Types::DynamoDBv2Action
524
+ ElasticsearchAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
525
+ ElasticsearchAction.add_member(:endpoint, Shapes::ShapeRef.new(shape: ElasticsearchEndpoint, required: true, location_name: "endpoint"))
526
+ ElasticsearchAction.add_member(:index, Shapes::ShapeRef.new(shape: ElasticsearchIndex, required: true, location_name: "index"))
527
+ ElasticsearchAction.add_member(:type, Shapes::ShapeRef.new(shape: ElasticsearchType, required: true, location_name: "type"))
528
+ ElasticsearchAction.add_member(:id, Shapes::ShapeRef.new(shape: ElasticsearchId, required: true, location_name: "id"))
529
+ ElasticsearchAction.struct_class = Types::ElasticsearchAction
524
530
 
525
- ElasticsearchAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
526
- ElasticsearchAction.add_member(:endpoint, Shapes::ShapeRef.new(shape: ElasticsearchEndpoint, required: true, location_name: "endpoint"))
527
- ElasticsearchAction.add_member(:index, Shapes::ShapeRef.new(shape: ElasticsearchIndex, required: true, location_name: "index"))
528
- ElasticsearchAction.add_member(:type, Shapes::ShapeRef.new(shape: ElasticsearchType, required: true, location_name: "type"))
529
- ElasticsearchAction.add_member(:id, Shapes::ShapeRef.new(shape: ElasticsearchId, required: true, location_name: "id"))
530
- ElasticsearchAction.struct_class = Types::ElasticsearchAction
531
+ EnableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
532
+ EnableTopicRuleRequest.struct_class = Types::EnableTopicRuleRequest
531
533
 
532
- EnableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
533
- EnableTopicRuleRequest.struct_class = Types::EnableTopicRuleRequest
534
+ FirehoseAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
535
+ FirehoseAction.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "deliveryStreamName"))
536
+ FirehoseAction.add_member(:separator, Shapes::ShapeRef.new(shape: FirehoseSeparator, location_name: "separator"))
537
+ FirehoseAction.struct_class = Types::FirehoseAction
534
538
 
535
- FirehoseAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
536
- FirehoseAction.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "deliveryStreamName"))
537
- FirehoseAction.add_member(:separator, Shapes::ShapeRef.new(shape: FirehoseSeparator, location_name: "separator"))
538
- FirehoseAction.struct_class = Types::FirehoseAction
539
+ GetLoggingOptionsRequest.struct_class = Types::GetLoggingOptionsRequest
539
540
 
540
- GetLoggingOptionsRequest.struct_class = Types::GetLoggingOptionsRequest
541
+ GetLoggingOptionsResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
542
+ GetLoggingOptionsResponse.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "logLevel"))
543
+ GetLoggingOptionsResponse.struct_class = Types::GetLoggingOptionsResponse
541
544
 
542
- GetLoggingOptionsResponse.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
543
- GetLoggingOptionsResponse.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "logLevel"))
544
- GetLoggingOptionsResponse.struct_class = Types::GetLoggingOptionsResponse
545
+ GetPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
546
+ GetPolicyRequest.struct_class = Types::GetPolicyRequest
545
547
 
546
- GetPolicyRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
547
- GetPolicyRequest.struct_class = Types::GetPolicyRequest
548
+ GetPolicyResponse.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
549
+ GetPolicyResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
550
+ GetPolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
551
+ GetPolicyResponse.add_member(:default_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "defaultVersionId"))
552
+ GetPolicyResponse.struct_class = Types::GetPolicyResponse
553
+
554
+ GetPolicyVersionRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
555
+ GetPolicyVersionRequest.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, required: true, location: "uri", location_name: "policyVersionId"))
556
+ GetPolicyVersionRequest.struct_class = Types::GetPolicyVersionRequest
557
+
558
+ GetPolicyVersionResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
559
+ GetPolicyVersionResponse.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
560
+ GetPolicyVersionResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
561
+ GetPolicyVersionResponse.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "policyVersionId"))
562
+ GetPolicyVersionResponse.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "isDefaultVersion"))
563
+ GetPolicyVersionResponse.struct_class = Types::GetPolicyVersionResponse
564
+
565
+ GetRegistrationCodeRequest.struct_class = Types::GetRegistrationCodeRequest
566
+
567
+ GetRegistrationCodeResponse.add_member(:registration_code, Shapes::ShapeRef.new(shape: RegistrationCode, location_name: "registrationCode"))
568
+ GetRegistrationCodeResponse.struct_class = Types::GetRegistrationCodeResponse
569
+
570
+ GetTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
571
+ GetTopicRuleRequest.struct_class = Types::GetTopicRuleRequest
572
+
573
+ GetTopicRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "ruleArn"))
574
+ GetTopicRuleResponse.add_member(:rule, Shapes::ShapeRef.new(shape: TopicRule, location_name: "rule"))
575
+ GetTopicRuleResponse.struct_class = Types::GetTopicRuleResponse
576
+
577
+ KeyPair.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKey, location_name: "PublicKey"))
578
+ KeyPair.add_member(:private_key, Shapes::ShapeRef.new(shape: PrivateKey, location_name: "PrivateKey"))
579
+ KeyPair.struct_class = Types::KeyPair
580
+
581
+ KinesisAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
582
+ KinesisAction.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "streamName"))
583
+ KinesisAction.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, location_name: "partitionKey"))
584
+ KinesisAction.struct_class = Types::KinesisAction
585
+
586
+ LambdaAction.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "functionArn"))
587
+ LambdaAction.struct_class = Types::LambdaAction
588
+
589
+ ListCACertificatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
590
+ ListCACertificatesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
591
+ ListCACertificatesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
592
+ ListCACertificatesRequest.struct_class = Types::ListCACertificatesRequest
593
+
594
+ ListCACertificatesResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: CACertificates, location_name: "certificates"))
595
+ ListCACertificatesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
596
+ ListCACertificatesResponse.struct_class = Types::ListCACertificatesResponse
597
+
598
+ ListCertificatesByCARequest.add_member(:ca_certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "caCertificateId"))
599
+ ListCertificatesByCARequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
600
+ ListCertificatesByCARequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
601
+ ListCertificatesByCARequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
602
+ ListCertificatesByCARequest.struct_class = Types::ListCertificatesByCARequest
603
+
604
+ ListCertificatesByCAResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
605
+ ListCertificatesByCAResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
606
+ ListCertificatesByCAResponse.struct_class = Types::ListCertificatesByCAResponse
607
+
608
+ ListCertificatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
609
+ ListCertificatesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
610
+ ListCertificatesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
611
+ ListCertificatesRequest.struct_class = Types::ListCertificatesRequest
612
+
613
+ ListCertificatesResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
614
+ ListCertificatesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
615
+ ListCertificatesResponse.struct_class = Types::ListCertificatesResponse
616
+
617
+ ListOutgoingCertificatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
618
+ ListOutgoingCertificatesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
619
+ ListOutgoingCertificatesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
620
+ ListOutgoingCertificatesRequest.struct_class = Types::ListOutgoingCertificatesRequest
621
+
622
+ ListOutgoingCertificatesResponse.add_member(:outgoing_certificates, Shapes::ShapeRef.new(shape: OutgoingCertificates, location_name: "outgoingCertificates"))
623
+ ListOutgoingCertificatesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
624
+ ListOutgoingCertificatesResponse.struct_class = Types::ListOutgoingCertificatesResponse
625
+
626
+ ListPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
627
+ ListPoliciesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
628
+ ListPoliciesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
629
+ ListPoliciesRequest.struct_class = Types::ListPoliciesRequest
630
+
631
+ ListPoliciesResponse.add_member(:policies, Shapes::ShapeRef.new(shape: Policies, location_name: "policies"))
632
+ ListPoliciesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
633
+ ListPoliciesResponse.struct_class = Types::ListPoliciesResponse
634
+
635
+ ListPolicyPrincipalsRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "header", location_name: "x-amzn-iot-policy"))
636
+ ListPolicyPrincipalsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
637
+ ListPolicyPrincipalsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
638
+ ListPolicyPrincipalsRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
639
+ ListPolicyPrincipalsRequest.struct_class = Types::ListPolicyPrincipalsRequest
640
+
641
+ ListPolicyPrincipalsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: Principals, location_name: "principals"))
642
+ ListPolicyPrincipalsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
643
+ ListPolicyPrincipalsResponse.struct_class = Types::ListPolicyPrincipalsResponse
644
+
645
+ ListPolicyVersionsRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
646
+ ListPolicyVersionsRequest.struct_class = Types::ListPolicyVersionsRequest
647
+
648
+ ListPolicyVersionsResponse.add_member(:policy_versions, Shapes::ShapeRef.new(shape: PolicyVersions, location_name: "policyVersions"))
649
+ ListPolicyVersionsResponse.struct_class = Types::ListPolicyVersionsResponse
650
+
651
+ ListPrincipalPoliciesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-iot-principal"))
652
+ ListPrincipalPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
653
+ ListPrincipalPoliciesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
654
+ ListPrincipalPoliciesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
655
+ ListPrincipalPoliciesRequest.struct_class = Types::ListPrincipalPoliciesRequest
656
+
657
+ ListPrincipalPoliciesResponse.add_member(:policies, Shapes::ShapeRef.new(shape: Policies, location_name: "policies"))
658
+ ListPrincipalPoliciesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
659
+ ListPrincipalPoliciesResponse.struct_class = Types::ListPrincipalPoliciesResponse
660
+
661
+ ListPrincipalThingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
662
+ ListPrincipalThingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
663
+ ListPrincipalThingsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
664
+ ListPrincipalThingsRequest.struct_class = Types::ListPrincipalThingsRequest
665
+
666
+ ListPrincipalThingsResponse.add_member(:things, Shapes::ShapeRef.new(shape: ThingNameList, location_name: "things"))
667
+ ListPrincipalThingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
668
+ ListPrincipalThingsResponse.struct_class = Types::ListPrincipalThingsResponse
669
+
670
+ ListThingPrincipalsRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
671
+ ListThingPrincipalsRequest.struct_class = Types::ListThingPrincipalsRequest
672
+
673
+ ListThingPrincipalsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: Principals, location_name: "principals"))
674
+ ListThingPrincipalsResponse.struct_class = Types::ListThingPrincipalsResponse
675
+
676
+ ListThingTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
677
+ ListThingTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
678
+ ListThingTypesRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location: "querystring", location_name: "thingTypeName"))
679
+ ListThingTypesRequest.struct_class = Types::ListThingTypesRequest
680
+
681
+ ListThingTypesResponse.add_member(:thing_types, Shapes::ShapeRef.new(shape: ThingTypeList, location_name: "thingTypes"))
682
+ ListThingTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
683
+ ListThingTypesResponse.struct_class = Types::ListThingTypesResponse
684
+
685
+ ListThingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
686
+ ListThingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
687
+ ListThingsRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: AttributeName, location: "querystring", location_name: "attributeName"))
688
+ ListThingsRequest.add_member(:attribute_value, Shapes::ShapeRef.new(shape: AttributeValue, location: "querystring", location_name: "attributeValue"))
689
+ ListThingsRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location: "querystring", location_name: "thingTypeName"))
690
+ ListThingsRequest.struct_class = Types::ListThingsRequest
691
+
692
+ ListThingsResponse.add_member(:things, Shapes::ShapeRef.new(shape: ThingAttributeList, location_name: "things"))
693
+ ListThingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
694
+ ListThingsResponse.struct_class = Types::ListThingsResponse
695
+
696
+ ListTopicRulesRequest.add_member(:topic, Shapes::ShapeRef.new(shape: Topic, location: "querystring", location_name: "topic"))
697
+ ListTopicRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
698
+ ListTopicRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
699
+ ListTopicRulesRequest.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location: "querystring", location_name: "ruleDisabled"))
700
+ ListTopicRulesRequest.struct_class = Types::ListTopicRulesRequest
701
+
702
+ ListTopicRulesResponse.add_member(:rules, Shapes::ShapeRef.new(shape: TopicRuleList, location_name: "rules"))
703
+ ListTopicRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
704
+ ListTopicRulesResponse.struct_class = Types::ListTopicRulesResponse
705
+
706
+ LoggingOptionsPayload.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
707
+ LoggingOptionsPayload.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "logLevel"))
708
+ LoggingOptionsPayload.struct_class = Types::LoggingOptionsPayload
709
+
710
+ OutgoingCertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
711
+ OutgoingCertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
712
+ OutgoingCertificate.add_member(:transferred_to, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "transferredTo"))
713
+ OutgoingCertificate.add_member(:transfer_date, Shapes::ShapeRef.new(shape: DateType, location_name: "transferDate"))
714
+ OutgoingCertificate.add_member(:transfer_message, Shapes::ShapeRef.new(shape: Message, location_name: "transferMessage"))
715
+ OutgoingCertificate.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
716
+ OutgoingCertificate.struct_class = Types::OutgoingCertificate
717
+
718
+ OutgoingCertificates.member = Shapes::ShapeRef.new(shape: OutgoingCertificate)
719
+
720
+ Policies.member = Shapes::ShapeRef.new(shape: Policy)
721
+
722
+ Policy.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
723
+ Policy.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
724
+ Policy.struct_class = Types::Policy
725
+
726
+ PolicyVersion.add_member(:version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "versionId"))
727
+ PolicyVersion.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "isDefaultVersion"))
728
+ PolicyVersion.add_member(:create_date, Shapes::ShapeRef.new(shape: DateType, location_name: "createDate"))
729
+ PolicyVersion.struct_class = Types::PolicyVersion
730
+
731
+ PolicyVersions.member = Shapes::ShapeRef.new(shape: PolicyVersion)
732
+
733
+ Principals.member = Shapes::ShapeRef.new(shape: PrincipalArn)
734
+
735
+ PutItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
736
+ PutItemInput.struct_class = Types::PutItemInput
737
+
738
+ RegisterCACertificateRequest.add_member(:ca_certificate, Shapes::ShapeRef.new(shape: CertificatePem, required: true, location_name: "caCertificate"))
739
+ RegisterCACertificateRequest.add_member(:verification_certificate, Shapes::ShapeRef.new(shape: CertificatePem, required: true, location_name: "verificationCertificate"))
740
+ RegisterCACertificateRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
741
+ RegisterCACertificateRequest.add_member(:allow_auto_registration, Shapes::ShapeRef.new(shape: AllowAutoRegistration, location: "querystring", location_name: "allowAutoRegistration"))
742
+ RegisterCACertificateRequest.struct_class = Types::RegisterCACertificateRequest
743
+
744
+ RegisterCACertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
745
+ RegisterCACertificateResponse.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
746
+ RegisterCACertificateResponse.struct_class = Types::RegisterCACertificateResponse
747
+
748
+ RegisterCertificateRequest.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, required: true, location_name: "certificatePem"))
749
+ RegisterCertificateRequest.add_member(:ca_certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "caCertificatePem"))
750
+ RegisterCertificateRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActiveFlag, deprecated: true, location: "querystring", location_name: "setAsActive"))
751
+ RegisterCertificateRequest.add_member(:status, Shapes::ShapeRef.new(shape: CertificateStatus, location_name: "status"))
752
+ RegisterCertificateRequest.struct_class = Types::RegisterCertificateRequest
753
+
754
+ RegisterCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
755
+ RegisterCertificateResponse.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
756
+ RegisterCertificateResponse.struct_class = Types::RegisterCertificateResponse
757
+
758
+ RejectCertificateTransferRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
759
+ RejectCertificateTransferRequest.add_member(:reject_reason, Shapes::ShapeRef.new(shape: Message, location_name: "rejectReason"))
760
+ RejectCertificateTransferRequest.struct_class = Types::RejectCertificateTransferRequest
761
+
762
+ ReplaceTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
763
+ ReplaceTopicRuleRequest.add_member(:topic_rule_payload, Shapes::ShapeRef.new(shape: TopicRulePayload, required: true, location_name: "topicRulePayload"))
764
+ ReplaceTopicRuleRequest.struct_class = Types::ReplaceTopicRuleRequest
765
+ ReplaceTopicRuleRequest[:payload] = :topic_rule_payload
766
+ ReplaceTopicRuleRequest[:payload_member] = ReplaceTopicRuleRequest.member(:topic_rule_payload)
767
+
768
+ RepublishAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
769
+ RepublishAction.add_member(:topic, Shapes::ShapeRef.new(shape: TopicPattern, required: true, location_name: "topic"))
770
+ RepublishAction.struct_class = Types::RepublishAction
771
+
772
+ S3Action.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
773
+ S3Action.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
774
+ S3Action.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "key"))
775
+ S3Action.add_member(:canned_acl, Shapes::ShapeRef.new(shape: CannedAccessControlList, location_name: "cannedAcl"))
776
+ S3Action.struct_class = Types::S3Action
777
+
778
+ SearchableAttributes.member = Shapes::ShapeRef.new(shape: AttributeName)
779
+
780
+ SetDefaultPolicyVersionRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
781
+ SetDefaultPolicyVersionRequest.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, required: true, location: "uri", location_name: "policyVersionId"))
782
+ SetDefaultPolicyVersionRequest.struct_class = Types::SetDefaultPolicyVersionRequest
783
+
784
+ SetLoggingOptionsRequest.add_member(:logging_options_payload, Shapes::ShapeRef.new(shape: LoggingOptionsPayload, required: true, location_name: "loggingOptionsPayload"))
785
+ SetLoggingOptionsRequest.struct_class = Types::SetLoggingOptionsRequest
786
+ SetLoggingOptionsRequest[:payload] = :logging_options_payload
787
+ SetLoggingOptionsRequest[:payload_member] = SetLoggingOptionsRequest.member(:logging_options_payload)
788
+
789
+ SnsAction.add_member(:target_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "targetArn"))
790
+ SnsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
791
+ SnsAction.add_member(:message_format, Shapes::ShapeRef.new(shape: MessageFormat, location_name: "messageFormat"))
792
+ SnsAction.struct_class = Types::SnsAction
793
+
794
+ SqsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
795
+ SqsAction.add_member(:queue_url, Shapes::ShapeRef.new(shape: QueueUrl, required: true, location_name: "queueUrl"))
796
+ SqsAction.add_member(:use_base_64, Shapes::ShapeRef.new(shape: UseBase64, location_name: "useBase64"))
797
+ SqsAction.struct_class = Types::SqsAction
798
+
799
+ ThingAttribute.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
800
+ ThingAttribute.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
801
+ ThingAttribute.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
802
+ ThingAttribute.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
803
+ ThingAttribute.struct_class = Types::ThingAttribute
804
+
805
+ ThingAttributeList.member = Shapes::ShapeRef.new(shape: ThingAttribute)
806
+
807
+ ThingNameList.member = Shapes::ShapeRef.new(shape: ThingName)
808
+
809
+ ThingTypeDefinition.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
810
+ ThingTypeDefinition.add_member(:thing_type_properties, Shapes::ShapeRef.new(shape: ThingTypeProperties, location_name: "thingTypeProperties"))
811
+ ThingTypeDefinition.add_member(:thing_type_metadata, Shapes::ShapeRef.new(shape: ThingTypeMetadata, location_name: "thingTypeMetadata"))
812
+ ThingTypeDefinition.struct_class = Types::ThingTypeDefinition
813
+
814
+ ThingTypeList.member = Shapes::ShapeRef.new(shape: ThingTypeDefinition)
815
+
816
+ ThingTypeMetadata.add_member(:deprecated, Shapes::ShapeRef.new(shape: Boolean, location_name: "deprecated"))
817
+ ThingTypeMetadata.add_member(:deprecation_date, Shapes::ShapeRef.new(shape: DeprecationDate, location_name: "deprecationDate"))
818
+ ThingTypeMetadata.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
819
+ ThingTypeMetadata.struct_class = Types::ThingTypeMetadata
820
+
821
+ ThingTypeProperties.add_member(:thing_type_description, Shapes::ShapeRef.new(shape: ThingTypeDescription, location_name: "thingTypeDescription"))
822
+ ThingTypeProperties.add_member(:searchable_attributes, Shapes::ShapeRef.new(shape: SearchableAttributes, location_name: "searchableAttributes"))
823
+ ThingTypeProperties.struct_class = Types::ThingTypeProperties
824
+
825
+ TopicRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "ruleName"))
826
+ TopicRule.add_member(:sql, Shapes::ShapeRef.new(shape: SQL, location_name: "sql"))
827
+ TopicRule.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
828
+ TopicRule.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtDate, location_name: "createdAt"))
829
+ TopicRule.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "actions"))
830
+ TopicRule.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location_name: "ruleDisabled"))
831
+ TopicRule.add_member(:aws_iot_sql_version, Shapes::ShapeRef.new(shape: AwsIotSqlVersion, location_name: "awsIotSqlVersion"))
832
+ TopicRule.struct_class = Types::TopicRule
833
+
834
+ TopicRuleList.member = Shapes::ShapeRef.new(shape: TopicRuleListItem)
835
+
836
+ TopicRuleListItem.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "ruleArn"))
837
+ TopicRuleListItem.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "ruleName"))
838
+ TopicRuleListItem.add_member(:topic_pattern, Shapes::ShapeRef.new(shape: TopicPattern, location_name: "topicPattern"))
839
+ TopicRuleListItem.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtDate, location_name: "createdAt"))
840
+ TopicRuleListItem.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location_name: "ruleDisabled"))
841
+ TopicRuleListItem.struct_class = Types::TopicRuleListItem
842
+
843
+ TopicRulePayload.add_member(:sql, Shapes::ShapeRef.new(shape: SQL, required: true, location_name: "sql"))
844
+ TopicRulePayload.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
845
+ TopicRulePayload.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, required: true, location_name: "actions"))
846
+ TopicRulePayload.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location_name: "ruleDisabled"))
847
+ TopicRulePayload.add_member(:aws_iot_sql_version, Shapes::ShapeRef.new(shape: AwsIotSqlVersion, location_name: "awsIotSqlVersion"))
848
+ TopicRulePayload.struct_class = Types::TopicRulePayload
849
+
850
+ TransferCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
851
+ TransferCertificateRequest.add_member(:target_aws_account, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "querystring", location_name: "targetAwsAccount"))
852
+ TransferCertificateRequest.add_member(:transfer_message, Shapes::ShapeRef.new(shape: Message, location_name: "transferMessage"))
853
+ TransferCertificateRequest.struct_class = Types::TransferCertificateRequest
854
+
855
+ TransferCertificateResponse.add_member(:transferred_certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "transferredCertificateArn"))
856
+ TransferCertificateResponse.struct_class = Types::TransferCertificateResponse
857
+
858
+ TransferData.add_member(:transfer_message, Shapes::ShapeRef.new(shape: Message, location_name: "transferMessage"))
859
+ TransferData.add_member(:reject_reason, Shapes::ShapeRef.new(shape: Message, location_name: "rejectReason"))
860
+ TransferData.add_member(:transfer_date, Shapes::ShapeRef.new(shape: DateType, location_name: "transferDate"))
861
+ TransferData.add_member(:accept_date, Shapes::ShapeRef.new(shape: DateType, location_name: "acceptDate"))
862
+ TransferData.add_member(:reject_date, Shapes::ShapeRef.new(shape: DateType, location_name: "rejectDate"))
863
+ TransferData.struct_class = Types::TransferData
864
+
865
+ UpdateCACertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "caCertificateId"))
866
+ UpdateCACertificateRequest.add_member(:new_status, Shapes::ShapeRef.new(shape: CACertificateStatus, location: "querystring", location_name: "newStatus"))
867
+ UpdateCACertificateRequest.add_member(:new_auto_registration_status, Shapes::ShapeRef.new(shape: AutoRegistrationStatus, location: "querystring", location_name: "newAutoRegistrationStatus"))
868
+ UpdateCACertificateRequest.struct_class = Types::UpdateCACertificateRequest
869
+
870
+ UpdateCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
871
+ UpdateCertificateRequest.add_member(:new_status, Shapes::ShapeRef.new(shape: CertificateStatus, required: true, location: "querystring", location_name: "newStatus"))
872
+ UpdateCertificateRequest.struct_class = Types::UpdateCertificateRequest
873
+
874
+ UpdateThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
875
+ UpdateThingRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
876
+ UpdateThingRequest.add_member(:attribute_payload, Shapes::ShapeRef.new(shape: AttributePayload, location_name: "attributePayload"))
877
+ UpdateThingRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location_name: "expectedVersion"))
878
+ UpdateThingRequest.add_member(:remove_thing_type, Shapes::ShapeRef.new(shape: RemoveThingType, location_name: "removeThingType"))
879
+ UpdateThingRequest.struct_class = Types::UpdateThingRequest
880
+
881
+ UpdateThingResponse.struct_class = Types::UpdateThingResponse
548
882
 
549
- GetPolicyResponse.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
550
- GetPolicyResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
551
- GetPolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
552
- GetPolicyResponse.add_member(:default_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "defaultVersionId"))
553
- GetPolicyResponse.struct_class = Types::GetPolicyResponse
554
-
555
- GetPolicyVersionRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
556
- GetPolicyVersionRequest.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, required: true, location: "uri", location_name: "policyVersionId"))
557
- GetPolicyVersionRequest.struct_class = Types::GetPolicyVersionRequest
558
-
559
- GetPolicyVersionResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
560
- GetPolicyVersionResponse.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
561
- GetPolicyVersionResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "policyDocument"))
562
- GetPolicyVersionResponse.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "policyVersionId"))
563
- GetPolicyVersionResponse.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "isDefaultVersion"))
564
- GetPolicyVersionResponse.struct_class = Types::GetPolicyVersionResponse
565
-
566
- GetRegistrationCodeRequest.struct_class = Types::GetRegistrationCodeRequest
567
-
568
- GetRegistrationCodeResponse.add_member(:registration_code, Shapes::ShapeRef.new(shape: RegistrationCode, location_name: "registrationCode"))
569
- GetRegistrationCodeResponse.struct_class = Types::GetRegistrationCodeResponse
570
-
571
- GetTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
572
- GetTopicRuleRequest.struct_class = Types::GetTopicRuleRequest
573
-
574
- GetTopicRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "ruleArn"))
575
- GetTopicRuleResponse.add_member(:rule, Shapes::ShapeRef.new(shape: TopicRule, location_name: "rule"))
576
- GetTopicRuleResponse.struct_class = Types::GetTopicRuleResponse
577
-
578
- KeyPair.add_member(:public_key, Shapes::ShapeRef.new(shape: PublicKey, location_name: "PublicKey"))
579
- KeyPair.add_member(:private_key, Shapes::ShapeRef.new(shape: PrivateKey, location_name: "PrivateKey"))
580
- KeyPair.struct_class = Types::KeyPair
581
-
582
- KinesisAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
583
- KinesisAction.add_member(:stream_name, Shapes::ShapeRef.new(shape: StreamName, required: true, location_name: "streamName"))
584
- KinesisAction.add_member(:partition_key, Shapes::ShapeRef.new(shape: PartitionKey, location_name: "partitionKey"))
585
- KinesisAction.struct_class = Types::KinesisAction
586
-
587
- LambdaAction.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "functionArn"))
588
- LambdaAction.struct_class = Types::LambdaAction
589
-
590
- ListCACertificatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
591
- ListCACertificatesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
592
- ListCACertificatesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
593
- ListCACertificatesRequest.struct_class = Types::ListCACertificatesRequest
594
-
595
- ListCACertificatesResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: CACertificates, location_name: "certificates"))
596
- ListCACertificatesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
597
- ListCACertificatesResponse.struct_class = Types::ListCACertificatesResponse
598
-
599
- ListCertificatesByCARequest.add_member(:ca_certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "caCertificateId"))
600
- ListCertificatesByCARequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
601
- ListCertificatesByCARequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
602
- ListCertificatesByCARequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
603
- ListCertificatesByCARequest.struct_class = Types::ListCertificatesByCARequest
604
-
605
- ListCertificatesByCAResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
606
- ListCertificatesByCAResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
607
- ListCertificatesByCAResponse.struct_class = Types::ListCertificatesByCAResponse
608
-
609
- ListCertificatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
610
- ListCertificatesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
611
- ListCertificatesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
612
- ListCertificatesRequest.struct_class = Types::ListCertificatesRequest
613
-
614
- ListCertificatesResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: Certificates, location_name: "certificates"))
615
- ListCertificatesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
616
- ListCertificatesResponse.struct_class = Types::ListCertificatesResponse
617
-
618
- ListOutgoingCertificatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
619
- ListOutgoingCertificatesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
620
- ListOutgoingCertificatesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
621
- ListOutgoingCertificatesRequest.struct_class = Types::ListOutgoingCertificatesRequest
622
-
623
- ListOutgoingCertificatesResponse.add_member(:outgoing_certificates, Shapes::ShapeRef.new(shape: OutgoingCertificates, location_name: "outgoingCertificates"))
624
- ListOutgoingCertificatesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
625
- ListOutgoingCertificatesResponse.struct_class = Types::ListOutgoingCertificatesResponse
626
-
627
- ListPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
628
- ListPoliciesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
629
- ListPoliciesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
630
- ListPoliciesRequest.struct_class = Types::ListPoliciesRequest
631
-
632
- ListPoliciesResponse.add_member(:policies, Shapes::ShapeRef.new(shape: Policies, location_name: "policies"))
633
- ListPoliciesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
634
- ListPoliciesResponse.struct_class = Types::ListPoliciesResponse
635
-
636
- ListPolicyPrincipalsRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "header", location_name: "x-amzn-iot-policy"))
637
- ListPolicyPrincipalsRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
638
- ListPolicyPrincipalsRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
639
- ListPolicyPrincipalsRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
640
- ListPolicyPrincipalsRequest.struct_class = Types::ListPolicyPrincipalsRequest
641
-
642
- ListPolicyPrincipalsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: Principals, location_name: "principals"))
643
- ListPolicyPrincipalsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
644
- ListPolicyPrincipalsResponse.struct_class = Types::ListPolicyPrincipalsResponse
645
-
646
- ListPolicyVersionsRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
647
- ListPolicyVersionsRequest.struct_class = Types::ListPolicyVersionsRequest
648
-
649
- ListPolicyVersionsResponse.add_member(:policy_versions, Shapes::ShapeRef.new(shape: PolicyVersions, location_name: "policyVersions"))
650
- ListPolicyVersionsResponse.struct_class = Types::ListPolicyVersionsResponse
651
-
652
- ListPrincipalPoliciesRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-iot-principal"))
653
- ListPrincipalPoliciesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
654
- ListPrincipalPoliciesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
655
- ListPrincipalPoliciesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
656
- ListPrincipalPoliciesRequest.struct_class = Types::ListPrincipalPoliciesRequest
657
-
658
- ListPrincipalPoliciesResponse.add_member(:policies, Shapes::ShapeRef.new(shape: Policies, location_name: "policies"))
659
- ListPrincipalPoliciesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
660
- ListPrincipalPoliciesResponse.struct_class = Types::ListPrincipalPoliciesResponse
661
-
662
- ListPrincipalThingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
663
- ListPrincipalThingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
664
- ListPrincipalThingsRequest.add_member(:principal, Shapes::ShapeRef.new(shape: Principal, required: true, location: "header", location_name: "x-amzn-principal"))
665
- ListPrincipalThingsRequest.struct_class = Types::ListPrincipalThingsRequest
666
-
667
- ListPrincipalThingsResponse.add_member(:things, Shapes::ShapeRef.new(shape: ThingNameList, location_name: "things"))
668
- ListPrincipalThingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
669
- ListPrincipalThingsResponse.struct_class = Types::ListPrincipalThingsResponse
670
-
671
- ListThingPrincipalsRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
672
- ListThingPrincipalsRequest.struct_class = Types::ListThingPrincipalsRequest
673
-
674
- ListThingPrincipalsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: Principals, location_name: "principals"))
675
- ListThingPrincipalsResponse.struct_class = Types::ListThingPrincipalsResponse
676
-
677
- ListThingTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
678
- ListThingTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
679
- ListThingTypesRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location: "querystring", location_name: "thingTypeName"))
680
- ListThingTypesRequest.struct_class = Types::ListThingTypesRequest
681
-
682
- ListThingTypesResponse.add_member(:thing_types, Shapes::ShapeRef.new(shape: ThingTypeList, location_name: "thingTypes"))
683
- ListThingTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
684
- ListThingTypesResponse.struct_class = Types::ListThingTypesResponse
685
-
686
- ListThingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
687
- ListThingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
688
- ListThingsRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: AttributeName, location: "querystring", location_name: "attributeName"))
689
- ListThingsRequest.add_member(:attribute_value, Shapes::ShapeRef.new(shape: AttributeValue, location: "querystring", location_name: "attributeValue"))
690
- ListThingsRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location: "querystring", location_name: "thingTypeName"))
691
- ListThingsRequest.struct_class = Types::ListThingsRequest
692
-
693
- ListThingsResponse.add_member(:things, Shapes::ShapeRef.new(shape: ThingAttributeList, location_name: "things"))
694
- ListThingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
695
- ListThingsResponse.struct_class = Types::ListThingsResponse
696
-
697
- ListTopicRulesRequest.add_member(:topic, Shapes::ShapeRef.new(shape: Topic, location: "querystring", location_name: "topic"))
698
- ListTopicRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
699
- ListTopicRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
700
- ListTopicRulesRequest.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location: "querystring", location_name: "ruleDisabled"))
701
- ListTopicRulesRequest.struct_class = Types::ListTopicRulesRequest
702
-
703
- ListTopicRulesResponse.add_member(:rules, Shapes::ShapeRef.new(shape: TopicRuleList, location_name: "rules"))
704
- ListTopicRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
705
- ListTopicRulesResponse.struct_class = Types::ListTopicRulesResponse
706
-
707
- LoggingOptionsPayload.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
708
- LoggingOptionsPayload.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "logLevel"))
709
- LoggingOptionsPayload.struct_class = Types::LoggingOptionsPayload
710
-
711
- OutgoingCertificate.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
712
- OutgoingCertificate.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
713
- OutgoingCertificate.add_member(:transferred_to, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "transferredTo"))
714
- OutgoingCertificate.add_member(:transfer_date, Shapes::ShapeRef.new(shape: DateType, location_name: "transferDate"))
715
- OutgoingCertificate.add_member(:transfer_message, Shapes::ShapeRef.new(shape: Message, location_name: "transferMessage"))
716
- OutgoingCertificate.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
717
- OutgoingCertificate.struct_class = Types::OutgoingCertificate
718
-
719
- OutgoingCertificates.member = Shapes::ShapeRef.new(shape: OutgoingCertificate)
720
-
721
- Policies.member = Shapes::ShapeRef.new(shape: Policy)
722
-
723
- Policy.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, location_name: "policyName"))
724
- Policy.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "policyArn"))
725
- Policy.struct_class = Types::Policy
726
-
727
- PolicyVersion.add_member(:version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, location_name: "versionId"))
728
- PolicyVersion.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "isDefaultVersion"))
729
- PolicyVersion.add_member(:create_date, Shapes::ShapeRef.new(shape: DateType, location_name: "createDate"))
730
- PolicyVersion.struct_class = Types::PolicyVersion
731
-
732
- PolicyVersions.member = Shapes::ShapeRef.new(shape: PolicyVersion)
733
-
734
- Principals.member = Shapes::ShapeRef.new(shape: PrincipalArn)
735
-
736
- PutItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
737
- PutItemInput.struct_class = Types::PutItemInput
738
-
739
- RegisterCACertificateRequest.add_member(:ca_certificate, Shapes::ShapeRef.new(shape: CertificatePem, required: true, location_name: "caCertificate"))
740
- RegisterCACertificateRequest.add_member(:verification_certificate, Shapes::ShapeRef.new(shape: CertificatePem, required: true, location_name: "verificationCertificate"))
741
- RegisterCACertificateRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
742
- RegisterCACertificateRequest.add_member(:allow_auto_registration, Shapes::ShapeRef.new(shape: AllowAutoRegistration, location: "querystring", location_name: "allowAutoRegistration"))
743
- RegisterCACertificateRequest.struct_class = Types::RegisterCACertificateRequest
744
-
745
- RegisterCACertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
746
- RegisterCACertificateResponse.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
747
- RegisterCACertificateResponse.struct_class = Types::RegisterCACertificateResponse
748
-
749
- RegisterCertificateRequest.add_member(:certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, required: true, location_name: "certificatePem"))
750
- RegisterCertificateRequest.add_member(:ca_certificate_pem, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "caCertificatePem"))
751
- RegisterCertificateRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActiveFlag, deprecated: true, location: "querystring", location_name: "setAsActive"))
752
- RegisterCertificateRequest.add_member(:status, Shapes::ShapeRef.new(shape: CertificateStatus, location_name: "status"))
753
- RegisterCertificateRequest.struct_class = Types::RegisterCertificateRequest
754
-
755
- RegisterCertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
756
- RegisterCertificateResponse.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
757
- RegisterCertificateResponse.struct_class = Types::RegisterCertificateResponse
758
-
759
- RejectCertificateTransferRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
760
- RejectCertificateTransferRequest.add_member(:reject_reason, Shapes::ShapeRef.new(shape: Message, location_name: "rejectReason"))
761
- RejectCertificateTransferRequest.struct_class = Types::RejectCertificateTransferRequest
762
-
763
- ReplaceTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
764
- ReplaceTopicRuleRequest.add_member(:topic_rule_payload, Shapes::ShapeRef.new(shape: TopicRulePayload, required: true, location_name: "topicRulePayload"))
765
- ReplaceTopicRuleRequest.struct_class = Types::ReplaceTopicRuleRequest
766
- ReplaceTopicRuleRequest[:payload] = :topic_rule_payload
767
- ReplaceTopicRuleRequest[:payload_member] = ReplaceTopicRuleRequest.member(:topic_rule_payload)
768
-
769
- RepublishAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
770
- RepublishAction.add_member(:topic, Shapes::ShapeRef.new(shape: TopicPattern, required: true, location_name: "topic"))
771
- RepublishAction.struct_class = Types::RepublishAction
772
-
773
- S3Action.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
774
- S3Action.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
775
- S3Action.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "key"))
776
- S3Action.add_member(:canned_acl, Shapes::ShapeRef.new(shape: CannedAccessControlList, location_name: "cannedAcl"))
777
- S3Action.struct_class = Types::S3Action
778
-
779
- SearchableAttributes.member = Shapes::ShapeRef.new(shape: AttributeName)
780
-
781
- SetDefaultPolicyVersionRequest.add_member(:policy_name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location: "uri", location_name: "policyName"))
782
- SetDefaultPolicyVersionRequest.add_member(:policy_version_id, Shapes::ShapeRef.new(shape: PolicyVersionId, required: true, location: "uri", location_name: "policyVersionId"))
783
- SetDefaultPolicyVersionRequest.struct_class = Types::SetDefaultPolicyVersionRequest
784
-
785
- SetLoggingOptionsRequest.add_member(:logging_options_payload, Shapes::ShapeRef.new(shape: LoggingOptionsPayload, required: true, location_name: "loggingOptionsPayload"))
786
- SetLoggingOptionsRequest.struct_class = Types::SetLoggingOptionsRequest
787
- SetLoggingOptionsRequest[:payload] = :logging_options_payload
788
- SetLoggingOptionsRequest[:payload_member] = SetLoggingOptionsRequest.member(:logging_options_payload)
789
-
790
- SnsAction.add_member(:target_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "targetArn"))
791
- SnsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
792
- SnsAction.add_member(:message_format, Shapes::ShapeRef.new(shape: MessageFormat, location_name: "messageFormat"))
793
- SnsAction.struct_class = Types::SnsAction
794
-
795
- SqsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
796
- SqsAction.add_member(:queue_url, Shapes::ShapeRef.new(shape: QueueUrl, required: true, location_name: "queueUrl"))
797
- SqsAction.add_member(:use_base_64, Shapes::ShapeRef.new(shape: UseBase64, location_name: "useBase64"))
798
- SqsAction.struct_class = Types::SqsAction
799
-
800
- ThingAttribute.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
801
- ThingAttribute.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
802
- ThingAttribute.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
803
- ThingAttribute.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
804
- ThingAttribute.struct_class = Types::ThingAttribute
805
-
806
- ThingAttributeList.member = Shapes::ShapeRef.new(shape: ThingAttribute)
807
-
808
- ThingNameList.member = Shapes::ShapeRef.new(shape: ThingName)
809
-
810
- ThingTypeDefinition.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
811
- ThingTypeDefinition.add_member(:thing_type_properties, Shapes::ShapeRef.new(shape: ThingTypeProperties, location_name: "thingTypeProperties"))
812
- ThingTypeDefinition.add_member(:thing_type_metadata, Shapes::ShapeRef.new(shape: ThingTypeMetadata, location_name: "thingTypeMetadata"))
813
- ThingTypeDefinition.struct_class = Types::ThingTypeDefinition
814
-
815
- ThingTypeList.member = Shapes::ShapeRef.new(shape: ThingTypeDefinition)
816
-
817
- ThingTypeMetadata.add_member(:deprecated, Shapes::ShapeRef.new(shape: Boolean, location_name: "deprecated"))
818
- ThingTypeMetadata.add_member(:deprecation_date, Shapes::ShapeRef.new(shape: DeprecationDate, location_name: "deprecationDate"))
819
- ThingTypeMetadata.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
820
- ThingTypeMetadata.struct_class = Types::ThingTypeMetadata
821
-
822
- ThingTypeProperties.add_member(:thing_type_description, Shapes::ShapeRef.new(shape: ThingTypeDescription, location_name: "thingTypeDescription"))
823
- ThingTypeProperties.add_member(:searchable_attributes, Shapes::ShapeRef.new(shape: SearchableAttributes, location_name: "searchableAttributes"))
824
- ThingTypeProperties.struct_class = Types::ThingTypeProperties
825
-
826
- TopicRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "ruleName"))
827
- TopicRule.add_member(:sql, Shapes::ShapeRef.new(shape: SQL, location_name: "sql"))
828
- TopicRule.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
829
- TopicRule.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtDate, location_name: "createdAt"))
830
- TopicRule.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "actions"))
831
- TopicRule.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location_name: "ruleDisabled"))
832
- TopicRule.add_member(:aws_iot_sql_version, Shapes::ShapeRef.new(shape: AwsIotSqlVersion, location_name: "awsIotSqlVersion"))
833
- TopicRule.struct_class = Types::TopicRule
834
-
835
- TopicRuleList.member = Shapes::ShapeRef.new(shape: TopicRuleListItem)
836
-
837
- TopicRuleListItem.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "ruleArn"))
838
- TopicRuleListItem.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, location_name: "ruleName"))
839
- TopicRuleListItem.add_member(:topic_pattern, Shapes::ShapeRef.new(shape: TopicPattern, location_name: "topicPattern"))
840
- TopicRuleListItem.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAtDate, location_name: "createdAt"))
841
- TopicRuleListItem.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location_name: "ruleDisabled"))
842
- TopicRuleListItem.struct_class = Types::TopicRuleListItem
843
-
844
- TopicRulePayload.add_member(:sql, Shapes::ShapeRef.new(shape: SQL, required: true, location_name: "sql"))
845
- TopicRulePayload.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
846
- TopicRulePayload.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, required: true, location_name: "actions"))
847
- TopicRulePayload.add_member(:rule_disabled, Shapes::ShapeRef.new(shape: IsDisabled, location_name: "ruleDisabled"))
848
- TopicRulePayload.add_member(:aws_iot_sql_version, Shapes::ShapeRef.new(shape: AwsIotSqlVersion, location_name: "awsIotSqlVersion"))
849
- TopicRulePayload.struct_class = Types::TopicRulePayload
850
-
851
- TransferCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
852
- TransferCertificateRequest.add_member(:target_aws_account, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "querystring", location_name: "targetAwsAccount"))
853
- TransferCertificateRequest.add_member(:transfer_message, Shapes::ShapeRef.new(shape: Message, location_name: "transferMessage"))
854
- TransferCertificateRequest.struct_class = Types::TransferCertificateRequest
855
-
856
- TransferCertificateResponse.add_member(:transferred_certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "transferredCertificateArn"))
857
- TransferCertificateResponse.struct_class = Types::TransferCertificateResponse
858
-
859
- TransferData.add_member(:transfer_message, Shapes::ShapeRef.new(shape: Message, location_name: "transferMessage"))
860
- TransferData.add_member(:reject_reason, Shapes::ShapeRef.new(shape: Message, location_name: "rejectReason"))
861
- TransferData.add_member(:transfer_date, Shapes::ShapeRef.new(shape: DateType, location_name: "transferDate"))
862
- TransferData.add_member(:accept_date, Shapes::ShapeRef.new(shape: DateType, location_name: "acceptDate"))
863
- TransferData.add_member(:reject_date, Shapes::ShapeRef.new(shape: DateType, location_name: "rejectDate"))
864
- TransferData.struct_class = Types::TransferData
865
-
866
- UpdateCACertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "caCertificateId"))
867
- UpdateCACertificateRequest.add_member(:new_status, Shapes::ShapeRef.new(shape: CACertificateStatus, location: "querystring", location_name: "newStatus"))
868
- UpdateCACertificateRequest.add_member(:new_auto_registration_status, Shapes::ShapeRef.new(shape: AutoRegistrationStatus, location: "querystring", location_name: "newAutoRegistrationStatus"))
869
- UpdateCACertificateRequest.struct_class = Types::UpdateCACertificateRequest
870
-
871
- UpdateCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
872
- UpdateCertificateRequest.add_member(:new_status, Shapes::ShapeRef.new(shape: CertificateStatus, required: true, location: "querystring", location_name: "newStatus"))
873
- UpdateCertificateRequest.struct_class = Types::UpdateCertificateRequest
874
-
875
- UpdateThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
876
- UpdateThingRequest.add_member(:thing_type_name, Shapes::ShapeRef.new(shape: ThingTypeName, location_name: "thingTypeName"))
877
- UpdateThingRequest.add_member(:attribute_payload, Shapes::ShapeRef.new(shape: AttributePayload, location_name: "attributePayload"))
878
- UpdateThingRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location_name: "expectedVersion"))
879
- UpdateThingRequest.add_member(:remove_thing_type, Shapes::ShapeRef.new(shape: RemoveThingType, location_name: "removeThingType"))
880
- UpdateThingRequest.struct_class = Types::UpdateThingRequest
881
-
882
- UpdateThingResponse.struct_class = Types::UpdateThingResponse
883
-
884
-
885
- # @api private
886
- API = Seahorse::Model::Api.new.tap do |api|
887
-
888
- api.version = "2015-05-28"
889
-
890
- api.metadata = {
891
- "endpointPrefix" => "iot",
892
- "protocol" => "rest-json",
893
- "serviceFullName" => "AWS IoT",
894
- "signatureVersion" => "v4",
895
- "signingName" => "execute-api",
896
- }
897
-
898
- api.add_operation(:accept_certificate_transfer, Seahorse::Model::Operation.new.tap do |o|
899
- o.name = "AcceptCertificateTransfer"
900
- o.http_method = "PATCH"
901
- o.http_request_uri = "/accept-certificate-transfer/{certificateId}"
902
- o.input = Shapes::ShapeRef.new(shape: AcceptCertificateTransferRequest)
903
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
904
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
905
- "error" => {"httpStatusCode"=>404},
906
- "exception" => true
907
- })
908
- o.errors << Shapes::ShapeRef.new(shape: TransferAlreadyCompletedException, metadata: {
909
- "error" => {"httpStatusCode"=>410},
910
- "exception" => true
911
- })
912
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
913
- "error" => {"httpStatusCode"=>400},
914
- "exception" => true
915
- })
916
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
917
- "error" => {"httpStatusCode"=>429},
918
- "exception" => true
919
- })
920
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
921
- "error" => {"httpStatusCode"=>401},
922
- "exception" => true
923
- })
924
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
925
- "error" => {"httpStatusCode"=>503},
926
- "exception" => true,
927
- "fault" => true
928
- })
929
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
930
- "error" => {"httpStatusCode"=>500},
931
- "exception" => true,
932
- "fault" => true
933
- })
934
- end)
935
-
936
- api.add_operation(:attach_principal_policy, Seahorse::Model::Operation.new.tap do |o|
937
- o.name = "AttachPrincipalPolicy"
938
- o.http_method = "PUT"
939
- o.http_request_uri = "/principal-policies/{policyName}"
940
- o.input = Shapes::ShapeRef.new(shape: AttachPrincipalPolicyRequest)
941
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
942
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
943
- "error" => {"httpStatusCode"=>404},
944
- "exception" => true
945
- })
946
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
947
- "error" => {"httpStatusCode"=>400},
948
- "exception" => true
949
- })
950
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
951
- "error" => {"httpStatusCode"=>429},
952
- "exception" => true
953
- })
954
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
955
- "error" => {"httpStatusCode"=>401},
956
- "exception" => true
957
- })
958
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
959
- "error" => {"httpStatusCode"=>503},
960
- "exception" => true,
961
- "fault" => true
962
- })
963
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
964
- "error" => {"httpStatusCode"=>500},
965
- "exception" => true,
966
- "fault" => true
967
- })
968
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException, metadata: {
969
- "error" => {"httpStatusCode"=>410},
970
- "exception" => true
971
- })
972
- end)
973
-
974
- api.add_operation(:attach_thing_principal, Seahorse::Model::Operation.new.tap do |o|
975
- o.name = "AttachThingPrincipal"
976
- o.http_method = "PUT"
977
- o.http_request_uri = "/things/{thingName}/principals"
978
- o.input = Shapes::ShapeRef.new(shape: AttachThingPrincipalRequest)
979
- o.output = Shapes::ShapeRef.new(shape: AttachThingPrincipalResponse)
980
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
981
- "error" => {"httpStatusCode"=>404},
982
- "exception" => true
983
- })
984
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
985
- "error" => {"httpStatusCode"=>400},
986
- "exception" => true
987
- })
988
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
989
- "error" => {"httpStatusCode"=>429},
990
- "exception" => true
991
- })
992
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
993
- "error" => {"httpStatusCode"=>401},
994
- "exception" => true
995
- })
996
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
997
- "error" => {"httpStatusCode"=>503},
998
- "exception" => true,
999
- "fault" => true
1000
- })
1001
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1002
- "error" => {"httpStatusCode"=>500},
1003
- "exception" => true,
1004
- "fault" => true
1005
- })
1006
- end)
1007
-
1008
- api.add_operation(:cancel_certificate_transfer, Seahorse::Model::Operation.new.tap do |o|
1009
- o.name = "CancelCertificateTransfer"
1010
- o.http_method = "PATCH"
1011
- o.http_request_uri = "/cancel-certificate-transfer/{certificateId}"
1012
- o.input = Shapes::ShapeRef.new(shape: CancelCertificateTransferRequest)
1013
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1014
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1015
- "error" => {"httpStatusCode"=>404},
1016
- "exception" => true
1017
- })
1018
- o.errors << Shapes::ShapeRef.new(shape: TransferAlreadyCompletedException, metadata: {
1019
- "error" => {"httpStatusCode"=>410},
1020
- "exception" => true
1021
- })
1022
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1023
- "error" => {"httpStatusCode"=>400},
1024
- "exception" => true
1025
- })
1026
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1027
- "error" => {"httpStatusCode"=>429},
1028
- "exception" => true
1029
- })
1030
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1031
- "error" => {"httpStatusCode"=>401},
1032
- "exception" => true
1033
- })
1034
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1035
- "error" => {"httpStatusCode"=>503},
1036
- "exception" => true,
1037
- "fault" => true
1038
- })
1039
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1040
- "error" => {"httpStatusCode"=>500},
1041
- "exception" => true,
1042
- "fault" => true
1043
- })
1044
- end)
1045
-
1046
- api.add_operation(:create_certificate_from_csr, Seahorse::Model::Operation.new.tap do |o|
1047
- o.name = "CreateCertificateFromCsr"
1048
- o.http_method = "POST"
1049
- o.http_request_uri = "/certificates"
1050
- o.input = Shapes::ShapeRef.new(shape: CreateCertificateFromCsrRequest)
1051
- o.output = Shapes::ShapeRef.new(shape: CreateCertificateFromCsrResponse)
1052
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1053
- "error" => {"httpStatusCode"=>400},
1054
- "exception" => true
1055
- })
1056
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1057
- "error" => {"httpStatusCode"=>429},
1058
- "exception" => true
1059
- })
1060
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1061
- "error" => {"httpStatusCode"=>401},
1062
- "exception" => true
1063
- })
1064
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1065
- "error" => {"httpStatusCode"=>503},
1066
- "exception" => true,
1067
- "fault" => true
1068
- })
1069
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1070
- "error" => {"httpStatusCode"=>500},
1071
- "exception" => true,
1072
- "fault" => true
1073
- })
1074
- end)
1075
-
1076
- api.add_operation(:create_keys_and_certificate, Seahorse::Model::Operation.new.tap do |o|
1077
- o.name = "CreateKeysAndCertificate"
1078
- o.http_method = "POST"
1079
- o.http_request_uri = "/keys-and-certificate"
1080
- o.input = Shapes::ShapeRef.new(shape: CreateKeysAndCertificateRequest)
1081
- o.output = Shapes::ShapeRef.new(shape: CreateKeysAndCertificateResponse)
1082
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1083
- "error" => {"httpStatusCode"=>400},
1084
- "exception" => true
1085
- })
1086
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1087
- "error" => {"httpStatusCode"=>429},
1088
- "exception" => true
1089
- })
1090
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1091
- "error" => {"httpStatusCode"=>401},
1092
- "exception" => true
1093
- })
1094
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1095
- "error" => {"httpStatusCode"=>503},
1096
- "exception" => true,
1097
- "fault" => true
1098
- })
1099
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1100
- "error" => {"httpStatusCode"=>500},
1101
- "exception" => true,
1102
- "fault" => true
1103
- })
1104
- end)
1105
-
1106
- api.add_operation(:create_policy, Seahorse::Model::Operation.new.tap do |o|
1107
- o.name = "CreatePolicy"
1108
- o.http_method = "POST"
1109
- o.http_request_uri = "/policies/{policyName}"
1110
- o.input = Shapes::ShapeRef.new(shape: CreatePolicyRequest)
1111
- o.output = Shapes::ShapeRef.new(shape: CreatePolicyResponse)
1112
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException, metadata: {
1113
- "error" => {"httpStatusCode"=>409},
1114
- "exception" => true
1115
- })
1116
- o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyException, metadata: {
1117
- "error" => {"httpStatusCode"=>400},
1118
- "exception" => true
1119
- })
1120
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1121
- "error" => {"httpStatusCode"=>400},
1122
- "exception" => true
1123
- })
1124
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1125
- "error" => {"httpStatusCode"=>429},
1126
- "exception" => true
1127
- })
1128
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1129
- "error" => {"httpStatusCode"=>401},
1130
- "exception" => true
1131
- })
1132
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1133
- "error" => {"httpStatusCode"=>503},
1134
- "exception" => true,
1135
- "fault" => true
1136
- })
1137
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1138
- "error" => {"httpStatusCode"=>500},
1139
- "exception" => true,
1140
- "fault" => true
1141
- })
1142
- end)
1143
-
1144
- api.add_operation(:create_policy_version, Seahorse::Model::Operation.new.tap do |o|
1145
- o.name = "CreatePolicyVersion"
1146
- o.http_method = "POST"
1147
- o.http_request_uri = "/policies/{policyName}/version"
1148
- o.input = Shapes::ShapeRef.new(shape: CreatePolicyVersionRequest)
1149
- o.output = Shapes::ShapeRef.new(shape: CreatePolicyVersionResponse)
1150
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1151
- "error" => {"httpStatusCode"=>404},
1152
- "exception" => true
1153
- })
1154
- o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyException, metadata: {
1155
- "error" => {"httpStatusCode"=>400},
1156
- "exception" => true
1157
- })
1158
- o.errors << Shapes::ShapeRef.new(shape: VersionsLimitExceededException, metadata: {
1159
- "error" => {"httpStatusCode"=>409},
1160
- "exception" => true
1161
- })
1162
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1163
- "error" => {"httpStatusCode"=>400},
1164
- "exception" => true
1165
- })
1166
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1167
- "error" => {"httpStatusCode"=>429},
1168
- "exception" => true
1169
- })
1170
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1171
- "error" => {"httpStatusCode"=>401},
1172
- "exception" => true
1173
- })
1174
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1175
- "error" => {"httpStatusCode"=>503},
1176
- "exception" => true,
1177
- "fault" => true
1178
- })
1179
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1180
- "error" => {"httpStatusCode"=>500},
1181
- "exception" => true,
1182
- "fault" => true
1183
- })
1184
- end)
1185
-
1186
- api.add_operation(:create_thing, Seahorse::Model::Operation.new.tap do |o|
1187
- o.name = "CreateThing"
1188
- o.http_method = "POST"
1189
- o.http_request_uri = "/things/{thingName}"
1190
- o.input = Shapes::ShapeRef.new(shape: CreateThingRequest)
1191
- o.output = Shapes::ShapeRef.new(shape: CreateThingResponse)
1192
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1193
- "error" => {"httpStatusCode"=>400},
1194
- "exception" => true
1195
- })
1196
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1197
- "error" => {"httpStatusCode"=>429},
1198
- "exception" => true
1199
- })
1200
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1201
- "error" => {"httpStatusCode"=>401},
1202
- "exception" => true
1203
- })
1204
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1205
- "error" => {"httpStatusCode"=>503},
1206
- "exception" => true,
1207
- "fault" => true
1208
- })
1209
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1210
- "error" => {"httpStatusCode"=>500},
1211
- "exception" => true,
1212
- "fault" => true
1213
- })
1214
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException, metadata: {
1215
- "error" => {"httpStatusCode"=>409},
1216
- "exception" => true
1217
- })
1218
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1219
- "error" => {"httpStatusCode"=>404},
1220
- "exception" => true
1221
- })
1222
- end)
1223
-
1224
- api.add_operation(:create_thing_type, Seahorse::Model::Operation.new.tap do |o|
1225
- o.name = "CreateThingType"
1226
- o.http_method = "POST"
1227
- o.http_request_uri = "/thing-types/{thingTypeName}"
1228
- o.input = Shapes::ShapeRef.new(shape: CreateThingTypeRequest)
1229
- o.output = Shapes::ShapeRef.new(shape: CreateThingTypeResponse)
1230
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1231
- "error" => {"httpStatusCode"=>400},
1232
- "exception" => true
1233
- })
1234
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1235
- "error" => {"httpStatusCode"=>429},
1236
- "exception" => true
1237
- })
1238
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1239
- "error" => {"httpStatusCode"=>401},
1240
- "exception" => true
1241
- })
1242
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1243
- "error" => {"httpStatusCode"=>503},
1244
- "exception" => true,
1245
- "fault" => true
1246
- })
1247
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1248
- "error" => {"httpStatusCode"=>500},
1249
- "exception" => true,
1250
- "fault" => true
1251
- })
1252
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException, metadata: {
1253
- "error" => {"httpStatusCode"=>409},
1254
- "exception" => true
1255
- })
1256
- end)
1257
-
1258
- api.add_operation(:create_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1259
- o.name = "CreateTopicRule"
1260
- o.http_method = "POST"
1261
- o.http_request_uri = "/rules/{ruleName}"
1262
- o.input = Shapes::ShapeRef.new(shape: CreateTopicRuleRequest)
1263
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1264
- o.errors << Shapes::ShapeRef.new(shape: SqlParseException, metadata: {
1265
- "error" => {"httpStatusCode"=>400},
1266
- "exception" => true
1267
- })
1268
- o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
1269
- "error" => {"httpStatusCode"=>500},
1270
- "exception" => true,
1271
- "fault" => true
1272
- })
1273
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1274
- "error" => {"httpStatusCode"=>400},
1275
- "exception" => true
1276
- })
1277
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException, metadata: {
1278
- "error" => {"httpStatusCode"=>409},
1279
- "exception" => true
1280
- })
1281
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1282
- "error" => {"httpStatusCode"=>503},
1283
- "exception" => true,
1284
- "fault" => true
1285
- })
1286
- end)
1287
-
1288
- api.add_operation(:delete_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
1289
- o.name = "DeleteCACertificate"
1290
- o.http_method = "DELETE"
1291
- o.http_request_uri = "/cacertificate/{caCertificateId}"
1292
- o.input = Shapes::ShapeRef.new(shape: DeleteCACertificateRequest)
1293
- o.output = Shapes::ShapeRef.new(shape: DeleteCACertificateResponse)
1294
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1295
- "error" => {"httpStatusCode"=>400},
1296
- "exception" => true
1297
- })
1298
- o.errors << Shapes::ShapeRef.new(shape: CertificateStateException, metadata: {
1299
- "error" => {"httpStatusCode"=>406},
1300
- "exception" => true
1301
- })
1302
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1303
- "error" => {"httpStatusCode"=>429},
1304
- "exception" => true
1305
- })
1306
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1307
- "error" => {"httpStatusCode"=>401},
1308
- "exception" => true
1309
- })
1310
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1311
- "error" => {"httpStatusCode"=>503},
1312
- "exception" => true,
1313
- "fault" => true
1314
- })
1315
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1316
- "error" => {"httpStatusCode"=>500},
1317
- "exception" => true,
1318
- "fault" => true
1319
- })
1320
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1321
- "error" => {"httpStatusCode"=>404},
1322
- "exception" => true
1323
- })
1324
- end)
1325
-
1326
- api.add_operation(:delete_certificate, Seahorse::Model::Operation.new.tap do |o|
1327
- o.name = "DeleteCertificate"
1328
- o.http_method = "DELETE"
1329
- o.http_request_uri = "/certificates/{certificateId}"
1330
- o.input = Shapes::ShapeRef.new(shape: DeleteCertificateRequest)
1331
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1332
- o.errors << Shapes::ShapeRef.new(shape: CertificateStateException, metadata: {
1333
- "error" => {"httpStatusCode"=>406},
1334
- "exception" => true
1335
- })
1336
- o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException, metadata: {
1337
- "error" => {"httpStatusCode"=>409},
1338
- "exception" => true
1339
- })
1340
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1341
- "error" => {"httpStatusCode"=>400},
1342
- "exception" => true
1343
- })
1344
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1345
- "error" => {"httpStatusCode"=>429},
1346
- "exception" => true
1347
- })
1348
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1349
- "error" => {"httpStatusCode"=>401},
1350
- "exception" => true
1351
- })
1352
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1353
- "error" => {"httpStatusCode"=>503},
1354
- "exception" => true,
1355
- "fault" => true
1356
- })
1357
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1358
- "error" => {"httpStatusCode"=>500},
1359
- "exception" => true,
1360
- "fault" => true
1361
- })
1362
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1363
- "error" => {"httpStatusCode"=>404},
1364
- "exception" => true
1365
- })
1366
- end)
1367
-
1368
- api.add_operation(:delete_policy, Seahorse::Model::Operation.new.tap do |o|
1369
- o.name = "DeletePolicy"
1370
- o.http_method = "DELETE"
1371
- o.http_request_uri = "/policies/{policyName}"
1372
- o.input = Shapes::ShapeRef.new(shape: DeletePolicyRequest)
1373
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1374
- o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException, metadata: {
1375
- "error" => {"httpStatusCode"=>409},
1376
- "exception" => true
1377
- })
1378
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1379
- "error" => {"httpStatusCode"=>404},
1380
- "exception" => true
1381
- })
1382
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1383
- "error" => {"httpStatusCode"=>400},
1384
- "exception" => true
1385
- })
1386
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1387
- "error" => {"httpStatusCode"=>429},
1388
- "exception" => true
1389
- })
1390
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1391
- "error" => {"httpStatusCode"=>401},
1392
- "exception" => true
1393
- })
1394
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1395
- "error" => {"httpStatusCode"=>503},
1396
- "exception" => true,
1397
- "fault" => true
1398
- })
1399
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1400
- "error" => {"httpStatusCode"=>500},
1401
- "exception" => true,
1402
- "fault" => true
1403
- })
1404
- end)
1405
-
1406
- api.add_operation(:delete_policy_version, Seahorse::Model::Operation.new.tap do |o|
1407
- o.name = "DeletePolicyVersion"
1408
- o.http_method = "DELETE"
1409
- o.http_request_uri = "/policies/{policyName}/version/{policyVersionId}"
1410
- o.input = Shapes::ShapeRef.new(shape: DeletePolicyVersionRequest)
1411
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1412
- o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException, metadata: {
1413
- "error" => {"httpStatusCode"=>409},
1414
- "exception" => true
1415
- })
1416
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1417
- "error" => {"httpStatusCode"=>404},
1418
- "exception" => true
1419
- })
1420
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1421
- "error" => {"httpStatusCode"=>400},
1422
- "exception" => true
1423
- })
1424
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1425
- "error" => {"httpStatusCode"=>429},
1426
- "exception" => true
1427
- })
1428
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1429
- "error" => {"httpStatusCode"=>401},
1430
- "exception" => true
1431
- })
1432
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1433
- "error" => {"httpStatusCode"=>503},
1434
- "exception" => true,
1435
- "fault" => true
1436
- })
1437
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1438
- "error" => {"httpStatusCode"=>500},
1439
- "exception" => true,
1440
- "fault" => true
1441
- })
1442
- end)
1443
-
1444
- api.add_operation(:delete_registration_code, Seahorse::Model::Operation.new.tap do |o|
1445
- o.name = "DeleteRegistrationCode"
1446
- o.http_method = "DELETE"
1447
- o.http_request_uri = "/registrationcode"
1448
- o.input = Shapes::ShapeRef.new(shape: DeleteRegistrationCodeRequest)
1449
- o.output = Shapes::ShapeRef.new(shape: DeleteRegistrationCodeResponse)
1450
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1451
- "error" => {"httpStatusCode"=>429},
1452
- "exception" => true
1453
- })
1454
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1455
- "error" => {"httpStatusCode"=>404},
1456
- "exception" => true
1457
- })
1458
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1459
- "error" => {"httpStatusCode"=>401},
1460
- "exception" => true
1461
- })
1462
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1463
- "error" => {"httpStatusCode"=>503},
1464
- "exception" => true,
1465
- "fault" => true
1466
- })
1467
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1468
- "error" => {"httpStatusCode"=>500},
1469
- "exception" => true,
1470
- "fault" => true
1471
- })
1472
- end)
1473
-
1474
- api.add_operation(:delete_thing, Seahorse::Model::Operation.new.tap do |o|
1475
- o.name = "DeleteThing"
1476
- o.http_method = "DELETE"
1477
- o.http_request_uri = "/things/{thingName}"
1478
- o.input = Shapes::ShapeRef.new(shape: DeleteThingRequest)
1479
- o.output = Shapes::ShapeRef.new(shape: DeleteThingResponse)
1480
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1481
- "error" => {"httpStatusCode"=>404},
1482
- "exception" => true
1483
- })
1484
- o.errors << Shapes::ShapeRef.new(shape: VersionConflictException, metadata: {
1485
- "error" => {"httpStatusCode"=>409},
1486
- "exception" => true
1487
- })
1488
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1489
- "error" => {"httpStatusCode"=>400},
1490
- "exception" => true
1491
- })
1492
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1493
- "error" => {"httpStatusCode"=>429},
1494
- "exception" => true
1495
- })
1496
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1497
- "error" => {"httpStatusCode"=>401},
1498
- "exception" => true
1499
- })
1500
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1501
- "error" => {"httpStatusCode"=>503},
1502
- "exception" => true,
1503
- "fault" => true
1504
- })
1505
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1506
- "error" => {"httpStatusCode"=>500},
1507
- "exception" => true,
1508
- "fault" => true
1509
- })
1510
- end)
1511
-
1512
- api.add_operation(:delete_thing_type, Seahorse::Model::Operation.new.tap do |o|
1513
- o.name = "DeleteThingType"
1514
- o.http_method = "DELETE"
1515
- o.http_request_uri = "/thing-types/{thingTypeName}"
1516
- o.input = Shapes::ShapeRef.new(shape: DeleteThingTypeRequest)
1517
- o.output = Shapes::ShapeRef.new(shape: DeleteThingTypeResponse)
1518
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1519
- "error" => {"httpStatusCode"=>404},
1520
- "exception" => true
1521
- })
1522
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1523
- "error" => {"httpStatusCode"=>400},
1524
- "exception" => true
1525
- })
1526
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1527
- "error" => {"httpStatusCode"=>429},
1528
- "exception" => true
1529
- })
1530
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1531
- "error" => {"httpStatusCode"=>401},
1532
- "exception" => true
1533
- })
1534
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1535
- "error" => {"httpStatusCode"=>503},
1536
- "exception" => true,
1537
- "fault" => true
1538
- })
1539
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1540
- "error" => {"httpStatusCode"=>500},
1541
- "exception" => true,
1542
- "fault" => true
1543
- })
1544
- end)
1545
-
1546
- api.add_operation(:delete_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1547
- o.name = "DeleteTopicRule"
1548
- o.http_method = "DELETE"
1549
- o.http_request_uri = "/rules/{ruleName}"
1550
- o.input = Shapes::ShapeRef.new(shape: DeleteTopicRuleRequest)
1551
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1552
- o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
1553
- "error" => {"httpStatusCode"=>500},
1554
- "exception" => true,
1555
- "fault" => true
1556
- })
1557
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1558
- "error" => {"httpStatusCode"=>400},
1559
- "exception" => true
1560
- })
1561
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1562
- "error" => {"httpStatusCode"=>503},
1563
- "exception" => true,
1564
- "fault" => true
1565
- })
1566
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1567
- "error" => {"httpStatusCode"=>401},
1568
- "exception" => true
1569
- })
1570
- end)
1571
-
1572
- api.add_operation(:deprecate_thing_type, Seahorse::Model::Operation.new.tap do |o|
1573
- o.name = "DeprecateThingType"
1574
- o.http_method = "POST"
1575
- o.http_request_uri = "/thing-types/{thingTypeName}/deprecate"
1576
- o.input = Shapes::ShapeRef.new(shape: DeprecateThingTypeRequest)
1577
- o.output = Shapes::ShapeRef.new(shape: DeprecateThingTypeResponse)
1578
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1579
- "error" => {"httpStatusCode"=>404},
1580
- "exception" => true
1581
- })
1582
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1583
- "error" => {"httpStatusCode"=>400},
1584
- "exception" => true
1585
- })
1586
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1587
- "error" => {"httpStatusCode"=>429},
1588
- "exception" => true
1589
- })
1590
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1591
- "error" => {"httpStatusCode"=>401},
1592
- "exception" => true
1593
- })
1594
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1595
- "error" => {"httpStatusCode"=>503},
1596
- "exception" => true,
1597
- "fault" => true
1598
- })
1599
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1600
- "error" => {"httpStatusCode"=>500},
1601
- "exception" => true,
1602
- "fault" => true
1603
- })
1604
- end)
1605
-
1606
- api.add_operation(:describe_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
1607
- o.name = "DescribeCACertificate"
1608
- o.http_method = "GET"
1609
- o.http_request_uri = "/cacertificate/{caCertificateId}"
1610
- o.input = Shapes::ShapeRef.new(shape: DescribeCACertificateRequest)
1611
- o.output = Shapes::ShapeRef.new(shape: DescribeCACertificateResponse)
1612
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1613
- "error" => {"httpStatusCode"=>400},
1614
- "exception" => true
1615
- })
1616
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1617
- "error" => {"httpStatusCode"=>429},
1618
- "exception" => true
1619
- })
1620
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1621
- "error" => {"httpStatusCode"=>401},
1622
- "exception" => true
1623
- })
1624
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1625
- "error" => {"httpStatusCode"=>503},
1626
- "exception" => true,
1627
- "fault" => true
1628
- })
1629
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1630
- "error" => {"httpStatusCode"=>500},
1631
- "exception" => true,
1632
- "fault" => true
1633
- })
1634
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1635
- "error" => {"httpStatusCode"=>404},
1636
- "exception" => true
1637
- })
1638
- end)
1639
-
1640
- api.add_operation(:describe_certificate, Seahorse::Model::Operation.new.tap do |o|
1641
- o.name = "DescribeCertificate"
1642
- o.http_method = "GET"
1643
- o.http_request_uri = "/certificates/{certificateId}"
1644
- o.input = Shapes::ShapeRef.new(shape: DescribeCertificateRequest)
1645
- o.output = Shapes::ShapeRef.new(shape: DescribeCertificateResponse)
1646
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1647
- "error" => {"httpStatusCode"=>400},
1648
- "exception" => true
1649
- })
1650
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1651
- "error" => {"httpStatusCode"=>429},
1652
- "exception" => true
1653
- })
1654
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1655
- "error" => {"httpStatusCode"=>401},
1656
- "exception" => true
1657
- })
1658
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1659
- "error" => {"httpStatusCode"=>503},
1660
- "exception" => true,
1661
- "fault" => true
1662
- })
1663
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1664
- "error" => {"httpStatusCode"=>500},
1665
- "exception" => true,
1666
- "fault" => true
1667
- })
1668
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1669
- "error" => {"httpStatusCode"=>404},
1670
- "exception" => true
1671
- })
1672
- end)
1673
-
1674
- api.add_operation(:describe_endpoint, Seahorse::Model::Operation.new.tap do |o|
1675
- o.name = "DescribeEndpoint"
1676
- o.http_method = "GET"
1677
- o.http_request_uri = "/endpoint"
1678
- o.input = Shapes::ShapeRef.new(shape: DescribeEndpointRequest)
1679
- o.output = Shapes::ShapeRef.new(shape: DescribeEndpointResponse)
1680
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1681
- "error" => {"httpStatusCode"=>500},
1682
- "exception" => true,
1683
- "fault" => true
1684
- })
1685
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1686
- "error" => {"httpStatusCode"=>401},
1687
- "exception" => true
1688
- })
1689
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1690
- "error" => {"httpStatusCode"=>429},
1691
- "exception" => true
1692
- })
1693
- end)
1694
-
1695
- api.add_operation(:describe_thing, Seahorse::Model::Operation.new.tap do |o|
1696
- o.name = "DescribeThing"
1697
- o.http_method = "GET"
1698
- o.http_request_uri = "/things/{thingName}"
1699
- o.input = Shapes::ShapeRef.new(shape: DescribeThingRequest)
1700
- o.output = Shapes::ShapeRef.new(shape: DescribeThingResponse)
1701
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1702
- "error" => {"httpStatusCode"=>404},
1703
- "exception" => true
1704
- })
1705
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1706
- "error" => {"httpStatusCode"=>400},
1707
- "exception" => true
1708
- })
1709
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1710
- "error" => {"httpStatusCode"=>429},
1711
- "exception" => true
1712
- })
1713
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1714
- "error" => {"httpStatusCode"=>401},
1715
- "exception" => true
1716
- })
1717
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1718
- "error" => {"httpStatusCode"=>503},
1719
- "exception" => true,
1720
- "fault" => true
1721
- })
1722
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1723
- "error" => {"httpStatusCode"=>500},
1724
- "exception" => true,
1725
- "fault" => true
1726
- })
1727
- end)
1728
-
1729
- api.add_operation(:describe_thing_type, Seahorse::Model::Operation.new.tap do |o|
1730
- o.name = "DescribeThingType"
1731
- o.http_method = "GET"
1732
- o.http_request_uri = "/thing-types/{thingTypeName}"
1733
- o.input = Shapes::ShapeRef.new(shape: DescribeThingTypeRequest)
1734
- o.output = Shapes::ShapeRef.new(shape: DescribeThingTypeResponse)
1735
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1736
- "error" => {"httpStatusCode"=>404},
1737
- "exception" => true
1738
- })
1739
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1740
- "error" => {"httpStatusCode"=>400},
1741
- "exception" => true
1742
- })
1743
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1744
- "error" => {"httpStatusCode"=>429},
1745
- "exception" => true
1746
- })
1747
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1748
- "error" => {"httpStatusCode"=>401},
1749
- "exception" => true
1750
- })
1751
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1752
- "error" => {"httpStatusCode"=>503},
1753
- "exception" => true,
1754
- "fault" => true
1755
- })
1756
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1757
- "error" => {"httpStatusCode"=>500},
1758
- "exception" => true,
1759
- "fault" => true
1760
- })
1761
- end)
1762
-
1763
- api.add_operation(:detach_principal_policy, Seahorse::Model::Operation.new.tap do |o|
1764
- o.name = "DetachPrincipalPolicy"
1765
- o.http_method = "DELETE"
1766
- o.http_request_uri = "/principal-policies/{policyName}"
1767
- o.input = Shapes::ShapeRef.new(shape: DetachPrincipalPolicyRequest)
1768
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1769
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1770
- "error" => {"httpStatusCode"=>404},
1771
- "exception" => true
1772
- })
1773
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1774
- "error" => {"httpStatusCode"=>400},
1775
- "exception" => true
1776
- })
1777
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1778
- "error" => {"httpStatusCode"=>429},
1779
- "exception" => true
1780
- })
1781
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1782
- "error" => {"httpStatusCode"=>401},
1783
- "exception" => true
1784
- })
1785
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1786
- "error" => {"httpStatusCode"=>503},
1787
- "exception" => true,
1788
- "fault" => true
1789
- })
1790
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1791
- "error" => {"httpStatusCode"=>500},
1792
- "exception" => true,
1793
- "fault" => true
1794
- })
1795
- end)
1796
-
1797
- api.add_operation(:detach_thing_principal, Seahorse::Model::Operation.new.tap do |o|
1798
- o.name = "DetachThingPrincipal"
1799
- o.http_method = "DELETE"
1800
- o.http_request_uri = "/things/{thingName}/principals"
1801
- o.input = Shapes::ShapeRef.new(shape: DetachThingPrincipalRequest)
1802
- o.output = Shapes::ShapeRef.new(shape: DetachThingPrincipalResponse)
1803
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1804
- "error" => {"httpStatusCode"=>404},
1805
- "exception" => true
1806
- })
1807
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1808
- "error" => {"httpStatusCode"=>400},
1809
- "exception" => true
1810
- })
1811
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1812
- "error" => {"httpStatusCode"=>429},
1813
- "exception" => true
1814
- })
1815
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1816
- "error" => {"httpStatusCode"=>401},
1817
- "exception" => true
1818
- })
1819
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1820
- "error" => {"httpStatusCode"=>503},
1821
- "exception" => true,
1822
- "fault" => true
1823
- })
1824
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1825
- "error" => {"httpStatusCode"=>500},
1826
- "exception" => true,
1827
- "fault" => true
1828
- })
1829
- end)
1830
-
1831
- api.add_operation(:disable_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1832
- o.name = "DisableTopicRule"
1833
- o.http_method = "POST"
1834
- o.http_request_uri = "/rules/{ruleName}/disable"
1835
- o.input = Shapes::ShapeRef.new(shape: DisableTopicRuleRequest)
1836
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1837
- o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
1838
- "error" => {"httpStatusCode"=>500},
1839
- "exception" => true,
1840
- "fault" => true
1841
- })
1842
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1843
- "error" => {"httpStatusCode"=>400},
1844
- "exception" => true
1845
- })
1846
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1847
- "error" => {"httpStatusCode"=>503},
1848
- "exception" => true,
1849
- "fault" => true
1850
- })
1851
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1852
- "error" => {"httpStatusCode"=>401},
1853
- "exception" => true
1854
- })
1855
- end)
1856
-
1857
- api.add_operation(:enable_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1858
- o.name = "EnableTopicRule"
1859
- o.http_method = "POST"
1860
- o.http_request_uri = "/rules/{ruleName}/enable"
1861
- o.input = Shapes::ShapeRef.new(shape: EnableTopicRuleRequest)
1862
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1863
- o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
1864
- "error" => {"httpStatusCode"=>500},
1865
- "exception" => true,
1866
- "fault" => true
1867
- })
1868
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1869
- "error" => {"httpStatusCode"=>400},
1870
- "exception" => true
1871
- })
1872
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1873
- "error" => {"httpStatusCode"=>503},
1874
- "exception" => true,
1875
- "fault" => true
1876
- })
1877
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1878
- "error" => {"httpStatusCode"=>401},
1879
- "exception" => true
1880
- })
1881
- end)
1882
-
1883
- api.add_operation(:get_logging_options, Seahorse::Model::Operation.new.tap do |o|
1884
- o.name = "GetLoggingOptions"
1885
- o.http_method = "GET"
1886
- o.http_request_uri = "/loggingOptions"
1887
- o.input = Shapes::ShapeRef.new(shape: GetLoggingOptionsRequest)
1888
- o.output = Shapes::ShapeRef.new(shape: GetLoggingOptionsResponse)
1889
- o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
1890
- "error" => {"httpStatusCode"=>500},
1891
- "exception" => true,
1892
- "fault" => true
1893
- })
1894
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1895
- "error" => {"httpStatusCode"=>400},
1896
- "exception" => true
1897
- })
1898
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1899
- "error" => {"httpStatusCode"=>503},
1900
- "exception" => true,
1901
- "fault" => true
1902
- })
1903
- end)
1904
-
1905
- api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
1906
- o.name = "GetPolicy"
1907
- o.http_method = "GET"
1908
- o.http_request_uri = "/policies/{policyName}"
1909
- o.input = Shapes::ShapeRef.new(shape: GetPolicyRequest)
1910
- o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
1911
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1912
- "error" => {"httpStatusCode"=>404},
1913
- "exception" => true
1914
- })
1915
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1916
- "error" => {"httpStatusCode"=>400},
1917
- "exception" => true
1918
- })
1919
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1920
- "error" => {"httpStatusCode"=>429},
1921
- "exception" => true
1922
- })
1923
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1924
- "error" => {"httpStatusCode"=>401},
1925
- "exception" => true
1926
- })
1927
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1928
- "error" => {"httpStatusCode"=>503},
1929
- "exception" => true,
1930
- "fault" => true
1931
- })
1932
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1933
- "error" => {"httpStatusCode"=>500},
1934
- "exception" => true,
1935
- "fault" => true
1936
- })
1937
- end)
1938
-
1939
- api.add_operation(:get_policy_version, Seahorse::Model::Operation.new.tap do |o|
1940
- o.name = "GetPolicyVersion"
1941
- o.http_method = "GET"
1942
- o.http_request_uri = "/policies/{policyName}/version/{policyVersionId}"
1943
- o.input = Shapes::ShapeRef.new(shape: GetPolicyVersionRequest)
1944
- o.output = Shapes::ShapeRef.new(shape: GetPolicyVersionResponse)
1945
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
1946
- "error" => {"httpStatusCode"=>404},
1947
- "exception" => true
1948
- })
1949
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1950
- "error" => {"httpStatusCode"=>400},
1951
- "exception" => true
1952
- })
1953
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1954
- "error" => {"httpStatusCode"=>429},
1955
- "exception" => true
1956
- })
1957
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1958
- "error" => {"httpStatusCode"=>401},
1959
- "exception" => true
1960
- })
1961
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1962
- "error" => {"httpStatusCode"=>503},
1963
- "exception" => true,
1964
- "fault" => true
1965
- })
1966
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1967
- "error" => {"httpStatusCode"=>500},
1968
- "exception" => true,
1969
- "fault" => true
1970
- })
1971
- end)
1972
-
1973
- api.add_operation(:get_registration_code, Seahorse::Model::Operation.new.tap do |o|
1974
- o.name = "GetRegistrationCode"
1975
- o.http_method = "GET"
1976
- o.http_request_uri = "/registrationcode"
1977
- o.input = Shapes::ShapeRef.new(shape: GetRegistrationCodeRequest)
1978
- o.output = Shapes::ShapeRef.new(shape: GetRegistrationCodeResponse)
1979
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
1980
- "error" => {"httpStatusCode"=>429},
1981
- "exception" => true
1982
- })
1983
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
1984
- "error" => {"httpStatusCode"=>401},
1985
- "exception" => true
1986
- })
1987
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
1988
- "error" => {"httpStatusCode"=>503},
1989
- "exception" => true,
1990
- "fault" => true
1991
- })
1992
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
1993
- "error" => {"httpStatusCode"=>500},
1994
- "exception" => true,
1995
- "fault" => true
1996
- })
1997
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
1998
- "error" => {"httpStatusCode"=>400},
1999
- "exception" => true
2000
- })
2001
- end)
2002
-
2003
- api.add_operation(:get_topic_rule, Seahorse::Model::Operation.new.tap do |o|
2004
- o.name = "GetTopicRule"
2005
- o.http_method = "GET"
2006
- o.http_request_uri = "/rules/{ruleName}"
2007
- o.input = Shapes::ShapeRef.new(shape: GetTopicRuleRequest)
2008
- o.output = Shapes::ShapeRef.new(shape: GetTopicRuleResponse)
2009
- o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
2010
- "error" => {"httpStatusCode"=>500},
2011
- "exception" => true,
2012
- "fault" => true
2013
- })
2014
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2015
- "error" => {"httpStatusCode"=>400},
2016
- "exception" => true
2017
- })
2018
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2019
- "error" => {"httpStatusCode"=>503},
2020
- "exception" => true,
2021
- "fault" => true
2022
- })
2023
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2024
- "error" => {"httpStatusCode"=>401},
2025
- "exception" => true
2026
- })
2027
- end)
2028
-
2029
- api.add_operation(:list_ca_certificates, Seahorse::Model::Operation.new.tap do |o|
2030
- o.name = "ListCACertificates"
2031
- o.http_method = "GET"
2032
- o.http_request_uri = "/cacertificates"
2033
- o.input = Shapes::ShapeRef.new(shape: ListCACertificatesRequest)
2034
- o.output = Shapes::ShapeRef.new(shape: ListCACertificatesResponse)
2035
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2036
- "error" => {"httpStatusCode"=>400},
2037
- "exception" => true
2038
- })
2039
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2040
- "error" => {"httpStatusCode"=>429},
2041
- "exception" => true
2042
- })
2043
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2044
- "error" => {"httpStatusCode"=>401},
2045
- "exception" => true
2046
- })
2047
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2048
- "error" => {"httpStatusCode"=>503},
2049
- "exception" => true,
2050
- "fault" => true
2051
- })
2052
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2053
- "error" => {"httpStatusCode"=>500},
2054
- "exception" => true,
2055
- "fault" => true
2056
- })
2057
- end)
2058
-
2059
- api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
2060
- o.name = "ListCertificates"
2061
- o.http_method = "GET"
2062
- o.http_request_uri = "/certificates"
2063
- o.input = Shapes::ShapeRef.new(shape: ListCertificatesRequest)
2064
- o.output = Shapes::ShapeRef.new(shape: ListCertificatesResponse)
2065
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2066
- "error" => {"httpStatusCode"=>400},
2067
- "exception" => true
2068
- })
2069
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2070
- "error" => {"httpStatusCode"=>429},
2071
- "exception" => true
2072
- })
2073
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2074
- "error" => {"httpStatusCode"=>401},
2075
- "exception" => true
2076
- })
2077
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2078
- "error" => {"httpStatusCode"=>503},
2079
- "exception" => true,
2080
- "fault" => true
2081
- })
2082
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2083
- "error" => {"httpStatusCode"=>500},
2084
- "exception" => true,
2085
- "fault" => true
2086
- })
2087
- end)
2088
-
2089
- api.add_operation(:list_certificates_by_ca, Seahorse::Model::Operation.new.tap do |o|
2090
- o.name = "ListCertificatesByCA"
2091
- o.http_method = "GET"
2092
- o.http_request_uri = "/certificates-by-ca/{caCertificateId}"
2093
- o.input = Shapes::ShapeRef.new(shape: ListCertificatesByCARequest)
2094
- o.output = Shapes::ShapeRef.new(shape: ListCertificatesByCAResponse)
2095
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2096
- "error" => {"httpStatusCode"=>400},
2097
- "exception" => true
2098
- })
2099
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2100
- "error" => {"httpStatusCode"=>429},
2101
- "exception" => true
2102
- })
2103
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2104
- "error" => {"httpStatusCode"=>401},
2105
- "exception" => true
2106
- })
2107
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2108
- "error" => {"httpStatusCode"=>503},
2109
- "exception" => true,
2110
- "fault" => true
2111
- })
2112
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2113
- "error" => {"httpStatusCode"=>500},
2114
- "exception" => true,
2115
- "fault" => true
2116
- })
2117
- end)
2118
-
2119
- api.add_operation(:list_outgoing_certificates, Seahorse::Model::Operation.new.tap do |o|
2120
- o.name = "ListOutgoingCertificates"
2121
- o.http_method = "GET"
2122
- o.http_request_uri = "/certificates-out-going"
2123
- o.input = Shapes::ShapeRef.new(shape: ListOutgoingCertificatesRequest)
2124
- o.output = Shapes::ShapeRef.new(shape: ListOutgoingCertificatesResponse)
2125
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2126
- "error" => {"httpStatusCode"=>400},
2127
- "exception" => true
2128
- })
2129
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2130
- "error" => {"httpStatusCode"=>429},
2131
- "exception" => true
2132
- })
2133
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2134
- "error" => {"httpStatusCode"=>401},
2135
- "exception" => true
2136
- })
2137
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2138
- "error" => {"httpStatusCode"=>503},
2139
- "exception" => true,
2140
- "fault" => true
2141
- })
2142
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2143
- "error" => {"httpStatusCode"=>500},
2144
- "exception" => true,
2145
- "fault" => true
2146
- })
2147
- end)
2148
-
2149
- api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
2150
- o.name = "ListPolicies"
2151
- o.http_method = "GET"
2152
- o.http_request_uri = "/policies"
2153
- o.input = Shapes::ShapeRef.new(shape: ListPoliciesRequest)
2154
- o.output = Shapes::ShapeRef.new(shape: ListPoliciesResponse)
2155
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2156
- "error" => {"httpStatusCode"=>400},
2157
- "exception" => true
2158
- })
2159
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2160
- "error" => {"httpStatusCode"=>429},
2161
- "exception" => true
2162
- })
2163
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2164
- "error" => {"httpStatusCode"=>401},
2165
- "exception" => true
2166
- })
2167
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2168
- "error" => {"httpStatusCode"=>503},
2169
- "exception" => true,
2170
- "fault" => true
2171
- })
2172
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2173
- "error" => {"httpStatusCode"=>500},
2174
- "exception" => true,
2175
- "fault" => true
2176
- })
2177
- end)
2178
-
2179
- api.add_operation(:list_policy_principals, Seahorse::Model::Operation.new.tap do |o|
2180
- o.name = "ListPolicyPrincipals"
2181
- o.http_method = "GET"
2182
- o.http_request_uri = "/policy-principals"
2183
- o.input = Shapes::ShapeRef.new(shape: ListPolicyPrincipalsRequest)
2184
- o.output = Shapes::ShapeRef.new(shape: ListPolicyPrincipalsResponse)
2185
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2186
- "error" => {"httpStatusCode"=>404},
2187
- "exception" => true
2188
- })
2189
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2190
- "error" => {"httpStatusCode"=>400},
2191
- "exception" => true
2192
- })
2193
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2194
- "error" => {"httpStatusCode"=>429},
2195
- "exception" => true
2196
- })
2197
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2198
- "error" => {"httpStatusCode"=>401},
2199
- "exception" => true
2200
- })
2201
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2202
- "error" => {"httpStatusCode"=>503},
2203
- "exception" => true,
2204
- "fault" => true
2205
- })
2206
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2207
- "error" => {"httpStatusCode"=>500},
2208
- "exception" => true,
2209
- "fault" => true
2210
- })
2211
- end)
2212
-
2213
- api.add_operation(:list_policy_versions, Seahorse::Model::Operation.new.tap do |o|
2214
- o.name = "ListPolicyVersions"
2215
- o.http_method = "GET"
2216
- o.http_request_uri = "/policies/{policyName}/version"
2217
- o.input = Shapes::ShapeRef.new(shape: ListPolicyVersionsRequest)
2218
- o.output = Shapes::ShapeRef.new(shape: ListPolicyVersionsResponse)
2219
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2220
- "error" => {"httpStatusCode"=>404},
2221
- "exception" => true
2222
- })
2223
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2224
- "error" => {"httpStatusCode"=>400},
2225
- "exception" => true
2226
- })
2227
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2228
- "error" => {"httpStatusCode"=>429},
2229
- "exception" => true
2230
- })
2231
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2232
- "error" => {"httpStatusCode"=>401},
2233
- "exception" => true
2234
- })
2235
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2236
- "error" => {"httpStatusCode"=>503},
2237
- "exception" => true,
2238
- "fault" => true
2239
- })
2240
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2241
- "error" => {"httpStatusCode"=>500},
2242
- "exception" => true,
2243
- "fault" => true
2244
- })
2245
- end)
2246
-
2247
- api.add_operation(:list_principal_policies, Seahorse::Model::Operation.new.tap do |o|
2248
- o.name = "ListPrincipalPolicies"
2249
- o.http_method = "GET"
2250
- o.http_request_uri = "/principal-policies"
2251
- o.input = Shapes::ShapeRef.new(shape: ListPrincipalPoliciesRequest)
2252
- o.output = Shapes::ShapeRef.new(shape: ListPrincipalPoliciesResponse)
2253
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2254
- "error" => {"httpStatusCode"=>404},
2255
- "exception" => true
2256
- })
2257
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2258
- "error" => {"httpStatusCode"=>400},
2259
- "exception" => true
2260
- })
2261
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2262
- "error" => {"httpStatusCode"=>429},
2263
- "exception" => true
2264
- })
2265
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2266
- "error" => {"httpStatusCode"=>401},
2267
- "exception" => true
2268
- })
2269
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2270
- "error" => {"httpStatusCode"=>503},
2271
- "exception" => true,
2272
- "fault" => true
2273
- })
2274
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2275
- "error" => {"httpStatusCode"=>500},
2276
- "exception" => true,
2277
- "fault" => true
2278
- })
2279
- end)
2280
-
2281
- api.add_operation(:list_principal_things, Seahorse::Model::Operation.new.tap do |o|
2282
- o.name = "ListPrincipalThings"
2283
- o.http_method = "GET"
2284
- o.http_request_uri = "/principals/things"
2285
- o.input = Shapes::ShapeRef.new(shape: ListPrincipalThingsRequest)
2286
- o.output = Shapes::ShapeRef.new(shape: ListPrincipalThingsResponse)
2287
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2288
- "error" => {"httpStatusCode"=>400},
2289
- "exception" => true
2290
- })
2291
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2292
- "error" => {"httpStatusCode"=>429},
2293
- "exception" => true
2294
- })
2295
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2296
- "error" => {"httpStatusCode"=>401},
2297
- "exception" => true
2298
- })
2299
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2300
- "error" => {"httpStatusCode"=>503},
2301
- "exception" => true,
2302
- "fault" => true
2303
- })
2304
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2305
- "error" => {"httpStatusCode"=>500},
2306
- "exception" => true,
2307
- "fault" => true
2308
- })
2309
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2310
- "error" => {"httpStatusCode"=>404},
2311
- "exception" => true
2312
- })
2313
- end)
2314
-
2315
- api.add_operation(:list_thing_principals, Seahorse::Model::Operation.new.tap do |o|
2316
- o.name = "ListThingPrincipals"
2317
- o.http_method = "GET"
2318
- o.http_request_uri = "/things/{thingName}/principals"
2319
- o.input = Shapes::ShapeRef.new(shape: ListThingPrincipalsRequest)
2320
- o.output = Shapes::ShapeRef.new(shape: ListThingPrincipalsResponse)
2321
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2322
- "error" => {"httpStatusCode"=>400},
2323
- "exception" => true
2324
- })
2325
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2326
- "error" => {"httpStatusCode"=>429},
2327
- "exception" => true
2328
- })
2329
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2330
- "error" => {"httpStatusCode"=>401},
2331
- "exception" => true
2332
- })
2333
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2334
- "error" => {"httpStatusCode"=>503},
2335
- "exception" => true,
2336
- "fault" => true
2337
- })
2338
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2339
- "error" => {"httpStatusCode"=>500},
2340
- "exception" => true,
2341
- "fault" => true
2342
- })
2343
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2344
- "error" => {"httpStatusCode"=>404},
2345
- "exception" => true
2346
- })
2347
- end)
2348
-
2349
- api.add_operation(:list_thing_types, Seahorse::Model::Operation.new.tap do |o|
2350
- o.name = "ListThingTypes"
2351
- o.http_method = "GET"
2352
- o.http_request_uri = "/thing-types"
2353
- o.input = Shapes::ShapeRef.new(shape: ListThingTypesRequest)
2354
- o.output = Shapes::ShapeRef.new(shape: ListThingTypesResponse)
2355
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2356
- "error" => {"httpStatusCode"=>400},
2357
- "exception" => true
2358
- })
2359
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2360
- "error" => {"httpStatusCode"=>429},
2361
- "exception" => true
2362
- })
2363
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2364
- "error" => {"httpStatusCode"=>401},
2365
- "exception" => true
2366
- })
2367
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2368
- "error" => {"httpStatusCode"=>503},
2369
- "exception" => true,
2370
- "fault" => true
2371
- })
2372
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2373
- "error" => {"httpStatusCode"=>500},
2374
- "exception" => true,
2375
- "fault" => true
2376
- })
2377
- end)
2378
-
2379
- api.add_operation(:list_things, Seahorse::Model::Operation.new.tap do |o|
2380
- o.name = "ListThings"
2381
- o.http_method = "GET"
2382
- o.http_request_uri = "/things"
2383
- o.input = Shapes::ShapeRef.new(shape: ListThingsRequest)
2384
- o.output = Shapes::ShapeRef.new(shape: ListThingsResponse)
2385
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2386
- "error" => {"httpStatusCode"=>400},
2387
- "exception" => true
2388
- })
2389
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2390
- "error" => {"httpStatusCode"=>429},
2391
- "exception" => true
2392
- })
2393
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2394
- "error" => {"httpStatusCode"=>401},
2395
- "exception" => true
2396
- })
2397
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2398
- "error" => {"httpStatusCode"=>503},
2399
- "exception" => true,
2400
- "fault" => true
2401
- })
2402
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2403
- "error" => {"httpStatusCode"=>500},
2404
- "exception" => true,
2405
- "fault" => true
2406
- })
2407
- end)
2408
-
2409
- api.add_operation(:list_topic_rules, Seahorse::Model::Operation.new.tap do |o|
2410
- o.name = "ListTopicRules"
2411
- o.http_method = "GET"
2412
- o.http_request_uri = "/rules"
2413
- o.input = Shapes::ShapeRef.new(shape: ListTopicRulesRequest)
2414
- o.output = Shapes::ShapeRef.new(shape: ListTopicRulesResponse)
2415
- o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
2416
- "error" => {"httpStatusCode"=>500},
2417
- "exception" => true,
2418
- "fault" => true
2419
- })
2420
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2421
- "error" => {"httpStatusCode"=>400},
2422
- "exception" => true
2423
- })
2424
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2425
- "error" => {"httpStatusCode"=>503},
2426
- "exception" => true,
2427
- "fault" => true
2428
- })
2429
- end)
2430
-
2431
- api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
2432
- o.name = "RegisterCACertificate"
2433
- o.http_method = "POST"
2434
- o.http_request_uri = "/cacertificate"
2435
- o.input = Shapes::ShapeRef.new(shape: RegisterCACertificateRequest)
2436
- o.output = Shapes::ShapeRef.new(shape: RegisterCACertificateResponse)
2437
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException, metadata: {
2438
- "error" => {"httpStatusCode"=>409},
2439
- "exception" => true
2440
- })
2441
- o.errors << Shapes::ShapeRef.new(shape: RegistrationCodeValidationException, metadata: {
2442
- "error" => {"httpStatusCode"=>400},
2443
- "exception" => true
2444
- })
2445
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2446
- "error" => {"httpStatusCode"=>400},
2447
- "exception" => true
2448
- })
2449
- o.errors << Shapes::ShapeRef.new(shape: CertificateValidationException, metadata: {
2450
- "error" => {"httpStatusCode"=>400},
2451
- "exception" => true
2452
- })
2453
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2454
- "error" => {"httpStatusCode"=>429},
2455
- "exception" => true
2456
- })
2457
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException, metadata: {
2458
- "error" => {"httpStatusCode"=>410},
2459
- "exception" => true
2460
- })
2461
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2462
- "error" => {"httpStatusCode"=>401},
2463
- "exception" => true
2464
- })
2465
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2466
- "error" => {"httpStatusCode"=>503},
2467
- "exception" => true,
2468
- "fault" => true
2469
- })
2470
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2471
- "error" => {"httpStatusCode"=>500},
2472
- "exception" => true,
2473
- "fault" => true
2474
- })
2475
- end)
2476
-
2477
- api.add_operation(:register_certificate, Seahorse::Model::Operation.new.tap do |o|
2478
- o.name = "RegisterCertificate"
2479
- o.http_method = "POST"
2480
- o.http_request_uri = "/certificate/register"
2481
- o.input = Shapes::ShapeRef.new(shape: RegisterCertificateRequest)
2482
- o.output = Shapes::ShapeRef.new(shape: RegisterCertificateResponse)
2483
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException, metadata: {
2484
- "error" => {"httpStatusCode"=>409},
2485
- "exception" => true
2486
- })
2487
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2488
- "error" => {"httpStatusCode"=>400},
2489
- "exception" => true
2490
- })
2491
- o.errors << Shapes::ShapeRef.new(shape: CertificateValidationException, metadata: {
2492
- "error" => {"httpStatusCode"=>400},
2493
- "exception" => true
2494
- })
2495
- o.errors << Shapes::ShapeRef.new(shape: CertificateStateException, metadata: {
2496
- "error" => {"httpStatusCode"=>406},
2497
- "exception" => true
2498
- })
2499
- o.errors << Shapes::ShapeRef.new(shape: CertificateConflictException, metadata: {
2500
- "error" => {"httpStatusCode"=>409},
2501
- "exception" => true
2502
- })
2503
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2504
- "error" => {"httpStatusCode"=>429},
2505
- "exception" => true
2506
- })
2507
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2508
- "error" => {"httpStatusCode"=>401},
2509
- "exception" => true
2510
- })
2511
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2512
- "error" => {"httpStatusCode"=>503},
2513
- "exception" => true,
2514
- "fault" => true
2515
- })
2516
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2517
- "error" => {"httpStatusCode"=>500},
2518
- "exception" => true,
2519
- "fault" => true
2520
- })
2521
- end)
2522
-
2523
- api.add_operation(:reject_certificate_transfer, Seahorse::Model::Operation.new.tap do |o|
2524
- o.name = "RejectCertificateTransfer"
2525
- o.http_method = "PATCH"
2526
- o.http_request_uri = "/reject-certificate-transfer/{certificateId}"
2527
- o.input = Shapes::ShapeRef.new(shape: RejectCertificateTransferRequest)
2528
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2529
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2530
- "error" => {"httpStatusCode"=>404},
2531
- "exception" => true
2532
- })
2533
- o.errors << Shapes::ShapeRef.new(shape: TransferAlreadyCompletedException, metadata: {
2534
- "error" => {"httpStatusCode"=>410},
2535
- "exception" => true
2536
- })
2537
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2538
- "error" => {"httpStatusCode"=>400},
2539
- "exception" => true
2540
- })
2541
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2542
- "error" => {"httpStatusCode"=>429},
2543
- "exception" => true
2544
- })
2545
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2546
- "error" => {"httpStatusCode"=>401},
2547
- "exception" => true
2548
- })
2549
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2550
- "error" => {"httpStatusCode"=>503},
2551
- "exception" => true,
2552
- "fault" => true
2553
- })
2554
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2555
- "error" => {"httpStatusCode"=>500},
2556
- "exception" => true,
2557
- "fault" => true
2558
- })
2559
- end)
2560
-
2561
- api.add_operation(:replace_topic_rule, Seahorse::Model::Operation.new.tap do |o|
2562
- o.name = "ReplaceTopicRule"
2563
- o.http_method = "PATCH"
2564
- o.http_request_uri = "/rules/{ruleName}"
2565
- o.input = Shapes::ShapeRef.new(shape: ReplaceTopicRuleRequest)
2566
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2567
- o.errors << Shapes::ShapeRef.new(shape: SqlParseException, metadata: {
2568
- "error" => {"httpStatusCode"=>400},
2569
- "exception" => true
2570
- })
2571
- o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
2572
- "error" => {"httpStatusCode"=>500},
2573
- "exception" => true,
2574
- "fault" => true
2575
- })
2576
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2577
- "error" => {"httpStatusCode"=>400},
2578
- "exception" => true
2579
- })
2580
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2581
- "error" => {"httpStatusCode"=>503},
2582
- "exception" => true,
2583
- "fault" => true
2584
- })
2585
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2586
- "error" => {"httpStatusCode"=>401},
2587
- "exception" => true
2588
- })
2589
- end)
2590
-
2591
- api.add_operation(:set_default_policy_version, Seahorse::Model::Operation.new.tap do |o|
2592
- o.name = "SetDefaultPolicyVersion"
2593
- o.http_method = "PATCH"
2594
- o.http_request_uri = "/policies/{policyName}/version/{policyVersionId}"
2595
- o.input = Shapes::ShapeRef.new(shape: SetDefaultPolicyVersionRequest)
2596
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2597
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2598
- "error" => {"httpStatusCode"=>404},
2599
- "exception" => true
2600
- })
2601
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2602
- "error" => {"httpStatusCode"=>400},
2603
- "exception" => true
2604
- })
2605
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2606
- "error" => {"httpStatusCode"=>429},
2607
- "exception" => true
2608
- })
2609
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2610
- "error" => {"httpStatusCode"=>401},
2611
- "exception" => true
2612
- })
2613
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2614
- "error" => {"httpStatusCode"=>503},
2615
- "exception" => true,
2616
- "fault" => true
2617
- })
2618
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2619
- "error" => {"httpStatusCode"=>500},
2620
- "exception" => true,
2621
- "fault" => true
2622
- })
2623
- end)
2624
-
2625
- api.add_operation(:set_logging_options, Seahorse::Model::Operation.new.tap do |o|
2626
- o.name = "SetLoggingOptions"
2627
- o.http_method = "POST"
2628
- o.http_request_uri = "/loggingOptions"
2629
- o.input = Shapes::ShapeRef.new(shape: SetLoggingOptionsRequest)
2630
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2631
- o.errors << Shapes::ShapeRef.new(shape: InternalException, metadata: {
2632
- "error" => {"httpStatusCode"=>500},
2633
- "exception" => true,
2634
- "fault" => true
2635
- })
2636
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2637
- "error" => {"httpStatusCode"=>400},
2638
- "exception" => true
2639
- })
2640
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2641
- "error" => {"httpStatusCode"=>503},
2642
- "exception" => true,
2643
- "fault" => true
2644
- })
2645
- end)
2646
-
2647
- api.add_operation(:transfer_certificate, Seahorse::Model::Operation.new.tap do |o|
2648
- o.name = "TransferCertificate"
2649
- o.http_method = "PATCH"
2650
- o.http_request_uri = "/transfer-certificate/{certificateId}"
2651
- o.input = Shapes::ShapeRef.new(shape: TransferCertificateRequest)
2652
- o.output = Shapes::ShapeRef.new(shape: TransferCertificateResponse)
2653
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2654
- "error" => {"httpStatusCode"=>400},
2655
- "exception" => true
2656
- })
2657
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2658
- "error" => {"httpStatusCode"=>404},
2659
- "exception" => true
2660
- })
2661
- o.errors << Shapes::ShapeRef.new(shape: CertificateStateException, metadata: {
2662
- "error" => {"httpStatusCode"=>406},
2663
- "exception" => true
2664
- })
2665
- o.errors << Shapes::ShapeRef.new(shape: TransferConflictException, metadata: {
2666
- "error" => {"httpStatusCode"=>409},
2667
- "exception" => true
2668
- })
2669
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2670
- "error" => {"httpStatusCode"=>429},
2671
- "exception" => true
2672
- })
2673
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2674
- "error" => {"httpStatusCode"=>401},
2675
- "exception" => true
2676
- })
2677
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2678
- "error" => {"httpStatusCode"=>503},
2679
- "exception" => true,
2680
- "fault" => true
2681
- })
2682
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2683
- "error" => {"httpStatusCode"=>500},
2684
- "exception" => true,
2685
- "fault" => true
2686
- })
2687
- end)
2688
-
2689
- api.add_operation(:update_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
2690
- o.name = "UpdateCACertificate"
2691
- o.http_method = "PUT"
2692
- o.http_request_uri = "/cacertificate/{caCertificateId}"
2693
- o.input = Shapes::ShapeRef.new(shape: UpdateCACertificateRequest)
2694
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2695
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2696
- "error" => {"httpStatusCode"=>404},
2697
- "exception" => true
2698
- })
2699
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2700
- "error" => {"httpStatusCode"=>400},
2701
- "exception" => true
2702
- })
2703
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2704
- "error" => {"httpStatusCode"=>429},
2705
- "exception" => true
2706
- })
2707
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2708
- "error" => {"httpStatusCode"=>401},
2709
- "exception" => true
2710
- })
2711
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2712
- "error" => {"httpStatusCode"=>503},
2713
- "exception" => true,
2714
- "fault" => true
2715
- })
2716
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2717
- "error" => {"httpStatusCode"=>500},
2718
- "exception" => true,
2719
- "fault" => true
2720
- })
2721
- end)
2722
-
2723
- api.add_operation(:update_certificate, Seahorse::Model::Operation.new.tap do |o|
2724
- o.name = "UpdateCertificate"
2725
- o.http_method = "PUT"
2726
- o.http_request_uri = "/certificates/{certificateId}"
2727
- o.input = Shapes::ShapeRef.new(shape: UpdateCertificateRequest)
2728
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2729
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2730
- "error" => {"httpStatusCode"=>404},
2731
- "exception" => true
2732
- })
2733
- o.errors << Shapes::ShapeRef.new(shape: CertificateStateException, metadata: {
2734
- "error" => {"httpStatusCode"=>406},
2735
- "exception" => true
2736
- })
2737
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2738
- "error" => {"httpStatusCode"=>400},
2739
- "exception" => true
2740
- })
2741
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2742
- "error" => {"httpStatusCode"=>429},
2743
- "exception" => true
2744
- })
2745
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2746
- "error" => {"httpStatusCode"=>401},
2747
- "exception" => true
2748
- })
2749
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2750
- "error" => {"httpStatusCode"=>503},
2751
- "exception" => true,
2752
- "fault" => true
2753
- })
2754
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2755
- "error" => {"httpStatusCode"=>500},
2756
- "exception" => true,
2757
- "fault" => true
2758
- })
2759
- end)
2760
-
2761
- api.add_operation(:update_thing, Seahorse::Model::Operation.new.tap do |o|
2762
- o.name = "UpdateThing"
2763
- o.http_method = "PATCH"
2764
- o.http_request_uri = "/things/{thingName}"
2765
- o.input = Shapes::ShapeRef.new(shape: UpdateThingRequest)
2766
- o.output = Shapes::ShapeRef.new(shape: UpdateThingResponse)
2767
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException, metadata: {
2768
- "error" => {"httpStatusCode"=>400},
2769
- "exception" => true
2770
- })
2771
- o.errors << Shapes::ShapeRef.new(shape: VersionConflictException, metadata: {
2772
- "error" => {"httpStatusCode"=>409},
2773
- "exception" => true
2774
- })
2775
- o.errors << Shapes::ShapeRef.new(shape: ThrottlingException, metadata: {
2776
- "error" => {"httpStatusCode"=>429},
2777
- "exception" => true
2778
- })
2779
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException, metadata: {
2780
- "error" => {"httpStatusCode"=>401},
2781
- "exception" => true
2782
- })
2783
- o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException, metadata: {
2784
- "error" => {"httpStatusCode"=>503},
2785
- "exception" => true,
2786
- "fault" => true
2787
- })
2788
- o.errors << Shapes::ShapeRef.new(shape: InternalFailureException, metadata: {
2789
- "error" => {"httpStatusCode"=>500},
2790
- "exception" => true,
2791
- "fault" => true
2792
- })
2793
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException, metadata: {
2794
- "error" => {"httpStatusCode"=>404},
2795
- "exception" => true
2796
- })
2797
- end)
2798
- end
2799
883
 
884
+ # @api private
885
+ API = Seahorse::Model::Api.new.tap do |api|
886
+
887
+ api.version = "2015-05-28"
888
+
889
+ api.metadata = {
890
+ "endpointPrefix" => "iot",
891
+ "protocol" => "rest-json",
892
+ "serviceFullName" => "AWS IoT",
893
+ "signatureVersion" => "v4",
894
+ "signingName" => "execute-api",
895
+ }
896
+
897
+ api.add_operation(:accept_certificate_transfer, Seahorse::Model::Operation.new.tap do |o|
898
+ o.name = "AcceptCertificateTransfer"
899
+ o.http_method = "PATCH"
900
+ o.http_request_uri = "/accept-certificate-transfer/{certificateId}"
901
+ o.input = Shapes::ShapeRef.new(shape: AcceptCertificateTransferRequest)
902
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
903
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
904
+ o.errors << Shapes::ShapeRef.new(shape: TransferAlreadyCompletedException)
905
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
906
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
907
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
908
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
909
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
910
+ end)
911
+
912
+ api.add_operation(:attach_principal_policy, Seahorse::Model::Operation.new.tap do |o|
913
+ o.name = "AttachPrincipalPolicy"
914
+ o.http_method = "PUT"
915
+ o.http_request_uri = "/principal-policies/{policyName}"
916
+ o.input = Shapes::ShapeRef.new(shape: AttachPrincipalPolicyRequest)
917
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
918
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
919
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
920
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
921
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
922
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
923
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
924
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
925
+ end)
926
+
927
+ api.add_operation(:attach_thing_principal, Seahorse::Model::Operation.new.tap do |o|
928
+ o.name = "AttachThingPrincipal"
929
+ o.http_method = "PUT"
930
+ o.http_request_uri = "/things/{thingName}/principals"
931
+ o.input = Shapes::ShapeRef.new(shape: AttachThingPrincipalRequest)
932
+ o.output = Shapes::ShapeRef.new(shape: AttachThingPrincipalResponse)
933
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
934
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
935
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
936
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
937
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
938
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
939
+ end)
940
+
941
+ api.add_operation(:cancel_certificate_transfer, Seahorse::Model::Operation.new.tap do |o|
942
+ o.name = "CancelCertificateTransfer"
943
+ o.http_method = "PATCH"
944
+ o.http_request_uri = "/cancel-certificate-transfer/{certificateId}"
945
+ o.input = Shapes::ShapeRef.new(shape: CancelCertificateTransferRequest)
946
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
947
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
948
+ o.errors << Shapes::ShapeRef.new(shape: TransferAlreadyCompletedException)
949
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
950
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
951
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
952
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
953
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
954
+ end)
955
+
956
+ api.add_operation(:create_certificate_from_csr, Seahorse::Model::Operation.new.tap do |o|
957
+ o.name = "CreateCertificateFromCsr"
958
+ o.http_method = "POST"
959
+ o.http_request_uri = "/certificates"
960
+ o.input = Shapes::ShapeRef.new(shape: CreateCertificateFromCsrRequest)
961
+ o.output = Shapes::ShapeRef.new(shape: CreateCertificateFromCsrResponse)
962
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
963
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
964
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
965
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
966
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
967
+ end)
968
+
969
+ api.add_operation(:create_keys_and_certificate, Seahorse::Model::Operation.new.tap do |o|
970
+ o.name = "CreateKeysAndCertificate"
971
+ o.http_method = "POST"
972
+ o.http_request_uri = "/keys-and-certificate"
973
+ o.input = Shapes::ShapeRef.new(shape: CreateKeysAndCertificateRequest)
974
+ o.output = Shapes::ShapeRef.new(shape: CreateKeysAndCertificateResponse)
975
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
976
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
977
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
978
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
979
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
980
+ end)
981
+
982
+ api.add_operation(:create_policy, Seahorse::Model::Operation.new.tap do |o|
983
+ o.name = "CreatePolicy"
984
+ o.http_method = "POST"
985
+ o.http_request_uri = "/policies/{policyName}"
986
+ o.input = Shapes::ShapeRef.new(shape: CreatePolicyRequest)
987
+ o.output = Shapes::ShapeRef.new(shape: CreatePolicyResponse)
988
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
989
+ o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyException)
990
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
991
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
992
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
993
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
994
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
995
+ end)
996
+
997
+ api.add_operation(:create_policy_version, Seahorse::Model::Operation.new.tap do |o|
998
+ o.name = "CreatePolicyVersion"
999
+ o.http_method = "POST"
1000
+ o.http_request_uri = "/policies/{policyName}/version"
1001
+ o.input = Shapes::ShapeRef.new(shape: CreatePolicyVersionRequest)
1002
+ o.output = Shapes::ShapeRef.new(shape: CreatePolicyVersionResponse)
1003
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1004
+ o.errors << Shapes::ShapeRef.new(shape: MalformedPolicyException)
1005
+ o.errors << Shapes::ShapeRef.new(shape: VersionsLimitExceededException)
1006
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1008
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1010
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1011
+ end)
1012
+
1013
+ api.add_operation(:create_thing, Seahorse::Model::Operation.new.tap do |o|
1014
+ o.name = "CreateThing"
1015
+ o.http_method = "POST"
1016
+ o.http_request_uri = "/things/{thingName}"
1017
+ o.input = Shapes::ShapeRef.new(shape: CreateThingRequest)
1018
+ o.output = Shapes::ShapeRef.new(shape: CreateThingResponse)
1019
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1021
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1022
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1023
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1024
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1025
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1026
+ end)
1027
+
1028
+ api.add_operation(:create_thing_type, Seahorse::Model::Operation.new.tap do |o|
1029
+ o.name = "CreateThingType"
1030
+ o.http_method = "POST"
1031
+ o.http_request_uri = "/thing-types/{thingTypeName}"
1032
+ o.input = Shapes::ShapeRef.new(shape: CreateThingTypeRequest)
1033
+ o.output = Shapes::ShapeRef.new(shape: CreateThingTypeResponse)
1034
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1036
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1038
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1040
+ end)
1041
+
1042
+ api.add_operation(:create_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1043
+ o.name = "CreateTopicRule"
1044
+ o.http_method = "POST"
1045
+ o.http_request_uri = "/rules/{ruleName}"
1046
+ o.input = Shapes::ShapeRef.new(shape: CreateTopicRuleRequest)
1047
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1048
+ o.errors << Shapes::ShapeRef.new(shape: SqlParseException)
1049
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1050
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1051
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1052
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1053
+ end)
1054
+
1055
+ api.add_operation(:delete_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
1056
+ o.name = "DeleteCACertificate"
1057
+ o.http_method = "DELETE"
1058
+ o.http_request_uri = "/cacertificate/{caCertificateId}"
1059
+ o.input = Shapes::ShapeRef.new(shape: DeleteCACertificateRequest)
1060
+ o.output = Shapes::ShapeRef.new(shape: DeleteCACertificateResponse)
1061
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: CertificateStateException)
1063
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1064
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1068
+ end)
1069
+
1070
+ api.add_operation(:delete_certificate, Seahorse::Model::Operation.new.tap do |o|
1071
+ o.name = "DeleteCertificate"
1072
+ o.http_method = "DELETE"
1073
+ o.http_request_uri = "/certificates/{certificateId}"
1074
+ o.input = Shapes::ShapeRef.new(shape: DeleteCertificateRequest)
1075
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1076
+ o.errors << Shapes::ShapeRef.new(shape: CertificateStateException)
1077
+ o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
1078
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1080
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1081
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1084
+ end)
1085
+
1086
+ api.add_operation(:delete_policy, Seahorse::Model::Operation.new.tap do |o|
1087
+ o.name = "DeletePolicy"
1088
+ o.http_method = "DELETE"
1089
+ o.http_request_uri = "/policies/{policyName}"
1090
+ o.input = Shapes::ShapeRef.new(shape: DeletePolicyRequest)
1091
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1092
+ o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1094
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1095
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1096
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1097
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1099
+ end)
1100
+
1101
+ api.add_operation(:delete_policy_version, Seahorse::Model::Operation.new.tap do |o|
1102
+ o.name = "DeletePolicyVersion"
1103
+ o.http_method = "DELETE"
1104
+ o.http_request_uri = "/policies/{policyName}/version/{policyVersionId}"
1105
+ o.input = Shapes::ShapeRef.new(shape: DeletePolicyVersionRequest)
1106
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1107
+ o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
1108
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1109
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1110
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1111
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1112
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1114
+ end)
1115
+
1116
+ api.add_operation(:delete_registration_code, Seahorse::Model::Operation.new.tap do |o|
1117
+ o.name = "DeleteRegistrationCode"
1118
+ o.http_method = "DELETE"
1119
+ o.http_request_uri = "/registrationcode"
1120
+ o.input = Shapes::ShapeRef.new(shape: DeleteRegistrationCodeRequest)
1121
+ o.output = Shapes::ShapeRef.new(shape: DeleteRegistrationCodeResponse)
1122
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1123
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1124
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1125
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1126
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1127
+ end)
1128
+
1129
+ api.add_operation(:delete_thing, Seahorse::Model::Operation.new.tap do |o|
1130
+ o.name = "DeleteThing"
1131
+ o.http_method = "DELETE"
1132
+ o.http_request_uri = "/things/{thingName}"
1133
+ o.input = Shapes::ShapeRef.new(shape: DeleteThingRequest)
1134
+ o.output = Shapes::ShapeRef.new(shape: DeleteThingResponse)
1135
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1136
+ o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
1137
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1138
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1139
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1140
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1141
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1142
+ end)
1143
+
1144
+ api.add_operation(:delete_thing_type, Seahorse::Model::Operation.new.tap do |o|
1145
+ o.name = "DeleteThingType"
1146
+ o.http_method = "DELETE"
1147
+ o.http_request_uri = "/thing-types/{thingTypeName}"
1148
+ o.input = Shapes::ShapeRef.new(shape: DeleteThingTypeRequest)
1149
+ o.output = Shapes::ShapeRef.new(shape: DeleteThingTypeResponse)
1150
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1151
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1153
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1154
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1155
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1156
+ end)
1157
+
1158
+ api.add_operation(:delete_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1159
+ o.name = "DeleteTopicRule"
1160
+ o.http_method = "DELETE"
1161
+ o.http_request_uri = "/rules/{ruleName}"
1162
+ o.input = Shapes::ShapeRef.new(shape: DeleteTopicRuleRequest)
1163
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1164
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1165
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1166
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1167
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1168
+ end)
1169
+
1170
+ api.add_operation(:deprecate_thing_type, Seahorse::Model::Operation.new.tap do |o|
1171
+ o.name = "DeprecateThingType"
1172
+ o.http_method = "POST"
1173
+ o.http_request_uri = "/thing-types/{thingTypeName}/deprecate"
1174
+ o.input = Shapes::ShapeRef.new(shape: DeprecateThingTypeRequest)
1175
+ o.output = Shapes::ShapeRef.new(shape: DeprecateThingTypeResponse)
1176
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1177
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1178
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1179
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1180
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1181
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1182
+ end)
1183
+
1184
+ api.add_operation(:describe_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
1185
+ o.name = "DescribeCACertificate"
1186
+ o.http_method = "GET"
1187
+ o.http_request_uri = "/cacertificate/{caCertificateId}"
1188
+ o.input = Shapes::ShapeRef.new(shape: DescribeCACertificateRequest)
1189
+ o.output = Shapes::ShapeRef.new(shape: DescribeCACertificateResponse)
1190
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1191
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1192
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1193
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1194
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1195
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1196
+ end)
1197
+
1198
+ api.add_operation(:describe_certificate, Seahorse::Model::Operation.new.tap do |o|
1199
+ o.name = "DescribeCertificate"
1200
+ o.http_method = "GET"
1201
+ o.http_request_uri = "/certificates/{certificateId}"
1202
+ o.input = Shapes::ShapeRef.new(shape: DescribeCertificateRequest)
1203
+ o.output = Shapes::ShapeRef.new(shape: DescribeCertificateResponse)
1204
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1205
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1206
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1207
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1208
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1209
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1210
+ end)
1211
+
1212
+ api.add_operation(:describe_endpoint, Seahorse::Model::Operation.new.tap do |o|
1213
+ o.name = "DescribeEndpoint"
1214
+ o.http_method = "GET"
1215
+ o.http_request_uri = "/endpoint"
1216
+ o.input = Shapes::ShapeRef.new(shape: DescribeEndpointRequest)
1217
+ o.output = Shapes::ShapeRef.new(shape: DescribeEndpointResponse)
1218
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1219
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1220
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1221
+ end)
1222
+
1223
+ api.add_operation(:describe_thing, Seahorse::Model::Operation.new.tap do |o|
1224
+ o.name = "DescribeThing"
1225
+ o.http_method = "GET"
1226
+ o.http_request_uri = "/things/{thingName}"
1227
+ o.input = Shapes::ShapeRef.new(shape: DescribeThingRequest)
1228
+ o.output = Shapes::ShapeRef.new(shape: DescribeThingResponse)
1229
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1230
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1231
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1232
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1233
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1234
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1235
+ end)
1236
+
1237
+ api.add_operation(:describe_thing_type, Seahorse::Model::Operation.new.tap do |o|
1238
+ o.name = "DescribeThingType"
1239
+ o.http_method = "GET"
1240
+ o.http_request_uri = "/thing-types/{thingTypeName}"
1241
+ o.input = Shapes::ShapeRef.new(shape: DescribeThingTypeRequest)
1242
+ o.output = Shapes::ShapeRef.new(shape: DescribeThingTypeResponse)
1243
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1244
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1245
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1246
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1247
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1248
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1249
+ end)
1250
+
1251
+ api.add_operation(:detach_principal_policy, Seahorse::Model::Operation.new.tap do |o|
1252
+ o.name = "DetachPrincipalPolicy"
1253
+ o.http_method = "DELETE"
1254
+ o.http_request_uri = "/principal-policies/{policyName}"
1255
+ o.input = Shapes::ShapeRef.new(shape: DetachPrincipalPolicyRequest)
1256
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1257
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1258
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1259
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1260
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1261
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1262
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1263
+ end)
1264
+
1265
+ api.add_operation(:detach_thing_principal, Seahorse::Model::Operation.new.tap do |o|
1266
+ o.name = "DetachThingPrincipal"
1267
+ o.http_method = "DELETE"
1268
+ o.http_request_uri = "/things/{thingName}/principals"
1269
+ o.input = Shapes::ShapeRef.new(shape: DetachThingPrincipalRequest)
1270
+ o.output = Shapes::ShapeRef.new(shape: DetachThingPrincipalResponse)
1271
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1272
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1273
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1274
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1275
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1276
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1277
+ end)
1278
+
1279
+ api.add_operation(:disable_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1280
+ o.name = "DisableTopicRule"
1281
+ o.http_method = "POST"
1282
+ o.http_request_uri = "/rules/{ruleName}/disable"
1283
+ o.input = Shapes::ShapeRef.new(shape: DisableTopicRuleRequest)
1284
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1285
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1286
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1287
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1288
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1289
+ end)
1290
+
1291
+ api.add_operation(:enable_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1292
+ o.name = "EnableTopicRule"
1293
+ o.http_method = "POST"
1294
+ o.http_request_uri = "/rules/{ruleName}/enable"
1295
+ o.input = Shapes::ShapeRef.new(shape: EnableTopicRuleRequest)
1296
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1297
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1298
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1299
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1300
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1301
+ end)
1302
+
1303
+ api.add_operation(:get_logging_options, Seahorse::Model::Operation.new.tap do |o|
1304
+ o.name = "GetLoggingOptions"
1305
+ o.http_method = "GET"
1306
+ o.http_request_uri = "/loggingOptions"
1307
+ o.input = Shapes::ShapeRef.new(shape: GetLoggingOptionsRequest)
1308
+ o.output = Shapes::ShapeRef.new(shape: GetLoggingOptionsResponse)
1309
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1310
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1311
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1312
+ end)
1313
+
1314
+ api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
1315
+ o.name = "GetPolicy"
1316
+ o.http_method = "GET"
1317
+ o.http_request_uri = "/policies/{policyName}"
1318
+ o.input = Shapes::ShapeRef.new(shape: GetPolicyRequest)
1319
+ o.output = Shapes::ShapeRef.new(shape: GetPolicyResponse)
1320
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1321
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1322
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1323
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1324
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1325
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1326
+ end)
1327
+
1328
+ api.add_operation(:get_policy_version, Seahorse::Model::Operation.new.tap do |o|
1329
+ o.name = "GetPolicyVersion"
1330
+ o.http_method = "GET"
1331
+ o.http_request_uri = "/policies/{policyName}/version/{policyVersionId}"
1332
+ o.input = Shapes::ShapeRef.new(shape: GetPolicyVersionRequest)
1333
+ o.output = Shapes::ShapeRef.new(shape: GetPolicyVersionResponse)
1334
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1335
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1336
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1337
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1338
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1339
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1340
+ end)
1341
+
1342
+ api.add_operation(:get_registration_code, Seahorse::Model::Operation.new.tap do |o|
1343
+ o.name = "GetRegistrationCode"
1344
+ o.http_method = "GET"
1345
+ o.http_request_uri = "/registrationcode"
1346
+ o.input = Shapes::ShapeRef.new(shape: GetRegistrationCodeRequest)
1347
+ o.output = Shapes::ShapeRef.new(shape: GetRegistrationCodeResponse)
1348
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1352
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1353
+ end)
1354
+
1355
+ api.add_operation(:get_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1356
+ o.name = "GetTopicRule"
1357
+ o.http_method = "GET"
1358
+ o.http_request_uri = "/rules/{ruleName}"
1359
+ o.input = Shapes::ShapeRef.new(shape: GetTopicRuleRequest)
1360
+ o.output = Shapes::ShapeRef.new(shape: GetTopicRuleResponse)
1361
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1362
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1363
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1364
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1365
+ end)
1366
+
1367
+ api.add_operation(:list_ca_certificates, Seahorse::Model::Operation.new.tap do |o|
1368
+ o.name = "ListCACertificates"
1369
+ o.http_method = "GET"
1370
+ o.http_request_uri = "/cacertificates"
1371
+ o.input = Shapes::ShapeRef.new(shape: ListCACertificatesRequest)
1372
+ o.output = Shapes::ShapeRef.new(shape: ListCACertificatesResponse)
1373
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1374
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1375
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1376
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1377
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1378
+ end)
1379
+
1380
+ api.add_operation(:list_certificates, Seahorse::Model::Operation.new.tap do |o|
1381
+ o.name = "ListCertificates"
1382
+ o.http_method = "GET"
1383
+ o.http_request_uri = "/certificates"
1384
+ o.input = Shapes::ShapeRef.new(shape: ListCertificatesRequest)
1385
+ o.output = Shapes::ShapeRef.new(shape: ListCertificatesResponse)
1386
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1387
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1388
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1389
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1390
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1391
+ end)
1392
+
1393
+ api.add_operation(:list_certificates_by_ca, Seahorse::Model::Operation.new.tap do |o|
1394
+ o.name = "ListCertificatesByCA"
1395
+ o.http_method = "GET"
1396
+ o.http_request_uri = "/certificates-by-ca/{caCertificateId}"
1397
+ o.input = Shapes::ShapeRef.new(shape: ListCertificatesByCARequest)
1398
+ o.output = Shapes::ShapeRef.new(shape: ListCertificatesByCAResponse)
1399
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1401
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1404
+ end)
1405
+
1406
+ api.add_operation(:list_outgoing_certificates, Seahorse::Model::Operation.new.tap do |o|
1407
+ o.name = "ListOutgoingCertificates"
1408
+ o.http_method = "GET"
1409
+ o.http_request_uri = "/certificates-out-going"
1410
+ o.input = Shapes::ShapeRef.new(shape: ListOutgoingCertificatesRequest)
1411
+ o.output = Shapes::ShapeRef.new(shape: ListOutgoingCertificatesResponse)
1412
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1413
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1414
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1415
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1416
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1417
+ end)
1418
+
1419
+ api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
1420
+ o.name = "ListPolicies"
1421
+ o.http_method = "GET"
1422
+ o.http_request_uri = "/policies"
1423
+ o.input = Shapes::ShapeRef.new(shape: ListPoliciesRequest)
1424
+ o.output = Shapes::ShapeRef.new(shape: ListPoliciesResponse)
1425
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1426
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1427
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1428
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1429
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1430
+ end)
1431
+
1432
+ api.add_operation(:list_policy_principals, Seahorse::Model::Operation.new.tap do |o|
1433
+ o.name = "ListPolicyPrincipals"
1434
+ o.http_method = "GET"
1435
+ o.http_request_uri = "/policy-principals"
1436
+ o.input = Shapes::ShapeRef.new(shape: ListPolicyPrincipalsRequest)
1437
+ o.output = Shapes::ShapeRef.new(shape: ListPolicyPrincipalsResponse)
1438
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1439
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1440
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1441
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1442
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1443
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1444
+ end)
1445
+
1446
+ api.add_operation(:list_policy_versions, Seahorse::Model::Operation.new.tap do |o|
1447
+ o.name = "ListPolicyVersions"
1448
+ o.http_method = "GET"
1449
+ o.http_request_uri = "/policies/{policyName}/version"
1450
+ o.input = Shapes::ShapeRef.new(shape: ListPolicyVersionsRequest)
1451
+ o.output = Shapes::ShapeRef.new(shape: ListPolicyVersionsResponse)
1452
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1453
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1454
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1455
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1456
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1457
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1458
+ end)
1459
+
1460
+ api.add_operation(:list_principal_policies, Seahorse::Model::Operation.new.tap do |o|
1461
+ o.name = "ListPrincipalPolicies"
1462
+ o.http_method = "GET"
1463
+ o.http_request_uri = "/principal-policies"
1464
+ o.input = Shapes::ShapeRef.new(shape: ListPrincipalPoliciesRequest)
1465
+ o.output = Shapes::ShapeRef.new(shape: ListPrincipalPoliciesResponse)
1466
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1467
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1468
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1470
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1471
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1472
+ end)
1473
+
1474
+ api.add_operation(:list_principal_things, Seahorse::Model::Operation.new.tap do |o|
1475
+ o.name = "ListPrincipalThings"
1476
+ o.http_method = "GET"
1477
+ o.http_request_uri = "/principals/things"
1478
+ o.input = Shapes::ShapeRef.new(shape: ListPrincipalThingsRequest)
1479
+ o.output = Shapes::ShapeRef.new(shape: ListPrincipalThingsResponse)
1480
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1481
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1482
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1483
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1484
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1485
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1486
+ end)
1487
+
1488
+ api.add_operation(:list_thing_principals, Seahorse::Model::Operation.new.tap do |o|
1489
+ o.name = "ListThingPrincipals"
1490
+ o.http_method = "GET"
1491
+ o.http_request_uri = "/things/{thingName}/principals"
1492
+ o.input = Shapes::ShapeRef.new(shape: ListThingPrincipalsRequest)
1493
+ o.output = Shapes::ShapeRef.new(shape: ListThingPrincipalsResponse)
1494
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1495
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1496
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1498
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1499
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1500
+ end)
1501
+
1502
+ api.add_operation(:list_thing_types, Seahorse::Model::Operation.new.tap do |o|
1503
+ o.name = "ListThingTypes"
1504
+ o.http_method = "GET"
1505
+ o.http_request_uri = "/thing-types"
1506
+ o.input = Shapes::ShapeRef.new(shape: ListThingTypesRequest)
1507
+ o.output = Shapes::ShapeRef.new(shape: ListThingTypesResponse)
1508
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1509
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1510
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1511
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1512
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1513
+ end)
1514
+
1515
+ api.add_operation(:list_things, Seahorse::Model::Operation.new.tap do |o|
1516
+ o.name = "ListThings"
1517
+ o.http_method = "GET"
1518
+ o.http_request_uri = "/things"
1519
+ o.input = Shapes::ShapeRef.new(shape: ListThingsRequest)
1520
+ o.output = Shapes::ShapeRef.new(shape: ListThingsResponse)
1521
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1522
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1523
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1524
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1525
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1526
+ end)
1527
+
1528
+ api.add_operation(:list_topic_rules, Seahorse::Model::Operation.new.tap do |o|
1529
+ o.name = "ListTopicRules"
1530
+ o.http_method = "GET"
1531
+ o.http_request_uri = "/rules"
1532
+ o.input = Shapes::ShapeRef.new(shape: ListTopicRulesRequest)
1533
+ o.output = Shapes::ShapeRef.new(shape: ListTopicRulesResponse)
1534
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1535
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1536
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1537
+ end)
1538
+
1539
+ api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
1540
+ o.name = "RegisterCACertificate"
1541
+ o.http_method = "POST"
1542
+ o.http_request_uri = "/cacertificate"
1543
+ o.input = Shapes::ShapeRef.new(shape: RegisterCACertificateRequest)
1544
+ o.output = Shapes::ShapeRef.new(shape: RegisterCACertificateResponse)
1545
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1546
+ o.errors << Shapes::ShapeRef.new(shape: RegistrationCodeValidationException)
1547
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1548
+ o.errors << Shapes::ShapeRef.new(shape: CertificateValidationException)
1549
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1550
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1551
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1552
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1553
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1554
+ end)
1555
+
1556
+ api.add_operation(:register_certificate, Seahorse::Model::Operation.new.tap do |o|
1557
+ o.name = "RegisterCertificate"
1558
+ o.http_method = "POST"
1559
+ o.http_request_uri = "/certificate/register"
1560
+ o.input = Shapes::ShapeRef.new(shape: RegisterCertificateRequest)
1561
+ o.output = Shapes::ShapeRef.new(shape: RegisterCertificateResponse)
1562
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1563
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1564
+ o.errors << Shapes::ShapeRef.new(shape: CertificateValidationException)
1565
+ o.errors << Shapes::ShapeRef.new(shape: CertificateStateException)
1566
+ o.errors << Shapes::ShapeRef.new(shape: CertificateConflictException)
1567
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1568
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1569
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1570
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1571
+ end)
1572
+
1573
+ api.add_operation(:reject_certificate_transfer, Seahorse::Model::Operation.new.tap do |o|
1574
+ o.name = "RejectCertificateTransfer"
1575
+ o.http_method = "PATCH"
1576
+ o.http_request_uri = "/reject-certificate-transfer/{certificateId}"
1577
+ o.input = Shapes::ShapeRef.new(shape: RejectCertificateTransferRequest)
1578
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1579
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1580
+ o.errors << Shapes::ShapeRef.new(shape: TransferAlreadyCompletedException)
1581
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1582
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1583
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1584
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1585
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1586
+ end)
1587
+
1588
+ api.add_operation(:replace_topic_rule, Seahorse::Model::Operation.new.tap do |o|
1589
+ o.name = "ReplaceTopicRule"
1590
+ o.http_method = "PATCH"
1591
+ o.http_request_uri = "/rules/{ruleName}"
1592
+ o.input = Shapes::ShapeRef.new(shape: ReplaceTopicRuleRequest)
1593
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1594
+ o.errors << Shapes::ShapeRef.new(shape: SqlParseException)
1595
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1596
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1597
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1598
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1599
+ end)
1600
+
1601
+ api.add_operation(:set_default_policy_version, Seahorse::Model::Operation.new.tap do |o|
1602
+ o.name = "SetDefaultPolicyVersion"
1603
+ o.http_method = "PATCH"
1604
+ o.http_request_uri = "/policies/{policyName}/version/{policyVersionId}"
1605
+ o.input = Shapes::ShapeRef.new(shape: SetDefaultPolicyVersionRequest)
1606
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1607
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1608
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1609
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1610
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1611
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1612
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1613
+ end)
1614
+
1615
+ api.add_operation(:set_logging_options, Seahorse::Model::Operation.new.tap do |o|
1616
+ o.name = "SetLoggingOptions"
1617
+ o.http_method = "POST"
1618
+ o.http_request_uri = "/loggingOptions"
1619
+ o.input = Shapes::ShapeRef.new(shape: SetLoggingOptionsRequest)
1620
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1621
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1622
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1623
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1624
+ end)
1625
+
1626
+ api.add_operation(:transfer_certificate, Seahorse::Model::Operation.new.tap do |o|
1627
+ o.name = "TransferCertificate"
1628
+ o.http_method = "PATCH"
1629
+ o.http_request_uri = "/transfer-certificate/{certificateId}"
1630
+ o.input = Shapes::ShapeRef.new(shape: TransferCertificateRequest)
1631
+ o.output = Shapes::ShapeRef.new(shape: TransferCertificateResponse)
1632
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1633
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1634
+ o.errors << Shapes::ShapeRef.new(shape: CertificateStateException)
1635
+ o.errors << Shapes::ShapeRef.new(shape: TransferConflictException)
1636
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1637
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1638
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1639
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1640
+ end)
1641
+
1642
+ api.add_operation(:update_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
1643
+ o.name = "UpdateCACertificate"
1644
+ o.http_method = "PUT"
1645
+ o.http_request_uri = "/cacertificate/{caCertificateId}"
1646
+ o.input = Shapes::ShapeRef.new(shape: UpdateCACertificateRequest)
1647
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1648
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1649
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1650
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1651
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1652
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1653
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1654
+ end)
1655
+
1656
+ api.add_operation(:update_certificate, Seahorse::Model::Operation.new.tap do |o|
1657
+ o.name = "UpdateCertificate"
1658
+ o.http_method = "PUT"
1659
+ o.http_request_uri = "/certificates/{certificateId}"
1660
+ o.input = Shapes::ShapeRef.new(shape: UpdateCertificateRequest)
1661
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1662
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1663
+ o.errors << Shapes::ShapeRef.new(shape: CertificateStateException)
1664
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1667
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1668
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1669
+ end)
1670
+
1671
+ api.add_operation(:update_thing, Seahorse::Model::Operation.new.tap do |o|
1672
+ o.name = "UpdateThing"
1673
+ o.http_method = "PATCH"
1674
+ o.http_request_uri = "/things/{thingName}"
1675
+ o.input = Shapes::ShapeRef.new(shape: UpdateThingRequest)
1676
+ o.output = Shapes::ShapeRef.new(shape: UpdateThingResponse)
1677
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1678
+ o.errors << Shapes::ShapeRef.new(shape: VersionConflictException)
1679
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1680
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1681
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1682
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1683
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1684
+ end)
2800
1685
  end
1686
+
2801
1687
  end
2802
1688
  end