aws-sdk-apigatewayv2 1.21.0 → 1.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-apigatewayv2.rb +5 -2
- data/lib/aws-sdk-apigatewayv2/client.rb +115 -17
- data/lib/aws-sdk-apigatewayv2/client_api.rb +47 -0
- data/lib/aws-sdk-apigatewayv2/errors.rb +2 -0
- data/lib/aws-sdk-apigatewayv2/resource.rb +2 -0
- data/lib/aws-sdk-apigatewayv2/types.rb +615 -127
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 543293aa934d09b1ff295d9fac35496dca4905377fad73f91346def825d9e976
|
4
|
+
data.tar.gz: 14a4497c1c6e81f9fc9d0589668885cf68ceefee0efe8993d7a7a8d3b8d8f85c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bf5983d736d1648e2ddcd0fb4c675277c008af75524bfda376390f297a87e3cc279c92ad5482b11d2c3ade73249a2c9d45ebcf63b3d85c4e74c9663e06caecf
|
7
|
+
data.tar.gz: f21b665f9084ff7b86457092534ea56f105eb80f3b478fb3178acd1e24f433b73ed2a1daad0ef1a6999bf83cdffcc8be39989454f33e763f5d3920f4df192d9f
|
data/lib/aws-sdk-apigatewayv2.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-apigatewayv2/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::ApiGatewayV2
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.27.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::ApiGatewayV2
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::ApiGatewayV2
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::ApiGatewayV2
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::ApiGatewayV2
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -370,6 +389,7 @@ module Aws::ApiGatewayV2
|
|
370
389
|
# @return [Types::CreateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
371
390
|
#
|
372
391
|
# * {Types::CreateApiResponse#api_endpoint #api_endpoint} => String
|
392
|
+
# * {Types::CreateApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
373
393
|
# * {Types::CreateApiResponse#api_id #api_id} => String
|
374
394
|
# * {Types::CreateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
375
395
|
# * {Types::CreateApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -413,6 +433,7 @@ module Aws::ApiGatewayV2
|
|
413
433
|
# @example Response structure
|
414
434
|
#
|
415
435
|
# resp.api_endpoint #=> String
|
436
|
+
# resp.api_gateway_managed #=> Boolean
|
416
437
|
# resp.api_id #=> String
|
417
438
|
# resp.api_key_selection_expression #=> String
|
418
439
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -507,9 +528,9 @@ module Aws::ApiGatewayV2
|
|
507
528
|
# An integer with a value between \[0-3600\].
|
508
529
|
#
|
509
530
|
# @option params [required, String] :authorizer_type
|
510
|
-
# The authorizer type.
|
511
|
-
#
|
512
|
-
#
|
531
|
+
# The authorizer type. Specify REQUEST for a Lambda function using
|
532
|
+
# incoming request parameters. Specify JWT to use JSON Web Tokens
|
533
|
+
# (supported only for HTTP APIs).
|
513
534
|
#
|
514
535
|
# @option params [String] :authorizer_uri
|
515
536
|
# A string representation of a URI with a length between \[1-2048\].
|
@@ -541,6 +562,11 @@ module Aws::ApiGatewayV2
|
|
541
562
|
# @option params [required, String] :name
|
542
563
|
# A string with a length between \[1-128\].
|
543
564
|
#
|
565
|
+
# @option params [String] :authorizer_payload_format_version
|
566
|
+
# A string with a length between \[1-64\].
|
567
|
+
#
|
568
|
+
# @option params [Boolean] :enable_simple_responses
|
569
|
+
#
|
544
570
|
# @return [Types::CreateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
545
571
|
#
|
546
572
|
# * {Types::CreateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
|
@@ -552,6 +578,8 @@ module Aws::ApiGatewayV2
|
|
552
578
|
# * {Types::CreateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
|
553
579
|
# * {Types::CreateAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
|
554
580
|
# * {Types::CreateAuthorizerResponse#name #name} => String
|
581
|
+
# * {Types::CreateAuthorizerResponse#authorizer_payload_format_version #authorizer_payload_format_version} => String
|
582
|
+
# * {Types::CreateAuthorizerResponse#enable_simple_responses #enable_simple_responses} => Boolean
|
555
583
|
#
|
556
584
|
# @example Request syntax with placeholder values
|
557
585
|
#
|
@@ -568,6 +596,8 @@ module Aws::ApiGatewayV2
|
|
568
596
|
# issuer: "UriWithLengthBetween1And2048",
|
569
597
|
# },
|
570
598
|
# name: "StringWithLengthBetween1And128", # required
|
599
|
+
# authorizer_payload_format_version: "StringWithLengthBetween1And64",
|
600
|
+
# enable_simple_responses: false,
|
571
601
|
# })
|
572
602
|
#
|
573
603
|
# @example Response structure
|
@@ -584,6 +614,8 @@ module Aws::ApiGatewayV2
|
|
584
614
|
# resp.jwt_configuration.audience[0] #=> String
|
585
615
|
# resp.jwt_configuration.issuer #=> String
|
586
616
|
# resp.name #=> String
|
617
|
+
# resp.authorizer_payload_format_version #=> String
|
618
|
+
# resp.enable_simple_responses #=> Boolean
|
587
619
|
#
|
588
620
|
# @overload create_authorizer(params = {})
|
589
621
|
# @param [Hash] params ({})
|
@@ -722,6 +754,9 @@ module Aws::ApiGatewayV2
|
|
722
754
|
# @option params [String] :integration_method
|
723
755
|
# A string with a length between \[1-64\].
|
724
756
|
#
|
757
|
+
# @option params [String] :integration_subtype
|
758
|
+
# A string with a length between \[1-128\].
|
759
|
+
#
|
725
760
|
# @option params [required, String] :integration_type
|
726
761
|
# Represents an API method integration type.
|
727
762
|
#
|
@@ -780,6 +815,7 @@ module Aws::ApiGatewayV2
|
|
780
815
|
# * {Types::CreateIntegrationResult#integration_id #integration_id} => String
|
781
816
|
# * {Types::CreateIntegrationResult#integration_method #integration_method} => String
|
782
817
|
# * {Types::CreateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
|
818
|
+
# * {Types::CreateIntegrationResult#integration_subtype #integration_subtype} => String
|
783
819
|
# * {Types::CreateIntegrationResult#integration_type #integration_type} => String
|
784
820
|
# * {Types::CreateIntegrationResult#integration_uri #integration_uri} => String
|
785
821
|
# * {Types::CreateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
@@ -800,6 +836,7 @@ module Aws::ApiGatewayV2
|
|
800
836
|
# credentials_arn: "Arn",
|
801
837
|
# description: "StringWithLengthBetween0And1024",
|
802
838
|
# integration_method: "StringWithLengthBetween1And64",
|
839
|
+
# integration_subtype: "StringWithLengthBetween1And128",
|
803
840
|
# integration_type: "AWS", # required, accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
|
804
841
|
# integration_uri: "UriWithLengthBetween1And2048",
|
805
842
|
# passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
|
@@ -828,6 +865,7 @@ module Aws::ApiGatewayV2
|
|
828
865
|
# resp.integration_id #=> String
|
829
866
|
# resp.integration_method #=> String
|
830
867
|
# resp.integration_response_selection_expression #=> String
|
868
|
+
# resp.integration_subtype #=> String
|
831
869
|
# resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
|
832
870
|
# resp.integration_uri #=> String
|
833
871
|
# resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
|
@@ -1005,7 +1043,8 @@ module Aws::ApiGatewayV2
|
|
1005
1043
|
# The authorization type. For WebSocket APIs, valid values are NONE for
|
1006
1044
|
# open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM for
|
1007
1045
|
# using a Lambda authorizer. For HTTP APIs, valid values are NONE for
|
1008
|
-
# open access,
|
1046
|
+
# open access, JWT for using JSON Web Tokens, AWS\_IAM for using AWS IAM
|
1047
|
+
# permissions, and CUSTOM for using a Lambda authorizer.
|
1009
1048
|
#
|
1010
1049
|
# @option params [String] :authorizer_id
|
1011
1050
|
# The identifier.
|
@@ -1761,6 +1800,29 @@ module Aws::ApiGatewayV2
|
|
1761
1800
|
req.send_request(options)
|
1762
1801
|
end
|
1763
1802
|
|
1803
|
+
# Resets all authorizer cache entries for the specified stage. Supported
|
1804
|
+
# only for HTTP API Lambda authorizers.
|
1805
|
+
#
|
1806
|
+
# @option params [required, String] :api_id
|
1807
|
+
#
|
1808
|
+
# @option params [required, String] :stage_name
|
1809
|
+
#
|
1810
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1811
|
+
#
|
1812
|
+
# @example Request syntax with placeholder values
|
1813
|
+
#
|
1814
|
+
# resp = client.reset_authorizers_cache({
|
1815
|
+
# api_id: "__string", # required
|
1816
|
+
# stage_name: "__string", # required
|
1817
|
+
# })
|
1818
|
+
#
|
1819
|
+
# @overload reset_authorizers_cache(params = {})
|
1820
|
+
# @param [Hash] params ({})
|
1821
|
+
def reset_authorizers_cache(params = {}, options = {})
|
1822
|
+
req = build_request(:reset_authorizers_cache, params)
|
1823
|
+
req.send_request(options)
|
1824
|
+
end
|
1825
|
+
|
1764
1826
|
# Gets an Api resource.
|
1765
1827
|
#
|
1766
1828
|
# @option params [required, String] :api_id
|
@@ -1768,6 +1830,7 @@ module Aws::ApiGatewayV2
|
|
1768
1830
|
# @return [Types::GetApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1769
1831
|
#
|
1770
1832
|
# * {Types::GetApiResponse#api_endpoint #api_endpoint} => String
|
1833
|
+
# * {Types::GetApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
1771
1834
|
# * {Types::GetApiResponse#api_id #api_id} => String
|
1772
1835
|
# * {Types::GetApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
1773
1836
|
# * {Types::GetApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -1791,6 +1854,7 @@ module Aws::ApiGatewayV2
|
|
1791
1854
|
# @example Response structure
|
1792
1855
|
#
|
1793
1856
|
# resp.api_endpoint #=> String
|
1857
|
+
# resp.api_gateway_managed #=> Boolean
|
1794
1858
|
# resp.api_id #=> String
|
1795
1859
|
# resp.api_key_selection_expression #=> String
|
1796
1860
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -1917,6 +1981,7 @@ module Aws::ApiGatewayV2
|
|
1917
1981
|
#
|
1918
1982
|
# resp.items #=> Array
|
1919
1983
|
# resp.items[0].api_endpoint #=> String
|
1984
|
+
# resp.items[0].api_gateway_managed #=> Boolean
|
1920
1985
|
# resp.items[0].api_id #=> String
|
1921
1986
|
# resp.items[0].api_key_selection_expression #=> String
|
1922
1987
|
# resp.items[0].cors_configuration.allow_credentials #=> Boolean
|
@@ -1968,6 +2033,8 @@ module Aws::ApiGatewayV2
|
|
1968
2033
|
# * {Types::GetAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
|
1969
2034
|
# * {Types::GetAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
|
1970
2035
|
# * {Types::GetAuthorizerResponse#name #name} => String
|
2036
|
+
# * {Types::GetAuthorizerResponse#authorizer_payload_format_version #authorizer_payload_format_version} => String
|
2037
|
+
# * {Types::GetAuthorizerResponse#enable_simple_responses #enable_simple_responses} => Boolean
|
1971
2038
|
#
|
1972
2039
|
# @example Request syntax with placeholder values
|
1973
2040
|
#
|
@@ -1990,6 +2057,8 @@ module Aws::ApiGatewayV2
|
|
1990
2057
|
# resp.jwt_configuration.audience[0] #=> String
|
1991
2058
|
# resp.jwt_configuration.issuer #=> String
|
1992
2059
|
# resp.name #=> String
|
2060
|
+
# resp.authorizer_payload_format_version #=> String
|
2061
|
+
# resp.enable_simple_responses #=> Boolean
|
1993
2062
|
#
|
1994
2063
|
# @overload get_authorizer(params = {})
|
1995
2064
|
# @param [Hash] params ({})
|
@@ -2034,6 +2103,8 @@ module Aws::ApiGatewayV2
|
|
2034
2103
|
# resp.items[0].jwt_configuration.audience[0] #=> String
|
2035
2104
|
# resp.items[0].jwt_configuration.issuer #=> String
|
2036
2105
|
# resp.items[0].name #=> String
|
2106
|
+
# resp.items[0].authorizer_payload_format_version #=> String
|
2107
|
+
# resp.items[0].enable_simple_responses #=> Boolean
|
2037
2108
|
# resp.next_token #=> String
|
2038
2109
|
#
|
2039
2110
|
# @overload get_authorizers(params = {})
|
@@ -2222,6 +2293,7 @@ module Aws::ApiGatewayV2
|
|
2222
2293
|
# * {Types::GetIntegrationResult#integration_id #integration_id} => String
|
2223
2294
|
# * {Types::GetIntegrationResult#integration_method #integration_method} => String
|
2224
2295
|
# * {Types::GetIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
|
2296
|
+
# * {Types::GetIntegrationResult#integration_subtype #integration_subtype} => String
|
2225
2297
|
# * {Types::GetIntegrationResult#integration_type #integration_type} => String
|
2226
2298
|
# * {Types::GetIntegrationResult#integration_uri #integration_uri} => String
|
2227
2299
|
# * {Types::GetIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
@@ -2250,6 +2322,7 @@ module Aws::ApiGatewayV2
|
|
2250
2322
|
# resp.integration_id #=> String
|
2251
2323
|
# resp.integration_method #=> String
|
2252
2324
|
# resp.integration_response_selection_expression #=> String
|
2325
|
+
# resp.integration_subtype #=> String
|
2253
2326
|
# resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
|
2254
2327
|
# resp.integration_uri #=> String
|
2255
2328
|
# resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
|
@@ -2389,6 +2462,7 @@ module Aws::ApiGatewayV2
|
|
2389
2462
|
# resp.items[0].integration_id #=> String
|
2390
2463
|
# resp.items[0].integration_method #=> String
|
2391
2464
|
# resp.items[0].integration_response_selection_expression #=> String
|
2465
|
+
# resp.items[0].integration_subtype #=> String
|
2392
2466
|
# resp.items[0].integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
|
2393
2467
|
# resp.items[0].integration_uri #=> String
|
2394
2468
|
# resp.items[0].passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
|
@@ -2947,6 +3021,7 @@ module Aws::ApiGatewayV2
|
|
2947
3021
|
# @return [Types::ImportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2948
3022
|
#
|
2949
3023
|
# * {Types::ImportApiResponse#api_endpoint #api_endpoint} => String
|
3024
|
+
# * {Types::ImportApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
2950
3025
|
# * {Types::ImportApiResponse#api_id #api_id} => String
|
2951
3026
|
# * {Types::ImportApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
2952
3027
|
# * {Types::ImportApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -2972,6 +3047,7 @@ module Aws::ApiGatewayV2
|
|
2972
3047
|
# @example Response structure
|
2973
3048
|
#
|
2974
3049
|
# resp.api_endpoint #=> String
|
3050
|
+
# resp.api_gateway_managed #=> Boolean
|
2975
3051
|
# resp.api_id #=> String
|
2976
3052
|
# resp.api_key_selection_expression #=> String
|
2977
3053
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -3018,6 +3094,7 @@ module Aws::ApiGatewayV2
|
|
3018
3094
|
# @return [Types::ReimportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3019
3095
|
#
|
3020
3096
|
# * {Types::ReimportApiResponse#api_endpoint #api_endpoint} => String
|
3097
|
+
# * {Types::ReimportApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
3021
3098
|
# * {Types::ReimportApiResponse#api_id #api_id} => String
|
3022
3099
|
# * {Types::ReimportApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
3023
3100
|
# * {Types::ReimportApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -3044,6 +3121,7 @@ module Aws::ApiGatewayV2
|
|
3044
3121
|
# @example Response structure
|
3045
3122
|
#
|
3046
3123
|
# resp.api_endpoint #=> String
|
3124
|
+
# resp.api_gateway_managed #=> Boolean
|
3047
3125
|
# resp.api_id #=> String
|
3048
3126
|
# resp.api_key_selection_expression #=> String
|
3049
3127
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -3182,6 +3260,7 @@ module Aws::ApiGatewayV2
|
|
3182
3260
|
# @return [Types::UpdateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3183
3261
|
#
|
3184
3262
|
# * {Types::UpdateApiResponse#api_endpoint #api_endpoint} => String
|
3263
|
+
# * {Types::UpdateApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
3185
3264
|
# * {Types::UpdateApiResponse#api_id #api_id} => String
|
3186
3265
|
# * {Types::UpdateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
3187
3266
|
# * {Types::UpdateApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -3222,6 +3301,7 @@ module Aws::ApiGatewayV2
|
|
3222
3301
|
# @example Response structure
|
3223
3302
|
#
|
3224
3303
|
# resp.api_endpoint #=> String
|
3304
|
+
# resp.api_gateway_managed #=> Boolean
|
3225
3305
|
# resp.api_id #=> String
|
3226
3306
|
# resp.api_key_selection_expression #=> String
|
3227
3307
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -3321,9 +3401,9 @@ module Aws::ApiGatewayV2
|
|
3321
3401
|
# An integer with a value between \[0-3600\].
|
3322
3402
|
#
|
3323
3403
|
# @option params [String] :authorizer_type
|
3324
|
-
# The authorizer type.
|
3325
|
-
#
|
3326
|
-
#
|
3404
|
+
# The authorizer type. Specify REQUEST for a Lambda function using
|
3405
|
+
# incoming request parameters. Specify JWT to use JSON Web Tokens
|
3406
|
+
# (supported only for HTTP APIs).
|
3327
3407
|
#
|
3328
3408
|
# @option params [String] :authorizer_uri
|
3329
3409
|
# A string representation of a URI with a length between \[1-2048\].
|
@@ -3355,6 +3435,11 @@ module Aws::ApiGatewayV2
|
|
3355
3435
|
# @option params [String] :name
|
3356
3436
|
# A string with a length between \[1-128\].
|
3357
3437
|
#
|
3438
|
+
# @option params [String] :authorizer_payload_format_version
|
3439
|
+
# A string with a length between \[1-64\].
|
3440
|
+
#
|
3441
|
+
# @option params [Boolean] :enable_simple_responses
|
3442
|
+
#
|
3358
3443
|
# @return [Types::UpdateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3359
3444
|
#
|
3360
3445
|
# * {Types::UpdateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
|
@@ -3366,6 +3451,8 @@ module Aws::ApiGatewayV2
|
|
3366
3451
|
# * {Types::UpdateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
|
3367
3452
|
# * {Types::UpdateAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
|
3368
3453
|
# * {Types::UpdateAuthorizerResponse#name #name} => String
|
3454
|
+
# * {Types::UpdateAuthorizerResponse#authorizer_payload_format_version #authorizer_payload_format_version} => String
|
3455
|
+
# * {Types::UpdateAuthorizerResponse#enable_simple_responses #enable_simple_responses} => Boolean
|
3369
3456
|
#
|
3370
3457
|
# @example Request syntax with placeholder values
|
3371
3458
|
#
|
@@ -3383,6 +3470,8 @@ module Aws::ApiGatewayV2
|
|
3383
3470
|
# issuer: "UriWithLengthBetween1And2048",
|
3384
3471
|
# },
|
3385
3472
|
# name: "StringWithLengthBetween1And128",
|
3473
|
+
# authorizer_payload_format_version: "StringWithLengthBetween1And64",
|
3474
|
+
# enable_simple_responses: false,
|
3386
3475
|
# })
|
3387
3476
|
#
|
3388
3477
|
# @example Response structure
|
@@ -3399,6 +3488,8 @@ module Aws::ApiGatewayV2
|
|
3399
3488
|
# resp.jwt_configuration.audience[0] #=> String
|
3400
3489
|
# resp.jwt_configuration.issuer #=> String
|
3401
3490
|
# resp.name #=> String
|
3491
|
+
# resp.authorizer_payload_format_version #=> String
|
3492
|
+
# resp.enable_simple_responses #=> Boolean
|
3402
3493
|
#
|
3403
3494
|
# @overload update_authorizer(params = {})
|
3404
3495
|
# @param [Hash] params ({})
|
@@ -3531,6 +3622,9 @@ module Aws::ApiGatewayV2
|
|
3531
3622
|
# @option params [String] :integration_method
|
3532
3623
|
# A string with a length between \[1-64\].
|
3533
3624
|
#
|
3625
|
+
# @option params [String] :integration_subtype
|
3626
|
+
# A string with a length between \[1-128\].
|
3627
|
+
#
|
3534
3628
|
# @option params [String] :integration_type
|
3535
3629
|
# Represents an API method integration type.
|
3536
3630
|
#
|
@@ -3589,6 +3683,7 @@ module Aws::ApiGatewayV2
|
|
3589
3683
|
# * {Types::UpdateIntegrationResult#integration_id #integration_id} => String
|
3590
3684
|
# * {Types::UpdateIntegrationResult#integration_method #integration_method} => String
|
3591
3685
|
# * {Types::UpdateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
|
3686
|
+
# * {Types::UpdateIntegrationResult#integration_subtype #integration_subtype} => String
|
3592
3687
|
# * {Types::UpdateIntegrationResult#integration_type #integration_type} => String
|
3593
3688
|
# * {Types::UpdateIntegrationResult#integration_uri #integration_uri} => String
|
3594
3689
|
# * {Types::UpdateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
@@ -3610,6 +3705,7 @@ module Aws::ApiGatewayV2
|
|
3610
3705
|
# description: "StringWithLengthBetween0And1024",
|
3611
3706
|
# integration_id: "__string", # required
|
3612
3707
|
# integration_method: "StringWithLengthBetween1And64",
|
3708
|
+
# integration_subtype: "StringWithLengthBetween1And128",
|
3613
3709
|
# integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
|
3614
3710
|
# integration_uri: "UriWithLengthBetween1And2048",
|
3615
3711
|
# passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
|
@@ -3638,6 +3734,7 @@ module Aws::ApiGatewayV2
|
|
3638
3734
|
# resp.integration_id #=> String
|
3639
3735
|
# resp.integration_method #=> String
|
3640
3736
|
# resp.integration_response_selection_expression #=> String
|
3737
|
+
# resp.integration_subtype #=> String
|
3641
3738
|
# resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
|
3642
3739
|
# resp.integration_uri #=> String
|
3643
3740
|
# resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
|
@@ -3821,7 +3918,8 @@ module Aws::ApiGatewayV2
|
|
3821
3918
|
# The authorization type. For WebSocket APIs, valid values are NONE for
|
3822
3919
|
# open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM for
|
3823
3920
|
# using a Lambda authorizer. For HTTP APIs, valid values are NONE for
|
3824
|
-
# open access,
|
3921
|
+
# open access, JWT for using JSON Web Tokens, AWS\_IAM for using AWS IAM
|
3922
|
+
# permissions, and CUSTOM for using a Lambda authorizer.
|
3825
3923
|
#
|
3826
3924
|
# @option params [String] :authorizer_id
|
3827
3925
|
# The identifier.
|
@@ -4184,7 +4282,7 @@ module Aws::ApiGatewayV2
|
|
4184
4282
|
params: params,
|
4185
4283
|
config: config)
|
4186
4284
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
4187
|
-
context[:gem_version] = '1.
|
4285
|
+
context[:gem_version] = '1.27.0'
|
4188
4286
|
Seahorse::Client::Request.new(handlers, context)
|
4189
4287
|
end
|
4190
4288
|
|