aws-sdk-apigateway 1.62.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apigateway/client.rb +27 -97
- data/lib/aws-sdk-apigateway/client_api.rb +263 -176
- data/lib/aws-sdk-apigateway/types.rb +28 -114
- data/lib/aws-sdk-apigateway.rb +1 -1
- metadata +5 -6
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,26 @@
|
|
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
|
+
|
9
|
+
1.65.0 (2021-08-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding support for ACM imported or private CA certificates for mTLS enabled domain names
|
13
|
+
|
14
|
+
1.64.0 (2021-07-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.63.0 (2021-07-28)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.62.0 (2021-03-19)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.66.0
|
@@ -843,6 +843,12 @@ module Aws::APIGateway
|
|
843
843
|
# client and the server. Clients must present a trusted certificate to
|
844
844
|
# access your custom domain name.
|
845
845
|
#
|
846
|
+
# @option params [String] :ownership_verification_certificate_arn
|
847
|
+
# The ARN of the public certificate issued by ACM to validate ownership
|
848
|
+
# of your custom domain. Only required when configuring mutual TLS and
|
849
|
+
# using an ACM imported or private CA certificate ARN as the
|
850
|
+
# regionalCertificateArn.
|
851
|
+
#
|
846
852
|
# @return [Types::DomainName] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
847
853
|
#
|
848
854
|
# * {Types::DomainName#domain_name #domain_name} => String
|
@@ -861,6 +867,7 @@ module Aws::APIGateway
|
|
861
867
|
# * {Types::DomainName#security_policy #security_policy} => String
|
862
868
|
# * {Types::DomainName#tags #tags} => Hash<String,String>
|
863
869
|
# * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
870
|
+
# * {Types::DomainName#ownership_verification_certificate_arn #ownership_verification_certificate_arn} => String
|
864
871
|
#
|
865
872
|
# @example Request syntax with placeholder values
|
866
873
|
#
|
@@ -885,6 +892,7 @@ module Aws::APIGateway
|
|
885
892
|
# truststore_uri: "String",
|
886
893
|
# truststore_version: "String",
|
887
894
|
# },
|
895
|
+
# ownership_verification_certificate_arn: "String",
|
888
896
|
# })
|
889
897
|
#
|
890
898
|
# @example Response structure
|
@@ -903,7 +911,7 @@ module Aws::APIGateway
|
|
903
911
|
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
904
912
|
# resp.endpoint_configuration.vpc_endpoint_ids #=> Array
|
905
913
|
# resp.endpoint_configuration.vpc_endpoint_ids[0] #=> String
|
906
|
-
# resp.domain_name_status #=> String, one of "AVAILABLE", "UPDATING", "PENDING"
|
914
|
+
# resp.domain_name_status #=> String, one of "AVAILABLE", "UPDATING", "PENDING", "PENDING_CERTIFICATE_REIMPORT", "PENDING_OWNERSHIP_VERIFICATION"
|
907
915
|
# resp.domain_name_status_message #=> String
|
908
916
|
# resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
909
917
|
# resp.tags #=> Hash
|
@@ -912,6 +920,7 @@ module Aws::APIGateway
|
|
912
920
|
# resp.mutual_tls_authentication.truststore_version #=> String
|
913
921
|
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
914
922
|
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
923
|
+
# resp.ownership_verification_certificate_arn #=> String
|
915
924
|
#
|
916
925
|
# @overload create_domain_name(params = {})
|
917
926
|
# @param [Hash] params ({})
|
@@ -1758,27 +1767,6 @@ module Aws::APIGateway
|
|
1758
1767
|
#
|
1759
1768
|
# @option params [required, String] :response_type
|
1760
1769
|
# \[Required\] The response type of the associated GatewayResponse.
|
1761
|
-
# Valid values are
|
1762
|
-
# * ACCESS\_DENIED
|
1763
|
-
# * API\_CONFIGURATION\_ERROR
|
1764
|
-
# * AUTHORIZER\_FAILURE
|
1765
|
-
# * AUTHORIZER\_CONFIGURATION\_ERROR
|
1766
|
-
# * BAD\_REQUEST\_PARAMETERS
|
1767
|
-
# * BAD\_REQUEST\_BODY
|
1768
|
-
# * DEFAULT\_4XX
|
1769
|
-
# * DEFAULT\_5XX
|
1770
|
-
# * EXPIRED\_TOKEN
|
1771
|
-
# * INVALID\_SIGNATURE
|
1772
|
-
# * INTEGRATION\_FAILURE
|
1773
|
-
# * INTEGRATION\_TIMEOUT
|
1774
|
-
# * INVALID\_API\_KEY
|
1775
|
-
# * MISSING\_AUTHENTICATION\_TOKEN
|
1776
|
-
# * QUOTA\_EXCEEDED
|
1777
|
-
# * REQUEST\_TOO\_LARGE
|
1778
|
-
# * RESOURCE\_NOT\_FOUND
|
1779
|
-
# * THROTTLED
|
1780
|
-
# * UNAUTHORIZED
|
1781
|
-
# * UNSUPPORTED\_MEDIA\_TYPE
|
1782
1770
|
#
|
1783
1771
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1784
1772
|
#
|
@@ -1786,7 +1774,7 @@ module Aws::APIGateway
|
|
1786
1774
|
#
|
1787
1775
|
# resp = client.delete_gateway_response({
|
1788
1776
|
# rest_api_id: "String", # required
|
1789
|
-
# 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
|
1790
1778
|
# })
|
1791
1779
|
#
|
1792
1780
|
# @overload delete_gateway_response(params = {})
|
@@ -2904,6 +2892,7 @@ module Aws::APIGateway
|
|
2904
2892
|
# * {Types::DomainName#security_policy #security_policy} => String
|
2905
2893
|
# * {Types::DomainName#tags #tags} => Hash<String,String>
|
2906
2894
|
# * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
2895
|
+
# * {Types::DomainName#ownership_verification_certificate_arn #ownership_verification_certificate_arn} => String
|
2907
2896
|
#
|
2908
2897
|
# @example Request syntax with placeholder values
|
2909
2898
|
#
|
@@ -2927,7 +2916,7 @@ module Aws::APIGateway
|
|
2927
2916
|
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
2928
2917
|
# resp.endpoint_configuration.vpc_endpoint_ids #=> Array
|
2929
2918
|
# resp.endpoint_configuration.vpc_endpoint_ids[0] #=> String
|
2930
|
-
# resp.domain_name_status #=> String, one of "AVAILABLE", "UPDATING", "PENDING"
|
2919
|
+
# resp.domain_name_status #=> String, one of "AVAILABLE", "UPDATING", "PENDING", "PENDING_CERTIFICATE_REIMPORT", "PENDING_OWNERSHIP_VERIFICATION"
|
2931
2920
|
# resp.domain_name_status_message #=> String
|
2932
2921
|
# resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
2933
2922
|
# resp.tags #=> Hash
|
@@ -2936,6 +2925,7 @@ module Aws::APIGateway
|
|
2936
2925
|
# resp.mutual_tls_authentication.truststore_version #=> String
|
2937
2926
|
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
2938
2927
|
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
2928
|
+
# resp.ownership_verification_certificate_arn #=> String
|
2939
2929
|
#
|
2940
2930
|
# @overload get_domain_name(params = {})
|
2941
2931
|
# @param [Hash] params ({})
|
@@ -2985,7 +2975,7 @@ module Aws::APIGateway
|
|
2985
2975
|
# resp.items[0].endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
2986
2976
|
# resp.items[0].endpoint_configuration.vpc_endpoint_ids #=> Array
|
2987
2977
|
# resp.items[0].endpoint_configuration.vpc_endpoint_ids[0] #=> String
|
2988
|
-
# resp.items[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING", "PENDING"
|
2978
|
+
# resp.items[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING", "PENDING", "PENDING_CERTIFICATE_REIMPORT", "PENDING_OWNERSHIP_VERIFICATION"
|
2989
2979
|
# resp.items[0].domain_name_status_message #=> String
|
2990
2980
|
# resp.items[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
2991
2981
|
# resp.items[0].tags #=> Hash
|
@@ -2994,6 +2984,7 @@ module Aws::APIGateway
|
|
2994
2984
|
# resp.items[0].mutual_tls_authentication.truststore_version #=> String
|
2995
2985
|
# resp.items[0].mutual_tls_authentication.truststore_warnings #=> Array
|
2996
2986
|
# resp.items[0].mutual_tls_authentication.truststore_warnings[0] #=> String
|
2987
|
+
# resp.items[0].ownership_verification_certificate_arn #=> String
|
2997
2988
|
#
|
2998
2989
|
# @overload get_domain_names(params = {})
|
2999
2990
|
# @param [Hash] params ({})
|
@@ -3069,27 +3060,6 @@ module Aws::APIGateway
|
|
3069
3060
|
#
|
3070
3061
|
# @option params [required, String] :response_type
|
3071
3062
|
# \[Required\] The response type of the associated GatewayResponse.
|
3072
|
-
# Valid values are
|
3073
|
-
# * ACCESS\_DENIED
|
3074
|
-
# * API\_CONFIGURATION\_ERROR
|
3075
|
-
# * AUTHORIZER\_FAILURE
|
3076
|
-
# * AUTHORIZER\_CONFIGURATION\_ERROR
|
3077
|
-
# * BAD\_REQUEST\_PARAMETERS
|
3078
|
-
# * BAD\_REQUEST\_BODY
|
3079
|
-
# * DEFAULT\_4XX
|
3080
|
-
# * DEFAULT\_5XX
|
3081
|
-
# * EXPIRED\_TOKEN
|
3082
|
-
# * INVALID\_SIGNATURE
|
3083
|
-
# * INTEGRATION\_FAILURE
|
3084
|
-
# * INTEGRATION\_TIMEOUT
|
3085
|
-
# * INVALID\_API\_KEY
|
3086
|
-
# * MISSING\_AUTHENTICATION\_TOKEN
|
3087
|
-
# * QUOTA\_EXCEEDED
|
3088
|
-
# * REQUEST\_TOO\_LARGE
|
3089
|
-
# * RESOURCE\_NOT\_FOUND
|
3090
|
-
# * THROTTLED
|
3091
|
-
# * UNAUTHORIZED
|
3092
|
-
# * UNSUPPORTED\_MEDIA\_TYPE
|
3093
3063
|
#
|
3094
3064
|
# @return [Types::GatewayResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3095
3065
|
#
|
@@ -3103,12 +3073,12 @@ module Aws::APIGateway
|
|
3103
3073
|
#
|
3104
3074
|
# resp = client.get_gateway_response({
|
3105
3075
|
# rest_api_id: "String", # required
|
3106
|
-
# 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
|
3107
3077
|
# })
|
3108
3078
|
#
|
3109
3079
|
# @example Response structure
|
3110
3080
|
#
|
3111
|
-
# 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"
|
3112
3082
|
# resp.status_code #=> String
|
3113
3083
|
# resp.response_parameters #=> Hash
|
3114
3084
|
# resp.response_parameters["String"] #=> String
|
@@ -3158,7 +3128,7 @@ module Aws::APIGateway
|
|
3158
3128
|
#
|
3159
3129
|
# resp.position #=> String
|
3160
3130
|
# resp.items #=> Array
|
3161
|
-
# 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"
|
3162
3132
|
# resp.items[0].status_code #=> String
|
3163
3133
|
# resp.items[0].response_parameters #=> Hash
|
3164
3134
|
# resp.items[0].response_parameters["String"] #=> String
|
@@ -4763,27 +4733,6 @@ module Aws::APIGateway
|
|
4763
4733
|
#
|
4764
4734
|
# @option params [required, String] :response_type
|
4765
4735
|
# \[Required\] The response type of the associated GatewayResponse.
|
4766
|
-
# Valid values are
|
4767
|
-
# * ACCESS\_DENIED
|
4768
|
-
# * API\_CONFIGURATION\_ERROR
|
4769
|
-
# * AUTHORIZER\_FAILURE
|
4770
|
-
# * AUTHORIZER\_CONFIGURATION\_ERROR
|
4771
|
-
# * BAD\_REQUEST\_PARAMETERS
|
4772
|
-
# * BAD\_REQUEST\_BODY
|
4773
|
-
# * DEFAULT\_4XX
|
4774
|
-
# * DEFAULT\_5XX
|
4775
|
-
# * EXPIRED\_TOKEN
|
4776
|
-
# * INVALID\_SIGNATURE
|
4777
|
-
# * INTEGRATION\_FAILURE
|
4778
|
-
# * INTEGRATION\_TIMEOUT
|
4779
|
-
# * INVALID\_API\_KEY
|
4780
|
-
# * MISSING\_AUTHENTICATION\_TOKEN
|
4781
|
-
# * QUOTA\_EXCEEDED
|
4782
|
-
# * REQUEST\_TOO\_LARGE
|
4783
|
-
# * RESOURCE\_NOT\_FOUND
|
4784
|
-
# * THROTTLED
|
4785
|
-
# * UNAUTHORIZED
|
4786
|
-
# * UNSUPPORTED\_MEDIA\_TYPE
|
4787
4736
|
#
|
4788
4737
|
# @option params [String] :status_code
|
4789
4738
|
# The HTTP status code of the GatewayResponse.
|
@@ -4808,7 +4757,7 @@ module Aws::APIGateway
|
|
4808
4757
|
#
|
4809
4758
|
# resp = client.put_gateway_response({
|
4810
4759
|
# rest_api_id: "String", # required
|
4811
|
-
# 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
|
4812
4761
|
# status_code: "StatusCode",
|
4813
4762
|
# response_parameters: {
|
4814
4763
|
# "String" => "String",
|
@@ -4820,7 +4769,7 @@ module Aws::APIGateway
|
|
4820
4769
|
#
|
4821
4770
|
# @example Response structure
|
4822
4771
|
#
|
4823
|
-
# 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"
|
4824
4773
|
# resp.status_code #=> String
|
4825
4774
|
# resp.response_parameters #=> Hash
|
4826
4775
|
# resp.response_parameters["String"] #=> String
|
@@ -6124,6 +6073,7 @@ module Aws::APIGateway
|
|
6124
6073
|
# * {Types::DomainName#security_policy #security_policy} => String
|
6125
6074
|
# * {Types::DomainName#tags #tags} => Hash<String,String>
|
6126
6075
|
# * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
6076
|
+
# * {Types::DomainName#ownership_verification_certificate_arn #ownership_verification_certificate_arn} => String
|
6127
6077
|
#
|
6128
6078
|
# @example Request syntax with placeholder values
|
6129
6079
|
#
|
@@ -6155,7 +6105,7 @@ module Aws::APIGateway
|
|
6155
6105
|
# resp.endpoint_configuration.types[0] #=> String, one of "REGIONAL", "EDGE", "PRIVATE"
|
6156
6106
|
# resp.endpoint_configuration.vpc_endpoint_ids #=> Array
|
6157
6107
|
# resp.endpoint_configuration.vpc_endpoint_ids[0] #=> String
|
6158
|
-
# resp.domain_name_status #=> String, one of "AVAILABLE", "UPDATING", "PENDING"
|
6108
|
+
# resp.domain_name_status #=> String, one of "AVAILABLE", "UPDATING", "PENDING", "PENDING_CERTIFICATE_REIMPORT", "PENDING_OWNERSHIP_VERIFICATION"
|
6159
6109
|
# resp.domain_name_status_message #=> String
|
6160
6110
|
# resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
6161
6111
|
# resp.tags #=> Hash
|
@@ -6164,6 +6114,7 @@ module Aws::APIGateway
|
|
6164
6114
|
# resp.mutual_tls_authentication.truststore_version #=> String
|
6165
6115
|
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
6166
6116
|
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
6117
|
+
# resp.ownership_verification_certificate_arn #=> String
|
6167
6118
|
#
|
6168
6119
|
# @overload update_domain_name(params = {})
|
6169
6120
|
# @param [Hash] params ({})
|
@@ -6180,27 +6131,6 @@ module Aws::APIGateway
|
|
6180
6131
|
#
|
6181
6132
|
# @option params [required, String] :response_type
|
6182
6133
|
# \[Required\] The response type of the associated GatewayResponse.
|
6183
|
-
# Valid values are
|
6184
|
-
# * ACCESS\_DENIED
|
6185
|
-
# * API\_CONFIGURATION\_ERROR
|
6186
|
-
# * AUTHORIZER\_FAILURE
|
6187
|
-
# * AUTHORIZER\_CONFIGURATION\_ERROR
|
6188
|
-
# * BAD\_REQUEST\_PARAMETERS
|
6189
|
-
# * BAD\_REQUEST\_BODY
|
6190
|
-
# * DEFAULT\_4XX
|
6191
|
-
# * DEFAULT\_5XX
|
6192
|
-
# * EXPIRED\_TOKEN
|
6193
|
-
# * INVALID\_SIGNATURE
|
6194
|
-
# * INTEGRATION\_FAILURE
|
6195
|
-
# * INTEGRATION\_TIMEOUT
|
6196
|
-
# * INVALID\_API\_KEY
|
6197
|
-
# * MISSING\_AUTHENTICATION\_TOKEN
|
6198
|
-
# * QUOTA\_EXCEEDED
|
6199
|
-
# * REQUEST\_TOO\_LARGE
|
6200
|
-
# * RESOURCE\_NOT\_FOUND
|
6201
|
-
# * THROTTLED
|
6202
|
-
# * UNAUTHORIZED
|
6203
|
-
# * UNSUPPORTED\_MEDIA\_TYPE
|
6204
6134
|
#
|
6205
6135
|
# @option params [Array<Types::PatchOperation>] :patch_operations
|
6206
6136
|
# A list of update operations to be applied to the specified resource
|
@@ -6218,7 +6148,7 @@ module Aws::APIGateway
|
|
6218
6148
|
#
|
6219
6149
|
# resp = client.update_gateway_response({
|
6220
6150
|
# rest_api_id: "String", # required
|
6221
|
-
# 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
|
6222
6152
|
# patch_operations: [
|
6223
6153
|
# {
|
6224
6154
|
# op: "add", # accepts add, remove, replace, move, copy, test
|
@@ -6231,7 +6161,7 @@ module Aws::APIGateway
|
|
6231
6161
|
#
|
6232
6162
|
# @example Response structure
|
6233
6163
|
#
|
6234
|
-
# 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"
|
6235
6165
|
# resp.status_code #=> String
|
6236
6166
|
# resp.response_parameters #=> Hash
|
6237
6167
|
# resp.response_parameters["String"] #=> String
|
@@ -7081,7 +7011,7 @@ module Aws::APIGateway
|
|
7081
7011
|
params: params,
|
7082
7012
|
config: config)
|
7083
7013
|
context[:gem_name] = 'aws-sdk-apigateway'
|
7084
|
-
context[:gem_version] = '1.
|
7014
|
+
context[:gem_version] = '1.66.0'
|
7085
7015
|
Seahorse::Client::Request.new(handlers, context)
|
7086
7016
|
end
|
7087
7017
|
|
@@ -423,6 +423,7 @@ module Aws::APIGateway
|
|
423
423
|
CreateDomainNameRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
|
424
424
|
CreateDomainNameRequest.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
|
425
425
|
CreateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
426
|
+
CreateDomainNameRequest.add_member(:ownership_verification_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownershipVerificationCertificateArn"))
|
426
427
|
CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
|
427
428
|
|
428
429
|
CreateModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
|
@@ -632,6 +633,7 @@ module Aws::APIGateway
|
|
632
633
|
DomainName.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
|
633
634
|
DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
|
634
635
|
DomainName.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
636
|
+
DomainName.add_member(:ownership_verification_certificate_arn, Shapes::ShapeRef.new(shape: String, location_name: "ownershipVerificationCertificateArn"))
|
635
637
|
DomainName.struct_class = Types::DomainName
|
636
638
|
|
637
639
|
DomainNames.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
|
@@ -1492,12 +1494,12 @@ module Aws::APIGateway
|
|
1492
1494
|
o.http_request_uri = "/apikeys"
|
1493
1495
|
o.input = Shapes::ShapeRef.new(shape: CreateApiKeyRequest)
|
1494
1496
|
o.output = Shapes::ShapeRef.new(shape: ApiKey)
|
1495
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1496
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1497
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1498
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1499
1497
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1500
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)
|
1501
1503
|
end)
|
1502
1504
|
|
1503
1505
|
api.add_operation(:create_authorizer, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1507,9 +1509,10 @@ module Aws::APIGateway
|
|
1507
1509
|
o.input = Shapes::ShapeRef.new(shape: CreateAuthorizerRequest)
|
1508
1510
|
o.output = Shapes::ShapeRef.new(shape: Authorizer)
|
1509
1511
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1510
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1511
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1512
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1512
1513
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1514
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1515
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1513
1516
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1514
1517
|
end)
|
1515
1518
|
|
@@ -1519,10 +1522,11 @@ module Aws::APIGateway
|
|
1519
1522
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings"
|
1520
1523
|
o.input = Shapes::ShapeRef.new(shape: CreateBasePathMappingRequest)
|
1521
1524
|
o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
|
1522
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1523
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1524
1525
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1526
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1527
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1525
1528
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1529
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1526
1530
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1527
1531
|
end)
|
1528
1532
|
|
@@ -1532,11 +1536,11 @@ module Aws::APIGateway
|
|
1532
1536
|
o.http_request_uri = "/restapis/{restapi_id}/deployments"
|
1533
1537
|
o.input = Shapes::ShapeRef.new(shape: CreateDeploymentRequest)
|
1534
1538
|
o.output = Shapes::ShapeRef.new(shape: Deployment)
|
1535
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1536
1539
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1537
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1538
1540
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1539
1541
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1542
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1543
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1540
1544
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1541
1545
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1542
1546
|
end)
|
@@ -1549,9 +1553,9 @@ module Aws::APIGateway
|
|
1549
1553
|
o.output = Shapes::ShapeRef.new(shape: DocumentationPart)
|
1550
1554
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1551
1555
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1552
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1553
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1554
1556
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1557
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1558
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1555
1559
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1556
1560
|
end)
|
1557
1561
|
|
@@ -1563,9 +1567,9 @@ module Aws::APIGateway
|
|
1563
1567
|
o.output = Shapes::ShapeRef.new(shape: DocumentationVersion)
|
1564
1568
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1565
1569
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1566
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1567
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1568
1570
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1571
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1572
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1569
1573
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1570
1574
|
end)
|
1571
1575
|
|
@@ -1575,9 +1579,10 @@ module Aws::APIGateway
|
|
1575
1579
|
o.http_request_uri = "/domainnames"
|
1576
1580
|
o.input = Shapes::ShapeRef.new(shape: CreateDomainNameRequest)
|
1577
1581
|
o.output = Shapes::ShapeRef.new(shape: DomainName)
|
1578
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1579
1582
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1580
1583
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1584
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1585
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1581
1586
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1582
1587
|
end)
|
1583
1588
|
|
@@ -1588,10 +1593,10 @@ module Aws::APIGateway
|
|
1588
1593
|
o.input = Shapes::ShapeRef.new(shape: CreateModelRequest)
|
1589
1594
|
o.output = Shapes::ShapeRef.new(shape: Model)
|
1590
1595
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1591
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1592
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1593
1596
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1594
1597
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1598
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1599
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1595
1600
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1596
1601
|
end)
|
1597
1602
|
|
@@ -1602,9 +1607,10 @@ module Aws::APIGateway
|
|
1602
1607
|
o.input = Shapes::ShapeRef.new(shape: CreateRequestValidatorRequest)
|
1603
1608
|
o.output = Shapes::ShapeRef.new(shape: RequestValidator)
|
1604
1609
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1605
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1606
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1610
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1607
1611
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1612
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1613
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1608
1614
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1609
1615
|
end)
|
1610
1616
|
|
@@ -1628,9 +1634,10 @@ module Aws::APIGateway
|
|
1628
1634
|
o.http_request_uri = "/restapis"
|
1629
1635
|
o.input = Shapes::ShapeRef.new(shape: CreateRestApiRequest)
|
1630
1636
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
1631
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1632
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1633
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)
|
1634
1641
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1635
1642
|
end)
|
1636
1643
|
|
@@ -1655,11 +1662,11 @@ module Aws::APIGateway
|
|
1655
1662
|
o.input = Shapes::ShapeRef.new(shape: CreateUsagePlanRequest)
|
1656
1663
|
o.output = Shapes::ShapeRef.new(shape: UsagePlan)
|
1657
1664
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1658
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1659
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1660
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1661
1665
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1666
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1662
1667
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1668
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1669
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1663
1670
|
end)
|
1664
1671
|
|
1665
1672
|
api.add_operation(:create_usage_plan_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1670,8 +1677,9 @@ module Aws::APIGateway
|
|
1670
1677
|
o.output = Shapes::ShapeRef.new(shape: UsagePlanKey)
|
1671
1678
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1672
1679
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1673
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1680
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1674
1681
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1682
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1675
1683
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1676
1684
|
end)
|
1677
1685
|
|
@@ -1681,8 +1689,10 @@ module Aws::APIGateway
|
|
1681
1689
|
o.http_request_uri = "/vpclinks"
|
1682
1690
|
o.input = Shapes::ShapeRef.new(shape: CreateVpcLinkRequest)
|
1683
1691
|
o.output = Shapes::ShapeRef.new(shape: VpcLink)
|
1684
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1685
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)
|
1686
1696
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1687
1697
|
end)
|
1688
1698
|
|
@@ -1692,8 +1702,10 @@ module Aws::APIGateway
|
|
1692
1702
|
o.http_request_uri = "/apikeys/{api_Key}"
|
1693
1703
|
o.input = Shapes::ShapeRef.new(shape: DeleteApiKeyRequest)
|
1694
1704
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1695
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1705
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1706
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1696
1707
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1708
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1697
1709
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1698
1710
|
end)
|
1699
1711
|
|
@@ -1703,11 +1715,11 @@ module Aws::APIGateway
|
|
1703
1715
|
o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
|
1704
1716
|
o.input = Shapes::ShapeRef.new(shape: DeleteAuthorizerRequest)
|
1705
1717
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1706
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1707
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1708
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1709
1718
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1710
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)
|
1711
1723
|
end)
|
1712
1724
|
|
1713
1725
|
api.add_operation(:delete_base_path_mapping, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1716,10 +1728,10 @@ module Aws::APIGateway
|
|
1716
1728
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
|
1717
1729
|
o.input = Shapes::ShapeRef.new(shape: DeleteBasePathMappingRequest)
|
1718
1730
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1719
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1720
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1721
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1722
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)
|
1723
1735
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1724
1736
|
end)
|
1725
1737
|
|
@@ -1729,10 +1741,11 @@ module Aws::APIGateway
|
|
1729
1741
|
o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
|
1730
1742
|
o.input = Shapes::ShapeRef.new(shape: DeleteClientCertificateRequest)
|
1731
1743
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1732
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1733
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1734
1744
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1745
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1735
1746
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1747
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1748
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1736
1749
|
end)
|
1737
1750
|
|
1738
1751
|
api.add_operation(:delete_deployment, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1741,9 +1754,11 @@ module Aws::APIGateway
|
|
1741
1754
|
o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
|
1742
1755
|
o.input = Shapes::ShapeRef.new(shape: DeleteDeploymentRequest)
|
1743
1756
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1744
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1745
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1746
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)
|
1747
1762
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1748
1763
|
end)
|
1749
1764
|
|
@@ -1753,11 +1768,11 @@ module Aws::APIGateway
|
|
1753
1768
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/parts/{part_id}"
|
1754
1769
|
o.input = Shapes::ShapeRef.new(shape: DeleteDocumentationPartRequest)
|
1755
1770
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1756
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1771
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1772
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1757
1773
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1774
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1758
1775
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1759
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1760
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1761
1776
|
end)
|
1762
1777
|
|
1763
1778
|
api.add_operation(:delete_documentation_version, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1766,10 +1781,10 @@ module Aws::APIGateway
|
|
1766
1781
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/versions/{doc_version}"
|
1767
1782
|
o.input = Shapes::ShapeRef.new(shape: DeleteDocumentationVersionRequest)
|
1768
1783
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1769
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1770
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1771
1784
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1772
1785
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1786
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1787
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1773
1788
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1774
1789
|
end)
|
1775
1790
|
|
@@ -1779,10 +1794,11 @@ module Aws::APIGateway
|
|
1779
1794
|
o.http_request_uri = "/domainnames/{domain_name}"
|
1780
1795
|
o.input = Shapes::ShapeRef.new(shape: DeleteDomainNameRequest)
|
1781
1796
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1782
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1797
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1798
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1783
1799
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1800
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1784
1801
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1785
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1786
1802
|
end)
|
1787
1803
|
|
1788
1804
|
api.add_operation(:delete_gateway_response, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1791,11 +1807,11 @@ module Aws::APIGateway
|
|
1791
1807
|
o.http_request_uri = "/restapis/{restapi_id}/gatewayresponses/{response_type}"
|
1792
1808
|
o.input = Shapes::ShapeRef.new(shape: DeleteGatewayResponseRequest)
|
1793
1809
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1794
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1795
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1796
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1797
1810
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1798
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)
|
1799
1815
|
end)
|
1800
1816
|
|
1801
1817
|
api.add_operation(:delete_integration, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1804,10 +1820,11 @@ module Aws::APIGateway
|
|
1804
1820
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
|
1805
1821
|
o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationRequest)
|
1806
1822
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1807
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1823
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1824
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1808
1825
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1826
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1809
1827
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1810
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1811
1828
|
end)
|
1812
1829
|
|
1813
1830
|
api.add_operation(:delete_integration_response, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1816,11 +1833,11 @@ module Aws::APIGateway
|
|
1816
1833
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
|
1817
1834
|
o.input = Shapes::ShapeRef.new(shape: DeleteIntegrationResponseRequest)
|
1818
1835
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1819
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1820
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1821
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1822
1836
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1823
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)
|
1824
1841
|
end)
|
1825
1842
|
|
1826
1843
|
api.add_operation(:delete_method, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1854,11 +1871,11 @@ module Aws::APIGateway
|
|
1854
1871
|
o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
|
1855
1872
|
o.input = Shapes::ShapeRef.new(shape: DeleteModelRequest)
|
1856
1873
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1857
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1858
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1859
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1860
1874
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1861
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)
|
1862
1879
|
end)
|
1863
1880
|
|
1864
1881
|
api.add_operation(:delete_request_validator, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1867,11 +1884,11 @@ module Aws::APIGateway
|
|
1867
1884
|
o.http_request_uri = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"
|
1868
1885
|
o.input = Shapes::ShapeRef.new(shape: DeleteRequestValidatorRequest)
|
1869
1886
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1870
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1871
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1872
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1873
1887
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1874
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)
|
1875
1892
|
end)
|
1876
1893
|
|
1877
1894
|
api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1893,10 +1910,11 @@ module Aws::APIGateway
|
|
1893
1910
|
o.http_request_uri = "/restapis/{restapi_id}"
|
1894
1911
|
o.input = Shapes::ShapeRef.new(shape: DeleteRestApiRequest)
|
1895
1912
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1896
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1913
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1914
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1897
1915
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1916
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1898
1917
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1899
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1900
1918
|
end)
|
1901
1919
|
|
1902
1920
|
api.add_operation(:delete_stage, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1905,10 +1923,12 @@ module Aws::APIGateway
|
|
1905
1923
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
|
1906
1924
|
o.input = Shapes::ShapeRef.new(shape: DeleteStageRequest)
|
1907
1925
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1908
|
-
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)
|
1909
1929
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1930
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1910
1931
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1911
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1912
1932
|
end)
|
1913
1933
|
|
1914
1934
|
api.add_operation(:delete_usage_plan, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1917,10 +1937,11 @@ module Aws::APIGateway
|
|
1917
1937
|
o.http_request_uri = "/usageplans/{usageplanId}"
|
1918
1938
|
o.input = Shapes::ShapeRef.new(shape: DeleteUsagePlanRequest)
|
1919
1939
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1920
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1921
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1922
1940
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1923
1942
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1943
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1944
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1924
1945
|
end)
|
1925
1946
|
|
1926
1947
|
api.add_operation(:delete_usage_plan_key, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1931,8 +1952,8 @@ module Aws::APIGateway
|
|
1931
1952
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1932
1953
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1933
1954
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1934
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1935
1955
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1956
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1936
1957
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1937
1958
|
end)
|
1938
1959
|
|
@@ -1942,10 +1963,11 @@ module Aws::APIGateway
|
|
1942
1963
|
o.http_request_uri = "/vpclinks/{vpclink_id}"
|
1943
1964
|
o.input = Shapes::ShapeRef.new(shape: DeleteVpcLinkRequest)
|
1944
1965
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1945
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
1966
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1967
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1946
1968
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1969
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1947
1970
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1948
|
-
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1949
1971
|
end)
|
1950
1972
|
|
1951
1973
|
api.add_operation(:flush_stage_authorizers_cache, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1954,9 +1976,11 @@ module Aws::APIGateway
|
|
1954
1976
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers"
|
1955
1977
|
o.input = Shapes::ShapeRef.new(shape: FlushStageAuthorizersCacheRequest)
|
1956
1978
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1957
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1958
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1959
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)
|
1960
1984
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1961
1985
|
end)
|
1962
1986
|
|
@@ -1966,9 +1990,11 @@ module Aws::APIGateway
|
|
1966
1990
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/cache/data"
|
1967
1991
|
o.input = Shapes::ShapeRef.new(shape: FlushStageCacheRequest)
|
1968
1992
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1969
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1970
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1971
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)
|
1972
1998
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1973
1999
|
end)
|
1974
2000
|
|
@@ -1978,9 +2004,11 @@ module Aws::APIGateway
|
|
1978
2004
|
o.http_request_uri = "/clientcertificates"
|
1979
2005
|
o.input = Shapes::ShapeRef.new(shape: GenerateClientCertificateRequest)
|
1980
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)
|
1981
2010
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1982
2011
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1983
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1984
2012
|
end)
|
1985
2013
|
|
1986
2014
|
api.add_operation(:get_account, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1989,8 +2017,9 @@ module Aws::APIGateway
|
|
1989
2017
|
o.http_request_uri = "/account"
|
1990
2018
|
o.input = Shapes::ShapeRef.new(shape: GetAccountRequest)
|
1991
2019
|
o.output = Shapes::ShapeRef.new(shape: Account)
|
1992
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2020
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1993
2021
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2022
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
1994
2023
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1995
2024
|
end)
|
1996
2025
|
|
@@ -2000,8 +2029,9 @@ module Aws::APIGateway
|
|
2000
2029
|
o.http_request_uri = "/apikeys/{api_Key}"
|
2001
2030
|
o.input = Shapes::ShapeRef.new(shape: GetApiKeyRequest)
|
2002
2031
|
o.output = Shapes::ShapeRef.new(shape: ApiKey)
|
2003
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2032
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2004
2033
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2034
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2005
2035
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2006
2036
|
end)
|
2007
2037
|
|
@@ -2012,6 +2042,7 @@ module Aws::APIGateway
|
|
2012
2042
|
o.input = Shapes::ShapeRef.new(shape: GetApiKeysRequest)
|
2013
2043
|
o.output = Shapes::ShapeRef.new(shape: ApiKeys)
|
2014
2044
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2045
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2015
2046
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2016
2047
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2017
2048
|
o[:pager] = Aws::Pager.new(
|
@@ -2028,8 +2059,9 @@ module Aws::APIGateway
|
|
2028
2059
|
o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
|
2029
2060
|
o.input = Shapes::ShapeRef.new(shape: GetAuthorizerRequest)
|
2030
2061
|
o.output = Shapes::ShapeRef.new(shape: Authorizer)
|
2031
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2062
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2032
2063
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2064
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2033
2065
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2034
2066
|
end)
|
2035
2067
|
|
@@ -2040,8 +2072,8 @@ module Aws::APIGateway
|
|
2040
2072
|
o.input = Shapes::ShapeRef.new(shape: GetAuthorizersRequest)
|
2041
2073
|
o.output = Shapes::ShapeRef.new(shape: Authorizers)
|
2042
2074
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2043
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2044
2075
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2076
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2045
2077
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2046
2078
|
end)
|
2047
2079
|
|
@@ -2051,8 +2083,9 @@ module Aws::APIGateway
|
|
2051
2083
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
|
2052
2084
|
o.input = Shapes::ShapeRef.new(shape: GetBasePathMappingRequest)
|
2053
2085
|
o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
|
2054
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2086
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2055
2087
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2088
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2056
2089
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2057
2090
|
end)
|
2058
2091
|
|
@@ -2062,8 +2095,9 @@ module Aws::APIGateway
|
|
2062
2095
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings"
|
2063
2096
|
o.input = Shapes::ShapeRef.new(shape: GetBasePathMappingsRequest)
|
2064
2097
|
o.output = Shapes::ShapeRef.new(shape: BasePathMappings)
|
2065
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2098
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2066
2099
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2100
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2067
2101
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2068
2102
|
o[:pager] = Aws::Pager.new(
|
2069
2103
|
limit_key: "limit",
|
@@ -2079,8 +2113,9 @@ module Aws::APIGateway
|
|
2079
2113
|
o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
|
2080
2114
|
o.input = Shapes::ShapeRef.new(shape: GetClientCertificateRequest)
|
2081
2115
|
o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
|
2082
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2116
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2083
2117
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2118
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2084
2119
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2085
2120
|
end)
|
2086
2121
|
|
@@ -2091,6 +2126,7 @@ module Aws::APIGateway
|
|
2091
2126
|
o.input = Shapes::ShapeRef.new(shape: GetClientCertificatesRequest)
|
2092
2127
|
o.output = Shapes::ShapeRef.new(shape: ClientCertificates)
|
2093
2128
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2129
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2094
2130
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2095
2131
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2096
2132
|
o[:pager] = Aws::Pager.new(
|
@@ -2107,8 +2143,9 @@ module Aws::APIGateway
|
|
2107
2143
|
o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
|
2108
2144
|
o.input = Shapes::ShapeRef.new(shape: GetDeploymentRequest)
|
2109
2145
|
o.output = Shapes::ShapeRef.new(shape: Deployment)
|
2110
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2146
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2111
2147
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2148
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2112
2149
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2113
2150
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2114
2151
|
end)
|
@@ -2138,8 +2175,9 @@ module Aws::APIGateway
|
|
2138
2175
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/parts/{part_id}"
|
2139
2176
|
o.input = Shapes::ShapeRef.new(shape: GetDocumentationPartRequest)
|
2140
2177
|
o.output = Shapes::ShapeRef.new(shape: DocumentationPart)
|
2141
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2178
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2142
2179
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2180
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2143
2181
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2144
2182
|
end)
|
2145
2183
|
|
@@ -2150,8 +2188,8 @@ module Aws::APIGateway
|
|
2150
2188
|
o.input = Shapes::ShapeRef.new(shape: GetDocumentationPartsRequest)
|
2151
2189
|
o.output = Shapes::ShapeRef.new(shape: DocumentationParts)
|
2152
2190
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2153
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2154
2191
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2192
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2155
2193
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2156
2194
|
end)
|
2157
2195
|
|
@@ -2184,9 +2222,9 @@ module Aws::APIGateway
|
|
2184
2222
|
o.http_request_uri = "/domainnames/{domain_name}"
|
2185
2223
|
o.input = Shapes::ShapeRef.new(shape: GetDomainNameRequest)
|
2186
2224
|
o.output = Shapes::ShapeRef.new(shape: DomainName)
|
2187
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2225
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2188
2226
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2189
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2227
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2190
2228
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2191
2229
|
end)
|
2192
2230
|
|
@@ -2197,6 +2235,7 @@ module Aws::APIGateway
|
|
2197
2235
|
o.input = Shapes::ShapeRef.new(shape: GetDomainNamesRequest)
|
2198
2236
|
o.output = Shapes::ShapeRef.new(shape: DomainNames)
|
2199
2237
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2238
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2200
2239
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2201
2240
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2202
2241
|
o[:pager] = Aws::Pager.new(
|
@@ -2213,10 +2252,11 @@ module Aws::APIGateway
|
|
2213
2252
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}"
|
2214
2253
|
o.input = Shapes::ShapeRef.new(shape: GetExportRequest)
|
2215
2254
|
o.output = Shapes::ShapeRef.new(shape: ExportResponse)
|
2216
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2217
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2218
2255
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2219
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)
|
2220
2260
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2221
2261
|
end)
|
2222
2262
|
|
@@ -2226,8 +2266,9 @@ module Aws::APIGateway
|
|
2226
2266
|
o.http_request_uri = "/restapis/{restapi_id}/gatewayresponses/{response_type}"
|
2227
2267
|
o.input = Shapes::ShapeRef.new(shape: GetGatewayResponseRequest)
|
2228
2268
|
o.output = Shapes::ShapeRef.new(shape: GatewayResponse)
|
2229
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2269
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2230
2270
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2271
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2231
2272
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2232
2273
|
end)
|
2233
2274
|
|
@@ -2238,8 +2279,8 @@ module Aws::APIGateway
|
|
2238
2279
|
o.input = Shapes::ShapeRef.new(shape: GetGatewayResponsesRequest)
|
2239
2280
|
o.output = Shapes::ShapeRef.new(shape: GatewayResponses)
|
2240
2281
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2241
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2242
2282
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2283
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2243
2284
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2244
2285
|
end)
|
2245
2286
|
|
@@ -2249,8 +2290,9 @@ module Aws::APIGateway
|
|
2249
2290
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
|
2250
2291
|
o.input = Shapes::ShapeRef.new(shape: GetIntegrationRequest)
|
2251
2292
|
o.output = Shapes::ShapeRef.new(shape: Integration)
|
2252
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2293
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2253
2294
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2295
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2254
2296
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2255
2297
|
end)
|
2256
2298
|
|
@@ -2260,8 +2302,9 @@ module Aws::APIGateway
|
|
2260
2302
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
|
2261
2303
|
o.input = Shapes::ShapeRef.new(shape: GetIntegrationResponseRequest)
|
2262
2304
|
o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
|
2263
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2305
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2264
2306
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2307
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2265
2308
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2266
2309
|
end)
|
2267
2310
|
|
@@ -2293,8 +2336,9 @@ module Aws::APIGateway
|
|
2293
2336
|
o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
|
2294
2337
|
o.input = Shapes::ShapeRef.new(shape: GetModelRequest)
|
2295
2338
|
o.output = Shapes::ShapeRef.new(shape: Model)
|
2296
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2339
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2297
2340
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2341
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2298
2342
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2299
2343
|
end)
|
2300
2344
|
|
@@ -2334,8 +2378,9 @@ module Aws::APIGateway
|
|
2334
2378
|
o.http_request_uri = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"
|
2335
2379
|
o.input = Shapes::ShapeRef.new(shape: GetRequestValidatorRequest)
|
2336
2380
|
o.output = Shapes::ShapeRef.new(shape: RequestValidator)
|
2337
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2381
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2338
2382
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2383
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2339
2384
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2340
2385
|
end)
|
2341
2386
|
|
@@ -2346,8 +2391,8 @@ module Aws::APIGateway
|
|
2346
2391
|
o.input = Shapes::ShapeRef.new(shape: GetRequestValidatorsRequest)
|
2347
2392
|
o.output = Shapes::ShapeRef.new(shape: RequestValidators)
|
2348
2393
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2349
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2350
2394
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2395
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2351
2396
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2352
2397
|
end)
|
2353
2398
|
|
@@ -2386,8 +2431,9 @@ module Aws::APIGateway
|
|
2386
2431
|
o.http_request_uri = "/restapis/{restapi_id}"
|
2387
2432
|
o.input = Shapes::ShapeRef.new(shape: GetRestApiRequest)
|
2388
2433
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
2389
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2434
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2390
2435
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2436
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2391
2437
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2392
2438
|
end)
|
2393
2439
|
|
@@ -2398,6 +2444,7 @@ module Aws::APIGateway
|
|
2398
2444
|
o.input = Shapes::ShapeRef.new(shape: GetRestApisRequest)
|
2399
2445
|
o.output = Shapes::ShapeRef.new(shape: RestApis)
|
2400
2446
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2447
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2401
2448
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2402
2449
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2403
2450
|
o[:pager] = Aws::Pager.new(
|
@@ -2414,10 +2461,11 @@ module Aws::APIGateway
|
|
2414
2461
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}"
|
2415
2462
|
o.input = Shapes::ShapeRef.new(shape: GetSdkRequest)
|
2416
2463
|
o.output = Shapes::ShapeRef.new(shape: SdkResponse)
|
2417
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2418
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2419
2464
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2420
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)
|
2421
2469
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2422
2470
|
end)
|
2423
2471
|
|
@@ -2427,8 +2475,9 @@ module Aws::APIGateway
|
|
2427
2475
|
o.http_request_uri = "/sdktypes/{sdktype_id}"
|
2428
2476
|
o.input = Shapes::ShapeRef.new(shape: GetSdkTypeRequest)
|
2429
2477
|
o.output = Shapes::ShapeRef.new(shape: SdkType)
|
2430
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2478
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2431
2479
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2480
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2432
2481
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2433
2482
|
end)
|
2434
2483
|
|
@@ -2438,6 +2487,8 @@ module Aws::APIGateway
|
|
2438
2487
|
o.http_request_uri = "/sdktypes"
|
2439
2488
|
o.input = Shapes::ShapeRef.new(shape: GetSdkTypesRequest)
|
2440
2489
|
o.output = Shapes::ShapeRef.new(shape: SdkTypes)
|
2490
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2491
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2441
2492
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2442
2493
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2443
2494
|
end)
|
@@ -2448,8 +2499,11 @@ module Aws::APIGateway
|
|
2448
2499
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
|
2449
2500
|
o.input = Shapes::ShapeRef.new(shape: GetStageRequest)
|
2450
2501
|
o.output = Shapes::ShapeRef.new(shape: Stage)
|
2451
|
-
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)
|
2452
2505
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2506
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2453
2507
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2454
2508
|
end)
|
2455
2509
|
|
@@ -2459,8 +2513,11 @@ module Aws::APIGateway
|
|
2459
2513
|
o.http_request_uri = "/restapis/{restapi_id}/stages"
|
2460
2514
|
o.input = Shapes::ShapeRef.new(shape: GetStagesRequest)
|
2461
2515
|
o.output = Shapes::ShapeRef.new(shape: Stages)
|
2462
|
-
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)
|
2463
2519
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2520
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2464
2521
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2465
2522
|
end)
|
2466
2523
|
|
@@ -2471,10 +2528,9 @@ module Aws::APIGateway
|
|
2471
2528
|
o.input = Shapes::ShapeRef.new(shape: GetTagsRequest)
|
2472
2529
|
o.output = Shapes::ShapeRef.new(shape: Tags)
|
2473
2530
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2531
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2474
2532
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2475
2533
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2476
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2477
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2478
2534
|
end)
|
2479
2535
|
|
2480
2536
|
api.add_operation(:get_usage, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2502,8 +2558,8 @@ module Aws::APIGateway
|
|
2502
2558
|
o.input = Shapes::ShapeRef.new(shape: GetUsagePlanRequest)
|
2503
2559
|
o.output = Shapes::ShapeRef.new(shape: UsagePlan)
|
2504
2560
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2505
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2506
2561
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2562
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2507
2563
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2508
2564
|
end)
|
2509
2565
|
|
@@ -2514,8 +2570,8 @@ module Aws::APIGateway
|
|
2514
2570
|
o.input = Shapes::ShapeRef.new(shape: GetUsagePlanKeyRequest)
|
2515
2571
|
o.output = Shapes::ShapeRef.new(shape: UsagePlanKey)
|
2516
2572
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2517
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2518
2573
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2574
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2519
2575
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2520
2576
|
end)
|
2521
2577
|
|
@@ -2526,8 +2582,8 @@ module Aws::APIGateway
|
|
2526
2582
|
o.input = Shapes::ShapeRef.new(shape: GetUsagePlanKeysRequest)
|
2527
2583
|
o.output = Shapes::ShapeRef.new(shape: UsagePlanKeys)
|
2528
2584
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2529
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2530
2585
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2586
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2531
2587
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2532
2588
|
o[:pager] = Aws::Pager.new(
|
2533
2589
|
limit_key: "limit",
|
@@ -2544,10 +2600,9 @@ module Aws::APIGateway
|
|
2544
2600
|
o.input = Shapes::ShapeRef.new(shape: GetUsagePlansRequest)
|
2545
2601
|
o.output = Shapes::ShapeRef.new(shape: UsagePlans)
|
2546
2602
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2603
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2547
2604
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2548
2605
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2549
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2550
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2551
2606
|
o[:pager] = Aws::Pager.new(
|
2552
2607
|
limit_key: "limit",
|
2553
2608
|
tokens: {
|
@@ -2562,8 +2617,9 @@ module Aws::APIGateway
|
|
2562
2617
|
o.http_request_uri = "/vpclinks/{vpclink_id}"
|
2563
2618
|
o.input = Shapes::ShapeRef.new(shape: GetVpcLinkRequest)
|
2564
2619
|
o.output = Shapes::ShapeRef.new(shape: VpcLink)
|
2565
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2620
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2566
2621
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2622
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2567
2623
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2568
2624
|
end)
|
2569
2625
|
|
@@ -2574,6 +2630,7 @@ module Aws::APIGateway
|
|
2574
2630
|
o.input = Shapes::ShapeRef.new(shape: GetVpcLinksRequest)
|
2575
2631
|
o.output = Shapes::ShapeRef.new(shape: VpcLinks)
|
2576
2632
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2633
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2577
2634
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2578
2635
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2579
2636
|
o[:pager] = Aws::Pager.new(
|
@@ -2590,12 +2647,12 @@ module Aws::APIGateway
|
|
2590
2647
|
o.http_request_uri = "/apikeys?mode=import"
|
2591
2648
|
o.input = Shapes::ShapeRef.new(shape: ImportApiKeysRequest)
|
2592
2649
|
o.output = Shapes::ShapeRef.new(shape: ApiKeyIds)
|
2593
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2594
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2595
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2596
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2597
2650
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2598
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)
|
2599
2656
|
end)
|
2600
2657
|
|
2601
2658
|
api.add_operation(:import_documentation_parts, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2604,10 +2661,11 @@ module Aws::APIGateway
|
|
2604
2661
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/parts"
|
2605
2662
|
o.input = Shapes::ShapeRef.new(shape: ImportDocumentationPartsRequest)
|
2606
2663
|
o.output = Shapes::ShapeRef.new(shape: DocumentationPartIds)
|
2607
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2608
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2609
2664
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2665
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2610
2666
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2667
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2668
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2611
2669
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2612
2670
|
end)
|
2613
2671
|
|
@@ -2617,11 +2675,12 @@ module Aws::APIGateway
|
|
2617
2675
|
o.http_request_uri = "/restapis?mode=import"
|
2618
2676
|
o.input = Shapes::ShapeRef.new(shape: ImportRestApiRequest)
|
2619
2677
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
2620
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2621
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2622
2678
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2623
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2624
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)
|
2625
2684
|
end)
|
2626
2685
|
|
2627
2686
|
api.add_operation(:put_gateway_response, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2631,9 +2690,10 @@ module Aws::APIGateway
|
|
2631
2690
|
o.input = Shapes::ShapeRef.new(shape: PutGatewayResponseRequest)
|
2632
2691
|
o.output = Shapes::ShapeRef.new(shape: GatewayResponse)
|
2633
2692
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2634
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2635
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2693
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2636
2694
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2695
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2696
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2637
2697
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2638
2698
|
end)
|
2639
2699
|
|
@@ -2643,10 +2703,11 @@ module Aws::APIGateway
|
|
2643
2703
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
|
2644
2704
|
o.input = Shapes::ShapeRef.new(shape: PutIntegrationRequest)
|
2645
2705
|
o.output = Shapes::ShapeRef.new(shape: Integration)
|
2646
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2647
2706
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2648
2707
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2708
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2649
2709
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2710
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2650
2711
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2651
2712
|
end)
|
2652
2713
|
|
@@ -2656,12 +2717,12 @@ module Aws::APIGateway
|
|
2656
2717
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
|
2657
2718
|
o.input = Shapes::ShapeRef.new(shape: PutIntegrationResponseRequest)
|
2658
2719
|
o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
|
2659
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2660
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2661
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2662
2720
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2663
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2664
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)
|
2665
2726
|
end)
|
2666
2727
|
|
2667
2728
|
api.add_operation(:put_method, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2698,12 +2759,12 @@ module Aws::APIGateway
|
|
2698
2759
|
o.http_request_uri = "/restapis/{restapi_id}"
|
2699
2760
|
o.input = Shapes::ShapeRef.new(shape: PutRestApiRequest)
|
2700
2761
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
2701
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2762
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2763
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2702
2764
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2703
2765
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2704
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
2766
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2705
2767
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2706
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2707
2768
|
end)
|
2708
2769
|
|
2709
2770
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2713,11 +2774,11 @@ module Aws::APIGateway
|
|
2713
2774
|
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2714
2775
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2715
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)
|
2716
2780
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2717
2781
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2718
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2719
|
-
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2720
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2721
2782
|
end)
|
2722
2783
|
|
2723
2784
|
api.add_operation(:test_invoke_authorizer, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2751,10 +2812,11 @@ module Aws::APIGateway
|
|
2751
2812
|
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2752
2813
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2753
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)
|
2754
2818
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2755
2819
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2756
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2757
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2758
2820
|
end)
|
2759
2821
|
|
2760
2822
|
api.add_operation(:update_account, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2763,9 +2825,11 @@ module Aws::APIGateway
|
|
2763
2825
|
o.http_request_uri = "/account"
|
2764
2826
|
o.input = Shapes::ShapeRef.new(shape: UpdateAccountRequest)
|
2765
2827
|
o.output = Shapes::ShapeRef.new(shape: Account)
|
2766
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2767
2828
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2829
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2830
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2768
2831
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2832
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2769
2833
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2770
2834
|
end)
|
2771
2835
|
|
@@ -2775,11 +2839,12 @@ module Aws::APIGateway
|
|
2775
2839
|
o.http_request_uri = "/apikeys/{api_Key}"
|
2776
2840
|
o.input = Shapes::ShapeRef.new(shape: UpdateApiKeyRequest)
|
2777
2841
|
o.output = Shapes::ShapeRef.new(shape: ApiKey)
|
2778
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2779
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2780
2842
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2781
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2782
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)
|
2783
2848
|
end)
|
2784
2849
|
|
2785
2850
|
api.add_operation(:update_authorizer, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2788,9 +2853,11 @@ module Aws::APIGateway
|
|
2788
2853
|
o.http_request_uri = "/restapis/{restapi_id}/authorizers/{authorizer_id}"
|
2789
2854
|
o.input = Shapes::ShapeRef.new(shape: UpdateAuthorizerRequest)
|
2790
2855
|
o.output = Shapes::ShapeRef.new(shape: Authorizer)
|
2791
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2792
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2793
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)
|
2794
2861
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2795
2862
|
end)
|
2796
2863
|
|
@@ -2800,10 +2867,11 @@ module Aws::APIGateway
|
|
2800
2867
|
o.http_request_uri = "/domainnames/{domain_name}/basepathmappings/{base_path}"
|
2801
2868
|
o.input = Shapes::ShapeRef.new(shape: UpdateBasePathMappingRequest)
|
2802
2869
|
o.output = Shapes::ShapeRef.new(shape: BasePathMapping)
|
2803
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2804
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2805
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2806
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)
|
2807
2875
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2808
2876
|
end)
|
2809
2877
|
|
@@ -2813,10 +2881,12 @@ module Aws::APIGateway
|
|
2813
2881
|
o.http_request_uri = "/clientcertificates/{clientcertificate_id}"
|
2814
2882
|
o.input = Shapes::ShapeRef.new(shape: UpdateClientCertificateRequest)
|
2815
2883
|
o.output = Shapes::ShapeRef.new(shape: ClientCertificate)
|
2816
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2817
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2818
2884
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2885
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2886
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2819
2887
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2888
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2889
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2820
2890
|
end)
|
2821
2891
|
|
2822
2892
|
api.add_operation(:update_deployment, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2825,9 +2895,11 @@ module Aws::APIGateway
|
|
2825
2895
|
o.http_request_uri = "/restapis/{restapi_id}/deployments/{deployment_id}"
|
2826
2896
|
o.input = Shapes::ShapeRef.new(shape: UpdateDeploymentRequest)
|
2827
2897
|
o.output = Shapes::ShapeRef.new(shape: Deployment)
|
2828
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2829
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2830
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)
|
2831
2903
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2832
2904
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2833
2905
|
end)
|
@@ -2839,10 +2911,10 @@ module Aws::APIGateway
|
|
2839
2911
|
o.input = Shapes::ShapeRef.new(shape: UpdateDocumentationPartRequest)
|
2840
2912
|
o.output = Shapes::ShapeRef.new(shape: DocumentationPart)
|
2841
2913
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2842
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2843
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2844
2914
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2845
2915
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
2916
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2917
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2846
2918
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2847
2919
|
end)
|
2848
2920
|
|
@@ -2852,10 +2924,11 @@ module Aws::APIGateway
|
|
2852
2924
|
o.http_request_uri = "/restapis/{restapi_id}/documentation/versions/{doc_version}"
|
2853
2925
|
o.input = Shapes::ShapeRef.new(shape: UpdateDocumentationVersionRequest)
|
2854
2926
|
o.output = Shapes::ShapeRef.new(shape: DocumentationVersion)
|
2855
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2856
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2857
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2858
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)
|
2859
2932
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2860
2933
|
end)
|
2861
2934
|
|
@@ -2865,10 +2938,11 @@ module Aws::APIGateway
|
|
2865
2938
|
o.http_request_uri = "/domainnames/{domain_name}"
|
2866
2939
|
o.input = Shapes::ShapeRef.new(shape: UpdateDomainNameRequest)
|
2867
2940
|
o.output = Shapes::ShapeRef.new(shape: DomainName)
|
2868
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2869
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2870
2941
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2871
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)
|
2872
2946
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2873
2947
|
end)
|
2874
2948
|
|
@@ -2878,9 +2952,11 @@ module Aws::APIGateway
|
|
2878
2952
|
o.http_request_uri = "/restapis/{restapi_id}/gatewayresponses/{response_type}"
|
2879
2953
|
o.input = Shapes::ShapeRef.new(shape: UpdateGatewayResponseRequest)
|
2880
2954
|
o.output = Shapes::ShapeRef.new(shape: GatewayResponse)
|
2881
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2882
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2883
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)
|
2884
2960
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2885
2961
|
end)
|
2886
2962
|
|
@@ -2890,11 +2966,12 @@ module Aws::APIGateway
|
|
2890
2966
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"
|
2891
2967
|
o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationRequest)
|
2892
2968
|
o.output = Shapes::ShapeRef.new(shape: Integration)
|
2893
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2894
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2895
2969
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2896
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2897
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)
|
2898
2975
|
end)
|
2899
2976
|
|
2900
2977
|
api.add_operation(:update_integration_response, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2903,10 +2980,11 @@ module Aws::APIGateway
|
|
2903
2980
|
o.http_request_uri = "/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"
|
2904
2981
|
o.input = Shapes::ShapeRef.new(shape: UpdateIntegrationResponseRequest)
|
2905
2982
|
o.output = Shapes::ShapeRef.new(shape: IntegrationResponse)
|
2906
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2907
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2908
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2909
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)
|
2910
2988
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2911
2989
|
end)
|
2912
2990
|
|
@@ -2943,10 +3021,11 @@ module Aws::APIGateway
|
|
2943
3021
|
o.http_request_uri = "/restapis/{restapi_id}/models/{model_name}"
|
2944
3022
|
o.input = Shapes::ShapeRef.new(shape: UpdateModelRequest)
|
2945
3023
|
o.output = Shapes::ShapeRef.new(shape: Model)
|
2946
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2947
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2948
3024
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2949
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)
|
2950
3029
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2951
3030
|
end)
|
2952
3031
|
|
@@ -2956,9 +3035,11 @@ module Aws::APIGateway
|
|
2956
3035
|
o.http_request_uri = "/restapis/{restapi_id}/requestvalidators/{requestvalidator_id}"
|
2957
3036
|
o.input = Shapes::ShapeRef.new(shape: UpdateRequestValidatorRequest)
|
2958
3037
|
o.output = Shapes::ShapeRef.new(shape: RequestValidator)
|
2959
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2960
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2961
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)
|
2962
3043
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2963
3044
|
end)
|
2964
3045
|
|
@@ -2981,10 +3062,11 @@ module Aws::APIGateway
|
|
2981
3062
|
o.http_request_uri = "/restapis/{restapi_id}"
|
2982
3063
|
o.input = Shapes::ShapeRef.new(shape: UpdateRestApiRequest)
|
2983
3064
|
o.output = Shapes::ShapeRef.new(shape: RestApi)
|
2984
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2985
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2986
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2987
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)
|
2988
3070
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2989
3071
|
end)
|
2990
3072
|
|
@@ -2994,10 +3076,11 @@ module Aws::APIGateway
|
|
2994
3076
|
o.http_request_uri = "/restapis/{restapi_id}/stages/{stage_name}"
|
2995
3077
|
o.input = Shapes::ShapeRef.new(shape: UpdateStageRequest)
|
2996
3078
|
o.output = Shapes::ShapeRef.new(shape: Stage)
|
2997
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2998
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2999
|
-
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3000
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)
|
3001
3084
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3002
3085
|
end)
|
3003
3086
|
|
@@ -3007,10 +3090,12 @@ module Aws::APIGateway
|
|
3007
3090
|
o.http_request_uri = "/usageplans/{usageplanId}/keys/{keyId}/usage"
|
3008
3091
|
o.input = Shapes::ShapeRef.new(shape: UpdateUsageRequest)
|
3009
3092
|
o.output = Shapes::ShapeRef.new(shape: Usage)
|
3010
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3011
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3012
3093
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3094
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
3095
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
3013
3096
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3097
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3098
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3014
3099
|
end)
|
3015
3100
|
|
3016
3101
|
api.add_operation(:update_usage_plan, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3019,11 +3104,12 @@ module Aws::APIGateway
|
|
3019
3104
|
o.http_request_uri = "/usageplans/{usageplanId}"
|
3020
3105
|
o.input = Shapes::ShapeRef.new(shape: UpdateUsagePlanRequest)
|
3021
3106
|
o.output = Shapes::ShapeRef.new(shape: UsagePlan)
|
3022
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3023
|
-
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3024
3107
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3025
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3026
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)
|
3027
3113
|
end)
|
3028
3114
|
|
3029
3115
|
api.add_operation(:update_vpc_link, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3032,10 +3118,11 @@ module Aws::APIGateway
|
|
3032
3118
|
o.http_request_uri = "/vpclinks/{vpclink_id}"
|
3033
3119
|
o.input = Shapes::ShapeRef.new(shape: UpdateVpcLinkRequest)
|
3034
3120
|
o.output = Shapes::ShapeRef.new(shape: VpcLink)
|
3035
|
-
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
3036
|
-
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
3037
3121
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3038
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)
|
3039
3126
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
3040
3127
|
end)
|
3041
3128
|
end
|