aws-sdk-apigateway 1.65.0 → 1.66.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apigateway/client.rb +9 -93
- data/lib/aws-sdk-apigateway/client_api.rb +261 -176
- data/lib/aws-sdk-apigateway/types.rb +5 -109
- data/lib/aws-sdk-apigateway.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2a93a563b6346713b7b00602283cf0f4b417e2f70c57f7f1fe76e7b35a1226e
|
4
|
+
data.tar.gz: 2e8a3f58f42266af8791b1d936708c52714fb225b3818d04a293387fd38362c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dfa05c3a15ec7b902058220212c669472dd1a6b0116942a10aa8c96af8b4dc402d5c8eb909a43e200a89eba59b81083ebee9e4b111cf2fd76a6bc37bb8a7d3b
|
7
|
+
data.tar.gz: 8867e791fd24665b48ffbb3674e82f275da0d92dcc296ec6ad0c191673f6ef86c1e71b9556469d7ba516e0cae3135482106b064727ab5e3bd53a8899134a6a3d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.66.0 (2021-08-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding some of the pending releases (1) Adding WAF Filter to GatewayResponseType enum (2) Ensuring consistent error model for all operations (3) Add missing BRE to GetVpcLink operation
|
8
|
+
|
4
9
|
1.65.0 (2021-08-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.66.0
|
@@ -1767,27 +1767,6 @@ module Aws::APIGateway
|
|
1767
1767
|
#
|
1768
1768
|
# @option params [required, String] :response_type
|
1769
1769
|
# \[Required\] The response type of the associated GatewayResponse.
|
1770
|
-
# Valid values are
|
1771
|
-
# * ACCESS\_DENIED
|
1772
|
-
# * API\_CONFIGURATION\_ERROR
|
1773
|
-
# * AUTHORIZER\_FAILURE
|
1774
|
-
# * AUTHORIZER\_CONFIGURATION\_ERROR
|
1775
|
-
# * BAD\_REQUEST\_PARAMETERS
|
1776
|
-
# * BAD\_REQUEST\_BODY
|
1777
|
-
# * DEFAULT\_4XX
|
1778
|
-
# * DEFAULT\_5XX
|
1779
|
-
# * EXPIRED\_TOKEN
|
1780
|
-
# * INVALID\_SIGNATURE
|
1781
|
-
# * INTEGRATION\_FAILURE
|
1782
|
-
# * INTEGRATION\_TIMEOUT
|
1783
|
-
# * INVALID\_API\_KEY
|
1784
|
-
# * MISSING\_AUTHENTICATION\_TOKEN
|
1785
|
-
# * QUOTA\_EXCEEDED
|
1786
|
-
# * REQUEST\_TOO\_LARGE
|
1787
|
-
# * RESOURCE\_NOT\_FOUND
|
1788
|
-
# * THROTTLED
|
1789
|
-
# * UNAUTHORIZED
|
1790
|
-
# * UNSUPPORTED\_MEDIA\_TYPE
|
1791
1770
|
#
|
1792
1771
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1793
1772
|
#
|
@@ -1795,7 +1774,7 @@ module Aws::APIGateway
|
|
1795
1774
|
#
|
1796
1775
|
# resp = client.delete_gateway_response({
|
1797
1776
|
# rest_api_id: "String", # required
|
1798
|
-
# response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED
|
1777
|
+
# response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED, WAF_FILTERED
|
1799
1778
|
# })
|
1800
1779
|
#
|
1801
1780
|
# @overload delete_gateway_response(params = {})
|
@@ -3081,27 +3060,6 @@ module Aws::APIGateway
|
|
3081
3060
|
#
|
3082
3061
|
# @option params [required, String] :response_type
|
3083
3062
|
# \[Required\] The response type of the associated GatewayResponse.
|
3084
|
-
# Valid values are
|
3085
|
-
# * ACCESS\_DENIED
|
3086
|
-
# * API\_CONFIGURATION\_ERROR
|
3087
|
-
# * AUTHORIZER\_FAILURE
|
3088
|
-
# * AUTHORIZER\_CONFIGURATION\_ERROR
|
3089
|
-
# * BAD\_REQUEST\_PARAMETERS
|
3090
|
-
# * BAD\_REQUEST\_BODY
|
3091
|
-
# * DEFAULT\_4XX
|
3092
|
-
# * DEFAULT\_5XX
|
3093
|
-
# * EXPIRED\_TOKEN
|
3094
|
-
# * INVALID\_SIGNATURE
|
3095
|
-
# * INTEGRATION\_FAILURE
|
3096
|
-
# * INTEGRATION\_TIMEOUT
|
3097
|
-
# * INVALID\_API\_KEY
|
3098
|
-
# * MISSING\_AUTHENTICATION\_TOKEN
|
3099
|
-
# * QUOTA\_EXCEEDED
|
3100
|
-
# * REQUEST\_TOO\_LARGE
|
3101
|
-
# * RESOURCE\_NOT\_FOUND
|
3102
|
-
# * THROTTLED
|
3103
|
-
# * UNAUTHORIZED
|
3104
|
-
# * UNSUPPORTED\_MEDIA\_TYPE
|
3105
3063
|
#
|
3106
3064
|
# @return [Types::GatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3107
3065
|
#
|
@@ -3115,12 +3073,12 @@ module Aws::APIGateway
|
|
3115
3073
|
#
|
3116
3074
|
# resp = client.get_gateway_response({
|
3117
3075
|
# rest_api_id: "String", # required
|
3118
|
-
# response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED
|
3076
|
+
# response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED, WAF_FILTERED
|
3119
3077
|
# })
|
3120
3078
|
#
|
3121
3079
|
# @example Response structure
|
3122
3080
|
#
|
3123
|
-
# resp.response_type #=> String, one of "DEFAULT_4XX", "DEFAULT_5XX", "RESOURCE_NOT_FOUND", "UNAUTHORIZED", "INVALID_API_KEY", "ACCESS_DENIED", "AUTHORIZER_FAILURE", "AUTHORIZER_CONFIGURATION_ERROR", "INVALID_SIGNATURE", "EXPIRED_TOKEN", "MISSING_AUTHENTICATION_TOKEN", "INTEGRATION_FAILURE", "INTEGRATION_TIMEOUT", "API_CONFIGURATION_ERROR", "UNSUPPORTED_MEDIA_TYPE", "BAD_REQUEST_PARAMETERS", "BAD_REQUEST_BODY", "REQUEST_TOO_LARGE", "THROTTLED", "QUOTA_EXCEEDED"
|
3081
|
+
# resp.response_type #=> String, one of "DEFAULT_4XX", "DEFAULT_5XX", "RESOURCE_NOT_FOUND", "UNAUTHORIZED", "INVALID_API_KEY", "ACCESS_DENIED", "AUTHORIZER_FAILURE", "AUTHORIZER_CONFIGURATION_ERROR", "INVALID_SIGNATURE", "EXPIRED_TOKEN", "MISSING_AUTHENTICATION_TOKEN", "INTEGRATION_FAILURE", "INTEGRATION_TIMEOUT", "API_CONFIGURATION_ERROR", "UNSUPPORTED_MEDIA_TYPE", "BAD_REQUEST_PARAMETERS", "BAD_REQUEST_BODY", "REQUEST_TOO_LARGE", "THROTTLED", "QUOTA_EXCEEDED", "WAF_FILTERED"
|
3124
3082
|
# resp.status_code #=> String
|
3125
3083
|
# resp.response_parameters #=> Hash
|
3126
3084
|
# resp.response_parameters["String"] #=> String
|
@@ -3170,7 +3128,7 @@ module Aws::APIGateway
|
|
3170
3128
|
#
|
3171
3129
|
# resp.position #=> String
|
3172
3130
|
# resp.items #=> Array
|
3173
|
-
# resp.items[0].response_type #=> String, one of "DEFAULT_4XX", "DEFAULT_5XX", "RESOURCE_NOT_FOUND", "UNAUTHORIZED", "INVALID_API_KEY", "ACCESS_DENIED", "AUTHORIZER_FAILURE", "AUTHORIZER_CONFIGURATION_ERROR", "INVALID_SIGNATURE", "EXPIRED_TOKEN", "MISSING_AUTHENTICATION_TOKEN", "INTEGRATION_FAILURE", "INTEGRATION_TIMEOUT", "API_CONFIGURATION_ERROR", "UNSUPPORTED_MEDIA_TYPE", "BAD_REQUEST_PARAMETERS", "BAD_REQUEST_BODY", "REQUEST_TOO_LARGE", "THROTTLED", "QUOTA_EXCEEDED"
|
3131
|
+
# resp.items[0].response_type #=> String, one of "DEFAULT_4XX", "DEFAULT_5XX", "RESOURCE_NOT_FOUND", "UNAUTHORIZED", "INVALID_API_KEY", "ACCESS_DENIED", "AUTHORIZER_FAILURE", "AUTHORIZER_CONFIGURATION_ERROR", "INVALID_SIGNATURE", "EXPIRED_TOKEN", "MISSING_AUTHENTICATION_TOKEN", "INTEGRATION_FAILURE", "INTEGRATION_TIMEOUT", "API_CONFIGURATION_ERROR", "UNSUPPORTED_MEDIA_TYPE", "BAD_REQUEST_PARAMETERS", "BAD_REQUEST_BODY", "REQUEST_TOO_LARGE", "THROTTLED", "QUOTA_EXCEEDED", "WAF_FILTERED"
|
3174
3132
|
# resp.items[0].status_code #=> String
|
3175
3133
|
# resp.items[0].response_parameters #=> Hash
|
3176
3134
|
# resp.items[0].response_parameters["String"] #=> String
|
@@ -4775,27 +4733,6 @@ module Aws::APIGateway
|
|
4775
4733
|
#
|
4776
4734
|
# @option params [required, String] :response_type
|
4777
4735
|
# \[Required\] The response type of the associated GatewayResponse.
|
4778
|
-
# Valid values are
|
4779
|
-
# * ACCESS\_DENIED
|
4780
|
-
# * API\_CONFIGURATION\_ERROR
|
4781
|
-
# * AUTHORIZER\_FAILURE
|
4782
|
-
# * AUTHORIZER\_CONFIGURATION\_ERROR
|
4783
|
-
# * BAD\_REQUEST\_PARAMETERS
|
4784
|
-
# * BAD\_REQUEST\_BODY
|
4785
|
-
# * DEFAULT\_4XX
|
4786
|
-
# * DEFAULT\_5XX
|
4787
|
-
# * EXPIRED\_TOKEN
|
4788
|
-
# * INVALID\_SIGNATURE
|
4789
|
-
# * INTEGRATION\_FAILURE
|
4790
|
-
# * INTEGRATION\_TIMEOUT
|
4791
|
-
# * INVALID\_API\_KEY
|
4792
|
-
# * MISSING\_AUTHENTICATION\_TOKEN
|
4793
|
-
# * QUOTA\_EXCEEDED
|
4794
|
-
# * REQUEST\_TOO\_LARGE
|
4795
|
-
# * RESOURCE\_NOT\_FOUND
|
4796
|
-
# * THROTTLED
|
4797
|
-
# * UNAUTHORIZED
|
4798
|
-
# * UNSUPPORTED\_MEDIA\_TYPE
|
4799
4736
|
#
|
4800
4737
|
# @option params [String] :status_code
|
4801
4738
|
# The HTTP status code of the GatewayResponse.
|
@@ -4820,7 +4757,7 @@ module Aws::APIGateway
|
|
4820
4757
|
#
|
4821
4758
|
# resp = client.put_gateway_response({
|
4822
4759
|
# rest_api_id: "String", # required
|
4823
|
-
# response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED
|
4760
|
+
# response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED, WAF_FILTERED
|
4824
4761
|
# status_code: "StatusCode",
|
4825
4762
|
# response_parameters: {
|
4826
4763
|
# "String" => "String",
|
@@ -4832,7 +4769,7 @@ module Aws::APIGateway
|
|
4832
4769
|
#
|
4833
4770
|
# @example Response structure
|
4834
4771
|
#
|
4835
|
-
# resp.response_type #=> String, one of "DEFAULT_4XX", "DEFAULT_5XX", "RESOURCE_NOT_FOUND", "UNAUTHORIZED", "INVALID_API_KEY", "ACCESS_DENIED", "AUTHORIZER_FAILURE", "AUTHORIZER_CONFIGURATION_ERROR", "INVALID_SIGNATURE", "EXPIRED_TOKEN", "MISSING_AUTHENTICATION_TOKEN", "INTEGRATION_FAILURE", "INTEGRATION_TIMEOUT", "API_CONFIGURATION_ERROR", "UNSUPPORTED_MEDIA_TYPE", "BAD_REQUEST_PARAMETERS", "BAD_REQUEST_BODY", "REQUEST_TOO_LARGE", "THROTTLED", "QUOTA_EXCEEDED"
|
4772
|
+
# resp.response_type #=> String, one of "DEFAULT_4XX", "DEFAULT_5XX", "RESOURCE_NOT_FOUND", "UNAUTHORIZED", "INVALID_API_KEY", "ACCESS_DENIED", "AUTHORIZER_FAILURE", "AUTHORIZER_CONFIGURATION_ERROR", "INVALID_SIGNATURE", "EXPIRED_TOKEN", "MISSING_AUTHENTICATION_TOKEN", "INTEGRATION_FAILURE", "INTEGRATION_TIMEOUT", "API_CONFIGURATION_ERROR", "UNSUPPORTED_MEDIA_TYPE", "BAD_REQUEST_PARAMETERS", "BAD_REQUEST_BODY", "REQUEST_TOO_LARGE", "THROTTLED", "QUOTA_EXCEEDED", "WAF_FILTERED"
|
4836
4773
|
# resp.status_code #=> String
|
4837
4774
|
# resp.response_parameters #=> Hash
|
4838
4775
|
# resp.response_parameters["String"] #=> String
|
@@ -6194,27 +6131,6 @@ module Aws::APIGateway
|
|
6194
6131
|
#
|
6195
6132
|
# @option params [required, String] :response_type
|
6196
6133
|
# \[Required\] The response type of the associated GatewayResponse.
|
6197
|
-
# Valid values are
|
6198
|
-
# * ACCESS\_DENIED
|
6199
|
-
# * API\_CONFIGURATION\_ERROR
|
6200
|
-
# * AUTHORIZER\_FAILURE
|
6201
|
-
# * AUTHORIZER\_CONFIGURATION\_ERROR
|
6202
|
-
# * BAD\_REQUEST\_PARAMETERS
|
6203
|
-
# * BAD\_REQUEST\_BODY
|
6204
|
-
# * DEFAULT\_4XX
|
6205
|
-
# * DEFAULT\_5XX
|
6206
|
-
# * EXPIRED\_TOKEN
|
6207
|
-
# * INVALID\_SIGNATURE
|
6208
|
-
# * INTEGRATION\_FAILURE
|
6209
|
-
# * INTEGRATION\_TIMEOUT
|
6210
|
-
# * INVALID\_API\_KEY
|
6211
|
-
# * MISSING\_AUTHENTICATION\_TOKEN
|
6212
|
-
# * QUOTA\_EXCEEDED
|
6213
|
-
# * REQUEST\_TOO\_LARGE
|
6214
|
-
# * RESOURCE\_NOT\_FOUND
|
6215
|
-
# * THROTTLED
|
6216
|
-
# * UNAUTHORIZED
|
6217
|
-
# * UNSUPPORTED\_MEDIA\_TYPE
|
6218
6134
|
#
|
6219
6135
|
# @option params [Array<Types::PatchOperation>] :patch_operations
|
6220
6136
|
# A list of update operations to be applied to the specified resource
|
@@ -6232,7 +6148,7 @@ module Aws::APIGateway
|
|
6232
6148
|
#
|
6233
6149
|
# resp = client.update_gateway_response({
|
6234
6150
|
# rest_api_id: "String", # required
|
6235
|
-
# response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED
|
6151
|
+
# response_type: "DEFAULT_4XX", # required, accepts DEFAULT_4XX, DEFAULT_5XX, RESOURCE_NOT_FOUND, UNAUTHORIZED, INVALID_API_KEY, ACCESS_DENIED, AUTHORIZER_FAILURE, AUTHORIZER_CONFIGURATION_ERROR, INVALID_SIGNATURE, EXPIRED_TOKEN, MISSING_AUTHENTICATION_TOKEN, INTEGRATION_FAILURE, INTEGRATION_TIMEOUT, API_CONFIGURATION_ERROR, UNSUPPORTED_MEDIA_TYPE, BAD_REQUEST_PARAMETERS, BAD_REQUEST_BODY, REQUEST_TOO_LARGE, THROTTLED, QUOTA_EXCEEDED, WAF_FILTERED
|
6236
6152
|
# patch_operations: [
|
6237
6153
|
# {
|
6238
6154
|
# op: "add", # accepts add, remove, replace, move, copy, test
|
@@ -6245,7 +6161,7 @@ module Aws::APIGateway
|
|
6245
6161
|
#
|
6246
6162
|
# @example Response structure
|
6247
6163
|
#
|
6248
|
-
# resp.response_type #=> String, one of "DEFAULT_4XX", "DEFAULT_5XX", "RESOURCE_NOT_FOUND", "UNAUTHORIZED", "INVALID_API_KEY", "ACCESS_DENIED", "AUTHORIZER_FAILURE", "AUTHORIZER_CONFIGURATION_ERROR", "INVALID_SIGNATURE", "EXPIRED_TOKEN", "MISSING_AUTHENTICATION_TOKEN", "INTEGRATION_FAILURE", "INTEGRATION_TIMEOUT", "API_CONFIGURATION_ERROR", "UNSUPPORTED_MEDIA_TYPE", "BAD_REQUEST_PARAMETERS", "BAD_REQUEST_BODY", "REQUEST_TOO_LARGE", "THROTTLED", "QUOTA_EXCEEDED"
|
6164
|
+
# resp.response_type #=> String, one of "DEFAULT_4XX", "DEFAULT_5XX", "RESOURCE_NOT_FOUND", "UNAUTHORIZED", "INVALID_API_KEY", "ACCESS_DENIED", "AUTHORIZER_FAILURE", "AUTHORIZER_CONFIGURATION_ERROR", "INVALID_SIGNATURE", "EXPIRED_TOKEN", "MISSING_AUTHENTICATION_TOKEN", "INTEGRATION_FAILURE", "INTEGRATION_TIMEOUT", "API_CONFIGURATION_ERROR", "UNSUPPORTED_MEDIA_TYPE", "BAD_REQUEST_PARAMETERS", "BAD_REQUEST_BODY", "REQUEST_TOO_LARGE", "THROTTLED", "QUOTA_EXCEEDED", "WAF_FILTERED"
|
6249
6165
|
# resp.status_code #=> String
|
6250
6166
|
# resp.response_parameters #=> Hash
|
6251
6167
|
# resp.response_parameters["String"] #=> String
|
@@ -7095,7 +7011,7 @@ module Aws::APIGateway
|
|
7095
7011
|
params: params,
|
7096
7012
|
config: config)
|
7097
7013
|
context[:gem_name] = 'aws-sdk-apigateway'
|
7098
|
-
context[:gem_version] = '1.
|
7014
|
+
context[:gem_version] = '1.66.0'
|
7099
7015
|
Seahorse::Client::Request.new(handlers, context)
|
7100
7016
|
end
|
7101
7017
|
|
@@ -1494,12 +1494,12 @@ module Aws::APIGateway
|
|
1494
1494
|
o.http_request_uri = "/apikeys"
|
1495
1495
|
o.input = Shapes::ShapeRef.new(shape: CreateApiKeyRequest)
|
1496
1496
|
o.output = Shapes::ShapeRef.new(shape: ApiKey)
|
1497
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1498
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1499
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1500
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1501
1497
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1502
1498
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1499
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1500
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1501
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1502
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1503
1503
|
end)
|
1504
1504
|
|
1505
1505
|
api.add_operation(:create_authorizer, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1509,9 +1509,10 @@ module Aws::APIGateway
|
|
1509
1509
|
o.input = Shapes::ShapeRef.new(shape: CreateAuthorizerRequest)
|
1510
1510
|
o.output = Shapes::ShapeRef.new(shape: Authorizer)
|
1511
1511
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1512
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1513
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1512
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1514
1513
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1514
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1515
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1515
1516
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1516
1517
|
end)
|
1517
1518
|
|
@@ -1521,10 +1522,11 @@ module Aws::APIGateway
|
|
1521
1522
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings"
|
1522
1523
|
o.input = Shapes::ShapeRef.new(shape: CreateBasePathMappingRequest)
|
1523
1524
|
o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
|
1524
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1525
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1526
1525
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1527
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1527
1528
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1529
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1528
1530
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1529
1531
|
end)
|
1530
1532
|
|
@@ -1534,11 +1536,11 @@ module Aws::APIGateway
|
|
1534
1536
|
o.http_request_uri = "/restapis/{restapi_id}/deployments"
|
1535
1537
|
o.input = Shapes::ShapeRef.new(shape: CreateDeploymentRequest)
|
1536
1538
|
o.output = Shapes::ShapeRef.new(shape: Deployment)
|
1537
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1538
1539
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1539
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1540
1540
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1541
1541
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1542
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1543
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1542
1544
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1543
1545
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1544
1546
|
end)
|
@@ -1551,9 +1553,9 @@ module Aws::APIGateway
|
|
1551
1553
|
o.output = Shapes::ShapeRef.new(shape: DocumentationPart)
|
1552
1554
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1553
1555
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1554
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1555
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1556
1556
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1557
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1558
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1557
1559
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1558
1560
|
end)
|
1559
1561
|
|
@@ -1565,9 +1567,9 @@ module Aws::APIGateway
|
|
1565
1567
|
o.output = Shapes::ShapeRef.new(shape: DocumentationVersion)
|
1566
1568
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1567
1569
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1568
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1569
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1570
1570
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1571
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1572
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1571
1573
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1572
1574
|
end)
|
1573
1575
|
|
@@ -1577,9 +1579,10 @@ module Aws::APIGateway
|
|
1577
1579
|
o.http_request_uri = "/domainnames"
|
1578
1580
|
o.input = Shapes::ShapeRef.new(shape: CreateDomainNameRequest)
|
1579
1581
|
o.output = Shapes::ShapeRef.new(shape: DomainName)
|
1580
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1581
1582
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1582
1583
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1584
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1585
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1583
1586
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1584
1587
|
end)
|
1585
1588
|
|
@@ -1590,10 +1593,10 @@ module Aws::APIGateway
|
|
1590
1593
|
o.input = Shapes::ShapeRef.new(shape: CreateModelRequest)
|
1591
1594
|
o.output = Shapes::ShapeRef.new(shape: Model)
|
1592
1595
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1593
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1594
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1595
1596
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1596
1597
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1598
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1599
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1597
1600
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1598
1601
|
end)
|
1599
1602
|
|
@@ -1604,9 +1607,10 @@ module Aws::APIGateway
|
|
1604
1607
|
o.input = Shapes::ShapeRef.new(shape: CreateRequestValidatorRequest)
|
1605
1608
|
o.output = Shapes::ShapeRef.new(shape: RequestValidator)
|
1606
1609
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1607
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1608
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1610
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1609
1611
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1612
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1613
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1610
1614
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1611
1615
|
end)
|
1612
1616
|
|
@@ -1630,9 +1634,10 @@ module Aws::APIGateway
|
|
1630
1634
|
o.http_request_uri = "/restapis"
|
1631
1635
|
o.input = Shapes::ShapeRef.new(shape: CreateRestApiRequest)
|
1632
1636
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
1633
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1634
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1635
1637
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1638
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1639
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1640
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1636
1641
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1637
1642
|
end)
|
1638
1643
|
|
@@ -1657,11 +1662,11 @@ module Aws::APIGateway
|
|
1657
1662
|
o.input = Shapes::ShapeRef.new(shape: CreateUsagePlanRequest)
|
1658
1663
|
o.output = Shapes::ShapeRef.new(shape: UsagePlan)
|
1659
1664
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1660
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1661
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1662
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1663
1665
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1666
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1664
1667
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1668
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1669
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1665
1670
|
end)
|
1666
1671
|
|
1667
1672
|
api.add_operation(:create_usage_plan_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1672,8 +1677,9 @@ module Aws::APIGateway
|
|
1672
1677
|
o.output = Shapes::ShapeRef.new(shape: UsagePlanKey)
|
1673
1678
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1674
1679
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1675
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1680
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1676
1681
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1682
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1677
1683
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1678
1684
|
end)
|
1679
1685
|
|
@@ -1683,8 +1689,10 @@ module Aws::APIGateway
|
|
1683
1689
|
o.http_request_uri = "/vpclinks"
|
1684
1690
|
o.input = Shapes::ShapeRef.new(shape: CreateVpcLinkRequest)
|
1685
1691
|
o.output = Shapes::ShapeRef.new(shape: VpcLink)
|
1686
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1687
1692
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1693
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1694
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1695
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1688
1696
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1689
1697
|
end)
|
1690
1698
|
|
@@ -1694,8 +1702,10 @@ module Aws::APIGateway
|
|
1694
1702
|
o.http_request_uri = "/apikeys/{api_Key}"
|
1695
1703
|
o.input = Shapes::ShapeRef.new(shape: DeleteApiKeyRequest)
|
1696
1704
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1697
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1705
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1706
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1698
1707
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1708
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1699
1709
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1700
1710
|
end)
|
1701
1711
|
|
@@ -1705,11 +1715,11 @@ module Aws::APIGateway
|
|
1705
1715
|
o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
|
1706
1716
|
o.input = Shapes::ShapeRef.new(shape: DeleteAuthorizerRequest)
|
1707
1717
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1708
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1709
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1710
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1711
1718
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1712
1719
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1720
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1721
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1722
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1713
1723
|
end)
|
1714
1724
|
|
1715
1725
|
api.add_operation(:delete_base_path_mapping, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1718,10 +1728,10 @@ module Aws::APIGateway
|
|
1718
1728
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
|
1719
1729
|
o.input = Shapes::ShapeRef.new(shape: DeleteBasePathMappingRequest)
|
1720
1730
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1721
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1722
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1723
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1724
1731
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1732
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1733
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1734
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1725
1735
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1726
1736
|
end)
|
1727
1737
|
|
@@ -1731,10 +1741,11 @@ module Aws::APIGateway
|
|
1731
1741
|
o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
|
1732
1742
|
o.input = Shapes::ShapeRef.new(shape: DeleteClientCertificateRequest)
|
1733
1743
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1734
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1735
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1736
1744
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1745
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1737
1746
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1747
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1748
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1738
1749
|
end)
|
1739
1750
|
|
1740
1751
|
api.add_operation(:delete_deployment, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1743,9 +1754,11 @@ module Aws::APIGateway
|
|
1743
1754
|
o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
|
1744
1755
|
o.input = Shapes::ShapeRef.new(shape: DeleteDeploymentRequest)
|
1745
1756
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1746
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1747
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1748
1757
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1758
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1759
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1760
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1761
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1749
1762
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1750
1763
|
end)
|
1751
1764
|
|
@@ -1755,11 +1768,11 @@ module Aws::APIGateway
|
|
1755
1768
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/parts/{part_id}"
|
1756
1769
|
o.input = Shapes::ShapeRef.new(shape: DeleteDocumentationPartRequest)
|
1757
1770
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1758
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1771
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1772
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1759
1773
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1774
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1760
1775
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1761
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1762
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1763
1776
|
end)
|
1764
1777
|
|
1765
1778
|
api.add_operation(:delete_documentation_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1768,10 +1781,10 @@ module Aws::APIGateway
|
|
1768
1781
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/versions/{doc_version}"
|
1769
1782
|
o.input = Shapes::ShapeRef.new(shape: DeleteDocumentationVersionRequest)
|
1770
1783
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1771
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1772
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1773
1784
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1774
1785
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1786
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1787
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1775
1788
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1776
1789
|
end)
|
1777
1790
|
|
@@ -1781,10 +1794,11 @@ module Aws::APIGateway
|
|
1781
1794
|
o.http_request_uri = "/domainnames/{domain_name}"
|
1782
1795
|
o.input = Shapes::ShapeRef.new(shape: DeleteDomainNameRequest)
|
1783
1796
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1784
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1797
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1798
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1785
1799
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1800
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1786
1801
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1787
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1788
1802
|
end)
|
1789
1803
|
|
1790
1804
|
api.add_operation(:delete_gateway_response, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1793,11 +1807,11 @@ module Aws::APIGateway
|
|
1793
1807
|
o.http_request_uri = "/restapis/{restapi_id}/gatewayresponses/{response_type}"
|
1794
1808
|
o.input = Shapes::ShapeRef.new(shape: DeleteGatewayResponseRequest)
|
1795
1809
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1796
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1797
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1798
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1799
1810
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1800
1811
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1812
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1813
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1814
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1801
1815
|
end)
|
1802
1816
|
|
1803
1817
|
api.add_operation(:delete_integration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1806,10 +1820,11 @@ module Aws::APIGateway
|
|
1806
1820
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
|
1807
1821
|
o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationRequest)
|
1808
1822
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1809
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1823
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1824
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1810
1825
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1826
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1811
1827
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1812
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1813
1828
|
end)
|
1814
1829
|
|
1815
1830
|
api.add_operation(:delete_integration_response, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1818,11 +1833,11 @@ module Aws::APIGateway
|
|
1818
1833
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
|
1819
1834
|
o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationResponseRequest)
|
1820
1835
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1821
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1822
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1823
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1824
1836
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1825
1837
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1838
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1839
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1840
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1826
1841
|
end)
|
1827
1842
|
|
1828
1843
|
api.add_operation(:delete_method, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1856,11 +1871,11 @@ module Aws::APIGateway
|
|
1856
1871
|
o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
|
1857
1872
|
o.input = Shapes::ShapeRef.new(shape: DeleteModelRequest)
|
1858
1873
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1859
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1860
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1861
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1862
1874
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1863
1875
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1876
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1877
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1878
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1864
1879
|
end)
|
1865
1880
|
|
1866
1881
|
api.add_operation(:delete_request_validator, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1869,11 +1884,11 @@ module Aws::APIGateway
|
|
1869
1884
|
o.http_request_uri = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"
|
1870
1885
|
o.input = Shapes::ShapeRef.new(shape: DeleteRequestValidatorRequest)
|
1871
1886
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1872
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1873
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1874
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1875
1887
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1876
1888
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1889
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1890
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1891
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1877
1892
|
end)
|
1878
1893
|
|
1879
1894
|
api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1895,10 +1910,11 @@ module Aws::APIGateway
|
|
1895
1910
|
o.http_request_uri = "/restapis/{restapi_id}"
|
1896
1911
|
o.input = Shapes::ShapeRef.new(shape: DeleteRestApiRequest)
|
1897
1912
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1898
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1913
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1914
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1899
1915
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1916
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1900
1917
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1901
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1902
1918
|
end)
|
1903
1919
|
|
1904
1920
|
api.add_operation(:delete_stage, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1907,10 +1923,12 @@ module Aws::APIGateway
|
|
1907
1923
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
|
1908
1924
|
o.input = Shapes::ShapeRef.new(shape: DeleteStageRequest)
|
1909
1925
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1910
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1926
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1927
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1928
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1911
1929
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1930
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1912
1931
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1913
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1914
1932
|
end)
|
1915
1933
|
|
1916
1934
|
api.add_operation(:delete_usage_plan, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1919,10 +1937,11 @@ module Aws::APIGateway
|
|
1919
1937
|
o.http_request_uri = "/usageplans/{usageplanId}"
|
1920
1938
|
o.input = Shapes::ShapeRef.new(shape: DeleteUsagePlanRequest)
|
1921
1939
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1922
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1923
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1924
1940
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1925
1942
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1943
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1944
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1926
1945
|
end)
|
1927
1946
|
|
1928
1947
|
api.add_operation(:delete_usage_plan_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1933,8 +1952,8 @@ module Aws::APIGateway
|
|
1933
1952
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1934
1953
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1935
1954
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1936
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1937
1955
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1956
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1938
1957
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1939
1958
|
end)
|
1940
1959
|
|
@@ -1944,10 +1963,11 @@ module Aws::APIGateway
|
|
1944
1963
|
o.http_request_uri = "/vpclinks/{vpclink_id}"
|
1945
1964
|
o.input = Shapes::ShapeRef.new(shape: DeleteVpcLinkRequest)
|
1946
1965
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1947
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1966
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1967
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1948
1968
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1969
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1949
1970
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1950
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1951
1971
|
end)
|
1952
1972
|
|
1953
1973
|
api.add_operation(:flush_stage_authorizers_cache, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1956,9 +1976,11 @@ module Aws::APIGateway
|
|
1956
1976
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers"
|
1957
1977
|
o.input = Shapes::ShapeRef.new(shape: FlushStageAuthorizersCacheRequest)
|
1958
1978
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1959
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1960
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1961
1979
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1980
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1981
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1982
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1983
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1962
1984
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1963
1985
|
end)
|
1964
1986
|
|
@@ -1968,9 +1990,11 @@ module Aws::APIGateway
|
|
1968
1990
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/cache/data"
|
1969
1991
|
o.input = Shapes::ShapeRef.new(shape: FlushStageCacheRequest)
|
1970
1992
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1971
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1972
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1973
1993
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1994
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1995
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1996
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1997
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1974
1998
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1975
1999
|
end)
|
1976
2000
|
|
@@ -1980,9 +2004,11 @@ module Aws::APIGateway
|
|
1980
2004
|
o.http_request_uri = "/clientcertificates"
|
1981
2005
|
o.input = Shapes::ShapeRef.new(shape: GenerateClientCertificateRequest)
|
1982
2006
|
o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
|
2007
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2008
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2009
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1983
2010
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1984
2011
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1985
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1986
2012
|
end)
|
1987
2013
|
|
1988
2014
|
api.add_operation(:get_account, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1991,8 +2017,9 @@ module Aws::APIGateway
|
|
1991
2017
|
o.http_request_uri = "/account"
|
1992
2018
|
o.input = Shapes::ShapeRef.new(shape: GetAccountRequest)
|
1993
2019
|
o.output = Shapes::ShapeRef.new(shape: Account)
|
1994
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2020
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1995
2021
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2022
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1996
2023
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1997
2024
|
end)
|
1998
2025
|
|
@@ -2002,8 +2029,9 @@ module Aws::APIGateway
|
|
2002
2029
|
o.http_request_uri = "/apikeys/{api_Key}"
|
2003
2030
|
o.input = Shapes::ShapeRef.new(shape: GetApiKeyRequest)
|
2004
2031
|
o.output = Shapes::ShapeRef.new(shape: ApiKey)
|
2005
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2032
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2006
2033
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2034
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2007
2035
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2008
2036
|
end)
|
2009
2037
|
|
@@ -2014,6 +2042,7 @@ module Aws::APIGateway
|
|
2014
2042
|
o.input = Shapes::ShapeRef.new(shape: GetApiKeysRequest)
|
2015
2043
|
o.output = Shapes::ShapeRef.new(shape: ApiKeys)
|
2016
2044
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2045
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2017
2046
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2018
2047
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2019
2048
|
o[:pager] = Aws::Pager.new(
|
@@ -2030,8 +2059,9 @@ module Aws::APIGateway
|
|
2030
2059
|
o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
|
2031
2060
|
o.input = Shapes::ShapeRef.new(shape: GetAuthorizerRequest)
|
2032
2061
|
o.output = Shapes::ShapeRef.new(shape: Authorizer)
|
2033
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2062
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2034
2063
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2064
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2035
2065
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2036
2066
|
end)
|
2037
2067
|
|
@@ -2042,8 +2072,8 @@ module Aws::APIGateway
|
|
2042
2072
|
o.input = Shapes::ShapeRef.new(shape: GetAuthorizersRequest)
|
2043
2073
|
o.output = Shapes::ShapeRef.new(shape: Authorizers)
|
2044
2074
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2045
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2046
2075
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2076
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2047
2077
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2048
2078
|
end)
|
2049
2079
|
|
@@ -2053,8 +2083,9 @@ module Aws::APIGateway
|
|
2053
2083
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
|
2054
2084
|
o.input = Shapes::ShapeRef.new(shape: GetBasePathMappingRequest)
|
2055
2085
|
o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
|
2056
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2086
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2057
2087
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2088
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2058
2089
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2059
2090
|
end)
|
2060
2091
|
|
@@ -2064,8 +2095,9 @@ module Aws::APIGateway
|
|
2064
2095
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings"
|
2065
2096
|
o.input = Shapes::ShapeRef.new(shape: GetBasePathMappingsRequest)
|
2066
2097
|
o.output = Shapes::ShapeRef.new(shape: BasePathMappings)
|
2067
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2098
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2068
2099
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2100
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2069
2101
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2070
2102
|
o[:pager] = Aws::Pager.new(
|
2071
2103
|
limit_key: "limit",
|
@@ -2081,8 +2113,9 @@ module Aws::APIGateway
|
|
2081
2113
|
o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
|
2082
2114
|
o.input = Shapes::ShapeRef.new(shape: GetClientCertificateRequest)
|
2083
2115
|
o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
|
2084
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2116
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2085
2117
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2118
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2086
2119
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2087
2120
|
end)
|
2088
2121
|
|
@@ -2093,6 +2126,7 @@ module Aws::APIGateway
|
|
2093
2126
|
o.input = Shapes::ShapeRef.new(shape: GetClientCertificatesRequest)
|
2094
2127
|
o.output = Shapes::ShapeRef.new(shape: ClientCertificates)
|
2095
2128
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2129
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2096
2130
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2097
2131
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2098
2132
|
o[:pager] = Aws::Pager.new(
|
@@ -2109,8 +2143,9 @@ module Aws::APIGateway
|
|
2109
2143
|
o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
|
2110
2144
|
o.input = Shapes::ShapeRef.new(shape: GetDeploymentRequest)
|
2111
2145
|
o.output = Shapes::ShapeRef.new(shape: Deployment)
|
2112
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2146
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2113
2147
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2148
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2114
2149
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2115
2150
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2116
2151
|
end)
|
@@ -2140,8 +2175,9 @@ module Aws::APIGateway
|
|
2140
2175
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/parts/{part_id}"
|
2141
2176
|
o.input = Shapes::ShapeRef.new(shape: GetDocumentationPartRequest)
|
2142
2177
|
o.output = Shapes::ShapeRef.new(shape: DocumentationPart)
|
2143
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2178
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2144
2179
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2180
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2145
2181
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2146
2182
|
end)
|
2147
2183
|
|
@@ -2152,8 +2188,8 @@ module Aws::APIGateway
|
|
2152
2188
|
o.input = Shapes::ShapeRef.new(shape: GetDocumentationPartsRequest)
|
2153
2189
|
o.output = Shapes::ShapeRef.new(shape: DocumentationParts)
|
2154
2190
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2155
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2156
2191
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2192
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2157
2193
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2158
2194
|
end)
|
2159
2195
|
|
@@ -2186,9 +2222,9 @@ module Aws::APIGateway
|
|
2186
2222
|
o.http_request_uri = "/domainnames/{domain_name}"
|
2187
2223
|
o.input = Shapes::ShapeRef.new(shape: GetDomainNameRequest)
|
2188
2224
|
o.output = Shapes::ShapeRef.new(shape: DomainName)
|
2189
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2225
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2190
2226
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2191
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2227
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2192
2228
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2193
2229
|
end)
|
2194
2230
|
|
@@ -2199,6 +2235,7 @@ module Aws::APIGateway
|
|
2199
2235
|
o.input = Shapes::ShapeRef.new(shape: GetDomainNamesRequest)
|
2200
2236
|
o.output = Shapes::ShapeRef.new(shape: DomainNames)
|
2201
2237
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2238
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2202
2239
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2203
2240
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2204
2241
|
o[:pager] = Aws::Pager.new(
|
@@ -2215,10 +2252,11 @@ module Aws::APIGateway
|
|
2215
2252
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}"
|
2216
2253
|
o.input = Shapes::ShapeRef.new(shape: GetExportRequest)
|
2217
2254
|
o.output = Shapes::ShapeRef.new(shape: ExportResponse)
|
2218
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2219
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2220
2255
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2221
2256
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2257
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2258
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2259
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2222
2260
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2223
2261
|
end)
|
2224
2262
|
|
@@ -2228,8 +2266,9 @@ module Aws::APIGateway
|
|
2228
2266
|
o.http_request_uri = "/restapis/{restapi_id}/gatewayresponses/{response_type}"
|
2229
2267
|
o.input = Shapes::ShapeRef.new(shape: GetGatewayResponseRequest)
|
2230
2268
|
o.output = Shapes::ShapeRef.new(shape: GatewayResponse)
|
2231
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2269
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2232
2270
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2271
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2233
2272
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2234
2273
|
end)
|
2235
2274
|
|
@@ -2240,8 +2279,8 @@ module Aws::APIGateway
|
|
2240
2279
|
o.input = Shapes::ShapeRef.new(shape: GetGatewayResponsesRequest)
|
2241
2280
|
o.output = Shapes::ShapeRef.new(shape: GatewayResponses)
|
2242
2281
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2243
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2244
2282
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2283
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2245
2284
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2246
2285
|
end)
|
2247
2286
|
|
@@ -2251,8 +2290,9 @@ module Aws::APIGateway
|
|
2251
2290
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
|
2252
2291
|
o.input = Shapes::ShapeRef.new(shape: GetIntegrationRequest)
|
2253
2292
|
o.output = Shapes::ShapeRef.new(shape: Integration)
|
2254
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2293
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2255
2294
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2295
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2256
2296
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2257
2297
|
end)
|
2258
2298
|
|
@@ -2262,8 +2302,9 @@ module Aws::APIGateway
|
|
2262
2302
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
|
2263
2303
|
o.input = Shapes::ShapeRef.new(shape: GetIntegrationResponseRequest)
|
2264
2304
|
o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
|
2265
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2305
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2266
2306
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2307
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2267
2308
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2268
2309
|
end)
|
2269
2310
|
|
@@ -2295,8 +2336,9 @@ module Aws::APIGateway
|
|
2295
2336
|
o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
|
2296
2337
|
o.input = Shapes::ShapeRef.new(shape: GetModelRequest)
|
2297
2338
|
o.output = Shapes::ShapeRef.new(shape: Model)
|
2298
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2339
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2299
2340
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2341
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2300
2342
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2301
2343
|
end)
|
2302
2344
|
|
@@ -2336,8 +2378,9 @@ module Aws::APIGateway
|
|
2336
2378
|
o.http_request_uri = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"
|
2337
2379
|
o.input = Shapes::ShapeRef.new(shape: GetRequestValidatorRequest)
|
2338
2380
|
o.output = Shapes::ShapeRef.new(shape: RequestValidator)
|
2339
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2381
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2340
2382
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2383
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2341
2384
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2342
2385
|
end)
|
2343
2386
|
|
@@ -2348,8 +2391,8 @@ module Aws::APIGateway
|
|
2348
2391
|
o.input = Shapes::ShapeRef.new(shape: GetRequestValidatorsRequest)
|
2349
2392
|
o.output = Shapes::ShapeRef.new(shape: RequestValidators)
|
2350
2393
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2351
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2352
2394
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2395
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2353
2396
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2354
2397
|
end)
|
2355
2398
|
|
@@ -2388,8 +2431,9 @@ module Aws::APIGateway
|
|
2388
2431
|
o.http_request_uri = "/restapis/{restapi_id}"
|
2389
2432
|
o.input = Shapes::ShapeRef.new(shape: GetRestApiRequest)
|
2390
2433
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
2391
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2434
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2392
2435
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2436
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2393
2437
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2394
2438
|
end)
|
2395
2439
|
|
@@ -2400,6 +2444,7 @@ module Aws::APIGateway
|
|
2400
2444
|
o.input = Shapes::ShapeRef.new(shape: GetRestApisRequest)
|
2401
2445
|
o.output = Shapes::ShapeRef.new(shape: RestApis)
|
2402
2446
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2447
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2403
2448
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2404
2449
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2405
2450
|
o[:pager] = Aws::Pager.new(
|
@@ -2416,10 +2461,11 @@ module Aws::APIGateway
|
|
2416
2461
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}"
|
2417
2462
|
o.input = Shapes::ShapeRef.new(shape: GetSdkRequest)
|
2418
2463
|
o.output = Shapes::ShapeRef.new(shape: SdkResponse)
|
2419
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2420
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2421
2464
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2422
2465
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2466
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2467
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2468
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2423
2469
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2424
2470
|
end)
|
2425
2471
|
|
@@ -2429,8 +2475,9 @@ module Aws::APIGateway
|
|
2429
2475
|
o.http_request_uri = "/sdktypes/{sdktype_id}"
|
2430
2476
|
o.input = Shapes::ShapeRef.new(shape: GetSdkTypeRequest)
|
2431
2477
|
o.output = Shapes::ShapeRef.new(shape: SdkType)
|
2432
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2478
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2433
2479
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2480
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2434
2481
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2435
2482
|
end)
|
2436
2483
|
|
@@ -2440,6 +2487,8 @@ module Aws::APIGateway
|
|
2440
2487
|
o.http_request_uri = "/sdktypes"
|
2441
2488
|
o.input = Shapes::ShapeRef.new(shape: GetSdkTypesRequest)
|
2442
2489
|
o.output = Shapes::ShapeRef.new(shape: SdkTypes)
|
2490
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2491
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2443
2492
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2444
2493
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2445
2494
|
end)
|
@@ -2450,8 +2499,11 @@ module Aws::APIGateway
|
|
2450
2499
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
|
2451
2500
|
o.input = Shapes::ShapeRef.new(shape: GetStageRequest)
|
2452
2501
|
o.output = Shapes::ShapeRef.new(shape: Stage)
|
2453
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2502
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2503
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2504
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2454
2505
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2506
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2455
2507
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2456
2508
|
end)
|
2457
2509
|
|
@@ -2461,8 +2513,11 @@ module Aws::APIGateway
|
|
2461
2513
|
o.http_request_uri = "/restapis/{restapi_id}/stages"
|
2462
2514
|
o.input = Shapes::ShapeRef.new(shape: GetStagesRequest)
|
2463
2515
|
o.output = Shapes::ShapeRef.new(shape: Stages)
|
2464
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2516
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2517
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2518
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2465
2519
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2520
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2466
2521
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2467
2522
|
end)
|
2468
2523
|
|
@@ -2473,10 +2528,9 @@ module Aws::APIGateway
|
|
2473
2528
|
o.input = Shapes::ShapeRef.new(shape: GetTagsRequest)
|
2474
2529
|
o.output = Shapes::ShapeRef.new(shape: Tags)
|
2475
2530
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2531
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2476
2532
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2477
2533
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2478
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2479
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2480
2534
|
end)
|
2481
2535
|
|
2482
2536
|
api.add_operation(:get_usage, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2504,8 +2558,8 @@ module Aws::APIGateway
|
|
2504
2558
|
o.input = Shapes::ShapeRef.new(shape: GetUsagePlanRequest)
|
2505
2559
|
o.output = Shapes::ShapeRef.new(shape: UsagePlan)
|
2506
2560
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2507
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2508
2561
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2562
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2509
2563
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2510
2564
|
end)
|
2511
2565
|
|
@@ -2516,8 +2570,8 @@ module Aws::APIGateway
|
|
2516
2570
|
o.input = Shapes::ShapeRef.new(shape: GetUsagePlanKeyRequest)
|
2517
2571
|
o.output = Shapes::ShapeRef.new(shape: UsagePlanKey)
|
2518
2572
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2519
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2520
2573
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2574
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2521
2575
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2522
2576
|
end)
|
2523
2577
|
|
@@ -2528,8 +2582,8 @@ module Aws::APIGateway
|
|
2528
2582
|
o.input = Shapes::ShapeRef.new(shape: GetUsagePlanKeysRequest)
|
2529
2583
|
o.output = Shapes::ShapeRef.new(shape: UsagePlanKeys)
|
2530
2584
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2531
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2532
2585
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2586
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2533
2587
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2534
2588
|
o[:pager] = Aws::Pager.new(
|
2535
2589
|
limit_key: "limit",
|
@@ -2546,10 +2600,9 @@ module Aws::APIGateway
|
|
2546
2600
|
o.input = Shapes::ShapeRef.new(shape: GetUsagePlansRequest)
|
2547
2601
|
o.output = Shapes::ShapeRef.new(shape: UsagePlans)
|
2548
2602
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2603
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2549
2604
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2550
2605
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2551
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2552
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2553
2606
|
o[:pager] = Aws::Pager.new(
|
2554
2607
|
limit_key: "limit",
|
2555
2608
|
tokens: {
|
@@ -2564,8 +2617,9 @@ module Aws::APIGateway
|
|
2564
2617
|
o.http_request_uri = "/vpclinks/{vpclink_id}"
|
2565
2618
|
o.input = Shapes::ShapeRef.new(shape: GetVpcLinkRequest)
|
2566
2619
|
o.output = Shapes::ShapeRef.new(shape: VpcLink)
|
2567
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2620
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2568
2621
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2622
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2569
2623
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2570
2624
|
end)
|
2571
2625
|
|
@@ -2576,6 +2630,7 @@ module Aws::APIGateway
|
|
2576
2630
|
o.input = Shapes::ShapeRef.new(shape: GetVpcLinksRequest)
|
2577
2631
|
o.output = Shapes::ShapeRef.new(shape: VpcLinks)
|
2578
2632
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2633
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2579
2634
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2580
2635
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2581
2636
|
o[:pager] = Aws::Pager.new(
|
@@ -2592,12 +2647,12 @@ module Aws::APIGateway
|
|
2592
2647
|
o.http_request_uri = "/apikeys?mode=import"
|
2593
2648
|
o.input = Shapes::ShapeRef.new(shape: ImportApiKeysRequest)
|
2594
2649
|
o.output = Shapes::ShapeRef.new(shape: ApiKeyIds)
|
2595
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2596
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2597
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2598
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2599
2650
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2600
2651
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2652
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2653
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2654
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2655
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2601
2656
|
end)
|
2602
2657
|
|
2603
2658
|
api.add_operation(:import_documentation_parts, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2606,10 +2661,11 @@ module Aws::APIGateway
|
|
2606
2661
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/parts"
|
2607
2662
|
o.input = Shapes::ShapeRef.new(shape: ImportDocumentationPartsRequest)
|
2608
2663
|
o.output = Shapes::ShapeRef.new(shape: DocumentationPartIds)
|
2609
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2610
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2611
2664
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2665
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2612
2666
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2667
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2668
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2613
2669
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2614
2670
|
end)
|
2615
2671
|
|
@@ -2619,11 +2675,12 @@ module Aws::APIGateway
|
|
2619
2675
|
o.http_request_uri = "/restapis?mode=import"
|
2620
2676
|
o.input = Shapes::ShapeRef.new(shape: ImportRestApiRequest)
|
2621
2677
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
2622
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2623
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2624
2678
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2625
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2626
2679
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2680
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2681
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2682
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2683
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2627
2684
|
end)
|
2628
2685
|
|
2629
2686
|
api.add_operation(:put_gateway_response, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2633,9 +2690,10 @@ module Aws::APIGateway
|
|
2633
2690
|
o.input = Shapes::ShapeRef.new(shape: PutGatewayResponseRequest)
|
2634
2691
|
o.output = Shapes::ShapeRef.new(shape: GatewayResponse)
|
2635
2692
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2636
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2637
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2693
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2638
2694
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2695
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2696
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2639
2697
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2640
2698
|
end)
|
2641
2699
|
|
@@ -2645,10 +2703,11 @@ module Aws::APIGateway
|
|
2645
2703
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
|
2646
2704
|
o.input = Shapes::ShapeRef.new(shape: PutIntegrationRequest)
|
2647
2705
|
o.output = Shapes::ShapeRef.new(shape: Integration)
|
2648
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2649
2706
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2650
2707
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2708
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2651
2709
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2710
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2652
2711
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2653
2712
|
end)
|
2654
2713
|
|
@@ -2658,12 +2717,12 @@ module Aws::APIGateway
|
|
2658
2717
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
|
2659
2718
|
o.input = Shapes::ShapeRef.new(shape: PutIntegrationResponseRequest)
|
2660
2719
|
o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
|
2661
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2662
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2663
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2664
2720
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2665
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2666
2721
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2722
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2723
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2724
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2725
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2667
2726
|
end)
|
2668
2727
|
|
2669
2728
|
api.add_operation(:put_method, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2700,12 +2759,12 @@ module Aws::APIGateway
|
|
2700
2759
|
o.http_request_uri = "/restapis/{restapi_id}"
|
2701
2760
|
o.input = Shapes::ShapeRef.new(shape: PutRestApiRequest)
|
2702
2761
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
2703
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2762
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2763
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2704
2764
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2705
2765
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2706
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2766
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2707
2767
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2708
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2709
2768
|
end)
|
2710
2769
|
|
2711
2770
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2715,11 +2774,11 @@ module Aws::APIGateway
|
|
2715
2774
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2716
2775
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2717
2776
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2777
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2778
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2779
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2718
2780
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2719
2781
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2720
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2721
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2722
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2723
2782
|
end)
|
2724
2783
|
|
2725
2784
|
api.add_operation(:test_invoke_authorizer, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2753,10 +2812,11 @@ module Aws::APIGateway
|
|
2753
2812
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2754
2813
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2755
2814
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2815
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2816
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2817
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2756
2818
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2757
2819
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2758
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2759
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2760
2820
|
end)
|
2761
2821
|
|
2762
2822
|
api.add_operation(:update_account, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2765,9 +2825,11 @@ module Aws::APIGateway
|
|
2765
2825
|
o.http_request_uri = "/account"
|
2766
2826
|
o.input = Shapes::ShapeRef.new(shape: UpdateAccountRequest)
|
2767
2827
|
o.output = Shapes::ShapeRef.new(shape: Account)
|
2768
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2769
2828
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2829
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2830
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2770
2831
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2832
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2771
2833
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2772
2834
|
end)
|
2773
2835
|
|
@@ -2777,11 +2839,12 @@ module Aws::APIGateway
|
|
2777
2839
|
o.http_request_uri = "/apikeys/{api_Key}"
|
2778
2840
|
o.input = Shapes::ShapeRef.new(shape: UpdateApiKeyRequest)
|
2779
2841
|
o.output = Shapes::ShapeRef.new(shape: ApiKey)
|
2780
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2781
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2782
2842
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2783
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2784
2843
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2844
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2845
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2846
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2847
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2785
2848
|
end)
|
2786
2849
|
|
2787
2850
|
api.add_operation(:update_authorizer, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2790,9 +2853,11 @@ module Aws::APIGateway
|
|
2790
2853
|
o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
|
2791
2854
|
o.input = Shapes::ShapeRef.new(shape: UpdateAuthorizerRequest)
|
2792
2855
|
o.output = Shapes::ShapeRef.new(shape: Authorizer)
|
2793
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2794
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2795
2856
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2857
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2858
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2859
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2860
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2796
2861
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2797
2862
|
end)
|
2798
2863
|
|
@@ -2802,10 +2867,11 @@ module Aws::APIGateway
|
|
2802
2867
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
|
2803
2868
|
o.input = Shapes::ShapeRef.new(shape: UpdateBasePathMappingRequest)
|
2804
2869
|
o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
|
2805
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2806
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2807
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2808
2870
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2871
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2872
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2873
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2874
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2809
2875
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2810
2876
|
end)
|
2811
2877
|
|
@@ -2815,10 +2881,12 @@ module Aws::APIGateway
|
|
2815
2881
|
o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
|
2816
2882
|
o.input = Shapes::ShapeRef.new(shape: UpdateClientCertificateRequest)
|
2817
2883
|
o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
|
2818
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2819
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2820
2884
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2885
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2886
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2821
2887
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2888
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2889
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2822
2890
|
end)
|
2823
2891
|
|
2824
2892
|
api.add_operation(:update_deployment, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2827,9 +2895,11 @@ module Aws::APIGateway
|
|
2827
2895
|
o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
|
2828
2896
|
o.input = Shapes::ShapeRef.new(shape: UpdateDeploymentRequest)
|
2829
2897
|
o.output = Shapes::ShapeRef.new(shape: Deployment)
|
2830
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2831
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2832
2898
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2899
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2900
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2901
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2902
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2833
2903
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2834
2904
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2835
2905
|
end)
|
@@ -2841,10 +2911,10 @@ module Aws::APIGateway
|
|
2841
2911
|
o.input = Shapes::ShapeRef.new(shape: UpdateDocumentationPartRequest)
|
2842
2912
|
o.output = Shapes::ShapeRef.new(shape: DocumentationPart)
|
2843
2913
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2844
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2845
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2846
2914
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2847
2915
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2916
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2917
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2848
2918
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2849
2919
|
end)
|
2850
2920
|
|
@@ -2854,10 +2924,11 @@ module Aws::APIGateway
|
|
2854
2924
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/versions/{doc_version}"
|
2855
2925
|
o.input = Shapes::ShapeRef.new(shape: UpdateDocumentationVersionRequest)
|
2856
2926
|
o.output = Shapes::ShapeRef.new(shape: DocumentationVersion)
|
2857
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2858
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2859
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2860
2927
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2928
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2929
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2930
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2931
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2861
2932
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2862
2933
|
end)
|
2863
2934
|
|
@@ -2867,10 +2938,11 @@ module Aws::APIGateway
|
|
2867
2938
|
o.http_request_uri = "/domainnames/{domain_name}"
|
2868
2939
|
o.input = Shapes::ShapeRef.new(shape: UpdateDomainNameRequest)
|
2869
2940
|
o.output = Shapes::ShapeRef.new(shape: DomainName)
|
2870
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2871
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2872
2941
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2873
2942
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2943
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2944
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2945
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2874
2946
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2875
2947
|
end)
|
2876
2948
|
|
@@ -2880,9 +2952,11 @@ module Aws::APIGateway
|
|
2880
2952
|
o.http_request_uri = "/restapis/{restapi_id}/gatewayresponses/{response_type}"
|
2881
2953
|
o.input = Shapes::ShapeRef.new(shape: UpdateGatewayResponseRequest)
|
2882
2954
|
o.output = Shapes::ShapeRef.new(shape: GatewayResponse)
|
2883
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2884
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2885
2955
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2956
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2957
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2958
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2959
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2886
2960
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2887
2961
|
end)
|
2888
2962
|
|
@@ -2892,11 +2966,12 @@ module Aws::APIGateway
|
|
2892
2966
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
|
2893
2967
|
o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationRequest)
|
2894
2968
|
o.output = Shapes::ShapeRef.new(shape: Integration)
|
2895
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2896
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2897
2969
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2898
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2899
2970
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2971
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2972
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2973
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2974
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2900
2975
|
end)
|
2901
2976
|
|
2902
2977
|
api.add_operation(:update_integration_response, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2905,10 +2980,11 @@ module Aws::APIGateway
|
|
2905
2980
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
|
2906
2981
|
o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationResponseRequest)
|
2907
2982
|
o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
|
2908
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2909
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2910
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2911
2983
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2984
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2985
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2986
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2987
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2912
2988
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2913
2989
|
end)
|
2914
2990
|
|
@@ -2945,10 +3021,11 @@ module Aws::APIGateway
|
|
2945
3021
|
o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
|
2946
3022
|
o.input = Shapes::ShapeRef.new(shape: UpdateModelRequest)
|
2947
3023
|
o.output = Shapes::ShapeRef.new(shape: Model)
|
2948
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2949
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2950
3024
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2951
3025
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3026
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3027
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3028
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2952
3029
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2953
3030
|
end)
|
2954
3031
|
|
@@ -2958,9 +3035,11 @@ module Aws::APIGateway
|
|
2958
3035
|
o.http_request_uri = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"
|
2959
3036
|
o.input = Shapes::ShapeRef.new(shape: UpdateRequestValidatorRequest)
|
2960
3037
|
o.output = Shapes::ShapeRef.new(shape: RequestValidator)
|
2961
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2962
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2963
3038
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3039
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3040
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3041
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3042
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2964
3043
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2965
3044
|
end)
|
2966
3045
|
|
@@ -2983,10 +3062,11 @@ module Aws::APIGateway
|
|
2983
3062
|
o.http_request_uri = "/restapis/{restapi_id}"
|
2984
3063
|
o.input = Shapes::ShapeRef.new(shape: UpdateRestApiRequest)
|
2985
3064
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
2986
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2987
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2988
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2989
3065
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3066
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3067
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3068
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3069
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2990
3070
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2991
3071
|
end)
|
2992
3072
|
|
@@ -2996,10 +3076,11 @@ module Aws::APIGateway
|
|
2996
3076
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
|
2997
3077
|
o.input = Shapes::ShapeRef.new(shape: UpdateStageRequest)
|
2998
3078
|
o.output = Shapes::ShapeRef.new(shape: Stage)
|
2999
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3000
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3001
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3002
3079
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3080
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3081
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3082
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3083
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3003
3084
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3004
3085
|
end)
|
3005
3086
|
|
@@ -3009,10 +3090,12 @@ module Aws::APIGateway
|
|
3009
3090
|
o.http_request_uri = "/usageplans/{usageplanId}/keys/{keyId}/usage"
|
3010
3091
|
o.input = Shapes::ShapeRef.new(shape: UpdateUsageRequest)
|
3011
3092
|
o.output = Shapes::ShapeRef.new(shape: Usage)
|
3012
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3013
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3014
3093
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3094
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3095
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3015
3096
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3097
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3098
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3016
3099
|
end)
|
3017
3100
|
|
3018
3101
|
api.add_operation(:update_usage_plan, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3021,11 +3104,12 @@ module Aws::APIGateway
|
|
3021
3104
|
o.http_request_uri = "/usageplans/{usageplanId}"
|
3022
3105
|
o.input = Shapes::ShapeRef.new(shape: UpdateUsagePlanRequest)
|
3023
3106
|
o.output = Shapes::ShapeRef.new(shape: UsagePlan)
|
3024
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3025
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3026
3107
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3027
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3028
3108
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3109
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3110
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3111
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3112
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3029
3113
|
end)
|
3030
3114
|
|
3031
3115
|
api.add_operation(:update_vpc_link, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3034,10 +3118,11 @@ module Aws::APIGateway
|
|
3034
3118
|
o.http_request_uri = "/vpclinks/{vpclink_id}"
|
3035
3119
|
o.input = Shapes::ShapeRef.new(shape: UpdateVpcLinkRequest)
|
3036
3120
|
o.output = Shapes::ShapeRef.new(shape: VpcLink)
|
3037
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3038
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3039
3121
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3040
3122
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3123
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3124
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3125
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3041
3126
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3042
3127
|
end)
|
3043
3128
|
end
|