aws-sdk-iot 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2802 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
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
381
+
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
+
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
+
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
+
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
+
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
+
445
+ DeleteThingResponse.struct_class = Types::DeleteThingResponse
446
+
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
+
450
+ DeleteThingTypeResponse.struct_class = Types::DeleteThingTypeResponse
451
+
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
+
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
+
459
+ DeprecateThingTypeResponse.struct_class = Types::DeprecateThingTypeResponse
460
+
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
+
464
+ DescribeCACertificateResponse.add_member(:certificate_description, Shapes::ShapeRef.new(shape: CACertificateDescription, location_name: "certificateDescription"))
465
+ DescribeCACertificateResponse.struct_class = Types::DescribeCACertificateResponse
466
+
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
+
470
+ DescribeCertificateResponse.add_member(:certificate_description, Shapes::ShapeRef.new(shape: CertificateDescription, location_name: "certificateDescription"))
471
+ DescribeCertificateResponse.struct_class = Types::DescribeCertificateResponse
472
+
473
+ DescribeEndpointRequest.struct_class = Types::DescribeEndpointRequest
474
+
475
+ DescribeEndpointResponse.add_member(:endpoint_address, Shapes::ShapeRef.new(shape: EndpointAddress, location_name: "endpointAddress"))
476
+ DescribeEndpointResponse.struct_class = Types::DescribeEndpointResponse
477
+
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
+
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
+
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
+
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
+
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
+
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
+
504
+ DetachThingPrincipalResponse.struct_class = Types::DetachThingPrincipalResponse
505
+
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
+
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
+
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
+
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
+
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
+
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
+
540
+ GetLoggingOptionsRequest.struct_class = Types::GetLoggingOptionsRequest
541
+
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
+
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
+
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
+
2800
+ end
2801
+ end
2802
+ end