aws-sdk-apigatewayv2 1.23.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-apigatewayv2.rb +2 -2
- data/lib/aws-sdk-apigatewayv2/client.rb +49 -8
- data/lib/aws-sdk-apigatewayv2/client_api.rb +14 -0
- data/lib/aws-sdk-apigatewayv2/types.rb +150 -36
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2140d149dcae53b5a51681ebe96222f01f0414e11a2ce6f93aaaafd8c9239d7b
|
4
|
+
data.tar.gz: 0dee9eb711e6e07e47e0979776e46ed57d008d3d5e12b76b379231f37c641326
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2756b95fd724ffc221505f8c1fd2acefce3da0782620847ca0096bb172be098edeeab9d289bfa78e892cc27f7842fcb4de87fd9a732bb167ee7c34a5ed3a760d
|
7
|
+
data.tar.gz: cc2cad511c15504b94259c2dc95bbf1e694faa66e48dad77318ff4ad8ddca245d34eb677b5aaa073ee92103cb900962e593005c9143114867d59a12d4ffc9fca
|
data/lib/aws-sdk-apigatewayv2.rb
CHANGED
@@ -85,13 +85,28 @@ module Aws::ApiGatewayV2
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
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
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::ApiGatewayV2
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# 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.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -374,6 +389,7 @@ module Aws::ApiGatewayV2
|
|
374
389
|
# @return [Types::CreateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
375
390
|
#
|
376
391
|
# * {Types::CreateApiResponse#api_endpoint #api_endpoint} => String
|
392
|
+
# * {Types::CreateApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
377
393
|
# * {Types::CreateApiResponse#api_id #api_id} => String
|
378
394
|
# * {Types::CreateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
379
395
|
# * {Types::CreateApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -417,6 +433,7 @@ module Aws::ApiGatewayV2
|
|
417
433
|
# @example Response structure
|
418
434
|
#
|
419
435
|
# resp.api_endpoint #=> String
|
436
|
+
# resp.api_gateway_managed #=> Boolean
|
420
437
|
# resp.api_id #=> String
|
421
438
|
# resp.api_key_selection_expression #=> String
|
422
439
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -726,6 +743,9 @@ module Aws::ApiGatewayV2
|
|
726
743
|
# @option params [String] :integration_method
|
727
744
|
# A string with a length between \[1-64\].
|
728
745
|
#
|
746
|
+
# @option params [String] :integration_subtype
|
747
|
+
# A string with a length between \[1-128\].
|
748
|
+
#
|
729
749
|
# @option params [required, String] :integration_type
|
730
750
|
# Represents an API method integration type.
|
731
751
|
#
|
@@ -784,6 +804,7 @@ module Aws::ApiGatewayV2
|
|
784
804
|
# * {Types::CreateIntegrationResult#integration_id #integration_id} => String
|
785
805
|
# * {Types::CreateIntegrationResult#integration_method #integration_method} => String
|
786
806
|
# * {Types::CreateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
|
807
|
+
# * {Types::CreateIntegrationResult#integration_subtype #integration_subtype} => String
|
787
808
|
# * {Types::CreateIntegrationResult#integration_type #integration_type} => String
|
788
809
|
# * {Types::CreateIntegrationResult#integration_uri #integration_uri} => String
|
789
810
|
# * {Types::CreateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
@@ -804,6 +825,7 @@ module Aws::ApiGatewayV2
|
|
804
825
|
# credentials_arn: "Arn",
|
805
826
|
# description: "StringWithLengthBetween0And1024",
|
806
827
|
# integration_method: "StringWithLengthBetween1And64",
|
828
|
+
# integration_subtype: "StringWithLengthBetween1And128",
|
807
829
|
# integration_type: "AWS", # required, accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
|
808
830
|
# integration_uri: "UriWithLengthBetween1And2048",
|
809
831
|
# passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
|
@@ -832,6 +854,7 @@ module Aws::ApiGatewayV2
|
|
832
854
|
# resp.integration_id #=> String
|
833
855
|
# resp.integration_method #=> String
|
834
856
|
# resp.integration_response_selection_expression #=> String
|
857
|
+
# resp.integration_subtype #=> String
|
835
858
|
# resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
|
836
859
|
# resp.integration_uri #=> String
|
837
860
|
# resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
|
@@ -1772,6 +1795,7 @@ module Aws::ApiGatewayV2
|
|
1772
1795
|
# @return [Types::GetApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1773
1796
|
#
|
1774
1797
|
# * {Types::GetApiResponse#api_endpoint #api_endpoint} => String
|
1798
|
+
# * {Types::GetApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
1775
1799
|
# * {Types::GetApiResponse#api_id #api_id} => String
|
1776
1800
|
# * {Types::GetApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
1777
1801
|
# * {Types::GetApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -1795,6 +1819,7 @@ module Aws::ApiGatewayV2
|
|
1795
1819
|
# @example Response structure
|
1796
1820
|
#
|
1797
1821
|
# resp.api_endpoint #=> String
|
1822
|
+
# resp.api_gateway_managed #=> Boolean
|
1798
1823
|
# resp.api_id #=> String
|
1799
1824
|
# resp.api_key_selection_expression #=> String
|
1800
1825
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -1921,6 +1946,7 @@ module Aws::ApiGatewayV2
|
|
1921
1946
|
#
|
1922
1947
|
# resp.items #=> Array
|
1923
1948
|
# resp.items[0].api_endpoint #=> String
|
1949
|
+
# resp.items[0].api_gateway_managed #=> Boolean
|
1924
1950
|
# resp.items[0].api_id #=> String
|
1925
1951
|
# resp.items[0].api_key_selection_expression #=> String
|
1926
1952
|
# resp.items[0].cors_configuration.allow_credentials #=> Boolean
|
@@ -2226,6 +2252,7 @@ module Aws::ApiGatewayV2
|
|
2226
2252
|
# * {Types::GetIntegrationResult#integration_id #integration_id} => String
|
2227
2253
|
# * {Types::GetIntegrationResult#integration_method #integration_method} => String
|
2228
2254
|
# * {Types::GetIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
|
2255
|
+
# * {Types::GetIntegrationResult#integration_subtype #integration_subtype} => String
|
2229
2256
|
# * {Types::GetIntegrationResult#integration_type #integration_type} => String
|
2230
2257
|
# * {Types::GetIntegrationResult#integration_uri #integration_uri} => String
|
2231
2258
|
# * {Types::GetIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
@@ -2254,6 +2281,7 @@ module Aws::ApiGatewayV2
|
|
2254
2281
|
# resp.integration_id #=> String
|
2255
2282
|
# resp.integration_method #=> String
|
2256
2283
|
# resp.integration_response_selection_expression #=> String
|
2284
|
+
# resp.integration_subtype #=> String
|
2257
2285
|
# resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
|
2258
2286
|
# resp.integration_uri #=> String
|
2259
2287
|
# resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
|
@@ -2393,6 +2421,7 @@ module Aws::ApiGatewayV2
|
|
2393
2421
|
# resp.items[0].integration_id #=> String
|
2394
2422
|
# resp.items[0].integration_method #=> String
|
2395
2423
|
# resp.items[0].integration_response_selection_expression #=> String
|
2424
|
+
# resp.items[0].integration_subtype #=> String
|
2396
2425
|
# resp.items[0].integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
|
2397
2426
|
# resp.items[0].integration_uri #=> String
|
2398
2427
|
# resp.items[0].passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
|
@@ -2951,6 +2980,7 @@ module Aws::ApiGatewayV2
|
|
2951
2980
|
# @return [Types::ImportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2952
2981
|
#
|
2953
2982
|
# * {Types::ImportApiResponse#api_endpoint #api_endpoint} => String
|
2983
|
+
# * {Types::ImportApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
2954
2984
|
# * {Types::ImportApiResponse#api_id #api_id} => String
|
2955
2985
|
# * {Types::ImportApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
2956
2986
|
# * {Types::ImportApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -2976,6 +3006,7 @@ module Aws::ApiGatewayV2
|
|
2976
3006
|
# @example Response structure
|
2977
3007
|
#
|
2978
3008
|
# resp.api_endpoint #=> String
|
3009
|
+
# resp.api_gateway_managed #=> Boolean
|
2979
3010
|
# resp.api_id #=> String
|
2980
3011
|
# resp.api_key_selection_expression #=> String
|
2981
3012
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -3022,6 +3053,7 @@ module Aws::ApiGatewayV2
|
|
3022
3053
|
# @return [Types::ReimportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3023
3054
|
#
|
3024
3055
|
# * {Types::ReimportApiResponse#api_endpoint #api_endpoint} => String
|
3056
|
+
# * {Types::ReimportApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
3025
3057
|
# * {Types::ReimportApiResponse#api_id #api_id} => String
|
3026
3058
|
# * {Types::ReimportApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
3027
3059
|
# * {Types::ReimportApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -3048,6 +3080,7 @@ module Aws::ApiGatewayV2
|
|
3048
3080
|
# @example Response structure
|
3049
3081
|
#
|
3050
3082
|
# resp.api_endpoint #=> String
|
3083
|
+
# resp.api_gateway_managed #=> Boolean
|
3051
3084
|
# resp.api_id #=> String
|
3052
3085
|
# resp.api_key_selection_expression #=> String
|
3053
3086
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -3186,6 +3219,7 @@ module Aws::ApiGatewayV2
|
|
3186
3219
|
# @return [Types::UpdateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3187
3220
|
#
|
3188
3221
|
# * {Types::UpdateApiResponse#api_endpoint #api_endpoint} => String
|
3222
|
+
# * {Types::UpdateApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
|
3189
3223
|
# * {Types::UpdateApiResponse#api_id #api_id} => String
|
3190
3224
|
# * {Types::UpdateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
|
3191
3225
|
# * {Types::UpdateApiResponse#cors_configuration #cors_configuration} => Types::Cors
|
@@ -3226,6 +3260,7 @@ module Aws::ApiGatewayV2
|
|
3226
3260
|
# @example Response structure
|
3227
3261
|
#
|
3228
3262
|
# resp.api_endpoint #=> String
|
3263
|
+
# resp.api_gateway_managed #=> Boolean
|
3229
3264
|
# resp.api_id #=> String
|
3230
3265
|
# resp.api_key_selection_expression #=> String
|
3231
3266
|
# resp.cors_configuration.allow_credentials #=> Boolean
|
@@ -3535,6 +3570,9 @@ module Aws::ApiGatewayV2
|
|
3535
3570
|
# @option params [String] :integration_method
|
3536
3571
|
# A string with a length between \[1-64\].
|
3537
3572
|
#
|
3573
|
+
# @option params [String] :integration_subtype
|
3574
|
+
# A string with a length between \[1-128\].
|
3575
|
+
#
|
3538
3576
|
# @option params [String] :integration_type
|
3539
3577
|
# Represents an API method integration type.
|
3540
3578
|
#
|
@@ -3593,6 +3631,7 @@ module Aws::ApiGatewayV2
|
|
3593
3631
|
# * {Types::UpdateIntegrationResult#integration_id #integration_id} => String
|
3594
3632
|
# * {Types::UpdateIntegrationResult#integration_method #integration_method} => String
|
3595
3633
|
# * {Types::UpdateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
|
3634
|
+
# * {Types::UpdateIntegrationResult#integration_subtype #integration_subtype} => String
|
3596
3635
|
# * {Types::UpdateIntegrationResult#integration_type #integration_type} => String
|
3597
3636
|
# * {Types::UpdateIntegrationResult#integration_uri #integration_uri} => String
|
3598
3637
|
# * {Types::UpdateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
@@ -3614,6 +3653,7 @@ module Aws::ApiGatewayV2
|
|
3614
3653
|
# description: "StringWithLengthBetween0And1024",
|
3615
3654
|
# integration_id: "__string", # required
|
3616
3655
|
# integration_method: "StringWithLengthBetween1And64",
|
3656
|
+
# integration_subtype: "StringWithLengthBetween1And128",
|
3617
3657
|
# integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
|
3618
3658
|
# integration_uri: "UriWithLengthBetween1And2048",
|
3619
3659
|
# passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
|
@@ -3642,6 +3682,7 @@ module Aws::ApiGatewayV2
|
|
3642
3682
|
# resp.integration_id #=> String
|
3643
3683
|
# resp.integration_method #=> String
|
3644
3684
|
# resp.integration_response_selection_expression #=> String
|
3685
|
+
# resp.integration_subtype #=> String
|
3645
3686
|
# resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
|
3646
3687
|
# resp.integration_uri #=> String
|
3647
3688
|
# resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
|
@@ -4188,7 +4229,7 @@ module Aws::ApiGatewayV2
|
|
4188
4229
|
params: params,
|
4189
4230
|
config: config)
|
4190
4231
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
4191
|
-
context[:gem_version] = '1.
|
4232
|
+
context[:gem_version] = '1.25.0'
|
4192
4233
|
Seahorse::Client::Request.new(handlers, context)
|
4193
4234
|
end
|
4194
4235
|
|
@@ -282,6 +282,7 @@ module Aws::ApiGatewayV2
|
|
282
282
|
AccessLogSettings.struct_class = Types::AccessLogSettings
|
283
283
|
|
284
284
|
Api.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
|
285
|
+
Api.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
|
285
286
|
Api.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
|
286
287
|
Api.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
|
287
288
|
Api.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
|
@@ -394,6 +395,7 @@ module Aws::ApiGatewayV2
|
|
394
395
|
CreateApiRequest.struct_class = Types::CreateApiRequest
|
395
396
|
|
396
397
|
CreateApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
|
398
|
+
CreateApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
|
397
399
|
CreateApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
|
398
400
|
CreateApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
|
399
401
|
CreateApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
|
@@ -480,6 +482,7 @@ module Aws::ApiGatewayV2
|
|
480
482
|
CreateIntegrationInput.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
481
483
|
CreateIntegrationInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
482
484
|
CreateIntegrationInput.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
|
485
|
+
CreateIntegrationInput.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
|
483
486
|
CreateIntegrationInput.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "integrationType"))
|
484
487
|
CreateIntegrationInput.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
|
485
488
|
CreateIntegrationInput.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
@@ -498,6 +501,7 @@ module Aws::ApiGatewayV2
|
|
498
501
|
CreateIntegrationRequest.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
499
502
|
CreateIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
500
503
|
CreateIntegrationRequest.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
|
504
|
+
CreateIntegrationRequest.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
|
501
505
|
CreateIntegrationRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "integrationType"))
|
502
506
|
CreateIntegrationRequest.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
|
503
507
|
CreateIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
@@ -542,6 +546,7 @@ module Aws::ApiGatewayV2
|
|
542
546
|
CreateIntegrationResult.add_member(:integration_id, Shapes::ShapeRef.new(shape: Id, location_name: "integrationId"))
|
543
547
|
CreateIntegrationResult.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
|
544
548
|
CreateIntegrationResult.add_member(:integration_response_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "integrationResponseSelectionExpression"))
|
549
|
+
CreateIntegrationResult.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
|
545
550
|
CreateIntegrationResult.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
|
546
551
|
CreateIntegrationResult.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
|
547
552
|
CreateIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
@@ -837,6 +842,7 @@ module Aws::ApiGatewayV2
|
|
837
842
|
GetApiRequest.struct_class = Types::GetApiRequest
|
838
843
|
|
839
844
|
GetApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
|
845
|
+
GetApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
|
840
846
|
GetApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
|
841
847
|
GetApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
|
842
848
|
GetApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
|
@@ -958,6 +964,7 @@ module Aws::ApiGatewayV2
|
|
958
964
|
GetIntegrationResult.add_member(:integration_id, Shapes::ShapeRef.new(shape: Id, location_name: "integrationId"))
|
959
965
|
GetIntegrationResult.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
|
960
966
|
GetIntegrationResult.add_member(:integration_response_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "integrationResponseSelectionExpression"))
|
967
|
+
GetIntegrationResult.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
|
961
968
|
GetIntegrationResult.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
|
962
969
|
GetIntegrationResult.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
|
963
970
|
GetIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
@@ -1123,6 +1130,7 @@ module Aws::ApiGatewayV2
|
|
1123
1130
|
ImportApiRequest.struct_class = Types::ImportApiRequest
|
1124
1131
|
|
1125
1132
|
ImportApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
|
1133
|
+
ImportApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
|
1126
1134
|
ImportApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
|
1127
1135
|
ImportApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
|
1128
1136
|
ImportApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
|
@@ -1147,6 +1155,7 @@ module Aws::ApiGatewayV2
|
|
1147
1155
|
Integration.add_member(:integration_id, Shapes::ShapeRef.new(shape: Id, location_name: "integrationId"))
|
1148
1156
|
Integration.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
|
1149
1157
|
Integration.add_member(:integration_response_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "integrationResponseSelectionExpression"))
|
1158
|
+
Integration.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
|
1150
1159
|
Integration.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
|
1151
1160
|
Integration.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
|
1152
1161
|
Integration.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
@@ -1213,6 +1222,7 @@ module Aws::ApiGatewayV2
|
|
1213
1222
|
ReimportApiRequest.struct_class = Types::ReimportApiRequest
|
1214
1223
|
|
1215
1224
|
ReimportApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
|
1225
|
+
ReimportApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
|
1216
1226
|
ReimportApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
|
1217
1227
|
ReimportApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
|
1218
1228
|
ReimportApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
|
@@ -1377,6 +1387,7 @@ module Aws::ApiGatewayV2
|
|
1377
1387
|
UpdateApiRequest.struct_class = Types::UpdateApiRequest
|
1378
1388
|
|
1379
1389
|
UpdateApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
|
1390
|
+
UpdateApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
|
1380
1391
|
UpdateApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
|
1381
1392
|
UpdateApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
|
1382
1393
|
UpdateApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
|
@@ -1460,6 +1471,7 @@ module Aws::ApiGatewayV2
|
|
1460
1471
|
UpdateIntegrationInput.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
1461
1472
|
UpdateIntegrationInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1462
1473
|
UpdateIntegrationInput.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
|
1474
|
+
UpdateIntegrationInput.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
|
1463
1475
|
UpdateIntegrationInput.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
|
1464
1476
|
UpdateIntegrationInput.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
|
1465
1477
|
UpdateIntegrationInput.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
@@ -1479,6 +1491,7 @@ module Aws::ApiGatewayV2
|
|
1479
1491
|
UpdateIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1480
1492
|
UpdateIntegrationRequest.add_member(:integration_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "integrationId"))
|
1481
1493
|
UpdateIntegrationRequest.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
|
1494
|
+
UpdateIntegrationRequest.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
|
1482
1495
|
UpdateIntegrationRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
|
1483
1496
|
UpdateIntegrationRequest.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
|
1484
1497
|
UpdateIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
@@ -1524,6 +1537,7 @@ module Aws::ApiGatewayV2
|
|
1524
1537
|
UpdateIntegrationResult.add_member(:integration_id, Shapes::ShapeRef.new(shape: Id, location_name: "integrationId"))
|
1525
1538
|
UpdateIntegrationResult.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
|
1526
1539
|
UpdateIntegrationResult.add_member(:integration_response_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "integrationResponseSelectionExpression"))
|
1540
|
+
UpdateIntegrationResult.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
|
1527
1541
|
UpdateIntegrationResult.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
|
1528
1542
|
UpdateIntegrationResult.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
|
1529
1543
|
UpdateIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
@@ -55,6 +55,12 @@ module Aws::ApiGatewayV2
|
|
55
55
|
# deployed API stage.
|
56
56
|
# @return [String]
|
57
57
|
#
|
58
|
+
# @!attribute [rw] api_gateway_managed
|
59
|
+
# Specifies whether an API is managed by API Gateway. You can't
|
60
|
+
# update or delete a managed API by using API Gateway. A managed API
|
61
|
+
# can be deleted only through the tooling or service that created it.
|
62
|
+
# @return [Boolean]
|
63
|
+
#
|
58
64
|
# @!attribute [rw] api_id
|
59
65
|
# The API ID.
|
60
66
|
# @return [String]
|
@@ -121,6 +127,7 @@ module Aws::ApiGatewayV2
|
|
121
127
|
#
|
122
128
|
class Api < Struct.new(
|
123
129
|
:api_endpoint,
|
130
|
+
:api_gateway_managed,
|
124
131
|
:api_id,
|
125
132
|
:api_key_selection_expression,
|
126
133
|
:cors_configuration,
|
@@ -710,6 +717,9 @@ module Aws::ApiGatewayV2
|
|
710
717
|
# @!attribute [rw] api_endpoint
|
711
718
|
# @return [String]
|
712
719
|
#
|
720
|
+
# @!attribute [rw] api_gateway_managed
|
721
|
+
# @return [Boolean]
|
722
|
+
#
|
713
723
|
# @!attribute [rw] api_id
|
714
724
|
# The identifier.
|
715
725
|
# @return [String]
|
@@ -775,6 +785,7 @@ module Aws::ApiGatewayV2
|
|
775
785
|
#
|
776
786
|
class CreateApiResponse < Struct.new(
|
777
787
|
:api_endpoint,
|
788
|
+
:api_gateway_managed,
|
778
789
|
:api_id,
|
779
790
|
:api_key_selection_expression,
|
780
791
|
:cors_configuration,
|
@@ -1253,6 +1264,16 @@ module Aws::ApiGatewayV2
|
|
1253
1264
|
# Specifies the integration's HTTP method type.
|
1254
1265
|
# @return [String]
|
1255
1266
|
#
|
1267
|
+
# @!attribute [rw] integration_subtype
|
1268
|
+
# Supported only for HTTP API AWS\_PROXY integrations. Specifies the
|
1269
|
+
# AWS service action to invoke. To learn more, see [Integration
|
1270
|
+
# subtype reference][1].
|
1271
|
+
#
|
1272
|
+
#
|
1273
|
+
#
|
1274
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html
|
1275
|
+
# @return [String]
|
1276
|
+
#
|
1256
1277
|
# @!attribute [rw] integration_type
|
1257
1278
|
# The integration type of an integration. One of the following:
|
1258
1279
|
#
|
@@ -1262,10 +1283,9 @@ module Aws::ApiGatewayV2
|
|
1262
1283
|
# custom integration. With any other AWS service action, this is known
|
1263
1284
|
# as AWS integration. Supported only for WebSocket APIs.
|
1264
1285
|
#
|
1265
|
-
# AWS\_PROXY: for integrating the route or method request with
|
1266
|
-
# Lambda function
|
1267
|
-
#
|
1268
|
-
# integration.
|
1286
|
+
# AWS\_PROXY: for integrating the route or method request with a
|
1287
|
+
# Lambda function or other AWS service action. This integration is
|
1288
|
+
# also referred to as a Lambda proxy integration.
|
1269
1289
|
#
|
1270
1290
|
# HTTP: for integrating the route or method request with an HTTP
|
1271
1291
|
# endpoint. This integration is also referred to as the HTTP custom
|
@@ -1324,16 +1344,26 @@ module Aws::ApiGatewayV2
|
|
1324
1344
|
# @return [String]
|
1325
1345
|
#
|
1326
1346
|
# @!attribute [rw] request_parameters
|
1327
|
-
#
|
1328
|
-
# the method request to the backend. The key is
|
1329
|
-
# parameter name and the associated value is a
|
1330
|
-
# parameter value or static value that must be enclosed
|
1331
|
-
# quotes and pre-encoded as required by the backend. The
|
1332
|
-
# request parameter value must match the pattern of
|
1347
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
1348
|
+
# that are passed from the method request to the backend. The key is
|
1349
|
+
# an integration request parameter name and the associated value is a
|
1350
|
+
# method request parameter value or static value that must be enclosed
|
1351
|
+
# within single quotes and pre-encoded as required by the backend. The
|
1352
|
+
# method request parameter value must match the pattern of
|
1333
1353
|
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
1334
1354
|
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
1335
|
-
# must be a valid and unique method request parameter name.
|
1336
|
-
#
|
1355
|
+
# must be a valid and unique method request parameter name.
|
1356
|
+
#
|
1357
|
+
# For HTTP APIs, request parameters are a key-value map specifying
|
1358
|
+
# parameters that are passed to AWS\_PROXY integrations with a
|
1359
|
+
# specified integrationSubtype. You can provide static values, or map
|
1360
|
+
# request data, stage variables, or context variables that are
|
1361
|
+
# evaluated at runtime. To learn more, see [Working with AWS service
|
1362
|
+
# integrations for HTTP APIs][1].
|
1363
|
+
#
|
1364
|
+
#
|
1365
|
+
#
|
1366
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
1337
1367
|
# @return [Hash<String,String>]
|
1338
1368
|
#
|
1339
1369
|
# @!attribute [rw] request_templates
|
@@ -1368,6 +1398,7 @@ module Aws::ApiGatewayV2
|
|
1368
1398
|
:credentials_arn,
|
1369
1399
|
:description,
|
1370
1400
|
:integration_method,
|
1401
|
+
:integration_subtype,
|
1371
1402
|
:integration_type,
|
1372
1403
|
:integration_uri,
|
1373
1404
|
:passthrough_behavior,
|
@@ -1392,6 +1423,7 @@ module Aws::ApiGatewayV2
|
|
1392
1423
|
# credentials_arn: "Arn",
|
1393
1424
|
# description: "StringWithLengthBetween0And1024",
|
1394
1425
|
# integration_method: "StringWithLengthBetween1And64",
|
1426
|
+
# integration_subtype: "StringWithLengthBetween1And128",
|
1395
1427
|
# integration_type: "AWS", # required, accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
|
1396
1428
|
# integration_uri: "UriWithLengthBetween1And2048",
|
1397
1429
|
# passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
|
@@ -1437,6 +1469,10 @@ module Aws::ApiGatewayV2
|
|
1437
1469
|
# A string with a length between \[1-64\].
|
1438
1470
|
# @return [String]
|
1439
1471
|
#
|
1472
|
+
# @!attribute [rw] integration_subtype
|
1473
|
+
# A string with a length between \[1-128\].
|
1474
|
+
# @return [String]
|
1475
|
+
#
|
1440
1476
|
# @!attribute [rw] integration_type
|
1441
1477
|
# Represents an API method integration type.
|
1442
1478
|
# @return [String]
|
@@ -1502,6 +1538,7 @@ module Aws::ApiGatewayV2
|
|
1502
1538
|
:credentials_arn,
|
1503
1539
|
:description,
|
1504
1540
|
:integration_method,
|
1541
|
+
:integration_subtype,
|
1505
1542
|
:integration_type,
|
1506
1543
|
:integration_uri,
|
1507
1544
|
:passthrough_behavior,
|
@@ -1556,6 +1593,10 @@ module Aws::ApiGatewayV2
|
|
1556
1593
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
|
1557
1594
|
# @return [String]
|
1558
1595
|
#
|
1596
|
+
# @!attribute [rw] integration_subtype
|
1597
|
+
# A string with a length between \[1-128\].
|
1598
|
+
# @return [String]
|
1599
|
+
#
|
1559
1600
|
# @!attribute [rw] integration_type
|
1560
1601
|
# Represents an API method integration type.
|
1561
1602
|
# @return [String]
|
@@ -1623,6 +1664,7 @@ module Aws::ApiGatewayV2
|
|
1623
1664
|
:integration_id,
|
1624
1665
|
:integration_method,
|
1625
1666
|
:integration_response_selection_expression,
|
1667
|
+
:integration_subtype,
|
1626
1668
|
:integration_type,
|
1627
1669
|
:integration_uri,
|
1628
1670
|
:passthrough_behavior,
|
@@ -3379,6 +3421,9 @@ module Aws::ApiGatewayV2
|
|
3379
3421
|
# @!attribute [rw] api_endpoint
|
3380
3422
|
# @return [String]
|
3381
3423
|
#
|
3424
|
+
# @!attribute [rw] api_gateway_managed
|
3425
|
+
# @return [Boolean]
|
3426
|
+
#
|
3382
3427
|
# @!attribute [rw] api_id
|
3383
3428
|
# The identifier.
|
3384
3429
|
# @return [String]
|
@@ -3444,6 +3489,7 @@ module Aws::ApiGatewayV2
|
|
3444
3489
|
#
|
3445
3490
|
class GetApiResponse < Struct.new(
|
3446
3491
|
:api_endpoint,
|
3492
|
+
:api_gateway_managed,
|
3447
3493
|
:api_id,
|
3448
3494
|
:api_key_selection_expression,
|
3449
3495
|
:cors_configuration,
|
@@ -3865,6 +3911,10 @@ module Aws::ApiGatewayV2
|
|
3865
3911
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
|
3866
3912
|
# @return [String]
|
3867
3913
|
#
|
3914
|
+
# @!attribute [rw] integration_subtype
|
3915
|
+
# A string with a length between \[1-128\].
|
3916
|
+
# @return [String]
|
3917
|
+
#
|
3868
3918
|
# @!attribute [rw] integration_type
|
3869
3919
|
# Represents an API method integration type.
|
3870
3920
|
# @return [String]
|
@@ -3932,6 +3982,7 @@ module Aws::ApiGatewayV2
|
|
3932
3982
|
:integration_id,
|
3933
3983
|
:integration_method,
|
3934
3984
|
:integration_response_selection_expression,
|
3985
|
+
:integration_subtype,
|
3935
3986
|
:integration_type,
|
3936
3987
|
:integration_uri,
|
3937
3988
|
:passthrough_behavior,
|
@@ -4813,6 +4864,9 @@ module Aws::ApiGatewayV2
|
|
4813
4864
|
# @!attribute [rw] api_endpoint
|
4814
4865
|
# @return [String]
|
4815
4866
|
#
|
4867
|
+
# @!attribute [rw] api_gateway_managed
|
4868
|
+
# @return [Boolean]
|
4869
|
+
#
|
4816
4870
|
# @!attribute [rw] api_id
|
4817
4871
|
# The identifier.
|
4818
4872
|
# @return [String]
|
@@ -4878,6 +4932,7 @@ module Aws::ApiGatewayV2
|
|
4878
4932
|
#
|
4879
4933
|
class ImportApiResponse < Struct.new(
|
4880
4934
|
:api_endpoint,
|
4935
|
+
:api_gateway_managed,
|
4881
4936
|
:api_id,
|
4882
4937
|
:api_key_selection_expression,
|
4883
4938
|
:cors_configuration,
|
@@ -4964,6 +5019,16 @@ module Aws::ApiGatewayV2
|
|
4964
5019
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-integration-response-selection-expressions
|
4965
5020
|
# @return [String]
|
4966
5021
|
#
|
5022
|
+
# @!attribute [rw] integration_subtype
|
5023
|
+
# Supported only for HTTP API AWS\_PROXY integrations. Specifies the
|
5024
|
+
# AWS service action to invoke. To learn more, see [Integration
|
5025
|
+
# subtype reference][1].
|
5026
|
+
#
|
5027
|
+
#
|
5028
|
+
#
|
5029
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html
|
5030
|
+
# @return [String]
|
5031
|
+
#
|
4967
5032
|
# @!attribute [rw] integration_type
|
4968
5033
|
# The integration type of an integration. One of the following:
|
4969
5034
|
#
|
@@ -4973,10 +5038,9 @@ module Aws::ApiGatewayV2
|
|
4973
5038
|
# custom integration. With any other AWS service action, this is known
|
4974
5039
|
# as AWS integration. Supported only for WebSocket APIs.
|
4975
5040
|
#
|
4976
|
-
# AWS\_PROXY: for integrating the route or method request with
|
4977
|
-
# Lambda function
|
4978
|
-
#
|
4979
|
-
# integration.
|
5041
|
+
# AWS\_PROXY: for integrating the route or method request with a
|
5042
|
+
# Lambda function or other AWS service action. This integration is
|
5043
|
+
# also referred to as a Lambda proxy integration.
|
4980
5044
|
#
|
4981
5045
|
# HTTP: for integrating the route or method request with an HTTP
|
4982
5046
|
# endpoint. This integration is also referred to as the HTTP custom
|
@@ -5034,16 +5098,26 @@ module Aws::ApiGatewayV2
|
|
5034
5098
|
# @return [String]
|
5035
5099
|
#
|
5036
5100
|
# @!attribute [rw] request_parameters
|
5037
|
-
#
|
5038
|
-
# the method request to the backend. The key is
|
5039
|
-
# parameter name and the associated value is a
|
5040
|
-
# parameter value or static value that must be enclosed
|
5041
|
-
# quotes and pre-encoded as required by the backend. The
|
5042
|
-
# request parameter value must match the pattern of
|
5101
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
5102
|
+
# that are passed from the method request to the backend. The key is
|
5103
|
+
# an integration request parameter name and the associated value is a
|
5104
|
+
# method request parameter value or static value that must be enclosed
|
5105
|
+
# within single quotes and pre-encoded as required by the backend. The
|
5106
|
+
# method request parameter value must match the pattern of
|
5043
5107
|
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
5044
5108
|
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
5045
|
-
# must be a valid and unique method request parameter name.
|
5046
|
-
#
|
5109
|
+
# must be a valid and unique method request parameter name.
|
5110
|
+
#
|
5111
|
+
# For HTTP APIs, request parameters are a key-value map specifying
|
5112
|
+
# parameters that are passed to AWS\_PROXY integrations with a
|
5113
|
+
# specified integrationSubtype. You can provide static values, or map
|
5114
|
+
# request data, stage variables, or context variables that are
|
5115
|
+
# evaluated at runtime. To learn more, see [Working with AWS service
|
5116
|
+
# integrations for HTTP APIs][1].
|
5117
|
+
#
|
5118
|
+
#
|
5119
|
+
#
|
5120
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
5047
5121
|
# @return [Hash<String,String>]
|
5048
5122
|
#
|
5049
5123
|
# @!attribute [rw] request_templates
|
@@ -5082,6 +5156,7 @@ module Aws::ApiGatewayV2
|
|
5082
5156
|
:integration_id,
|
5083
5157
|
:integration_method,
|
5084
5158
|
:integration_response_selection_expression,
|
5159
|
+
:integration_subtype,
|
5085
5160
|
:integration_type,
|
5086
5161
|
:integration_uri,
|
5087
5162
|
:passthrough_behavior,
|
@@ -5397,6 +5472,9 @@ module Aws::ApiGatewayV2
|
|
5397
5472
|
# @!attribute [rw] api_endpoint
|
5398
5473
|
# @return [String]
|
5399
5474
|
#
|
5475
|
+
# @!attribute [rw] api_gateway_managed
|
5476
|
+
# @return [Boolean]
|
5477
|
+
#
|
5400
5478
|
# @!attribute [rw] api_id
|
5401
5479
|
# The identifier.
|
5402
5480
|
# @return [String]
|
@@ -5462,6 +5540,7 @@ module Aws::ApiGatewayV2
|
|
5462
5540
|
#
|
5463
5541
|
class ReimportApiResponse < Struct.new(
|
5464
5542
|
:api_endpoint,
|
5543
|
+
:api_gateway_managed,
|
5465
5544
|
:api_id,
|
5466
5545
|
:api_key_selection_expression,
|
5467
5546
|
:cors_configuration,
|
@@ -6211,6 +6290,9 @@ module Aws::ApiGatewayV2
|
|
6211
6290
|
# @!attribute [rw] api_endpoint
|
6212
6291
|
# @return [String]
|
6213
6292
|
#
|
6293
|
+
# @!attribute [rw] api_gateway_managed
|
6294
|
+
# @return [Boolean]
|
6295
|
+
#
|
6214
6296
|
# @!attribute [rw] api_id
|
6215
6297
|
# The identifier.
|
6216
6298
|
# @return [String]
|
@@ -6276,6 +6358,7 @@ module Aws::ApiGatewayV2
|
|
6276
6358
|
#
|
6277
6359
|
class UpdateApiResponse < Struct.new(
|
6278
6360
|
:api_endpoint,
|
6361
|
+
:api_gateway_managed,
|
6279
6362
|
:api_id,
|
6280
6363
|
:api_key_selection_expression,
|
6281
6364
|
:cors_configuration,
|
@@ -6732,6 +6815,16 @@ module Aws::ApiGatewayV2
|
|
6732
6815
|
# Specifies the integration's HTTP method type.
|
6733
6816
|
# @return [String]
|
6734
6817
|
#
|
6818
|
+
# @!attribute [rw] integration_subtype
|
6819
|
+
# Supported only for HTTP API AWS\_PROXY integrations. Specifies the
|
6820
|
+
# AWS service action to invoke. To learn more, see [Integration
|
6821
|
+
# subtype reference][1].
|
6822
|
+
#
|
6823
|
+
#
|
6824
|
+
#
|
6825
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html
|
6826
|
+
# @return [String]
|
6827
|
+
#
|
6735
6828
|
# @!attribute [rw] integration_type
|
6736
6829
|
# The integration type of an integration. One of the following:
|
6737
6830
|
#
|
@@ -6741,10 +6834,9 @@ module Aws::ApiGatewayV2
|
|
6741
6834
|
# custom integration. With any other AWS service action, this is known
|
6742
6835
|
# as AWS integration. Supported only for WebSocket APIs.
|
6743
6836
|
#
|
6744
|
-
# AWS\_PROXY: for integrating the route or method request with
|
6745
|
-
# Lambda function
|
6746
|
-
#
|
6747
|
-
# integration.
|
6837
|
+
# AWS\_PROXY: for integrating the route or method request with a
|
6838
|
+
# Lambda function or other AWS service action. This integration is
|
6839
|
+
# also referred to as a Lambda proxy integration.
|
6748
6840
|
#
|
6749
6841
|
# HTTP: for integrating the route or method request with an HTTP
|
6750
6842
|
# endpoint. This integration is also referred to as the HTTP custom
|
@@ -6803,16 +6895,26 @@ module Aws::ApiGatewayV2
|
|
6803
6895
|
# @return [String]
|
6804
6896
|
#
|
6805
6897
|
# @!attribute [rw] request_parameters
|
6806
|
-
#
|
6807
|
-
# the method request to the backend. The key is
|
6808
|
-
# parameter name and the associated value is a
|
6809
|
-
# parameter value or static value that must be enclosed
|
6810
|
-
# quotes and pre-encoded as required by the backend. The
|
6811
|
-
# request parameter value must match the pattern of
|
6898
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
6899
|
+
# that are passed from the method request to the backend. The key is
|
6900
|
+
# an integration request parameter name and the associated value is a
|
6901
|
+
# method request parameter value or static value that must be enclosed
|
6902
|
+
# within single quotes and pre-encoded as required by the backend. The
|
6903
|
+
# method request parameter value must match the pattern of
|
6812
6904
|
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
6813
6905
|
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
6814
|
-
# must be a valid and unique method request parameter name.
|
6815
|
-
#
|
6906
|
+
# must be a valid and unique method request parameter name.
|
6907
|
+
#
|
6908
|
+
# For HTTP APIs, request parameters are a key-value map specifying
|
6909
|
+
# parameters that are passed to AWS\_PROXY integrations with a
|
6910
|
+
# specified integrationSubtype. You can provide static values, or map
|
6911
|
+
# request data, stage variables, or context variables that are
|
6912
|
+
# evaluated at runtime. To learn more, see [Working with AWS service
|
6913
|
+
# integrations for HTTP APIs][1].
|
6914
|
+
#
|
6915
|
+
#
|
6916
|
+
#
|
6917
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
6816
6918
|
# @return [Hash<String,String>]
|
6817
6919
|
#
|
6818
6920
|
# @!attribute [rw] request_templates
|
@@ -6847,6 +6949,7 @@ module Aws::ApiGatewayV2
|
|
6847
6949
|
:credentials_arn,
|
6848
6950
|
:description,
|
6849
6951
|
:integration_method,
|
6952
|
+
:integration_subtype,
|
6850
6953
|
:integration_type,
|
6851
6954
|
:integration_uri,
|
6852
6955
|
:passthrough_behavior,
|
@@ -6872,6 +6975,7 @@ module Aws::ApiGatewayV2
|
|
6872
6975
|
# description: "StringWithLengthBetween0And1024",
|
6873
6976
|
# integration_id: "__string", # required
|
6874
6977
|
# integration_method: "StringWithLengthBetween1And64",
|
6978
|
+
# integration_subtype: "StringWithLengthBetween1And128",
|
6875
6979
|
# integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
|
6876
6980
|
# integration_uri: "UriWithLengthBetween1And2048",
|
6877
6981
|
# passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
|
@@ -6920,6 +7024,10 @@ module Aws::ApiGatewayV2
|
|
6920
7024
|
# A string with a length between \[1-64\].
|
6921
7025
|
# @return [String]
|
6922
7026
|
#
|
7027
|
+
# @!attribute [rw] integration_subtype
|
7028
|
+
# A string with a length between \[1-128\].
|
7029
|
+
# @return [String]
|
7030
|
+
#
|
6923
7031
|
# @!attribute [rw] integration_type
|
6924
7032
|
# Represents an API method integration type.
|
6925
7033
|
# @return [String]
|
@@ -6986,6 +7094,7 @@ module Aws::ApiGatewayV2
|
|
6986
7094
|
:description,
|
6987
7095
|
:integration_id,
|
6988
7096
|
:integration_method,
|
7097
|
+
:integration_subtype,
|
6989
7098
|
:integration_type,
|
6990
7099
|
:integration_uri,
|
6991
7100
|
:passthrough_behavior,
|
@@ -7040,6 +7149,10 @@ module Aws::ApiGatewayV2
|
|
7040
7149
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
|
7041
7150
|
# @return [String]
|
7042
7151
|
#
|
7152
|
+
# @!attribute [rw] integration_subtype
|
7153
|
+
# A string with a length between \[1-128\].
|
7154
|
+
# @return [String]
|
7155
|
+
#
|
7043
7156
|
# @!attribute [rw] integration_type
|
7044
7157
|
# Represents an API method integration type.
|
7045
7158
|
# @return [String]
|
@@ -7107,6 +7220,7 @@ module Aws::ApiGatewayV2
|
|
7107
7220
|
:integration_id,
|
7108
7221
|
:integration_method,
|
7109
7222
|
:integration_response_selection_expression,
|
7223
|
+
:integration_subtype,
|
7110
7224
|
:integration_type,
|
7111
7225
|
:integration_uri,
|
7112
7226
|
:passthrough_behavior,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-apigatewayv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|