aws-sdk-apigateway 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2199 @@
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 APIGateway
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ Account = Shapes::StructureShape.new(name: 'Account')
16
+ ApiKey = Shapes::StructureShape.new(name: 'ApiKey')
17
+ ApiKeyIds = Shapes::StructureShape.new(name: 'ApiKeyIds')
18
+ ApiKeys = Shapes::StructureShape.new(name: 'ApiKeys')
19
+ ApiKeysFormat = Shapes::StringShape.new(name: 'ApiKeysFormat')
20
+ ApiStage = Shapes::StructureShape.new(name: 'ApiStage')
21
+ Authorizer = Shapes::StructureShape.new(name: 'Authorizer')
22
+ AuthorizerType = Shapes::StringShape.new(name: 'AuthorizerType')
23
+ Authorizers = Shapes::StructureShape.new(name: 'Authorizers')
24
+ BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
25
+ BasePathMapping = Shapes::StructureShape.new(name: 'BasePathMapping')
26
+ BasePathMappings = Shapes::StructureShape.new(name: 'BasePathMappings')
27
+ Blob = Shapes::BlobShape.new(name: 'Blob')
28
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
29
+ CacheClusterSize = Shapes::StringShape.new(name: 'CacheClusterSize')
30
+ CacheClusterStatus = Shapes::StringShape.new(name: 'CacheClusterStatus')
31
+ ClientCertificate = Shapes::StructureShape.new(name: 'ClientCertificate')
32
+ ClientCertificates = Shapes::StructureShape.new(name: 'ClientCertificates')
33
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
34
+ ContentHandlingStrategy = Shapes::StringShape.new(name: 'ContentHandlingStrategy')
35
+ CreateApiKeyRequest = Shapes::StructureShape.new(name: 'CreateApiKeyRequest')
36
+ CreateAuthorizerRequest = Shapes::StructureShape.new(name: 'CreateAuthorizerRequest')
37
+ CreateBasePathMappingRequest = Shapes::StructureShape.new(name: 'CreateBasePathMappingRequest')
38
+ CreateDeploymentRequest = Shapes::StructureShape.new(name: 'CreateDeploymentRequest')
39
+ CreateDomainNameRequest = Shapes::StructureShape.new(name: 'CreateDomainNameRequest')
40
+ CreateModelRequest = Shapes::StructureShape.new(name: 'CreateModelRequest')
41
+ CreateResourceRequest = Shapes::StructureShape.new(name: 'CreateResourceRequest')
42
+ CreateRestApiRequest = Shapes::StructureShape.new(name: 'CreateRestApiRequest')
43
+ CreateStageRequest = Shapes::StructureShape.new(name: 'CreateStageRequest')
44
+ CreateUsagePlanKeyRequest = Shapes::StructureShape.new(name: 'CreateUsagePlanKeyRequest')
45
+ CreateUsagePlanRequest = Shapes::StructureShape.new(name: 'CreateUsagePlanRequest')
46
+ DeleteApiKeyRequest = Shapes::StructureShape.new(name: 'DeleteApiKeyRequest')
47
+ DeleteAuthorizerRequest = Shapes::StructureShape.new(name: 'DeleteAuthorizerRequest')
48
+ DeleteBasePathMappingRequest = Shapes::StructureShape.new(name: 'DeleteBasePathMappingRequest')
49
+ DeleteClientCertificateRequest = Shapes::StructureShape.new(name: 'DeleteClientCertificateRequest')
50
+ DeleteDeploymentRequest = Shapes::StructureShape.new(name: 'DeleteDeploymentRequest')
51
+ DeleteDomainNameRequest = Shapes::StructureShape.new(name: 'DeleteDomainNameRequest')
52
+ DeleteIntegrationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationRequest')
53
+ DeleteIntegrationResponseRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationResponseRequest')
54
+ DeleteMethodRequest = Shapes::StructureShape.new(name: 'DeleteMethodRequest')
55
+ DeleteMethodResponseRequest = Shapes::StructureShape.new(name: 'DeleteMethodResponseRequest')
56
+ DeleteModelRequest = Shapes::StructureShape.new(name: 'DeleteModelRequest')
57
+ DeleteResourceRequest = Shapes::StructureShape.new(name: 'DeleteResourceRequest')
58
+ DeleteRestApiRequest = Shapes::StructureShape.new(name: 'DeleteRestApiRequest')
59
+ DeleteStageRequest = Shapes::StructureShape.new(name: 'DeleteStageRequest')
60
+ DeleteUsagePlanKeyRequest = Shapes::StructureShape.new(name: 'DeleteUsagePlanKeyRequest')
61
+ DeleteUsagePlanRequest = Shapes::StructureShape.new(name: 'DeleteUsagePlanRequest')
62
+ Deployment = Shapes::StructureShape.new(name: 'Deployment')
63
+ Deployments = Shapes::StructureShape.new(name: 'Deployments')
64
+ DomainName = Shapes::StructureShape.new(name: 'DomainName')
65
+ DomainNames = Shapes::StructureShape.new(name: 'DomainNames')
66
+ Double = Shapes::FloatShape.new(name: 'Double')
67
+ ExportResponse = Shapes::StructureShape.new(name: 'ExportResponse')
68
+ FlushStageAuthorizersCacheRequest = Shapes::StructureShape.new(name: 'FlushStageAuthorizersCacheRequest')
69
+ FlushStageCacheRequest = Shapes::StructureShape.new(name: 'FlushStageCacheRequest')
70
+ GenerateClientCertificateRequest = Shapes::StructureShape.new(name: 'GenerateClientCertificateRequest')
71
+ GetAccountRequest = Shapes::StructureShape.new(name: 'GetAccountRequest')
72
+ GetApiKeyRequest = Shapes::StructureShape.new(name: 'GetApiKeyRequest')
73
+ GetApiKeysRequest = Shapes::StructureShape.new(name: 'GetApiKeysRequest')
74
+ GetAuthorizerRequest = Shapes::StructureShape.new(name: 'GetAuthorizerRequest')
75
+ GetAuthorizersRequest = Shapes::StructureShape.new(name: 'GetAuthorizersRequest')
76
+ GetBasePathMappingRequest = Shapes::StructureShape.new(name: 'GetBasePathMappingRequest')
77
+ GetBasePathMappingsRequest = Shapes::StructureShape.new(name: 'GetBasePathMappingsRequest')
78
+ GetClientCertificateRequest = Shapes::StructureShape.new(name: 'GetClientCertificateRequest')
79
+ GetClientCertificatesRequest = Shapes::StructureShape.new(name: 'GetClientCertificatesRequest')
80
+ GetDeploymentRequest = Shapes::StructureShape.new(name: 'GetDeploymentRequest')
81
+ GetDeploymentsRequest = Shapes::StructureShape.new(name: 'GetDeploymentsRequest')
82
+ GetDomainNameRequest = Shapes::StructureShape.new(name: 'GetDomainNameRequest')
83
+ GetDomainNamesRequest = Shapes::StructureShape.new(name: 'GetDomainNamesRequest')
84
+ GetExportRequest = Shapes::StructureShape.new(name: 'GetExportRequest')
85
+ GetIntegrationRequest = Shapes::StructureShape.new(name: 'GetIntegrationRequest')
86
+ GetIntegrationResponseRequest = Shapes::StructureShape.new(name: 'GetIntegrationResponseRequest')
87
+ GetMethodRequest = Shapes::StructureShape.new(name: 'GetMethodRequest')
88
+ GetMethodResponseRequest = Shapes::StructureShape.new(name: 'GetMethodResponseRequest')
89
+ GetModelRequest = Shapes::StructureShape.new(name: 'GetModelRequest')
90
+ GetModelTemplateRequest = Shapes::StructureShape.new(name: 'GetModelTemplateRequest')
91
+ GetModelsRequest = Shapes::StructureShape.new(name: 'GetModelsRequest')
92
+ GetResourceRequest = Shapes::StructureShape.new(name: 'GetResourceRequest')
93
+ GetResourcesRequest = Shapes::StructureShape.new(name: 'GetResourcesRequest')
94
+ GetRestApiRequest = Shapes::StructureShape.new(name: 'GetRestApiRequest')
95
+ GetRestApisRequest = Shapes::StructureShape.new(name: 'GetRestApisRequest')
96
+ GetSdkRequest = Shapes::StructureShape.new(name: 'GetSdkRequest')
97
+ GetStageRequest = Shapes::StructureShape.new(name: 'GetStageRequest')
98
+ GetStagesRequest = Shapes::StructureShape.new(name: 'GetStagesRequest')
99
+ GetUsagePlanKeyRequest = Shapes::StructureShape.new(name: 'GetUsagePlanKeyRequest')
100
+ GetUsagePlanKeysRequest = Shapes::StructureShape.new(name: 'GetUsagePlanKeysRequest')
101
+ GetUsagePlanRequest = Shapes::StructureShape.new(name: 'GetUsagePlanRequest')
102
+ GetUsagePlansRequest = Shapes::StructureShape.new(name: 'GetUsagePlansRequest')
103
+ GetUsageRequest = Shapes::StructureShape.new(name: 'GetUsageRequest')
104
+ ImportApiKeysRequest = Shapes::StructureShape.new(name: 'ImportApiKeysRequest')
105
+ ImportRestApiRequest = Shapes::StructureShape.new(name: 'ImportRestApiRequest')
106
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
107
+ Integration = Shapes::StructureShape.new(name: 'Integration')
108
+ IntegrationResponse = Shapes::StructureShape.new(name: 'IntegrationResponse')
109
+ IntegrationType = Shapes::StringShape.new(name: 'IntegrationType')
110
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
111
+ ListOfARNs = Shapes::ListShape.new(name: 'ListOfARNs')
112
+ ListOfApiKey = Shapes::ListShape.new(name: 'ListOfApiKey')
113
+ ListOfApiStage = Shapes::ListShape.new(name: 'ListOfApiStage')
114
+ ListOfAuthorizer = Shapes::ListShape.new(name: 'ListOfAuthorizer')
115
+ ListOfBasePathMapping = Shapes::ListShape.new(name: 'ListOfBasePathMapping')
116
+ ListOfClientCertificate = Shapes::ListShape.new(name: 'ListOfClientCertificate')
117
+ ListOfDeployment = Shapes::ListShape.new(name: 'ListOfDeployment')
118
+ ListOfDomainName = Shapes::ListShape.new(name: 'ListOfDomainName')
119
+ ListOfLong = Shapes::ListShape.new(name: 'ListOfLong')
120
+ ListOfModel = Shapes::ListShape.new(name: 'ListOfModel')
121
+ ListOfPatchOperation = Shapes::ListShape.new(name: 'ListOfPatchOperation')
122
+ ListOfResource = Shapes::ListShape.new(name: 'ListOfResource')
123
+ ListOfRestApi = Shapes::ListShape.new(name: 'ListOfRestApi')
124
+ ListOfStage = Shapes::ListShape.new(name: 'ListOfStage')
125
+ ListOfStageKeys = Shapes::ListShape.new(name: 'ListOfStageKeys')
126
+ ListOfString = Shapes::ListShape.new(name: 'ListOfString')
127
+ ListOfUsage = Shapes::ListShape.new(name: 'ListOfUsage')
128
+ ListOfUsagePlan = Shapes::ListShape.new(name: 'ListOfUsagePlan')
129
+ ListOfUsagePlanKey = Shapes::ListShape.new(name: 'ListOfUsagePlanKey')
130
+ Long = Shapes::IntegerShape.new(name: 'Long')
131
+ MapOfHeaderValues = Shapes::MapShape.new(name: 'MapOfHeaderValues')
132
+ MapOfIntegrationResponse = Shapes::MapShape.new(name: 'MapOfIntegrationResponse')
133
+ MapOfKeyUsages = Shapes::MapShape.new(name: 'MapOfKeyUsages')
134
+ MapOfMethod = Shapes::MapShape.new(name: 'MapOfMethod')
135
+ MapOfMethodResponse = Shapes::MapShape.new(name: 'MapOfMethodResponse')
136
+ MapOfMethodSettings = Shapes::MapShape.new(name: 'MapOfMethodSettings')
137
+ MapOfMethodSnapshot = Shapes::MapShape.new(name: 'MapOfMethodSnapshot')
138
+ MapOfStringToBoolean = Shapes::MapShape.new(name: 'MapOfStringToBoolean')
139
+ MapOfStringToList = Shapes::MapShape.new(name: 'MapOfStringToList')
140
+ MapOfStringToString = Shapes::MapShape.new(name: 'MapOfStringToString')
141
+ Method = Shapes::StructureShape.new(name: 'Method')
142
+ MethodResponse = Shapes::StructureShape.new(name: 'MethodResponse')
143
+ MethodSetting = Shapes::StructureShape.new(name: 'MethodSetting')
144
+ MethodSnapshot = Shapes::StructureShape.new(name: 'MethodSnapshot')
145
+ Model = Shapes::StructureShape.new(name: 'Model')
146
+ Models = Shapes::StructureShape.new(name: 'Models')
147
+ NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
148
+ NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
149
+ NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
150
+ Op = Shapes::StringShape.new(name: 'Op')
151
+ PatchOperation = Shapes::StructureShape.new(name: 'PatchOperation')
152
+ PathToMapOfMethodSnapshot = Shapes::MapShape.new(name: 'PathToMapOfMethodSnapshot')
153
+ ProviderARN = Shapes::StringShape.new(name: 'ProviderARN')
154
+ PutIntegrationRequest = Shapes::StructureShape.new(name: 'PutIntegrationRequest')
155
+ PutIntegrationResponseRequest = Shapes::StructureShape.new(name: 'PutIntegrationResponseRequest')
156
+ PutMethodRequest = Shapes::StructureShape.new(name: 'PutMethodRequest')
157
+ PutMethodResponseRequest = Shapes::StructureShape.new(name: 'PutMethodResponseRequest')
158
+ PutMode = Shapes::StringShape.new(name: 'PutMode')
159
+ PutRestApiRequest = Shapes::StructureShape.new(name: 'PutRestApiRequest')
160
+ QuotaPeriodType = Shapes::StringShape.new(name: 'QuotaPeriodType')
161
+ QuotaSettings = Shapes::StructureShape.new(name: 'QuotaSettings')
162
+ Resource = Shapes::StructureShape.new(name: 'Resource')
163
+ Resources = Shapes::StructureShape.new(name: 'Resources')
164
+ RestApi = Shapes::StructureShape.new(name: 'RestApi')
165
+ RestApis = Shapes::StructureShape.new(name: 'RestApis')
166
+ SdkResponse = Shapes::StructureShape.new(name: 'SdkResponse')
167
+ ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
168
+ Stage = Shapes::StructureShape.new(name: 'Stage')
169
+ StageKey = Shapes::StructureShape.new(name: 'StageKey')
170
+ Stages = Shapes::StructureShape.new(name: 'Stages')
171
+ StatusCode = Shapes::StringShape.new(name: 'StatusCode')
172
+ String = Shapes::StringShape.new(name: 'String')
173
+ Template = Shapes::StructureShape.new(name: 'Template')
174
+ TestInvokeAuthorizerRequest = Shapes::StructureShape.new(name: 'TestInvokeAuthorizerRequest')
175
+ TestInvokeAuthorizerResponse = Shapes::StructureShape.new(name: 'TestInvokeAuthorizerResponse')
176
+ TestInvokeMethodRequest = Shapes::StructureShape.new(name: 'TestInvokeMethodRequest')
177
+ TestInvokeMethodResponse = Shapes::StructureShape.new(name: 'TestInvokeMethodResponse')
178
+ ThrottleSettings = Shapes::StructureShape.new(name: 'ThrottleSettings')
179
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
180
+ TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
181
+ UnauthorizedCacheControlHeaderStrategy = Shapes::StringShape.new(name: 'UnauthorizedCacheControlHeaderStrategy')
182
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
183
+ UpdateAccountRequest = Shapes::StructureShape.new(name: 'UpdateAccountRequest')
184
+ UpdateApiKeyRequest = Shapes::StructureShape.new(name: 'UpdateApiKeyRequest')
185
+ UpdateAuthorizerRequest = Shapes::StructureShape.new(name: 'UpdateAuthorizerRequest')
186
+ UpdateBasePathMappingRequest = Shapes::StructureShape.new(name: 'UpdateBasePathMappingRequest')
187
+ UpdateClientCertificateRequest = Shapes::StructureShape.new(name: 'UpdateClientCertificateRequest')
188
+ UpdateDeploymentRequest = Shapes::StructureShape.new(name: 'UpdateDeploymentRequest')
189
+ UpdateDomainNameRequest = Shapes::StructureShape.new(name: 'UpdateDomainNameRequest')
190
+ UpdateIntegrationRequest = Shapes::StructureShape.new(name: 'UpdateIntegrationRequest')
191
+ UpdateIntegrationResponseRequest = Shapes::StructureShape.new(name: 'UpdateIntegrationResponseRequest')
192
+ UpdateMethodRequest = Shapes::StructureShape.new(name: 'UpdateMethodRequest')
193
+ UpdateMethodResponseRequest = Shapes::StructureShape.new(name: 'UpdateMethodResponseRequest')
194
+ UpdateModelRequest = Shapes::StructureShape.new(name: 'UpdateModelRequest')
195
+ UpdateResourceRequest = Shapes::StructureShape.new(name: 'UpdateResourceRequest')
196
+ UpdateRestApiRequest = Shapes::StructureShape.new(name: 'UpdateRestApiRequest')
197
+ UpdateStageRequest = Shapes::StructureShape.new(name: 'UpdateStageRequest')
198
+ UpdateUsagePlanRequest = Shapes::StructureShape.new(name: 'UpdateUsagePlanRequest')
199
+ UpdateUsageRequest = Shapes::StructureShape.new(name: 'UpdateUsageRequest')
200
+ Usage = Shapes::StructureShape.new(name: 'Usage')
201
+ UsagePlan = Shapes::StructureShape.new(name: 'UsagePlan')
202
+ UsagePlanKey = Shapes::StructureShape.new(name: 'UsagePlanKey')
203
+ UsagePlanKeys = Shapes::StructureShape.new(name: 'UsagePlanKeys')
204
+ UsagePlans = Shapes::StructureShape.new(name: 'UsagePlans')
205
+
206
+ Account.add_member(:cloudwatch_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "cloudwatchRoleArn"))
207
+ Account.add_member(:throttle_settings, Shapes::ShapeRef.new(shape: ThrottleSettings, location_name: "throttleSettings"))
208
+ Account.add_member(:features, Shapes::ShapeRef.new(shape: ListOfString, location_name: "features"))
209
+ Account.add_member(:api_key_version, Shapes::ShapeRef.new(shape: String, location_name: "apiKeyVersion"))
210
+ Account.struct_class = Types::Account
211
+
212
+ ApiKey.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
213
+ ApiKey.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
214
+ ApiKey.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
215
+ ApiKey.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
216
+ ApiKey.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
217
+ ApiKey.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
218
+ ApiKey.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDate"))
219
+ ApiKey.add_member(:stage_keys, Shapes::ShapeRef.new(shape: ListOfString, location_name: "stageKeys"))
220
+ ApiKey.struct_class = Types::ApiKey
221
+
222
+ ApiKeyIds.add_member(:ids, Shapes::ShapeRef.new(shape: ListOfString, location_name: "ids"))
223
+ ApiKeyIds.add_member(:warnings, Shapes::ShapeRef.new(shape: ListOfString, location_name: "warnings"))
224
+ ApiKeyIds.struct_class = Types::ApiKeyIds
225
+
226
+ ApiKeys.add_member(:warnings, Shapes::ShapeRef.new(shape: ListOfString, location_name: "warnings"))
227
+ ApiKeys.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
228
+ ApiKeys.add_member(:items, Shapes::ShapeRef.new(shape: ListOfApiKey, location_name: "item"))
229
+ ApiKeys.struct_class = Types::ApiKeys
230
+
231
+ ApiStage.add_member(:api_id, Shapes::ShapeRef.new(shape: String, location_name: "apiId"))
232
+ ApiStage.add_member(:stage, Shapes::ShapeRef.new(shape: String, location_name: "stage"))
233
+ ApiStage.struct_class = Types::ApiStage
234
+
235
+ Authorizer.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
236
+ Authorizer.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
237
+ Authorizer.add_member(:type, Shapes::ShapeRef.new(shape: AuthorizerType, location_name: "type"))
238
+ Authorizer.add_member(:provider_arns, Shapes::ShapeRef.new(shape: ListOfARNs, location_name: "providerARNs"))
239
+ Authorizer.add_member(:auth_type, Shapes::ShapeRef.new(shape: String, location_name: "authType"))
240
+ Authorizer.add_member(:authorizer_uri, Shapes::ShapeRef.new(shape: String, location_name: "authorizerUri"))
241
+ Authorizer.add_member(:authorizer_credentials, Shapes::ShapeRef.new(shape: String, location_name: "authorizerCredentials"))
242
+ Authorizer.add_member(:identity_source, Shapes::ShapeRef.new(shape: String, location_name: "identitySource"))
243
+ Authorizer.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: String, location_name: "identityValidationExpression"))
244
+ Authorizer.add_member(:authorizer_result_ttl_in_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "authorizerResultTtlInSeconds"))
245
+ Authorizer.struct_class = Types::Authorizer
246
+
247
+ Authorizers.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
248
+ Authorizers.add_member(:items, Shapes::ShapeRef.new(shape: ListOfAuthorizer, location_name: "item"))
249
+ Authorizers.struct_class = Types::Authorizers
250
+
251
+ BasePathMapping.add_member(:base_path, Shapes::ShapeRef.new(shape: String, location_name: "basePath"))
252
+ BasePathMapping.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, location_name: "restApiId"))
253
+ BasePathMapping.add_member(:stage, Shapes::ShapeRef.new(shape: String, location_name: "stage"))
254
+ BasePathMapping.struct_class = Types::BasePathMapping
255
+
256
+ BasePathMappings.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
257
+ BasePathMappings.add_member(:items, Shapes::ShapeRef.new(shape: ListOfBasePathMapping, location_name: "item"))
258
+ BasePathMappings.struct_class = Types::BasePathMappings
259
+
260
+ ClientCertificate.add_member(:client_certificate_id, Shapes::ShapeRef.new(shape: String, location_name: "clientCertificateId"))
261
+ ClientCertificate.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
262
+ ClientCertificate.add_member(:pem_encoded_certificate, Shapes::ShapeRef.new(shape: String, location_name: "pemEncodedCertificate"))
263
+ ClientCertificate.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
264
+ ClientCertificate.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationDate"))
265
+ ClientCertificate.struct_class = Types::ClientCertificate
266
+
267
+ ClientCertificates.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
268
+ ClientCertificates.add_member(:items, Shapes::ShapeRef.new(shape: ListOfClientCertificate, location_name: "item"))
269
+ ClientCertificates.struct_class = Types::ClientCertificates
270
+
271
+ CreateApiKeyRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
272
+ CreateApiKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
273
+ CreateApiKeyRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
274
+ CreateApiKeyRequest.add_member(:generate_distinct_id, Shapes::ShapeRef.new(shape: Boolean, location_name: "generateDistinctId"))
275
+ CreateApiKeyRequest.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
276
+ CreateApiKeyRequest.add_member(:stage_keys, Shapes::ShapeRef.new(shape: ListOfStageKeys, location_name: "stageKeys"))
277
+ CreateApiKeyRequest.struct_class = Types::CreateApiKeyRequest
278
+
279
+ CreateAuthorizerRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
280
+ CreateAuthorizerRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
281
+ CreateAuthorizerRequest.add_member(:type, Shapes::ShapeRef.new(shape: AuthorizerType, required: true, location_name: "type"))
282
+ CreateAuthorizerRequest.add_member(:provider_arns, Shapes::ShapeRef.new(shape: ListOfARNs, location_name: "providerARNs"))
283
+ CreateAuthorizerRequest.add_member(:auth_type, Shapes::ShapeRef.new(shape: String, location_name: "authType"))
284
+ CreateAuthorizerRequest.add_member(:authorizer_uri, Shapes::ShapeRef.new(shape: String, location_name: "authorizerUri"))
285
+ CreateAuthorizerRequest.add_member(:authorizer_credentials, Shapes::ShapeRef.new(shape: String, location_name: "authorizerCredentials"))
286
+ CreateAuthorizerRequest.add_member(:identity_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "identitySource"))
287
+ CreateAuthorizerRequest.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: String, location_name: "identityValidationExpression"))
288
+ CreateAuthorizerRequest.add_member(:authorizer_result_ttl_in_seconds, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "authorizerResultTtlInSeconds"))
289
+ CreateAuthorizerRequest.struct_class = Types::CreateAuthorizerRequest
290
+
291
+ CreateBasePathMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
292
+ CreateBasePathMappingRequest.add_member(:base_path, Shapes::ShapeRef.new(shape: String, location_name: "basePath"))
293
+ CreateBasePathMappingRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "restApiId"))
294
+ CreateBasePathMappingRequest.add_member(:stage, Shapes::ShapeRef.new(shape: String, location_name: "stage"))
295
+ CreateBasePathMappingRequest.struct_class = Types::CreateBasePathMappingRequest
296
+
297
+ CreateDeploymentRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
298
+ CreateDeploymentRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, location_name: "stageName"))
299
+ CreateDeploymentRequest.add_member(:stage_description, Shapes::ShapeRef.new(shape: String, location_name: "stageDescription"))
300
+ CreateDeploymentRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
301
+ CreateDeploymentRequest.add_member(:cache_cluster_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "cacheClusterEnabled"))
302
+ CreateDeploymentRequest.add_member(:cache_cluster_size, Shapes::ShapeRef.new(shape: CacheClusterSize, location_name: "cacheClusterSize"))
303
+ CreateDeploymentRequest.add_member(:variables, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "variables"))
304
+ CreateDeploymentRequest.struct_class = Types::CreateDeploymentRequest
305
+
306
+ CreateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "domainName"))
307
+ CreateDomainNameRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "certificateName"))
308
+ CreateDomainNameRequest.add_member(:certificate_body, Shapes::ShapeRef.new(shape: String, required: true, location_name: "certificateBody"))
309
+ CreateDomainNameRequest.add_member(:certificate_private_key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "certificatePrivateKey"))
310
+ CreateDomainNameRequest.add_member(:certificate_chain, Shapes::ShapeRef.new(shape: String, required: true, location_name: "certificateChain"))
311
+ CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
312
+
313
+ CreateModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
314
+ CreateModelRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
315
+ CreateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
316
+ CreateModelRequest.add_member(:schema, Shapes::ShapeRef.new(shape: String, location_name: "schema"))
317
+ CreateModelRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "contentType"))
318
+ CreateModelRequest.struct_class = Types::CreateModelRequest
319
+
320
+ CreateResourceRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
321
+ CreateResourceRequest.add_member(:parent_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "parent_id"))
322
+ CreateResourceRequest.add_member(:path_part, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pathPart"))
323
+ CreateResourceRequest.struct_class = Types::CreateResourceRequest
324
+
325
+ CreateRestApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
326
+ CreateRestApiRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
327
+ CreateRestApiRequest.add_member(:clone_from, Shapes::ShapeRef.new(shape: String, location_name: "cloneFrom"))
328
+ CreateRestApiRequest.add_member(:binary_media_types, Shapes::ShapeRef.new(shape: ListOfString, location_name: "binaryMediaTypes"))
329
+ CreateRestApiRequest.struct_class = Types::CreateRestApiRequest
330
+
331
+ CreateStageRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
332
+ CreateStageRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "stageName"))
333
+ CreateStageRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "deploymentId"))
334
+ CreateStageRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
335
+ CreateStageRequest.add_member(:cache_cluster_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "cacheClusterEnabled"))
336
+ CreateStageRequest.add_member(:cache_cluster_size, Shapes::ShapeRef.new(shape: CacheClusterSize, location_name: "cacheClusterSize"))
337
+ CreateStageRequest.add_member(:variables, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "variables"))
338
+ CreateStageRequest.struct_class = Types::CreateStageRequest
339
+
340
+ CreateUsagePlanKeyRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
341
+ CreateUsagePlanKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "keyId"))
342
+ CreateUsagePlanKeyRequest.add_member(:key_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "keyType"))
343
+ CreateUsagePlanKeyRequest.struct_class = Types::CreateUsagePlanKeyRequest
344
+
345
+ CreateUsagePlanRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
346
+ CreateUsagePlanRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
347
+ CreateUsagePlanRequest.add_member(:api_stages, Shapes::ShapeRef.new(shape: ListOfApiStage, location_name: "apiStages"))
348
+ CreateUsagePlanRequest.add_member(:throttle, Shapes::ShapeRef.new(shape: ThrottleSettings, location_name: "throttle"))
349
+ CreateUsagePlanRequest.add_member(:quota, Shapes::ShapeRef.new(shape: QuotaSettings, location_name: "quota"))
350
+ CreateUsagePlanRequest.struct_class = Types::CreateUsagePlanRequest
351
+
352
+ DeleteApiKeyRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "api_Key"))
353
+ DeleteApiKeyRequest.struct_class = Types::DeleteApiKeyRequest
354
+
355
+ DeleteAuthorizerRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
356
+ DeleteAuthorizerRequest.add_member(:authorizer_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "authorizer_id"))
357
+ DeleteAuthorizerRequest.struct_class = Types::DeleteAuthorizerRequest
358
+
359
+ DeleteBasePathMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
360
+ DeleteBasePathMappingRequest.add_member(:base_path, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "base_path"))
361
+ DeleteBasePathMappingRequest.struct_class = Types::DeleteBasePathMappingRequest
362
+
363
+ DeleteClientCertificateRequest.add_member(:client_certificate_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "clientcertificate_id"))
364
+ DeleteClientCertificateRequest.struct_class = Types::DeleteClientCertificateRequest
365
+
366
+ DeleteDeploymentRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
367
+ DeleteDeploymentRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "deployment_id"))
368
+ DeleteDeploymentRequest.struct_class = Types::DeleteDeploymentRequest
369
+
370
+ DeleteDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
371
+ DeleteDomainNameRequest.struct_class = Types::DeleteDomainNameRequest
372
+
373
+ DeleteIntegrationRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
374
+ DeleteIntegrationRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
375
+ DeleteIntegrationRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
376
+ DeleteIntegrationRequest.struct_class = Types::DeleteIntegrationRequest
377
+
378
+ DeleteIntegrationResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
379
+ DeleteIntegrationResponseRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
380
+ DeleteIntegrationResponseRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
381
+ DeleteIntegrationResponseRequest.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, required: true, location: "uri", location_name: "status_code"))
382
+ DeleteIntegrationResponseRequest.struct_class = Types::DeleteIntegrationResponseRequest
383
+
384
+ DeleteMethodRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
385
+ DeleteMethodRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
386
+ DeleteMethodRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
387
+ DeleteMethodRequest.struct_class = Types::DeleteMethodRequest
388
+
389
+ DeleteMethodResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
390
+ DeleteMethodResponseRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
391
+ DeleteMethodResponseRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
392
+ DeleteMethodResponseRequest.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, required: true, location: "uri", location_name: "status_code"))
393
+ DeleteMethodResponseRequest.struct_class = Types::DeleteMethodResponseRequest
394
+
395
+ DeleteModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
396
+ DeleteModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "model_name"))
397
+ DeleteModelRequest.struct_class = Types::DeleteModelRequest
398
+
399
+ DeleteResourceRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
400
+ DeleteResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
401
+ DeleteResourceRequest.struct_class = Types::DeleteResourceRequest
402
+
403
+ DeleteRestApiRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
404
+ DeleteRestApiRequest.struct_class = Types::DeleteRestApiRequest
405
+
406
+ DeleteStageRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
407
+ DeleteStageRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "stage_name"))
408
+ DeleteStageRequest.struct_class = Types::DeleteStageRequest
409
+
410
+ DeleteUsagePlanKeyRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
411
+ DeleteUsagePlanKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "keyId"))
412
+ DeleteUsagePlanKeyRequest.struct_class = Types::DeleteUsagePlanKeyRequest
413
+
414
+ DeleteUsagePlanRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
415
+ DeleteUsagePlanRequest.struct_class = Types::DeleteUsagePlanRequest
416
+
417
+ Deployment.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
418
+ Deployment.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
419
+ Deployment.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
420
+ Deployment.add_member(:api_summary, Shapes::ShapeRef.new(shape: PathToMapOfMethodSnapshot, location_name: "apiSummary"))
421
+ Deployment.struct_class = Types::Deployment
422
+
423
+ Deployments.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
424
+ Deployments.add_member(:items, Shapes::ShapeRef.new(shape: ListOfDeployment, location_name: "item"))
425
+ Deployments.struct_class = Types::Deployments
426
+
427
+ DomainName.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, location_name: "domainName"))
428
+ DomainName.add_member(:certificate_name, Shapes::ShapeRef.new(shape: String, location_name: "certificateName"))
429
+ DomainName.add_member(:certificate_upload_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "certificateUploadDate"))
430
+ DomainName.add_member(:distribution_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "distributionDomainName"))
431
+ DomainName.struct_class = Types::DomainName
432
+
433
+ DomainNames.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
434
+ DomainNames.add_member(:items, Shapes::ShapeRef.new(shape: ListOfDomainName, location_name: "item"))
435
+ DomainNames.struct_class = Types::DomainNames
436
+
437
+ ExportResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
438
+ ExportResponse.add_member(:content_disposition, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Disposition"))
439
+ ExportResponse.add_member(:body, Shapes::ShapeRef.new(shape: Blob, location_name: "body"))
440
+ ExportResponse.struct_class = Types::ExportResponse
441
+ ExportResponse[:payload] = :body
442
+ ExportResponse[:payload_member] = ExportResponse.member(:body)
443
+
444
+ FlushStageAuthorizersCacheRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
445
+ FlushStageAuthorizersCacheRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "stage_name"))
446
+ FlushStageAuthorizersCacheRequest.struct_class = Types::FlushStageAuthorizersCacheRequest
447
+
448
+ FlushStageCacheRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
449
+ FlushStageCacheRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "stage_name"))
450
+ FlushStageCacheRequest.struct_class = Types::FlushStageCacheRequest
451
+
452
+ GenerateClientCertificateRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
453
+ GenerateClientCertificateRequest.struct_class = Types::GenerateClientCertificateRequest
454
+
455
+ GetAccountRequest.struct_class = Types::GetAccountRequest
456
+
457
+ GetApiKeyRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "api_Key"))
458
+ GetApiKeyRequest.add_member(:include_value, Shapes::ShapeRef.new(shape: NullableBoolean, location: "querystring", location_name: "includeValue"))
459
+ GetApiKeyRequest.struct_class = Types::GetApiKeyRequest
460
+
461
+ GetApiKeysRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
462
+ GetApiKeysRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
463
+ GetApiKeysRequest.add_member(:name_query, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "name"))
464
+ GetApiKeysRequest.add_member(:customer_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "customerId"))
465
+ GetApiKeysRequest.add_member(:include_values, Shapes::ShapeRef.new(shape: NullableBoolean, location: "querystring", location_name: "includeValues"))
466
+ GetApiKeysRequest.struct_class = Types::GetApiKeysRequest
467
+
468
+ GetAuthorizerRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
469
+ GetAuthorizerRequest.add_member(:authorizer_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "authorizer_id"))
470
+ GetAuthorizerRequest.struct_class = Types::GetAuthorizerRequest
471
+
472
+ GetAuthorizersRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
473
+ GetAuthorizersRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
474
+ GetAuthorizersRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
475
+ GetAuthorizersRequest.struct_class = Types::GetAuthorizersRequest
476
+
477
+ GetBasePathMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
478
+ GetBasePathMappingRequest.add_member(:base_path, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "base_path"))
479
+ GetBasePathMappingRequest.struct_class = Types::GetBasePathMappingRequest
480
+
481
+ GetBasePathMappingsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
482
+ GetBasePathMappingsRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
483
+ GetBasePathMappingsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
484
+ GetBasePathMappingsRequest.struct_class = Types::GetBasePathMappingsRequest
485
+
486
+ GetClientCertificateRequest.add_member(:client_certificate_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "clientcertificate_id"))
487
+ GetClientCertificateRequest.struct_class = Types::GetClientCertificateRequest
488
+
489
+ GetClientCertificatesRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
490
+ GetClientCertificatesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
491
+ GetClientCertificatesRequest.struct_class = Types::GetClientCertificatesRequest
492
+
493
+ GetDeploymentRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
494
+ GetDeploymentRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "deployment_id"))
495
+ GetDeploymentRequest.struct_class = Types::GetDeploymentRequest
496
+
497
+ GetDeploymentsRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
498
+ GetDeploymentsRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
499
+ GetDeploymentsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
500
+ GetDeploymentsRequest.struct_class = Types::GetDeploymentsRequest
501
+
502
+ GetDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
503
+ GetDomainNameRequest.struct_class = Types::GetDomainNameRequest
504
+
505
+ GetDomainNamesRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
506
+ GetDomainNamesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
507
+ GetDomainNamesRequest.struct_class = Types::GetDomainNamesRequest
508
+
509
+ GetExportRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
510
+ GetExportRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "stage_name"))
511
+ GetExportRequest.add_member(:export_type, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "export_type"))
512
+ GetExportRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: MapOfStringToString, location: "querystring", location_name: "parameters"))
513
+ GetExportRequest.add_member(:accepts, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Accept"))
514
+ GetExportRequest.struct_class = Types::GetExportRequest
515
+
516
+ GetIntegrationRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
517
+ GetIntegrationRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
518
+ GetIntegrationRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
519
+ GetIntegrationRequest.struct_class = Types::GetIntegrationRequest
520
+
521
+ GetIntegrationResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
522
+ GetIntegrationResponseRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
523
+ GetIntegrationResponseRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
524
+ GetIntegrationResponseRequest.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, required: true, location: "uri", location_name: "status_code"))
525
+ GetIntegrationResponseRequest.struct_class = Types::GetIntegrationResponseRequest
526
+
527
+ GetMethodRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
528
+ GetMethodRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
529
+ GetMethodRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
530
+ GetMethodRequest.struct_class = Types::GetMethodRequest
531
+
532
+ GetMethodResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
533
+ GetMethodResponseRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
534
+ GetMethodResponseRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
535
+ GetMethodResponseRequest.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, required: true, location: "uri", location_name: "status_code"))
536
+ GetMethodResponseRequest.struct_class = Types::GetMethodResponseRequest
537
+
538
+ GetModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
539
+ GetModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "model_name"))
540
+ GetModelRequest.add_member(:flatten, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "flatten"))
541
+ GetModelRequest.struct_class = Types::GetModelRequest
542
+
543
+ GetModelTemplateRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
544
+ GetModelTemplateRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "model_name"))
545
+ GetModelTemplateRequest.struct_class = Types::GetModelTemplateRequest
546
+
547
+ GetModelsRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
548
+ GetModelsRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
549
+ GetModelsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
550
+ GetModelsRequest.struct_class = Types::GetModelsRequest
551
+
552
+ GetResourceRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
553
+ GetResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
554
+ GetResourceRequest.struct_class = Types::GetResourceRequest
555
+
556
+ GetResourcesRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
557
+ GetResourcesRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
558
+ GetResourcesRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
559
+ GetResourcesRequest.struct_class = Types::GetResourcesRequest
560
+
561
+ GetRestApiRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
562
+ GetRestApiRequest.struct_class = Types::GetRestApiRequest
563
+
564
+ GetRestApisRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
565
+ GetRestApisRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
566
+ GetRestApisRequest.struct_class = Types::GetRestApisRequest
567
+
568
+ GetSdkRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
569
+ GetSdkRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "stage_name"))
570
+ GetSdkRequest.add_member(:sdk_type, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "sdk_type"))
571
+ GetSdkRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: MapOfStringToString, location: "querystring", location_name: "parameters"))
572
+ GetSdkRequest.struct_class = Types::GetSdkRequest
573
+
574
+ GetStageRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
575
+ GetStageRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "stage_name"))
576
+ GetStageRequest.struct_class = Types::GetStageRequest
577
+
578
+ GetStagesRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
579
+ GetStagesRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "deploymentId"))
580
+ GetStagesRequest.struct_class = Types::GetStagesRequest
581
+
582
+ GetUsagePlanKeyRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
583
+ GetUsagePlanKeyRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "keyId"))
584
+ GetUsagePlanKeyRequest.struct_class = Types::GetUsagePlanKeyRequest
585
+
586
+ GetUsagePlanKeysRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
587
+ GetUsagePlanKeysRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
588
+ GetUsagePlanKeysRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
589
+ GetUsagePlanKeysRequest.add_member(:name_query, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "name"))
590
+ GetUsagePlanKeysRequest.struct_class = Types::GetUsagePlanKeysRequest
591
+
592
+ GetUsagePlanRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
593
+ GetUsagePlanRequest.struct_class = Types::GetUsagePlanRequest
594
+
595
+ GetUsagePlansRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
596
+ GetUsagePlansRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "keyId"))
597
+ GetUsagePlansRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
598
+ GetUsagePlansRequest.struct_class = Types::GetUsagePlansRequest
599
+
600
+ GetUsageRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
601
+ GetUsageRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "keyId"))
602
+ GetUsageRequest.add_member(:start_date, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "startDate"))
603
+ GetUsageRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "endDate"))
604
+ GetUsageRequest.add_member(:position, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "position"))
605
+ GetUsageRequest.add_member(:limit, Shapes::ShapeRef.new(shape: NullableInteger, location: "querystring", location_name: "limit"))
606
+ GetUsageRequest.struct_class = Types::GetUsageRequest
607
+
608
+ ImportApiKeysRequest.add_member(:body, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "body"))
609
+ ImportApiKeysRequest.add_member(:format, Shapes::ShapeRef.new(shape: ApiKeysFormat, required: true, location: "querystring", location_name: "format"))
610
+ ImportApiKeysRequest.add_member(:fail_on_warnings, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "failonwarnings"))
611
+ ImportApiKeysRequest.struct_class = Types::ImportApiKeysRequest
612
+ ImportApiKeysRequest[:payload] = :body
613
+ ImportApiKeysRequest[:payload_member] = ImportApiKeysRequest.member(:body)
614
+
615
+ ImportRestApiRequest.add_member(:fail_on_warnings, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "failonwarnings"))
616
+ ImportRestApiRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: MapOfStringToString, location: "querystring", location_name: "parameters"))
617
+ ImportRestApiRequest.add_member(:body, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "body"))
618
+ ImportRestApiRequest.struct_class = Types::ImportRestApiRequest
619
+ ImportRestApiRequest[:payload] = :body
620
+ ImportRestApiRequest[:payload_member] = ImportRestApiRequest.member(:body)
621
+
622
+ Integration.add_member(:type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "type"))
623
+ Integration.add_member(:http_method, Shapes::ShapeRef.new(shape: String, location_name: "httpMethod"))
624
+ Integration.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
625
+ Integration.add_member(:credentials, Shapes::ShapeRef.new(shape: String, location_name: "credentials"))
626
+ Integration.add_member(:request_parameters, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "requestParameters"))
627
+ Integration.add_member(:request_templates, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "requestTemplates"))
628
+ Integration.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: String, location_name: "passthroughBehavior"))
629
+ Integration.add_member(:content_handling, Shapes::ShapeRef.new(shape: ContentHandlingStrategy, location_name: "contentHandling"))
630
+ Integration.add_member(:cache_namespace, Shapes::ShapeRef.new(shape: String, location_name: "cacheNamespace"))
631
+ Integration.add_member(:cache_key_parameters, Shapes::ShapeRef.new(shape: ListOfString, location_name: "cacheKeyParameters"))
632
+ Integration.add_member(:integration_responses, Shapes::ShapeRef.new(shape: MapOfIntegrationResponse, location_name: "integrationResponses"))
633
+ Integration.struct_class = Types::Integration
634
+
635
+ IntegrationResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, location_name: "statusCode"))
636
+ IntegrationResponse.add_member(:selection_pattern, Shapes::ShapeRef.new(shape: String, location_name: "selectionPattern"))
637
+ IntegrationResponse.add_member(:response_parameters, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "responseParameters"))
638
+ IntegrationResponse.add_member(:response_templates, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "responseTemplates"))
639
+ IntegrationResponse.add_member(:content_handling, Shapes::ShapeRef.new(shape: ContentHandlingStrategy, location_name: "contentHandling"))
640
+ IntegrationResponse.struct_class = Types::IntegrationResponse
641
+
642
+ ListOfARNs.member = Shapes::ShapeRef.new(shape: ProviderARN)
643
+
644
+ ListOfApiKey.member = Shapes::ShapeRef.new(shape: ApiKey)
645
+
646
+ ListOfApiStage.member = Shapes::ShapeRef.new(shape: ApiStage)
647
+
648
+ ListOfAuthorizer.member = Shapes::ShapeRef.new(shape: Authorizer)
649
+
650
+ ListOfBasePathMapping.member = Shapes::ShapeRef.new(shape: BasePathMapping)
651
+
652
+ ListOfClientCertificate.member = Shapes::ShapeRef.new(shape: ClientCertificate)
653
+
654
+ ListOfDeployment.member = Shapes::ShapeRef.new(shape: Deployment)
655
+
656
+ ListOfDomainName.member = Shapes::ShapeRef.new(shape: DomainName)
657
+
658
+ ListOfLong.member = Shapes::ShapeRef.new(shape: Long)
659
+
660
+ ListOfModel.member = Shapes::ShapeRef.new(shape: Model)
661
+
662
+ ListOfPatchOperation.member = Shapes::ShapeRef.new(shape: PatchOperation)
663
+
664
+ ListOfResource.member = Shapes::ShapeRef.new(shape: Resource)
665
+
666
+ ListOfRestApi.member = Shapes::ShapeRef.new(shape: RestApi)
667
+
668
+ ListOfStage.member = Shapes::ShapeRef.new(shape: Stage)
669
+
670
+ ListOfStageKeys.member = Shapes::ShapeRef.new(shape: StageKey)
671
+
672
+ ListOfString.member = Shapes::ShapeRef.new(shape: String)
673
+
674
+ ListOfUsage.member = Shapes::ShapeRef.new(shape: ListOfLong)
675
+
676
+ ListOfUsagePlan.member = Shapes::ShapeRef.new(shape: UsagePlan)
677
+
678
+ ListOfUsagePlanKey.member = Shapes::ShapeRef.new(shape: UsagePlanKey)
679
+
680
+ MapOfHeaderValues.key = Shapes::ShapeRef.new(shape: String)
681
+ MapOfHeaderValues.value = Shapes::ShapeRef.new(shape: String)
682
+
683
+ MapOfIntegrationResponse.key = Shapes::ShapeRef.new(shape: String)
684
+ MapOfIntegrationResponse.value = Shapes::ShapeRef.new(shape: IntegrationResponse)
685
+
686
+ MapOfKeyUsages.key = Shapes::ShapeRef.new(shape: String)
687
+ MapOfKeyUsages.value = Shapes::ShapeRef.new(shape: ListOfUsage)
688
+
689
+ MapOfMethod.key = Shapes::ShapeRef.new(shape: String)
690
+ MapOfMethod.value = Shapes::ShapeRef.new(shape: Method)
691
+
692
+ MapOfMethodResponse.key = Shapes::ShapeRef.new(shape: String)
693
+ MapOfMethodResponse.value = Shapes::ShapeRef.new(shape: MethodResponse)
694
+
695
+ MapOfMethodSettings.key = Shapes::ShapeRef.new(shape: String)
696
+ MapOfMethodSettings.value = Shapes::ShapeRef.new(shape: MethodSetting)
697
+
698
+ MapOfMethodSnapshot.key = Shapes::ShapeRef.new(shape: String)
699
+ MapOfMethodSnapshot.value = Shapes::ShapeRef.new(shape: MethodSnapshot)
700
+
701
+ MapOfStringToBoolean.key = Shapes::ShapeRef.new(shape: String)
702
+ MapOfStringToBoolean.value = Shapes::ShapeRef.new(shape: NullableBoolean)
703
+
704
+ MapOfStringToList.key = Shapes::ShapeRef.new(shape: String)
705
+ MapOfStringToList.value = Shapes::ShapeRef.new(shape: ListOfString)
706
+
707
+ MapOfStringToString.key = Shapes::ShapeRef.new(shape: String)
708
+ MapOfStringToString.value = Shapes::ShapeRef.new(shape: String)
709
+
710
+ Method.add_member(:http_method, Shapes::ShapeRef.new(shape: String, location_name: "httpMethod"))
711
+ Method.add_member(:authorization_type, Shapes::ShapeRef.new(shape: String, location_name: "authorizationType"))
712
+ Method.add_member(:authorizer_id, Shapes::ShapeRef.new(shape: String, location_name: "authorizerId"))
713
+ Method.add_member(:api_key_required, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "apiKeyRequired"))
714
+ Method.add_member(:request_parameters, Shapes::ShapeRef.new(shape: MapOfStringToBoolean, location_name: "requestParameters"))
715
+ Method.add_member(:request_models, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "requestModels"))
716
+ Method.add_member(:method_responses, Shapes::ShapeRef.new(shape: MapOfMethodResponse, location_name: "methodResponses"))
717
+ Method.add_member(:method_integration, Shapes::ShapeRef.new(shape: Integration, location_name: "methodIntegration"))
718
+ Method.struct_class = Types::Method
719
+
720
+ MethodResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, location_name: "statusCode"))
721
+ MethodResponse.add_member(:response_parameters, Shapes::ShapeRef.new(shape: MapOfStringToBoolean, location_name: "responseParameters"))
722
+ MethodResponse.add_member(:response_models, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "responseModels"))
723
+ MethodResponse.struct_class = Types::MethodResponse
724
+
725
+ MethodSetting.add_member(:metrics_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "metricsEnabled"))
726
+ MethodSetting.add_member(:logging_level, Shapes::ShapeRef.new(shape: String, location_name: "loggingLevel"))
727
+ MethodSetting.add_member(:data_trace_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "dataTraceEnabled"))
728
+ MethodSetting.add_member(:throttling_burst_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "throttlingBurstLimit"))
729
+ MethodSetting.add_member(:throttling_rate_limit, Shapes::ShapeRef.new(shape: Double, location_name: "throttlingRateLimit"))
730
+ MethodSetting.add_member(:caching_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "cachingEnabled"))
731
+ MethodSetting.add_member(:cache_ttl_in_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "cacheTtlInSeconds"))
732
+ MethodSetting.add_member(:cache_data_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "cacheDataEncrypted"))
733
+ MethodSetting.add_member(:require_authorization_for_cache_control, Shapes::ShapeRef.new(shape: Boolean, location_name: "requireAuthorizationForCacheControl"))
734
+ MethodSetting.add_member(:unauthorized_cache_control_header_strategy, Shapes::ShapeRef.new(shape: UnauthorizedCacheControlHeaderStrategy, location_name: "unauthorizedCacheControlHeaderStrategy"))
735
+ MethodSetting.struct_class = Types::MethodSetting
736
+
737
+ MethodSnapshot.add_member(:authorization_type, Shapes::ShapeRef.new(shape: String, location_name: "authorizationType"))
738
+ MethodSnapshot.add_member(:api_key_required, Shapes::ShapeRef.new(shape: Boolean, location_name: "apiKeyRequired"))
739
+ MethodSnapshot.struct_class = Types::MethodSnapshot
740
+
741
+ Model.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
742
+ Model.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
743
+ Model.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
744
+ Model.add_member(:schema, Shapes::ShapeRef.new(shape: String, location_name: "schema"))
745
+ Model.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location_name: "contentType"))
746
+ Model.struct_class = Types::Model
747
+
748
+ Models.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
749
+ Models.add_member(:items, Shapes::ShapeRef.new(shape: ListOfModel, location_name: "item"))
750
+ Models.struct_class = Types::Models
751
+
752
+ PatchOperation.add_member(:op, Shapes::ShapeRef.new(shape: Op, location_name: "op"))
753
+ PatchOperation.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
754
+ PatchOperation.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
755
+ PatchOperation.add_member(:from, Shapes::ShapeRef.new(shape: String, location_name: "from"))
756
+ PatchOperation.struct_class = Types::PatchOperation
757
+
758
+ PathToMapOfMethodSnapshot.key = Shapes::ShapeRef.new(shape: String)
759
+ PathToMapOfMethodSnapshot.value = Shapes::ShapeRef.new(shape: MapOfMethodSnapshot)
760
+
761
+ PutIntegrationRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
762
+ PutIntegrationRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
763
+ PutIntegrationRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
764
+ PutIntegrationRequest.add_member(:type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "type"))
765
+ PutIntegrationRequest.add_member(:integration_http_method, Shapes::ShapeRef.new(shape: String, location_name: "httpMethod"))
766
+ PutIntegrationRequest.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
767
+ PutIntegrationRequest.add_member(:credentials, Shapes::ShapeRef.new(shape: String, location_name: "credentials"))
768
+ PutIntegrationRequest.add_member(:request_parameters, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "requestParameters"))
769
+ PutIntegrationRequest.add_member(:request_templates, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "requestTemplates"))
770
+ PutIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: String, location_name: "passthroughBehavior"))
771
+ PutIntegrationRequest.add_member(:cache_namespace, Shapes::ShapeRef.new(shape: String, location_name: "cacheNamespace"))
772
+ PutIntegrationRequest.add_member(:cache_key_parameters, Shapes::ShapeRef.new(shape: ListOfString, location_name: "cacheKeyParameters"))
773
+ PutIntegrationRequest.add_member(:content_handling, Shapes::ShapeRef.new(shape: ContentHandlingStrategy, location_name: "contentHandling"))
774
+ PutIntegrationRequest.struct_class = Types::PutIntegrationRequest
775
+
776
+ PutIntegrationResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
777
+ PutIntegrationResponseRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
778
+ PutIntegrationResponseRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
779
+ PutIntegrationResponseRequest.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, required: true, location: "uri", location_name: "status_code"))
780
+ PutIntegrationResponseRequest.add_member(:selection_pattern, Shapes::ShapeRef.new(shape: String, location_name: "selectionPattern"))
781
+ PutIntegrationResponseRequest.add_member(:response_parameters, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "responseParameters"))
782
+ PutIntegrationResponseRequest.add_member(:response_templates, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "responseTemplates"))
783
+ PutIntegrationResponseRequest.add_member(:content_handling, Shapes::ShapeRef.new(shape: ContentHandlingStrategy, location_name: "contentHandling"))
784
+ PutIntegrationResponseRequest.struct_class = Types::PutIntegrationResponseRequest
785
+
786
+ PutMethodRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
787
+ PutMethodRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
788
+ PutMethodRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
789
+ PutMethodRequest.add_member(:authorization_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "authorizationType"))
790
+ PutMethodRequest.add_member(:authorizer_id, Shapes::ShapeRef.new(shape: String, location_name: "authorizerId"))
791
+ PutMethodRequest.add_member(:api_key_required, Shapes::ShapeRef.new(shape: Boolean, location_name: "apiKeyRequired"))
792
+ PutMethodRequest.add_member(:request_parameters, Shapes::ShapeRef.new(shape: MapOfStringToBoolean, location_name: "requestParameters"))
793
+ PutMethodRequest.add_member(:request_models, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "requestModels"))
794
+ PutMethodRequest.struct_class = Types::PutMethodRequest
795
+
796
+ PutMethodResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
797
+ PutMethodResponseRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
798
+ PutMethodResponseRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
799
+ PutMethodResponseRequest.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, required: true, location: "uri", location_name: "status_code"))
800
+ PutMethodResponseRequest.add_member(:response_parameters, Shapes::ShapeRef.new(shape: MapOfStringToBoolean, location_name: "responseParameters"))
801
+ PutMethodResponseRequest.add_member(:response_models, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "responseModels"))
802
+ PutMethodResponseRequest.struct_class = Types::PutMethodResponseRequest
803
+
804
+ PutRestApiRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
805
+ PutRestApiRequest.add_member(:mode, Shapes::ShapeRef.new(shape: PutMode, location: "querystring", location_name: "mode"))
806
+ PutRestApiRequest.add_member(:fail_on_warnings, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "failonwarnings"))
807
+ PutRestApiRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: MapOfStringToString, location: "querystring", location_name: "parameters"))
808
+ PutRestApiRequest.add_member(:body, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "body"))
809
+ PutRestApiRequest.struct_class = Types::PutRestApiRequest
810
+ PutRestApiRequest[:payload] = :body
811
+ PutRestApiRequest[:payload_member] = PutRestApiRequest.member(:body)
812
+
813
+ QuotaSettings.add_member(:limit, Shapes::ShapeRef.new(shape: Integer, location_name: "limit"))
814
+ QuotaSettings.add_member(:offset, Shapes::ShapeRef.new(shape: Integer, location_name: "offset"))
815
+ QuotaSettings.add_member(:period, Shapes::ShapeRef.new(shape: QuotaPeriodType, location_name: "period"))
816
+ QuotaSettings.struct_class = Types::QuotaSettings
817
+
818
+ Resource.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
819
+ Resource.add_member(:parent_id, Shapes::ShapeRef.new(shape: String, location_name: "parentId"))
820
+ Resource.add_member(:path_part, Shapes::ShapeRef.new(shape: String, location_name: "pathPart"))
821
+ Resource.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
822
+ Resource.add_member(:resource_methods, Shapes::ShapeRef.new(shape: MapOfMethod, location_name: "resourceMethods"))
823
+ Resource.struct_class = Types::Resource
824
+
825
+ Resources.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
826
+ Resources.add_member(:items, Shapes::ShapeRef.new(shape: ListOfResource, location_name: "item"))
827
+ Resources.struct_class = Types::Resources
828
+
829
+ RestApi.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
830
+ RestApi.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
831
+ RestApi.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
832
+ RestApi.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
833
+ RestApi.add_member(:warnings, Shapes::ShapeRef.new(shape: ListOfString, location_name: "warnings"))
834
+ RestApi.add_member(:binary_media_types, Shapes::ShapeRef.new(shape: ListOfString, location_name: "binaryMediaTypes"))
835
+ RestApi.struct_class = Types::RestApi
836
+
837
+ RestApis.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
838
+ RestApis.add_member(:items, Shapes::ShapeRef.new(shape: ListOfRestApi, location_name: "item"))
839
+ RestApis.struct_class = Types::RestApis
840
+
841
+ SdkResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Type"))
842
+ SdkResponse.add_member(:content_disposition, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Disposition"))
843
+ SdkResponse.add_member(:body, Shapes::ShapeRef.new(shape: Blob, location_name: "body"))
844
+ SdkResponse.struct_class = Types::SdkResponse
845
+ SdkResponse[:payload] = :body
846
+ SdkResponse[:payload_member] = SdkResponse.member(:body)
847
+
848
+ Stage.add_member(:deployment_id, Shapes::ShapeRef.new(shape: String, location_name: "deploymentId"))
849
+ Stage.add_member(:client_certificate_id, Shapes::ShapeRef.new(shape: String, location_name: "clientCertificateId"))
850
+ Stage.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, location_name: "stageName"))
851
+ Stage.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
852
+ Stage.add_member(:cache_cluster_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "cacheClusterEnabled"))
853
+ Stage.add_member(:cache_cluster_size, Shapes::ShapeRef.new(shape: CacheClusterSize, location_name: "cacheClusterSize"))
854
+ Stage.add_member(:cache_cluster_status, Shapes::ShapeRef.new(shape: CacheClusterStatus, location_name: "cacheClusterStatus"))
855
+ Stage.add_member(:method_settings, Shapes::ShapeRef.new(shape: MapOfMethodSettings, location_name: "methodSettings"))
856
+ Stage.add_member(:variables, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "variables"))
857
+ Stage.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
858
+ Stage.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDate"))
859
+ Stage.struct_class = Types::Stage
860
+
861
+ StageKey.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, location_name: "restApiId"))
862
+ StageKey.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, location_name: "stageName"))
863
+ StageKey.struct_class = Types::StageKey
864
+
865
+ Stages.add_member(:item, Shapes::ShapeRef.new(shape: ListOfStage, location_name: "item"))
866
+ Stages.struct_class = Types::Stages
867
+
868
+ Template.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
869
+ Template.struct_class = Types::Template
870
+
871
+ TestInvokeAuthorizerRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
872
+ TestInvokeAuthorizerRequest.add_member(:authorizer_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "authorizer_id"))
873
+ TestInvokeAuthorizerRequest.add_member(:headers, Shapes::ShapeRef.new(shape: MapOfHeaderValues, location_name: "headers"))
874
+ TestInvokeAuthorizerRequest.add_member(:path_with_query_string, Shapes::ShapeRef.new(shape: String, location_name: "pathWithQueryString"))
875
+ TestInvokeAuthorizerRequest.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "body"))
876
+ TestInvokeAuthorizerRequest.add_member(:stage_variables, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "stageVariables"))
877
+ TestInvokeAuthorizerRequest.add_member(:additional_context, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "additionalContext"))
878
+ TestInvokeAuthorizerRequest.struct_class = Types::TestInvokeAuthorizerRequest
879
+
880
+ TestInvokeAuthorizerResponse.add_member(:client_status, Shapes::ShapeRef.new(shape: Integer, location_name: "clientStatus"))
881
+ TestInvokeAuthorizerResponse.add_member(:log, Shapes::ShapeRef.new(shape: String, location_name: "log"))
882
+ TestInvokeAuthorizerResponse.add_member(:latency, Shapes::ShapeRef.new(shape: Long, location_name: "latency"))
883
+ TestInvokeAuthorizerResponse.add_member(:principal_id, Shapes::ShapeRef.new(shape: String, location_name: "principalId"))
884
+ TestInvokeAuthorizerResponse.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "policy"))
885
+ TestInvokeAuthorizerResponse.add_member(:authorization, Shapes::ShapeRef.new(shape: MapOfStringToList, location_name: "authorization"))
886
+ TestInvokeAuthorizerResponse.add_member(:claims, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "claims"))
887
+ TestInvokeAuthorizerResponse.struct_class = Types::TestInvokeAuthorizerResponse
888
+
889
+ TestInvokeMethodRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
890
+ TestInvokeMethodRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
891
+ TestInvokeMethodRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
892
+ TestInvokeMethodRequest.add_member(:path_with_query_string, Shapes::ShapeRef.new(shape: String, location_name: "pathWithQueryString"))
893
+ TestInvokeMethodRequest.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "body"))
894
+ TestInvokeMethodRequest.add_member(:headers, Shapes::ShapeRef.new(shape: MapOfHeaderValues, location_name: "headers"))
895
+ TestInvokeMethodRequest.add_member(:client_certificate_id, Shapes::ShapeRef.new(shape: String, location_name: "clientCertificateId"))
896
+ TestInvokeMethodRequest.add_member(:stage_variables, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "stageVariables"))
897
+ TestInvokeMethodRequest.struct_class = Types::TestInvokeMethodRequest
898
+
899
+ TestInvokeMethodResponse.add_member(:status, Shapes::ShapeRef.new(shape: Integer, location_name: "status"))
900
+ TestInvokeMethodResponse.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "body"))
901
+ TestInvokeMethodResponse.add_member(:headers, Shapes::ShapeRef.new(shape: MapOfHeaderValues, location_name: "headers"))
902
+ TestInvokeMethodResponse.add_member(:log, Shapes::ShapeRef.new(shape: String, location_name: "log"))
903
+ TestInvokeMethodResponse.add_member(:latency, Shapes::ShapeRef.new(shape: Long, location_name: "latency"))
904
+ TestInvokeMethodResponse.struct_class = Types::TestInvokeMethodResponse
905
+
906
+ ThrottleSettings.add_member(:burst_limit, Shapes::ShapeRef.new(shape: Integer, location_name: "burstLimit"))
907
+ ThrottleSettings.add_member(:rate_limit, Shapes::ShapeRef.new(shape: Double, location_name: "rateLimit"))
908
+ ThrottleSettings.struct_class = Types::ThrottleSettings
909
+
910
+ UpdateAccountRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
911
+ UpdateAccountRequest.struct_class = Types::UpdateAccountRequest
912
+
913
+ UpdateApiKeyRequest.add_member(:api_key, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "api_Key"))
914
+ UpdateApiKeyRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
915
+ UpdateApiKeyRequest.struct_class = Types::UpdateApiKeyRequest
916
+
917
+ UpdateAuthorizerRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
918
+ UpdateAuthorizerRequest.add_member(:authorizer_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "authorizer_id"))
919
+ UpdateAuthorizerRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
920
+ UpdateAuthorizerRequest.struct_class = Types::UpdateAuthorizerRequest
921
+
922
+ UpdateBasePathMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
923
+ UpdateBasePathMappingRequest.add_member(:base_path, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "base_path"))
924
+ UpdateBasePathMappingRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
925
+ UpdateBasePathMappingRequest.struct_class = Types::UpdateBasePathMappingRequest
926
+
927
+ UpdateClientCertificateRequest.add_member(:client_certificate_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "clientcertificate_id"))
928
+ UpdateClientCertificateRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
929
+ UpdateClientCertificateRequest.struct_class = Types::UpdateClientCertificateRequest
930
+
931
+ UpdateDeploymentRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
932
+ UpdateDeploymentRequest.add_member(:deployment_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "deployment_id"))
933
+ UpdateDeploymentRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
934
+ UpdateDeploymentRequest.struct_class = Types::UpdateDeploymentRequest
935
+
936
+ UpdateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "domain_name"))
937
+ UpdateDomainNameRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
938
+ UpdateDomainNameRequest.struct_class = Types::UpdateDomainNameRequest
939
+
940
+ UpdateIntegrationRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
941
+ UpdateIntegrationRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
942
+ UpdateIntegrationRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
943
+ UpdateIntegrationRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
944
+ UpdateIntegrationRequest.struct_class = Types::UpdateIntegrationRequest
945
+
946
+ UpdateIntegrationResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
947
+ UpdateIntegrationResponseRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
948
+ UpdateIntegrationResponseRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
949
+ UpdateIntegrationResponseRequest.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, required: true, location: "uri", location_name: "status_code"))
950
+ UpdateIntegrationResponseRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
951
+ UpdateIntegrationResponseRequest.struct_class = Types::UpdateIntegrationResponseRequest
952
+
953
+ UpdateMethodRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
954
+ UpdateMethodRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
955
+ UpdateMethodRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
956
+ UpdateMethodRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
957
+ UpdateMethodRequest.struct_class = Types::UpdateMethodRequest
958
+
959
+ UpdateMethodResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
960
+ UpdateMethodResponseRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
961
+ UpdateMethodResponseRequest.add_member(:http_method, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "http_method"))
962
+ UpdateMethodResponseRequest.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, required: true, location: "uri", location_name: "status_code"))
963
+ UpdateMethodResponseRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
964
+ UpdateMethodResponseRequest.struct_class = Types::UpdateMethodResponseRequest
965
+
966
+ UpdateModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
967
+ UpdateModelRequest.add_member(:model_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "model_name"))
968
+ UpdateModelRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
969
+ UpdateModelRequest.struct_class = Types::UpdateModelRequest
970
+
971
+ UpdateResourceRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
972
+ UpdateResourceRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resource_id"))
973
+ UpdateResourceRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
974
+ UpdateResourceRequest.struct_class = Types::UpdateResourceRequest
975
+
976
+ UpdateRestApiRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
977
+ UpdateRestApiRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
978
+ UpdateRestApiRequest.struct_class = Types::UpdateRestApiRequest
979
+
980
+ UpdateStageRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
981
+ UpdateStageRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "stage_name"))
982
+ UpdateStageRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
983
+ UpdateStageRequest.struct_class = Types::UpdateStageRequest
984
+
985
+ UpdateUsagePlanRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
986
+ UpdateUsagePlanRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
987
+ UpdateUsagePlanRequest.struct_class = Types::UpdateUsagePlanRequest
988
+
989
+ UpdateUsageRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
990
+ UpdateUsageRequest.add_member(:key_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "keyId"))
991
+ UpdateUsageRequest.add_member(:patch_operations, Shapes::ShapeRef.new(shape: ListOfPatchOperation, location_name: "patchOperations"))
992
+ UpdateUsageRequest.struct_class = Types::UpdateUsageRequest
993
+
994
+ Usage.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, location_name: "usagePlanId"))
995
+ Usage.add_member(:start_date, Shapes::ShapeRef.new(shape: String, location_name: "startDate"))
996
+ Usage.add_member(:end_date, Shapes::ShapeRef.new(shape: String, location_name: "endDate"))
997
+ Usage.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
998
+ Usage.add_member(:items, Shapes::ShapeRef.new(shape: MapOfKeyUsages, location_name: "values"))
999
+ Usage.struct_class = Types::Usage
1000
+
1001
+ UsagePlan.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
1002
+ UsagePlan.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1003
+ UsagePlan.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
1004
+ UsagePlan.add_member(:api_stages, Shapes::ShapeRef.new(shape: ListOfApiStage, location_name: "apiStages"))
1005
+ UsagePlan.add_member(:throttle, Shapes::ShapeRef.new(shape: ThrottleSettings, location_name: "throttle"))
1006
+ UsagePlan.add_member(:quota, Shapes::ShapeRef.new(shape: QuotaSettings, location_name: "quota"))
1007
+ UsagePlan.struct_class = Types::UsagePlan
1008
+
1009
+ UsagePlanKey.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
1010
+ UsagePlanKey.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
1011
+ UsagePlanKey.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
1012
+ UsagePlanKey.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1013
+ UsagePlanKey.struct_class = Types::UsagePlanKey
1014
+
1015
+ UsagePlanKeys.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
1016
+ UsagePlanKeys.add_member(:items, Shapes::ShapeRef.new(shape: ListOfUsagePlanKey, location_name: "item"))
1017
+ UsagePlanKeys.struct_class = Types::UsagePlanKeys
1018
+
1019
+ UsagePlans.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
1020
+ UsagePlans.add_member(:items, Shapes::ShapeRef.new(shape: ListOfUsagePlan, location_name: "item"))
1021
+ UsagePlans.struct_class = Types::UsagePlans
1022
+
1023
+
1024
+ # @api private
1025
+ API = Seahorse::Model::Api.new.tap do |api|
1026
+
1027
+ api.version = "2015-07-09"
1028
+
1029
+ api.metadata = {
1030
+ "endpointPrefix" => "apigateway",
1031
+ "protocol" => "rest-json",
1032
+ "serviceFullName" => "Amazon API Gateway",
1033
+ "signatureVersion" => "v4",
1034
+ }
1035
+
1036
+ api.add_operation(:create_api_key, Seahorse::Model::Operation.new.tap do |o|
1037
+ o.name = "CreateApiKey"
1038
+ o.http_method = "POST"
1039
+ o.http_request_uri = "/apikeys"
1040
+ o.input = Shapes::ShapeRef.new(shape: CreateApiKeyRequest)
1041
+ o.output = Shapes::ShapeRef.new(shape: ApiKey)
1042
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1043
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1044
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1045
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1047
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1048
+ end)
1049
+
1050
+ api.add_operation(:create_authorizer, Seahorse::Model::Operation.new.tap do |o|
1051
+ o.name = "CreateAuthorizer"
1052
+ o.http_method = "POST"
1053
+ o.http_request_uri = "/restapis/{restapi_id}/authorizers"
1054
+ o.input = Shapes::ShapeRef.new(shape: CreateAuthorizerRequest)
1055
+ o.output = Shapes::ShapeRef.new(shape: Authorizer)
1056
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1057
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1058
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1059
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1060
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1061
+ end)
1062
+
1063
+ api.add_operation(:create_base_path_mapping, Seahorse::Model::Operation.new.tap do |o|
1064
+ o.name = "CreateBasePathMapping"
1065
+ o.http_method = "POST"
1066
+ o.http_request_uri = "/domainnames/{domain_name}/basepathmappings"
1067
+ o.input = Shapes::ShapeRef.new(shape: CreateBasePathMappingRequest)
1068
+ o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
1069
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1070
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1071
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1072
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1073
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1074
+ end)
1075
+
1076
+ api.add_operation(:create_deployment, Seahorse::Model::Operation.new.tap do |o|
1077
+ o.name = "CreateDeployment"
1078
+ o.http_method = "POST"
1079
+ o.http_request_uri = "/restapis/{restapi_id}/deployments"
1080
+ o.input = Shapes::ShapeRef.new(shape: CreateDeploymentRequest)
1081
+ o.output = Shapes::ShapeRef.new(shape: Deployment)
1082
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1084
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1085
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1086
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1087
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1088
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1089
+ end)
1090
+
1091
+ api.add_operation(:create_domain_name, Seahorse::Model::Operation.new.tap do |o|
1092
+ o.name = "CreateDomainName"
1093
+ o.http_method = "POST"
1094
+ o.http_request_uri = "/domainnames"
1095
+ o.input = Shapes::ShapeRef.new(shape: CreateDomainNameRequest)
1096
+ o.output = Shapes::ShapeRef.new(shape: DomainName)
1097
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1098
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1099
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1100
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1101
+ end)
1102
+
1103
+ api.add_operation(:create_model, Seahorse::Model::Operation.new.tap do |o|
1104
+ o.name = "CreateModel"
1105
+ o.http_method = "POST"
1106
+ o.http_request_uri = "/restapis/{restapi_id}/models"
1107
+ o.input = Shapes::ShapeRef.new(shape: CreateModelRequest)
1108
+ o.output = Shapes::ShapeRef.new(shape: Model)
1109
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1110
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1111
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1112
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1114
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1115
+ end)
1116
+
1117
+ api.add_operation(:create_resource, Seahorse::Model::Operation.new.tap do |o|
1118
+ o.name = "CreateResource"
1119
+ o.http_method = "POST"
1120
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{parent_id}"
1121
+ o.input = Shapes::ShapeRef.new(shape: CreateResourceRequest)
1122
+ o.output = Shapes::ShapeRef.new(shape: Resource)
1123
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1124
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1125
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1126
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1127
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1128
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1129
+ end)
1130
+
1131
+ api.add_operation(:create_rest_api, Seahorse::Model::Operation.new.tap do |o|
1132
+ o.name = "CreateRestApi"
1133
+ o.http_method = "POST"
1134
+ o.http_request_uri = "/restapis"
1135
+ o.input = Shapes::ShapeRef.new(shape: CreateRestApiRequest)
1136
+ o.output = Shapes::ShapeRef.new(shape: RestApi)
1137
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1138
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1139
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1140
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1141
+ end)
1142
+
1143
+ api.add_operation(:create_stage, Seahorse::Model::Operation.new.tap do |o|
1144
+ o.name = "CreateStage"
1145
+ o.http_method = "POST"
1146
+ o.http_request_uri = "/restapis/{restapi_id}/stages"
1147
+ o.input = Shapes::ShapeRef.new(shape: CreateStageRequest)
1148
+ o.output = Shapes::ShapeRef.new(shape: Stage)
1149
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1150
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1151
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1153
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1154
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1155
+ end)
1156
+
1157
+ api.add_operation(:create_usage_plan, Seahorse::Model::Operation.new.tap do |o|
1158
+ o.name = "CreateUsagePlan"
1159
+ o.http_method = "POST"
1160
+ o.http_request_uri = "/usageplans"
1161
+ o.input = Shapes::ShapeRef.new(shape: CreateUsagePlanRequest)
1162
+ o.output = Shapes::ShapeRef.new(shape: UsagePlan)
1163
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1164
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1165
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1166
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1167
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1168
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1169
+ end)
1170
+
1171
+ api.add_operation(:create_usage_plan_key, Seahorse::Model::Operation.new.tap do |o|
1172
+ o.name = "CreateUsagePlanKey"
1173
+ o.http_method = "POST"
1174
+ o.http_request_uri = "/usageplans/{usageplanId}/keys"
1175
+ o.input = Shapes::ShapeRef.new(shape: CreateUsagePlanKeyRequest)
1176
+ o.output = Shapes::ShapeRef.new(shape: UsagePlanKey)
1177
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1178
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1179
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1180
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1181
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1182
+ end)
1183
+
1184
+ api.add_operation(:delete_api_key, Seahorse::Model::Operation.new.tap do |o|
1185
+ o.name = "DeleteApiKey"
1186
+ o.http_method = "DELETE"
1187
+ o.http_request_uri = "/apikeys/{api_Key}"
1188
+ o.input = Shapes::ShapeRef.new(shape: DeleteApiKeyRequest)
1189
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1190
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1191
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1192
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1193
+ end)
1194
+
1195
+ api.add_operation(:delete_authorizer, Seahorse::Model::Operation.new.tap do |o|
1196
+ o.name = "DeleteAuthorizer"
1197
+ o.http_method = "DELETE"
1198
+ o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
1199
+ o.input = Shapes::ShapeRef.new(shape: DeleteAuthorizerRequest)
1200
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1201
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1203
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1204
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1205
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1206
+ end)
1207
+
1208
+ api.add_operation(:delete_base_path_mapping, Seahorse::Model::Operation.new.tap do |o|
1209
+ o.name = "DeleteBasePathMapping"
1210
+ o.http_method = "DELETE"
1211
+ o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
1212
+ o.input = Shapes::ShapeRef.new(shape: DeleteBasePathMappingRequest)
1213
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1214
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1215
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1216
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1217
+ end)
1218
+
1219
+ api.add_operation(:delete_client_certificate, Seahorse::Model::Operation.new.tap do |o|
1220
+ o.name = "DeleteClientCertificate"
1221
+ o.http_method = "DELETE"
1222
+ o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
1223
+ o.input = Shapes::ShapeRef.new(shape: DeleteClientCertificateRequest)
1224
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1225
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1226
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1227
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1228
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1229
+ end)
1230
+
1231
+ api.add_operation(:delete_deployment, Seahorse::Model::Operation.new.tap do |o|
1232
+ o.name = "DeleteDeployment"
1233
+ o.http_method = "DELETE"
1234
+ o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
1235
+ o.input = Shapes::ShapeRef.new(shape: DeleteDeploymentRequest)
1236
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1237
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1238
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1239
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1240
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1241
+ end)
1242
+
1243
+ api.add_operation(:delete_domain_name, Seahorse::Model::Operation.new.tap do |o|
1244
+ o.name = "DeleteDomainName"
1245
+ o.http_method = "DELETE"
1246
+ o.http_request_uri = "/domainnames/{domain_name}"
1247
+ o.input = Shapes::ShapeRef.new(shape: DeleteDomainNameRequest)
1248
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1249
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1250
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1251
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1252
+ end)
1253
+
1254
+ api.add_operation(:delete_integration, Seahorse::Model::Operation.new.tap do |o|
1255
+ o.name = "DeleteIntegration"
1256
+ o.http_method = "DELETE"
1257
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
1258
+ o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationRequest)
1259
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1260
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1261
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1262
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1263
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1264
+ end)
1265
+
1266
+ api.add_operation(:delete_integration_response, Seahorse::Model::Operation.new.tap do |o|
1267
+ o.name = "DeleteIntegrationResponse"
1268
+ o.http_method = "DELETE"
1269
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
1270
+ o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationResponseRequest)
1271
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1272
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1273
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1274
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1275
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1276
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1277
+ end)
1278
+
1279
+ api.add_operation(:delete_method, Seahorse::Model::Operation.new.tap do |o|
1280
+ o.name = "DeleteMethod"
1281
+ o.http_method = "DELETE"
1282
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
1283
+ o.input = Shapes::ShapeRef.new(shape: DeleteMethodRequest)
1284
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1285
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1286
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1287
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1288
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1289
+ end)
1290
+
1291
+ api.add_operation(:delete_method_response, Seahorse::Model::Operation.new.tap do |o|
1292
+ o.name = "DeleteMethodResponse"
1293
+ o.http_method = "DELETE"
1294
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}"
1295
+ o.input = Shapes::ShapeRef.new(shape: DeleteMethodResponseRequest)
1296
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1297
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1298
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1299
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1300
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1301
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1302
+ end)
1303
+
1304
+ api.add_operation(:delete_model, Seahorse::Model::Operation.new.tap do |o|
1305
+ o.name = "DeleteModel"
1306
+ o.http_method = "DELETE"
1307
+ o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
1308
+ o.input = Shapes::ShapeRef.new(shape: DeleteModelRequest)
1309
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1310
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1311
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1312
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1313
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1314
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1315
+ end)
1316
+
1317
+ api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
1318
+ o.name = "DeleteResource"
1319
+ o.http_method = "DELETE"
1320
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}"
1321
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourceRequest)
1322
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1323
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1324
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1325
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1326
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1327
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1328
+ end)
1329
+
1330
+ api.add_operation(:delete_rest_api, Seahorse::Model::Operation.new.tap do |o|
1331
+ o.name = "DeleteRestApi"
1332
+ o.http_method = "DELETE"
1333
+ o.http_request_uri = "/restapis/{restapi_id}"
1334
+ o.input = Shapes::ShapeRef.new(shape: DeleteRestApiRequest)
1335
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1336
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1337
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1338
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1339
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1340
+ end)
1341
+
1342
+ api.add_operation(:delete_stage, Seahorse::Model::Operation.new.tap do |o|
1343
+ o.name = "DeleteStage"
1344
+ o.http_method = "DELETE"
1345
+ o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
1346
+ o.input = Shapes::ShapeRef.new(shape: DeleteStageRequest)
1347
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1348
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1351
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1352
+ end)
1353
+
1354
+ api.add_operation(:delete_usage_plan, Seahorse::Model::Operation.new.tap do |o|
1355
+ o.name = "DeleteUsagePlan"
1356
+ o.http_method = "DELETE"
1357
+ o.http_request_uri = "/usageplans/{usageplanId}"
1358
+ o.input = Shapes::ShapeRef.new(shape: DeleteUsagePlanRequest)
1359
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1360
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1361
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1362
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1363
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1364
+ end)
1365
+
1366
+ api.add_operation(:delete_usage_plan_key, Seahorse::Model::Operation.new.tap do |o|
1367
+ o.name = "DeleteUsagePlanKey"
1368
+ o.http_method = "DELETE"
1369
+ o.http_request_uri = "/usageplans/{usageplanId}/keys/{keyId}"
1370
+ o.input = Shapes::ShapeRef.new(shape: DeleteUsagePlanKeyRequest)
1371
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1372
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1373
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1374
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1375
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1376
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1377
+ end)
1378
+
1379
+ api.add_operation(:flush_stage_authorizers_cache, Seahorse::Model::Operation.new.tap do |o|
1380
+ o.name = "FlushStageAuthorizersCache"
1381
+ o.http_method = "DELETE"
1382
+ o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers"
1383
+ o.input = Shapes::ShapeRef.new(shape: FlushStageAuthorizersCacheRequest)
1384
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1385
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1386
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1387
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1388
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1389
+ end)
1390
+
1391
+ api.add_operation(:flush_stage_cache, Seahorse::Model::Operation.new.tap do |o|
1392
+ o.name = "FlushStageCache"
1393
+ o.http_method = "DELETE"
1394
+ o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/cache/data"
1395
+ o.input = Shapes::ShapeRef.new(shape: FlushStageCacheRequest)
1396
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1397
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1398
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1399
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1401
+ end)
1402
+
1403
+ api.add_operation(:generate_client_certificate, Seahorse::Model::Operation.new.tap do |o|
1404
+ o.name = "GenerateClientCertificate"
1405
+ o.http_method = "POST"
1406
+ o.http_request_uri = "/clientcertificates"
1407
+ o.input = Shapes::ShapeRef.new(shape: GenerateClientCertificateRequest)
1408
+ o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
1409
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1410
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1411
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1412
+ end)
1413
+
1414
+ api.add_operation(:get_account, Seahorse::Model::Operation.new.tap do |o|
1415
+ o.name = "GetAccount"
1416
+ o.http_method = "GET"
1417
+ o.http_request_uri = "/account"
1418
+ o.input = Shapes::ShapeRef.new(shape: GetAccountRequest)
1419
+ o.output = Shapes::ShapeRef.new(shape: Account)
1420
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1421
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1422
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1423
+ end)
1424
+
1425
+ api.add_operation(:get_api_key, Seahorse::Model::Operation.new.tap do |o|
1426
+ o.name = "GetApiKey"
1427
+ o.http_method = "GET"
1428
+ o.http_request_uri = "/apikeys/{api_Key}"
1429
+ o.input = Shapes::ShapeRef.new(shape: GetApiKeyRequest)
1430
+ o.output = Shapes::ShapeRef.new(shape: ApiKey)
1431
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1432
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1433
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1434
+ end)
1435
+
1436
+ api.add_operation(:get_api_keys, Seahorse::Model::Operation.new.tap do |o|
1437
+ o.name = "GetApiKeys"
1438
+ o.http_method = "GET"
1439
+ o.http_request_uri = "/apikeys"
1440
+ o.input = Shapes::ShapeRef.new(shape: GetApiKeysRequest)
1441
+ o.output = Shapes::ShapeRef.new(shape: ApiKeys)
1442
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1443
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1444
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1445
+ o[:pager] = Aws::Pager.new(
1446
+ limit_key: "limit",
1447
+ tokens: {
1448
+ "position" => "position"
1449
+ }
1450
+ )
1451
+ end)
1452
+
1453
+ api.add_operation(:get_authorizer, Seahorse::Model::Operation.new.tap do |o|
1454
+ o.name = "GetAuthorizer"
1455
+ o.http_method = "GET"
1456
+ o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
1457
+ o.input = Shapes::ShapeRef.new(shape: GetAuthorizerRequest)
1458
+ o.output = Shapes::ShapeRef.new(shape: Authorizer)
1459
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1460
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1461
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1462
+ end)
1463
+
1464
+ api.add_operation(:get_authorizers, Seahorse::Model::Operation.new.tap do |o|
1465
+ o.name = "GetAuthorizers"
1466
+ o.http_method = "GET"
1467
+ o.http_request_uri = "/restapis/{restapi_id}/authorizers"
1468
+ o.input = Shapes::ShapeRef.new(shape: GetAuthorizersRequest)
1469
+ o.output = Shapes::ShapeRef.new(shape: Authorizers)
1470
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1471
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1473
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1474
+ end)
1475
+
1476
+ api.add_operation(:get_base_path_mapping, Seahorse::Model::Operation.new.tap do |o|
1477
+ o.name = "GetBasePathMapping"
1478
+ o.http_method = "GET"
1479
+ o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
1480
+ o.input = Shapes::ShapeRef.new(shape: GetBasePathMappingRequest)
1481
+ o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
1482
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1483
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1484
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1485
+ end)
1486
+
1487
+ api.add_operation(:get_base_path_mappings, Seahorse::Model::Operation.new.tap do |o|
1488
+ o.name = "GetBasePathMappings"
1489
+ o.http_method = "GET"
1490
+ o.http_request_uri = "/domainnames/{domain_name}/basepathmappings"
1491
+ o.input = Shapes::ShapeRef.new(shape: GetBasePathMappingsRequest)
1492
+ o.output = Shapes::ShapeRef.new(shape: BasePathMappings)
1493
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1494
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1495
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1496
+ o[:pager] = Aws::Pager.new(
1497
+ limit_key: "limit",
1498
+ tokens: {
1499
+ "position" => "position"
1500
+ }
1501
+ )
1502
+ end)
1503
+
1504
+ api.add_operation(:get_client_certificate, Seahorse::Model::Operation.new.tap do |o|
1505
+ o.name = "GetClientCertificate"
1506
+ o.http_method = "GET"
1507
+ o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
1508
+ o.input = Shapes::ShapeRef.new(shape: GetClientCertificateRequest)
1509
+ o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
1510
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1511
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1512
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1513
+ end)
1514
+
1515
+ api.add_operation(:get_client_certificates, Seahorse::Model::Operation.new.tap do |o|
1516
+ o.name = "GetClientCertificates"
1517
+ o.http_method = "GET"
1518
+ o.http_request_uri = "/clientcertificates"
1519
+ o.input = Shapes::ShapeRef.new(shape: GetClientCertificatesRequest)
1520
+ o.output = Shapes::ShapeRef.new(shape: ClientCertificates)
1521
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1522
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1523
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1524
+ o[:pager] = Aws::Pager.new(
1525
+ limit_key: "limit",
1526
+ tokens: {
1527
+ "position" => "position"
1528
+ }
1529
+ )
1530
+ end)
1531
+
1532
+ api.add_operation(:get_deployment, Seahorse::Model::Operation.new.tap do |o|
1533
+ o.name = "GetDeployment"
1534
+ o.http_method = "GET"
1535
+ o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
1536
+ o.input = Shapes::ShapeRef.new(shape: GetDeploymentRequest)
1537
+ o.output = Shapes::ShapeRef.new(shape: Deployment)
1538
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1539
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1540
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1541
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1542
+ end)
1543
+
1544
+ api.add_operation(:get_deployments, Seahorse::Model::Operation.new.tap do |o|
1545
+ o.name = "GetDeployments"
1546
+ o.http_method = "GET"
1547
+ o.http_request_uri = "/restapis/{restapi_id}/deployments"
1548
+ o.input = Shapes::ShapeRef.new(shape: GetDeploymentsRequest)
1549
+ o.output = Shapes::ShapeRef.new(shape: Deployments)
1550
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1551
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1552
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1553
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1554
+ o[:pager] = Aws::Pager.new(
1555
+ limit_key: "limit",
1556
+ tokens: {
1557
+ "position" => "position"
1558
+ }
1559
+ )
1560
+ end)
1561
+
1562
+ api.add_operation(:get_domain_name, Seahorse::Model::Operation.new.tap do |o|
1563
+ o.name = "GetDomainName"
1564
+ o.http_method = "GET"
1565
+ o.http_request_uri = "/domainnames/{domain_name}"
1566
+ o.input = Shapes::ShapeRef.new(shape: GetDomainNameRequest)
1567
+ o.output = Shapes::ShapeRef.new(shape: DomainName)
1568
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1569
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1570
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1571
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1572
+ end)
1573
+
1574
+ api.add_operation(:get_domain_names, Seahorse::Model::Operation.new.tap do |o|
1575
+ o.name = "GetDomainNames"
1576
+ o.http_method = "GET"
1577
+ o.http_request_uri = "/domainnames"
1578
+ o.input = Shapes::ShapeRef.new(shape: GetDomainNamesRequest)
1579
+ o.output = Shapes::ShapeRef.new(shape: DomainNames)
1580
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1581
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1582
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1583
+ o[:pager] = Aws::Pager.new(
1584
+ limit_key: "limit",
1585
+ tokens: {
1586
+ "position" => "position"
1587
+ }
1588
+ )
1589
+ end)
1590
+
1591
+ api.add_operation(:get_export, Seahorse::Model::Operation.new.tap do |o|
1592
+ o.name = "GetExport"
1593
+ o.http_method = "GET"
1594
+ o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}"
1595
+ o.input = Shapes::ShapeRef.new(shape: GetExportRequest)
1596
+ o.output = Shapes::ShapeRef.new(shape: ExportResponse)
1597
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1598
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1599
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1600
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1601
+ end)
1602
+
1603
+ api.add_operation(:get_integration, Seahorse::Model::Operation.new.tap do |o|
1604
+ o.name = "GetIntegration"
1605
+ o.http_method = "GET"
1606
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
1607
+ o.input = Shapes::ShapeRef.new(shape: GetIntegrationRequest)
1608
+ o.output = Shapes::ShapeRef.new(shape: Integration)
1609
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1610
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1611
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1612
+ end)
1613
+
1614
+ api.add_operation(:get_integration_response, Seahorse::Model::Operation.new.tap do |o|
1615
+ o.name = "GetIntegrationResponse"
1616
+ o.http_method = "GET"
1617
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
1618
+ o.input = Shapes::ShapeRef.new(shape: GetIntegrationResponseRequest)
1619
+ o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
1620
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1621
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1622
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1623
+ end)
1624
+
1625
+ api.add_operation(:get_method, Seahorse::Model::Operation.new.tap do |o|
1626
+ o.name = "GetMethod"
1627
+ o.http_method = "GET"
1628
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
1629
+ o.input = Shapes::ShapeRef.new(shape: GetMethodRequest)
1630
+ o.output = Shapes::ShapeRef.new(shape: Method)
1631
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1632
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1633
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1634
+ end)
1635
+
1636
+ api.add_operation(:get_method_response, Seahorse::Model::Operation.new.tap do |o|
1637
+ o.name = "GetMethodResponse"
1638
+ o.http_method = "GET"
1639
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}"
1640
+ o.input = Shapes::ShapeRef.new(shape: GetMethodResponseRequest)
1641
+ o.output = Shapes::ShapeRef.new(shape: MethodResponse)
1642
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1643
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1644
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1645
+ end)
1646
+
1647
+ api.add_operation(:get_model, Seahorse::Model::Operation.new.tap do |o|
1648
+ o.name = "GetModel"
1649
+ o.http_method = "GET"
1650
+ o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
1651
+ o.input = Shapes::ShapeRef.new(shape: GetModelRequest)
1652
+ o.output = Shapes::ShapeRef.new(shape: Model)
1653
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1654
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1655
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1656
+ end)
1657
+
1658
+ api.add_operation(:get_model_template, Seahorse::Model::Operation.new.tap do |o|
1659
+ o.name = "GetModelTemplate"
1660
+ o.http_method = "GET"
1661
+ o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}/default_template"
1662
+ o.input = Shapes::ShapeRef.new(shape: GetModelTemplateRequest)
1663
+ o.output = Shapes::ShapeRef.new(shape: Template)
1664
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1667
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1668
+ end)
1669
+
1670
+ api.add_operation(:get_models, Seahorse::Model::Operation.new.tap do |o|
1671
+ o.name = "GetModels"
1672
+ o.http_method = "GET"
1673
+ o.http_request_uri = "/restapis/{restapi_id}/models"
1674
+ o.input = Shapes::ShapeRef.new(shape: GetModelsRequest)
1675
+ o.output = Shapes::ShapeRef.new(shape: Models)
1676
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1677
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1678
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1679
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1680
+ o[:pager] = Aws::Pager.new(
1681
+ limit_key: "limit",
1682
+ tokens: {
1683
+ "position" => "position"
1684
+ }
1685
+ )
1686
+ end)
1687
+
1688
+ api.add_operation(:get_resource, Seahorse::Model::Operation.new.tap do |o|
1689
+ o.name = "GetResource"
1690
+ o.http_method = "GET"
1691
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}"
1692
+ o.input = Shapes::ShapeRef.new(shape: GetResourceRequest)
1693
+ o.output = Shapes::ShapeRef.new(shape: Resource)
1694
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1695
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1696
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1697
+ end)
1698
+
1699
+ api.add_operation(:get_resources, Seahorse::Model::Operation.new.tap do |o|
1700
+ o.name = "GetResources"
1701
+ o.http_method = "GET"
1702
+ o.http_request_uri = "/restapis/{restapi_id}/resources"
1703
+ o.input = Shapes::ShapeRef.new(shape: GetResourcesRequest)
1704
+ o.output = Shapes::ShapeRef.new(shape: Resources)
1705
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1707
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1708
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1709
+ o[:pager] = Aws::Pager.new(
1710
+ limit_key: "limit",
1711
+ tokens: {
1712
+ "position" => "position"
1713
+ }
1714
+ )
1715
+ end)
1716
+
1717
+ api.add_operation(:get_rest_api, Seahorse::Model::Operation.new.tap do |o|
1718
+ o.name = "GetRestApi"
1719
+ o.http_method = "GET"
1720
+ o.http_request_uri = "/restapis/{restapi_id}"
1721
+ o.input = Shapes::ShapeRef.new(shape: GetRestApiRequest)
1722
+ o.output = Shapes::ShapeRef.new(shape: RestApi)
1723
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1724
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1725
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1726
+ end)
1727
+
1728
+ api.add_operation(:get_rest_apis, Seahorse::Model::Operation.new.tap do |o|
1729
+ o.name = "GetRestApis"
1730
+ o.http_method = "GET"
1731
+ o.http_request_uri = "/restapis"
1732
+ o.input = Shapes::ShapeRef.new(shape: GetRestApisRequest)
1733
+ o.output = Shapes::ShapeRef.new(shape: RestApis)
1734
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1735
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1736
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1737
+ o[:pager] = Aws::Pager.new(
1738
+ limit_key: "limit",
1739
+ tokens: {
1740
+ "position" => "position"
1741
+ }
1742
+ )
1743
+ end)
1744
+
1745
+ api.add_operation(:get_sdk, Seahorse::Model::Operation.new.tap do |o|
1746
+ o.name = "GetSdk"
1747
+ o.http_method = "GET"
1748
+ o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}"
1749
+ o.input = Shapes::ShapeRef.new(shape: GetSdkRequest)
1750
+ o.output = Shapes::ShapeRef.new(shape: SdkResponse)
1751
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1752
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1753
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1754
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1755
+ end)
1756
+
1757
+ api.add_operation(:get_stage, Seahorse::Model::Operation.new.tap do |o|
1758
+ o.name = "GetStage"
1759
+ o.http_method = "GET"
1760
+ o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
1761
+ o.input = Shapes::ShapeRef.new(shape: GetStageRequest)
1762
+ o.output = Shapes::ShapeRef.new(shape: Stage)
1763
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1764
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1765
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1766
+ end)
1767
+
1768
+ api.add_operation(:get_stages, Seahorse::Model::Operation.new.tap do |o|
1769
+ o.name = "GetStages"
1770
+ o.http_method = "GET"
1771
+ o.http_request_uri = "/restapis/{restapi_id}/stages"
1772
+ o.input = Shapes::ShapeRef.new(shape: GetStagesRequest)
1773
+ o.output = Shapes::ShapeRef.new(shape: Stages)
1774
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1775
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1776
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1777
+ end)
1778
+
1779
+ api.add_operation(:get_usage, Seahorse::Model::Operation.new.tap do |o|
1780
+ o.name = "GetUsage"
1781
+ o.http_method = "GET"
1782
+ o.http_request_uri = "/usageplans/{usageplanId}/usage"
1783
+ o.input = Shapes::ShapeRef.new(shape: GetUsageRequest)
1784
+ o.output = Shapes::ShapeRef.new(shape: Usage)
1785
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1786
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1787
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1788
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1789
+ o[:pager] = Aws::Pager.new(
1790
+ limit_key: "limit",
1791
+ tokens: {
1792
+ "position" => "position"
1793
+ }
1794
+ )
1795
+ end)
1796
+
1797
+ api.add_operation(:get_usage_plan, Seahorse::Model::Operation.new.tap do |o|
1798
+ o.name = "GetUsagePlan"
1799
+ o.http_method = "GET"
1800
+ o.http_request_uri = "/usageplans/{usageplanId}"
1801
+ o.input = Shapes::ShapeRef.new(shape: GetUsagePlanRequest)
1802
+ o.output = Shapes::ShapeRef.new(shape: UsagePlan)
1803
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1804
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1805
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1806
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1807
+ end)
1808
+
1809
+ api.add_operation(:get_usage_plan_key, Seahorse::Model::Operation.new.tap do |o|
1810
+ o.name = "GetUsagePlanKey"
1811
+ o.http_method = "GET"
1812
+ o.http_request_uri = "/usageplans/{usageplanId}/keys/{keyId}"
1813
+ o.input = Shapes::ShapeRef.new(shape: GetUsagePlanKeyRequest)
1814
+ o.output = Shapes::ShapeRef.new(shape: UsagePlanKey)
1815
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1816
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1817
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1818
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1819
+ end)
1820
+
1821
+ api.add_operation(:get_usage_plan_keys, Seahorse::Model::Operation.new.tap do |o|
1822
+ o.name = "GetUsagePlanKeys"
1823
+ o.http_method = "GET"
1824
+ o.http_request_uri = "/usageplans/{usageplanId}/keys"
1825
+ o.input = Shapes::ShapeRef.new(shape: GetUsagePlanKeysRequest)
1826
+ o.output = Shapes::ShapeRef.new(shape: UsagePlanKeys)
1827
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1828
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1829
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1830
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1831
+ o[:pager] = Aws::Pager.new(
1832
+ limit_key: "limit",
1833
+ tokens: {
1834
+ "position" => "position"
1835
+ }
1836
+ )
1837
+ end)
1838
+
1839
+ api.add_operation(:get_usage_plans, Seahorse::Model::Operation.new.tap do |o|
1840
+ o.name = "GetUsagePlans"
1841
+ o.http_method = "GET"
1842
+ o.http_request_uri = "/usageplans"
1843
+ o.input = Shapes::ShapeRef.new(shape: GetUsagePlansRequest)
1844
+ o.output = Shapes::ShapeRef.new(shape: UsagePlans)
1845
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1846
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1847
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1848
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1849
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1850
+ o[:pager] = Aws::Pager.new(
1851
+ limit_key: "limit",
1852
+ tokens: {
1853
+ "position" => "position"
1854
+ }
1855
+ )
1856
+ end)
1857
+
1858
+ api.add_operation(:import_api_keys, Seahorse::Model::Operation.new.tap do |o|
1859
+ o.name = "ImportApiKeys"
1860
+ o.http_method = "POST"
1861
+ o.http_request_uri = "/apikeys?mode=import"
1862
+ o.input = Shapes::ShapeRef.new(shape: ImportApiKeysRequest)
1863
+ o.output = Shapes::ShapeRef.new(shape: ApiKeyIds)
1864
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1865
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1866
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1867
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1868
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1869
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1870
+ end)
1871
+
1872
+ api.add_operation(:import_rest_api, Seahorse::Model::Operation.new.tap do |o|
1873
+ o.name = "ImportRestApi"
1874
+ o.http_method = "POST"
1875
+ o.http_request_uri = "/restapis?mode=import"
1876
+ o.input = Shapes::ShapeRef.new(shape: ImportRestApiRequest)
1877
+ o.output = Shapes::ShapeRef.new(shape: RestApi)
1878
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1879
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1880
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1881
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1882
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1883
+ end)
1884
+
1885
+ api.add_operation(:put_integration, Seahorse::Model::Operation.new.tap do |o|
1886
+ o.name = "PutIntegration"
1887
+ o.http_method = "PUT"
1888
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
1889
+ o.input = Shapes::ShapeRef.new(shape: PutIntegrationRequest)
1890
+ o.output = Shapes::ShapeRef.new(shape: Integration)
1891
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1892
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1893
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1894
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1895
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1896
+ end)
1897
+
1898
+ api.add_operation(:put_integration_response, Seahorse::Model::Operation.new.tap do |o|
1899
+ o.name = "PutIntegrationResponse"
1900
+ o.http_method = "PUT"
1901
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
1902
+ o.input = Shapes::ShapeRef.new(shape: PutIntegrationResponseRequest)
1903
+ o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
1904
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1905
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1906
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1907
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1908
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1909
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1910
+ end)
1911
+
1912
+ api.add_operation(:put_method, Seahorse::Model::Operation.new.tap do |o|
1913
+ o.name = "PutMethod"
1914
+ o.http_method = "PUT"
1915
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
1916
+ o.input = Shapes::ShapeRef.new(shape: PutMethodRequest)
1917
+ o.output = Shapes::ShapeRef.new(shape: Method)
1918
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1919
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1920
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1921
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1922
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1923
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1924
+ end)
1925
+
1926
+ api.add_operation(:put_method_response, Seahorse::Model::Operation.new.tap do |o|
1927
+ o.name = "PutMethodResponse"
1928
+ o.http_method = "PUT"
1929
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}"
1930
+ o.input = Shapes::ShapeRef.new(shape: PutMethodResponseRequest)
1931
+ o.output = Shapes::ShapeRef.new(shape: MethodResponse)
1932
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1933
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1934
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1935
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1936
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1937
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1938
+ end)
1939
+
1940
+ api.add_operation(:put_rest_api, Seahorse::Model::Operation.new.tap do |o|
1941
+ o.name = "PutRestApi"
1942
+ o.http_method = "PUT"
1943
+ o.http_request_uri = "/restapis/{restapi_id}"
1944
+ o.input = Shapes::ShapeRef.new(shape: PutRestApiRequest)
1945
+ o.output = Shapes::ShapeRef.new(shape: RestApi)
1946
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1947
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1948
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1949
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1950
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1951
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1952
+ end)
1953
+
1954
+ api.add_operation(:test_invoke_authorizer, Seahorse::Model::Operation.new.tap do |o|
1955
+ o.name = "TestInvokeAuthorizer"
1956
+ o.http_method = "POST"
1957
+ o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
1958
+ o.input = Shapes::ShapeRef.new(shape: TestInvokeAuthorizerRequest)
1959
+ o.output = Shapes::ShapeRef.new(shape: TestInvokeAuthorizerResponse)
1960
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1961
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1962
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1963
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1964
+ end)
1965
+
1966
+ api.add_operation(:test_invoke_method, Seahorse::Model::Operation.new.tap do |o|
1967
+ o.name = "TestInvokeMethod"
1968
+ o.http_method = "POST"
1969
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
1970
+ o.input = Shapes::ShapeRef.new(shape: TestInvokeMethodRequest)
1971
+ o.output = Shapes::ShapeRef.new(shape: TestInvokeMethodResponse)
1972
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1973
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1974
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1975
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1976
+ end)
1977
+
1978
+ api.add_operation(:update_account, Seahorse::Model::Operation.new.tap do |o|
1979
+ o.name = "UpdateAccount"
1980
+ o.http_method = "PATCH"
1981
+ o.http_request_uri = "/account"
1982
+ o.input = Shapes::ShapeRef.new(shape: UpdateAccountRequest)
1983
+ o.output = Shapes::ShapeRef.new(shape: Account)
1984
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1985
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1986
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1987
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1988
+ end)
1989
+
1990
+ api.add_operation(:update_api_key, Seahorse::Model::Operation.new.tap do |o|
1991
+ o.name = "UpdateApiKey"
1992
+ o.http_method = "PATCH"
1993
+ o.http_request_uri = "/apikeys/{api_Key}"
1994
+ o.input = Shapes::ShapeRef.new(shape: UpdateApiKeyRequest)
1995
+ o.output = Shapes::ShapeRef.new(shape: ApiKey)
1996
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1997
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1998
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1999
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2000
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2001
+ end)
2002
+
2003
+ api.add_operation(:update_authorizer, Seahorse::Model::Operation.new.tap do |o|
2004
+ o.name = "UpdateAuthorizer"
2005
+ o.http_method = "PATCH"
2006
+ o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
2007
+ o.input = Shapes::ShapeRef.new(shape: UpdateAuthorizerRequest)
2008
+ o.output = Shapes::ShapeRef.new(shape: Authorizer)
2009
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2010
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2011
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2012
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2013
+ end)
2014
+
2015
+ api.add_operation(:update_base_path_mapping, Seahorse::Model::Operation.new.tap do |o|
2016
+ o.name = "UpdateBasePathMapping"
2017
+ o.http_method = "PATCH"
2018
+ o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
2019
+ o.input = Shapes::ShapeRef.new(shape: UpdateBasePathMappingRequest)
2020
+ o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
2021
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2022
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2023
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2024
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2025
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2026
+ end)
2027
+
2028
+ api.add_operation(:update_client_certificate, Seahorse::Model::Operation.new.tap do |o|
2029
+ o.name = "UpdateClientCertificate"
2030
+ o.http_method = "PATCH"
2031
+ o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
2032
+ o.input = Shapes::ShapeRef.new(shape: UpdateClientCertificateRequest)
2033
+ o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
2034
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2035
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2036
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2037
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2038
+ end)
2039
+
2040
+ api.add_operation(:update_deployment, Seahorse::Model::Operation.new.tap do |o|
2041
+ o.name = "UpdateDeployment"
2042
+ o.http_method = "PATCH"
2043
+ o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
2044
+ o.input = Shapes::ShapeRef.new(shape: UpdateDeploymentRequest)
2045
+ o.output = Shapes::ShapeRef.new(shape: Deployment)
2046
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2047
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2048
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2049
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2050
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2051
+ end)
2052
+
2053
+ api.add_operation(:update_domain_name, Seahorse::Model::Operation.new.tap do |o|
2054
+ o.name = "UpdateDomainName"
2055
+ o.http_method = "PATCH"
2056
+ o.http_request_uri = "/domainnames/{domain_name}"
2057
+ o.input = Shapes::ShapeRef.new(shape: UpdateDomainNameRequest)
2058
+ o.output = Shapes::ShapeRef.new(shape: DomainName)
2059
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2060
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2061
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2062
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2063
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2064
+ end)
2065
+
2066
+ api.add_operation(:update_integration, Seahorse::Model::Operation.new.tap do |o|
2067
+ o.name = "UpdateIntegration"
2068
+ o.http_method = "PATCH"
2069
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
2070
+ o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationRequest)
2071
+ o.output = Shapes::ShapeRef.new(shape: Integration)
2072
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2073
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2074
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2075
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2076
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2077
+ end)
2078
+
2079
+ api.add_operation(:update_integration_response, Seahorse::Model::Operation.new.tap do |o|
2080
+ o.name = "UpdateIntegrationResponse"
2081
+ o.http_method = "PATCH"
2082
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
2083
+ o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationResponseRequest)
2084
+ o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
2085
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2086
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2087
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2088
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2089
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2090
+ end)
2091
+
2092
+ api.add_operation(:update_method, Seahorse::Model::Operation.new.tap do |o|
2093
+ o.name = "UpdateMethod"
2094
+ o.http_method = "PATCH"
2095
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"
2096
+ o.input = Shapes::ShapeRef.new(shape: UpdateMethodRequest)
2097
+ o.output = Shapes::ShapeRef.new(shape: Method)
2098
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2099
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2100
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2101
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2102
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2103
+ end)
2104
+
2105
+ api.add_operation(:update_method_response, Seahorse::Model::Operation.new.tap do |o|
2106
+ o.name = "UpdateMethodResponse"
2107
+ o.http_method = "PATCH"
2108
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}"
2109
+ o.input = Shapes::ShapeRef.new(shape: UpdateMethodResponseRequest)
2110
+ o.output = Shapes::ShapeRef.new(shape: MethodResponse)
2111
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2112
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2113
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2114
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2115
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2116
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2117
+ end)
2118
+
2119
+ api.add_operation(:update_model, Seahorse::Model::Operation.new.tap do |o|
2120
+ o.name = "UpdateModel"
2121
+ o.http_method = "PATCH"
2122
+ o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
2123
+ o.input = Shapes::ShapeRef.new(shape: UpdateModelRequest)
2124
+ o.output = Shapes::ShapeRef.new(shape: Model)
2125
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2126
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2127
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2128
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2129
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2130
+ end)
2131
+
2132
+ api.add_operation(:update_resource, Seahorse::Model::Operation.new.tap do |o|
2133
+ o.name = "UpdateResource"
2134
+ o.http_method = "PATCH"
2135
+ o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}"
2136
+ o.input = Shapes::ShapeRef.new(shape: UpdateResourceRequest)
2137
+ o.output = Shapes::ShapeRef.new(shape: Resource)
2138
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2139
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2140
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2141
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2142
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2143
+ end)
2144
+
2145
+ api.add_operation(:update_rest_api, Seahorse::Model::Operation.new.tap do |o|
2146
+ o.name = "UpdateRestApi"
2147
+ o.http_method = "PATCH"
2148
+ o.http_request_uri = "/restapis/{restapi_id}"
2149
+ o.input = Shapes::ShapeRef.new(shape: UpdateRestApiRequest)
2150
+ o.output = Shapes::ShapeRef.new(shape: RestApi)
2151
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2152
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2153
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2154
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2155
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2156
+ end)
2157
+
2158
+ api.add_operation(:update_stage, Seahorse::Model::Operation.new.tap do |o|
2159
+ o.name = "UpdateStage"
2160
+ o.http_method = "PATCH"
2161
+ o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
2162
+ o.input = Shapes::ShapeRef.new(shape: UpdateStageRequest)
2163
+ o.output = Shapes::ShapeRef.new(shape: Stage)
2164
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2165
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2166
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2167
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2168
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2169
+ end)
2170
+
2171
+ api.add_operation(:update_usage, Seahorse::Model::Operation.new.tap do |o|
2172
+ o.name = "UpdateUsage"
2173
+ o.http_method = "PATCH"
2174
+ o.http_request_uri = "/usageplans/{usageplanId}/keys/{keyId}/usage"
2175
+ o.input = Shapes::ShapeRef.new(shape: UpdateUsageRequest)
2176
+ o.output = Shapes::ShapeRef.new(shape: Usage)
2177
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2178
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2179
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2180
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2181
+ end)
2182
+
2183
+ api.add_operation(:update_usage_plan, Seahorse::Model::Operation.new.tap do |o|
2184
+ o.name = "UpdateUsagePlan"
2185
+ o.http_method = "PATCH"
2186
+ o.http_request_uri = "/usageplans/{usageplanId}"
2187
+ o.input = Shapes::ShapeRef.new(shape: UpdateUsagePlanRequest)
2188
+ o.output = Shapes::ShapeRef.new(shape: UsagePlan)
2189
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2190
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2191
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2192
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2193
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2194
+ end)
2195
+ end
2196
+
2197
+ end
2198
+ end
2199
+ end