aws-sdk-apigatewayv2 1.29.0 → 1.30.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 +1 -1
- data/lib/aws-sdk-apigatewayv2/client.rb +160 -45
- data/lib/aws-sdk-apigatewayv2/client_api.rb +12 -0
- data/lib/aws-sdk-apigatewayv2/types.rb +465 -140
- 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: bace2cfc3ca74901b9bf2aeea6f01f96911027742fdcd0595fc4b3e66d42f1ac
|
4
|
+
data.tar.gz: 56e6533a021cf64ea5250d7f101c3461ca7f2f610cb83bef7db948d9675d495d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f45500ea32152bc54a47a8dbf17bab4fbd42e4f9f288eb0e91644c57148ff202242d6c0e0aa87351ca6a3b2138d5b3269b4577ba05fae410c574fbdf0c3edbde
|
7
|
+
data.tar.gz: 3245afb75c604967654285a74f249bdea960f1283bbc298d79e47485dbbdffeb06ffef6c2537834f9ab64a75f755f721c5d89c3e843ad6297ccb49a177453a9d
|
data/lib/aws-sdk-apigatewayv2.rb
CHANGED
@@ -790,17 +790,42 @@ module Aws::ApiGatewayV2
|
|
790
790
|
# A string with a length between \[1-64\].
|
791
791
|
#
|
792
792
|
# @option params [Hash<String,String>] :request_parameters
|
793
|
-
#
|
794
|
-
#
|
795
|
-
# parameter name and the
|
796
|
-
#
|
797
|
-
#
|
798
|
-
# must match the pattern of
|
799
|
-
# name
|
800
|
-
#
|
801
|
-
#
|
802
|
-
#
|
803
|
-
#
|
793
|
+
# For WebSocket APIs, a key-value map specifying request parameters that
|
794
|
+
# are passed from the method request to the backend. The key is an
|
795
|
+
# integration request parameter name and the associated value is a
|
796
|
+
# method request parameter value or static value that must be enclosed
|
797
|
+
# within single quotes and pre-encoded as required by the backend. The
|
798
|
+
# method request parameter value must match the pattern of
|
799
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
800
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
801
|
+
# must be a valid and unique method request parameter name.
|
802
|
+
#
|
803
|
+
# For HTTP API integrations with a specified integrationSubtype, request
|
804
|
+
# parameters are a key-value map specifying parameters that are passed
|
805
|
+
# to AWS\_PROXY integrations. You can provide static values, or map
|
806
|
+
# request data, stage variables, or context variables that are evaluated
|
807
|
+
# at runtime. To learn more, see [Working with AWS service integrations
|
808
|
+
# for HTTP APIs][1].
|
809
|
+
#
|
810
|
+
# For HTTP API integrations without a specified integrationSubtype
|
811
|
+
# request parameters are a key-value map specifying how to transform
|
812
|
+
# HTTP requests before sending them to the backend. The key should
|
813
|
+
# follow the pattern
|
814
|
+
# <action>\:<header\|querystring\|path>.<location>
|
815
|
+
# where action can be append, overwrite or remove. For values, you can
|
816
|
+
# provide static values, or map request data, stage variables, or
|
817
|
+
# context variables that are evaluated at runtime. To learn more, see
|
818
|
+
# [Transforming API requests and responses][2].
|
819
|
+
#
|
820
|
+
#
|
821
|
+
#
|
822
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
823
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
824
|
+
#
|
825
|
+
# @option params [Hash<String,Hash>] :response_parameters
|
826
|
+
# Supported only for HTTP APIs. You use response parameters to transform
|
827
|
+
# the HTTP response from a backend integration before returning the
|
828
|
+
# response to clients.
|
804
829
|
#
|
805
830
|
# @option params [Hash<String,String>] :request_templates
|
806
831
|
# A mapping of identifier keys to templates. The value is an actual
|
@@ -840,6 +865,7 @@ module Aws::ApiGatewayV2
|
|
840
865
|
# * {Types::CreateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
841
866
|
# * {Types::CreateIntegrationResult#payload_format_version #payload_format_version} => String
|
842
867
|
# * {Types::CreateIntegrationResult#request_parameters #request_parameters} => Hash<String,String>
|
868
|
+
# * {Types::CreateIntegrationResult#response_parameters #response_parameters} => Hash<String,Hash<String,String>>
|
843
869
|
# * {Types::CreateIntegrationResult#request_templates #request_templates} => Hash<String,String>
|
844
870
|
# * {Types::CreateIntegrationResult#template_selection_expression #template_selection_expression} => String
|
845
871
|
# * {Types::CreateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
|
@@ -863,6 +889,11 @@ module Aws::ApiGatewayV2
|
|
863
889
|
# request_parameters: {
|
864
890
|
# "__string" => "StringWithLengthBetween1And512",
|
865
891
|
# },
|
892
|
+
# response_parameters: {
|
893
|
+
# "__string" => {
|
894
|
+
# "__string" => "StringWithLengthBetween1And512",
|
895
|
+
# },
|
896
|
+
# },
|
866
897
|
# request_templates: {
|
867
898
|
# "__string" => "StringWithLengthBetween0And32K",
|
868
899
|
# },
|
@@ -891,6 +922,9 @@ module Aws::ApiGatewayV2
|
|
891
922
|
# resp.payload_format_version #=> String
|
892
923
|
# resp.request_parameters #=> Hash
|
893
924
|
# resp.request_parameters["__string"] #=> String
|
925
|
+
# resp.response_parameters #=> Hash
|
926
|
+
# resp.response_parameters["__string"] #=> Hash
|
927
|
+
# resp.response_parameters["__string"]["__string"] #=> String
|
894
928
|
# resp.request_templates #=> Hash
|
895
929
|
# resp.request_templates["__string"] #=> String
|
896
930
|
# resp.template_selection_expression #=> String
|
@@ -925,17 +959,37 @@ module Aws::ApiGatewayV2
|
|
925
959
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
|
926
960
|
#
|
927
961
|
# @option params [Hash<String,String>] :response_parameters
|
928
|
-
#
|
929
|
-
#
|
930
|
-
# parameter name and the
|
931
|
-
#
|
932
|
-
#
|
933
|
-
# must match the pattern of
|
934
|
-
# name
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
938
|
-
#
|
962
|
+
# For WebSocket APIs, a key-value map specifying request parameters that
|
963
|
+
# are passed from the method request to the backend. The key is an
|
964
|
+
# integration request parameter name and the associated value is a
|
965
|
+
# method request parameter value or static value that must be enclosed
|
966
|
+
# within single quotes and pre-encoded as required by the backend. The
|
967
|
+
# method request parameter value must match the pattern of
|
968
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
969
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
970
|
+
# must be a valid and unique method request parameter name.
|
971
|
+
#
|
972
|
+
# For HTTP API integrations with a specified integrationSubtype, request
|
973
|
+
# parameters are a key-value map specifying parameters that are passed
|
974
|
+
# to AWS\_PROXY integrations. You can provide static values, or map
|
975
|
+
# request data, stage variables, or context variables that are evaluated
|
976
|
+
# at runtime. To learn more, see [Working with AWS service integrations
|
977
|
+
# for HTTP APIs][1].
|
978
|
+
#
|
979
|
+
# For HTTP API integrations without a specified integrationSubtype
|
980
|
+
# request parameters are a key-value map specifying how to transform
|
981
|
+
# HTTP requests before sending them to the backend. The key should
|
982
|
+
# follow the pattern
|
983
|
+
# <action>\:<header\|querystring\|path>.<location>
|
984
|
+
# where action can be append, overwrite or remove. For values, you can
|
985
|
+
# provide static values, or map request data, stage variables, or
|
986
|
+
# context variables that are evaluated at runtime. To learn more, see
|
987
|
+
# [Transforming API requests and responses][2].
|
988
|
+
#
|
989
|
+
#
|
990
|
+
#
|
991
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
992
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
939
993
|
#
|
940
994
|
# @option params [Hash<String,String>] :response_templates
|
941
995
|
# A mapping of identifier keys to templates. The value is an actual
|
@@ -2330,6 +2384,7 @@ module Aws::ApiGatewayV2
|
|
2330
2384
|
# * {Types::GetIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
2331
2385
|
# * {Types::GetIntegrationResult#payload_format_version #payload_format_version} => String
|
2332
2386
|
# * {Types::GetIntegrationResult#request_parameters #request_parameters} => Hash<String,String>
|
2387
|
+
# * {Types::GetIntegrationResult#response_parameters #response_parameters} => Hash<String,Hash<String,String>>
|
2333
2388
|
# * {Types::GetIntegrationResult#request_templates #request_templates} => Hash<String,String>
|
2334
2389
|
# * {Types::GetIntegrationResult#template_selection_expression #template_selection_expression} => String
|
2335
2390
|
# * {Types::GetIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
|
@@ -2360,6 +2415,9 @@ module Aws::ApiGatewayV2
|
|
2360
2415
|
# resp.payload_format_version #=> String
|
2361
2416
|
# resp.request_parameters #=> Hash
|
2362
2417
|
# resp.request_parameters["__string"] #=> String
|
2418
|
+
# resp.response_parameters #=> Hash
|
2419
|
+
# resp.response_parameters["__string"] #=> Hash
|
2420
|
+
# resp.response_parameters["__string"]["__string"] #=> String
|
2363
2421
|
# resp.request_templates #=> Hash
|
2364
2422
|
# resp.request_templates["__string"] #=> String
|
2365
2423
|
# resp.template_selection_expression #=> String
|
@@ -2500,6 +2558,9 @@ module Aws::ApiGatewayV2
|
|
2500
2558
|
# resp.items[0].payload_format_version #=> String
|
2501
2559
|
# resp.items[0].request_parameters #=> Hash
|
2502
2560
|
# resp.items[0].request_parameters["__string"] #=> String
|
2561
|
+
# resp.items[0].response_parameters #=> Hash
|
2562
|
+
# resp.items[0].response_parameters["__string"] #=> Hash
|
2563
|
+
# resp.items[0].response_parameters["__string"]["__string"] #=> String
|
2503
2564
|
# resp.items[0].request_templates #=> Hash
|
2504
2565
|
# resp.items[0].request_templates["__string"] #=> String
|
2505
2566
|
# resp.items[0].template_selection_expression #=> String
|
@@ -3693,17 +3754,42 @@ module Aws::ApiGatewayV2
|
|
3693
3754
|
# A string with a length between \[1-64\].
|
3694
3755
|
#
|
3695
3756
|
# @option params [Hash<String,String>] :request_parameters
|
3696
|
-
#
|
3697
|
-
#
|
3698
|
-
# parameter name and the
|
3699
|
-
#
|
3700
|
-
#
|
3701
|
-
# must match the pattern of
|
3702
|
-
# name
|
3703
|
-
#
|
3704
|
-
#
|
3705
|
-
#
|
3706
|
-
#
|
3757
|
+
# For WebSocket APIs, a key-value map specifying request parameters that
|
3758
|
+
# are passed from the method request to the backend. The key is an
|
3759
|
+
# integration request parameter name and the associated value is a
|
3760
|
+
# method request parameter value or static value that must be enclosed
|
3761
|
+
# within single quotes and pre-encoded as required by the backend. The
|
3762
|
+
# method request parameter value must match the pattern of
|
3763
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
3764
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
3765
|
+
# must be a valid and unique method request parameter name.
|
3766
|
+
#
|
3767
|
+
# For HTTP API integrations with a specified integrationSubtype, request
|
3768
|
+
# parameters are a key-value map specifying parameters that are passed
|
3769
|
+
# to AWS\_PROXY integrations. You can provide static values, or map
|
3770
|
+
# request data, stage variables, or context variables that are evaluated
|
3771
|
+
# at runtime. To learn more, see [Working with AWS service integrations
|
3772
|
+
# for HTTP APIs][1].
|
3773
|
+
#
|
3774
|
+
# For HTTP API integrations without a specified integrationSubtype
|
3775
|
+
# request parameters are a key-value map specifying how to transform
|
3776
|
+
# HTTP requests before sending them to the backend. The key should
|
3777
|
+
# follow the pattern
|
3778
|
+
# <action>\:<header\|querystring\|path>.<location>
|
3779
|
+
# where action can be append, overwrite or remove. For values, you can
|
3780
|
+
# provide static values, or map request data, stage variables, or
|
3781
|
+
# context variables that are evaluated at runtime. To learn more, see
|
3782
|
+
# [Transforming API requests and responses][2].
|
3783
|
+
#
|
3784
|
+
#
|
3785
|
+
#
|
3786
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
3787
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
3788
|
+
#
|
3789
|
+
# @option params [Hash<String,Hash>] :response_parameters
|
3790
|
+
# Supported only for HTTP APIs. You use response parameters to transform
|
3791
|
+
# the HTTP response from a backend integration before returning the
|
3792
|
+
# response to clients.
|
3707
3793
|
#
|
3708
3794
|
# @option params [Hash<String,String>] :request_templates
|
3709
3795
|
# A mapping of identifier keys to templates. The value is an actual
|
@@ -3743,6 +3829,7 @@ module Aws::ApiGatewayV2
|
|
3743
3829
|
# * {Types::UpdateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
3744
3830
|
# * {Types::UpdateIntegrationResult#payload_format_version #payload_format_version} => String
|
3745
3831
|
# * {Types::UpdateIntegrationResult#request_parameters #request_parameters} => Hash<String,String>
|
3832
|
+
# * {Types::UpdateIntegrationResult#response_parameters #response_parameters} => Hash<String,Hash<String,String>>
|
3746
3833
|
# * {Types::UpdateIntegrationResult#request_templates #request_templates} => Hash<String,String>
|
3747
3834
|
# * {Types::UpdateIntegrationResult#template_selection_expression #template_selection_expression} => String
|
3748
3835
|
# * {Types::UpdateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
|
@@ -3767,6 +3854,11 @@ module Aws::ApiGatewayV2
|
|
3767
3854
|
# request_parameters: {
|
3768
3855
|
# "__string" => "StringWithLengthBetween1And512",
|
3769
3856
|
# },
|
3857
|
+
# response_parameters: {
|
3858
|
+
# "__string" => {
|
3859
|
+
# "__string" => "StringWithLengthBetween1And512",
|
3860
|
+
# },
|
3861
|
+
# },
|
3770
3862
|
# request_templates: {
|
3771
3863
|
# "__string" => "StringWithLengthBetween0And32K",
|
3772
3864
|
# },
|
@@ -3795,6 +3887,9 @@ module Aws::ApiGatewayV2
|
|
3795
3887
|
# resp.payload_format_version #=> String
|
3796
3888
|
# resp.request_parameters #=> Hash
|
3797
3889
|
# resp.request_parameters["__string"] #=> String
|
3890
|
+
# resp.response_parameters #=> Hash
|
3891
|
+
# resp.response_parameters["__string"] #=> Hash
|
3892
|
+
# resp.response_parameters["__string"]["__string"] #=> String
|
3798
3893
|
# resp.request_templates #=> Hash
|
3799
3894
|
# resp.request_templates["__string"] #=> String
|
3800
3895
|
# resp.template_selection_expression #=> String
|
@@ -3831,17 +3926,37 @@ module Aws::ApiGatewayV2
|
|
3831
3926
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
|
3832
3927
|
#
|
3833
3928
|
# @option params [Hash<String,String>] :response_parameters
|
3834
|
-
#
|
3835
|
-
#
|
3836
|
-
# parameter name and the
|
3837
|
-
#
|
3838
|
-
#
|
3839
|
-
# must match the pattern of
|
3840
|
-
# name
|
3841
|
-
#
|
3842
|
-
#
|
3843
|
-
#
|
3844
|
-
#
|
3929
|
+
# For WebSocket APIs, a key-value map specifying request parameters that
|
3930
|
+
# are passed from the method request to the backend. The key is an
|
3931
|
+
# integration request parameter name and the associated value is a
|
3932
|
+
# method request parameter value or static value that must be enclosed
|
3933
|
+
# within single quotes and pre-encoded as required by the backend. The
|
3934
|
+
# method request parameter value must match the pattern of
|
3935
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
3936
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
3937
|
+
# must be a valid and unique method request parameter name.
|
3938
|
+
#
|
3939
|
+
# For HTTP API integrations with a specified integrationSubtype, request
|
3940
|
+
# parameters are a key-value map specifying parameters that are passed
|
3941
|
+
# to AWS\_PROXY integrations. You can provide static values, or map
|
3942
|
+
# request data, stage variables, or context variables that are evaluated
|
3943
|
+
# at runtime. To learn more, see [Working with AWS service integrations
|
3944
|
+
# for HTTP APIs][1].
|
3945
|
+
#
|
3946
|
+
# For HTTP API integrations without a specified integrationSubtype
|
3947
|
+
# request parameters are a key-value map specifying how to transform
|
3948
|
+
# HTTP requests before sending them to the backend. The key should
|
3949
|
+
# follow the pattern
|
3950
|
+
# <action>\:<header\|querystring\|path>.<location>
|
3951
|
+
# where action can be append, overwrite or remove. For values, you can
|
3952
|
+
# provide static values, or map request data, stage variables, or
|
3953
|
+
# context variables that are evaluated at runtime. To learn more, see
|
3954
|
+
# [Transforming API requests and responses][2].
|
3955
|
+
#
|
3956
|
+
#
|
3957
|
+
#
|
3958
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
3959
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
3845
3960
|
#
|
3846
3961
|
# @option params [Hash<String,String>] :response_templates
|
3847
3962
|
# A mapping of identifier keys to templates. The value is an actual
|
@@ -4336,7 +4451,7 @@ module Aws::ApiGatewayV2
|
|
4336
4451
|
params: params,
|
4337
4452
|
config: config)
|
4338
4453
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
4339
|
-
context[:gem_version] = '1.
|
4454
|
+
context[:gem_version] = '1.30.0'
|
4340
4455
|
Seahorse::Client::Request.new(handlers, context)
|
4341
4456
|
end
|
4342
4457
|
|
@@ -180,6 +180,7 @@ module Aws::ApiGatewayV2
|
|
180
180
|
ReimportApiRequest = Shapes::StructureShape.new(name: 'ReimportApiRequest')
|
181
181
|
ReimportApiResponse = Shapes::StructureShape.new(name: 'ReimportApiResponse')
|
182
182
|
ResetAuthorizersCacheRequest = Shapes::StructureShape.new(name: 'ResetAuthorizersCacheRequest')
|
183
|
+
ResponseParameters = Shapes::MapShape.new(name: 'ResponseParameters')
|
183
184
|
Route = Shapes::StructureShape.new(name: 'Route')
|
184
185
|
RouteModels = Shapes::MapShape.new(name: 'RouteModels')
|
185
186
|
RouteParameters = Shapes::MapShape.new(name: 'RouteParameters')
|
@@ -506,6 +507,7 @@ module Aws::ApiGatewayV2
|
|
506
507
|
CreateIntegrationInput.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
507
508
|
CreateIntegrationInput.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
508
509
|
CreateIntegrationInput.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
510
|
+
CreateIntegrationInput.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
509
511
|
CreateIntegrationInput.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
510
512
|
CreateIntegrationInput.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
511
513
|
CreateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -525,6 +527,7 @@ module Aws::ApiGatewayV2
|
|
525
527
|
CreateIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
526
528
|
CreateIntegrationRequest.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
527
529
|
CreateIntegrationRequest.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
530
|
+
CreateIntegrationRequest.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
528
531
|
CreateIntegrationRequest.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
529
532
|
CreateIntegrationRequest.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
530
533
|
CreateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -570,6 +573,7 @@ module Aws::ApiGatewayV2
|
|
570
573
|
CreateIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
571
574
|
CreateIntegrationResult.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
572
575
|
CreateIntegrationResult.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
576
|
+
CreateIntegrationResult.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
573
577
|
CreateIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
574
578
|
CreateIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
575
579
|
CreateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -993,6 +997,7 @@ module Aws::ApiGatewayV2
|
|
993
997
|
GetIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
994
998
|
GetIntegrationResult.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
995
999
|
GetIntegrationResult.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1000
|
+
GetIntegrationResult.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
996
1001
|
GetIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
997
1002
|
GetIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
998
1003
|
GetIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -1185,6 +1190,7 @@ module Aws::ApiGatewayV2
|
|
1185
1190
|
Integration.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
1186
1191
|
Integration.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
1187
1192
|
Integration.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1193
|
+
Integration.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
1188
1194
|
Integration.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1189
1195
|
Integration.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1190
1196
|
Integration.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -1276,6 +1282,9 @@ module Aws::ApiGatewayV2
|
|
1276
1282
|
ResetAuthorizersCacheRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "stageName"))
|
1277
1283
|
ResetAuthorizersCacheRequest.struct_class = Types::ResetAuthorizersCacheRequest
|
1278
1284
|
|
1285
|
+
ResponseParameters.key = Shapes::ShapeRef.new(shape: __string)
|
1286
|
+
ResponseParameters.value = Shapes::ShapeRef.new(shape: IntegrationParameters)
|
1287
|
+
|
1279
1288
|
Route.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
|
1280
1289
|
Route.add_member(:api_key_required, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiKeyRequired"))
|
1281
1290
|
Route.add_member(:authorization_scopes, Shapes::ShapeRef.new(shape: AuthorizationScopes, location_name: "authorizationScopes"))
|
@@ -1527,6 +1536,7 @@ module Aws::ApiGatewayV2
|
|
1527
1536
|
UpdateIntegrationInput.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
1528
1537
|
UpdateIntegrationInput.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
1529
1538
|
UpdateIntegrationInput.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1539
|
+
UpdateIntegrationInput.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
1530
1540
|
UpdateIntegrationInput.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1531
1541
|
UpdateIntegrationInput.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1532
1542
|
UpdateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -1547,6 +1557,7 @@ module Aws::ApiGatewayV2
|
|
1547
1557
|
UpdateIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
1548
1558
|
UpdateIntegrationRequest.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
1549
1559
|
UpdateIntegrationRequest.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1560
|
+
UpdateIntegrationRequest.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
1550
1561
|
UpdateIntegrationRequest.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1551
1562
|
UpdateIntegrationRequest.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1552
1563
|
UpdateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -1593,6 +1604,7 @@ module Aws::ApiGatewayV2
|
|
1593
1604
|
UpdateIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
1594
1605
|
UpdateIntegrationResult.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
1595
1606
|
UpdateIntegrationResult.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1607
|
+
UpdateIntegrationResult.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
1596
1608
|
UpdateIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1597
1609
|
UpdateIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1598
1610
|
UpdateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -1490,18 +1490,47 @@ module Aws::ApiGatewayV2
|
|
1490
1490
|
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
1491
1491
|
# must be a valid and unique method request parameter name.
|
1492
1492
|
#
|
1493
|
-
# For HTTP
|
1494
|
-
# parameters
|
1495
|
-
#
|
1496
|
-
# request data, stage variables, or context variables
|
1497
|
-
# evaluated at runtime. To learn more, see [Working with AWS
|
1498
|
-
# integrations for HTTP APIs][1].
|
1493
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
1494
|
+
# request parameters are a key-value map specifying parameters that
|
1495
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
1496
|
+
# values, or map request data, stage variables, or context variables
|
1497
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
1498
|
+
# service integrations for HTTP APIs][1].
|
1499
|
+
#
|
1500
|
+
# For HTTP API integrations without a specified integrationSubtype
|
1501
|
+
# request parameters are a key-value map specifying how to transform
|
1502
|
+
# HTTP requests before sending them to the backend. The key should
|
1503
|
+
# follow the pattern
|
1504
|
+
# <action>\:<header\|querystring\|path>.<location>
|
1505
|
+
# where action can be append, overwrite or remove. For values, you can
|
1506
|
+
# provide static values, or map request data, stage variables, or
|
1507
|
+
# context variables that are evaluated at runtime. To learn more, see
|
1508
|
+
# [Transforming API requests and responses][2].
|
1499
1509
|
#
|
1500
1510
|
#
|
1501
1511
|
#
|
1502
1512
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
1513
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1503
1514
|
# @return [Hash<String,String>]
|
1504
1515
|
#
|
1516
|
+
# @!attribute [rw] response_parameters
|
1517
|
+
# Supported only for HTTP APIs. You use response parameters to
|
1518
|
+
# transform the HTTP response from a backend integration before
|
1519
|
+
# returning the response to clients. Specify a key-value map from a
|
1520
|
+
# selection key to response parameters. The selection key must be a
|
1521
|
+
# valid HTTP status code within the range of 200-599. Response
|
1522
|
+
# parameters are a key-value map. The key must match pattern
|
1523
|
+
# <action>\:<header>.<location> or
|
1524
|
+
# overwrite.statuscode. The action can be append, overwrite or remove.
|
1525
|
+
# The value can be a static value, or map to response data, stage
|
1526
|
+
# variables, or context variables that are evaluated at runtime. To
|
1527
|
+
# learn more, see [Transforming API requests and responses][1].
|
1528
|
+
#
|
1529
|
+
#
|
1530
|
+
#
|
1531
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1532
|
+
# @return [Hash<String,Hash<String,String>>]
|
1533
|
+
#
|
1505
1534
|
# @!attribute [rw] request_templates
|
1506
1535
|
# Represents a map of Velocity templates that are applied on the
|
1507
1536
|
# request payload based on the value of the Content-Type header sent
|
@@ -1540,6 +1569,7 @@ module Aws::ApiGatewayV2
|
|
1540
1569
|
:passthrough_behavior,
|
1541
1570
|
:payload_format_version,
|
1542
1571
|
:request_parameters,
|
1572
|
+
:response_parameters,
|
1543
1573
|
:request_templates,
|
1544
1574
|
:template_selection_expression,
|
1545
1575
|
:timeout_in_millis,
|
@@ -1567,6 +1597,11 @@ module Aws::ApiGatewayV2
|
|
1567
1597
|
# request_parameters: {
|
1568
1598
|
# "__string" => "StringWithLengthBetween1And512",
|
1569
1599
|
# },
|
1600
|
+
# response_parameters: {
|
1601
|
+
# "__string" => {
|
1602
|
+
# "__string" => "StringWithLengthBetween1And512",
|
1603
|
+
# },
|
1604
|
+
# },
|
1570
1605
|
# request_templates: {
|
1571
1606
|
# "__string" => "StringWithLengthBetween0And32K",
|
1572
1607
|
# },
|
@@ -1627,20 +1662,45 @@ module Aws::ApiGatewayV2
|
|
1627
1662
|
# @return [String]
|
1628
1663
|
#
|
1629
1664
|
# @!attribute [rw] request_parameters
|
1630
|
-
#
|
1631
|
-
# the method
|
1632
|
-
#
|
1633
|
-
#
|
1634
|
-
# single quotes
|
1635
|
-
#
|
1636
|
-
# method.
|
1637
|
-
#
|
1638
|
-
#
|
1639
|
-
#
|
1640
|
-
#
|
1641
|
-
#
|
1665
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
1666
|
+
# that are passed from the method request to the backend. The key is
|
1667
|
+
# an integration request parameter name and the associated value is a
|
1668
|
+
# method request parameter value or static value that must be enclosed
|
1669
|
+
# within single quotes and pre-encoded as required by the backend. The
|
1670
|
+
# method request parameter value must match the pattern of
|
1671
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
1672
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
1673
|
+
# must be a valid and unique method request parameter name.
|
1674
|
+
#
|
1675
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
1676
|
+
# request parameters are a key-value map specifying parameters that
|
1677
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
1678
|
+
# values, or map request data, stage variables, or context variables
|
1679
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
1680
|
+
# service integrations for HTTP APIs][1].
|
1681
|
+
#
|
1682
|
+
# For HTTP API integrations without a specified integrationSubtype
|
1683
|
+
# request parameters are a key-value map specifying how to transform
|
1684
|
+
# HTTP requests before sending them to the backend. The key should
|
1685
|
+
# follow the pattern
|
1686
|
+
# <action>\:<header\|querystring\|path>.<location>
|
1687
|
+
# where action can be append, overwrite or remove. For values, you can
|
1688
|
+
# provide static values, or map request data, stage variables, or
|
1689
|
+
# context variables that are evaluated at runtime. To learn more, see
|
1690
|
+
# [Transforming API requests and responses][2].
|
1691
|
+
#
|
1692
|
+
#
|
1693
|
+
#
|
1694
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
1695
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1642
1696
|
# @return [Hash<String,String>]
|
1643
1697
|
#
|
1698
|
+
# @!attribute [rw] response_parameters
|
1699
|
+
# Supported only for HTTP APIs. You use response parameters to
|
1700
|
+
# transform the HTTP response from a backend integration before
|
1701
|
+
# returning the response to clients.
|
1702
|
+
# @return [Hash<String,Hash<String,String>>]
|
1703
|
+
#
|
1644
1704
|
# @!attribute [rw] request_templates
|
1645
1705
|
# A mapping of identifier keys to templates. The value is an actual
|
1646
1706
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -1680,6 +1740,7 @@ module Aws::ApiGatewayV2
|
|
1680
1740
|
:passthrough_behavior,
|
1681
1741
|
:payload_format_version,
|
1682
1742
|
:request_parameters,
|
1743
|
+
:response_parameters,
|
1683
1744
|
:request_templates,
|
1684
1745
|
:template_selection_expression,
|
1685
1746
|
:timeout_in_millis,
|
@@ -1751,20 +1812,45 @@ module Aws::ApiGatewayV2
|
|
1751
1812
|
# @return [String]
|
1752
1813
|
#
|
1753
1814
|
# @!attribute [rw] request_parameters
|
1754
|
-
#
|
1755
|
-
# the method
|
1756
|
-
#
|
1757
|
-
#
|
1758
|
-
# single quotes
|
1759
|
-
#
|
1760
|
-
# method.
|
1761
|
-
#
|
1762
|
-
#
|
1763
|
-
#
|
1764
|
-
#
|
1765
|
-
#
|
1815
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
1816
|
+
# that are passed from the method request to the backend. The key is
|
1817
|
+
# an integration request parameter name and the associated value is a
|
1818
|
+
# method request parameter value or static value that must be enclosed
|
1819
|
+
# within single quotes and pre-encoded as required by the backend. The
|
1820
|
+
# method request parameter value must match the pattern of
|
1821
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
1822
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
1823
|
+
# must be a valid and unique method request parameter name.
|
1824
|
+
#
|
1825
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
1826
|
+
# request parameters are a key-value map specifying parameters that
|
1827
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
1828
|
+
# values, or map request data, stage variables, or context variables
|
1829
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
1830
|
+
# service integrations for HTTP APIs][1].
|
1831
|
+
#
|
1832
|
+
# For HTTP API integrations without a specified integrationSubtype
|
1833
|
+
# request parameters are a key-value map specifying how to transform
|
1834
|
+
# HTTP requests before sending them to the backend. The key should
|
1835
|
+
# follow the pattern
|
1836
|
+
# <action>\:<header\|querystring\|path>.<location>
|
1837
|
+
# where action can be append, overwrite or remove. For values, you can
|
1838
|
+
# provide static values, or map request data, stage variables, or
|
1839
|
+
# context variables that are evaluated at runtime. To learn more, see
|
1840
|
+
# [Transforming API requests and responses][2].
|
1841
|
+
#
|
1842
|
+
#
|
1843
|
+
#
|
1844
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
1845
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1766
1846
|
# @return [Hash<String,String>]
|
1767
1847
|
#
|
1848
|
+
# @!attribute [rw] response_parameters
|
1849
|
+
# Supported only for HTTP APIs. You use response parameters to
|
1850
|
+
# transform the HTTP response from a backend integration before
|
1851
|
+
# returning the response to clients.
|
1852
|
+
# @return [Hash<String,Hash<String,String>>]
|
1853
|
+
#
|
1768
1854
|
# @!attribute [rw] request_templates
|
1769
1855
|
# A mapping of identifier keys to templates. The value is an actual
|
1770
1856
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -1806,6 +1892,7 @@ module Aws::ApiGatewayV2
|
|
1806
1892
|
:passthrough_behavior,
|
1807
1893
|
:payload_format_version,
|
1808
1894
|
:request_parameters,
|
1895
|
+
:response_parameters,
|
1809
1896
|
:request_templates,
|
1810
1897
|
:template_selection_expression,
|
1811
1898
|
:timeout_in_millis,
|
@@ -1915,18 +2002,37 @@ module Aws::ApiGatewayV2
|
|
1915
2002
|
# @return [String]
|
1916
2003
|
#
|
1917
2004
|
# @!attribute [rw] response_parameters
|
1918
|
-
#
|
1919
|
-
# the method
|
1920
|
-
#
|
1921
|
-
#
|
1922
|
-
# single quotes
|
1923
|
-
#
|
1924
|
-
# method.
|
1925
|
-
#
|
1926
|
-
#
|
1927
|
-
#
|
1928
|
-
#
|
1929
|
-
#
|
2005
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
2006
|
+
# that are passed from the method request to the backend. The key is
|
2007
|
+
# an integration request parameter name and the associated value is a
|
2008
|
+
# method request parameter value or static value that must be enclosed
|
2009
|
+
# within single quotes and pre-encoded as required by the backend. The
|
2010
|
+
# method request parameter value must match the pattern of
|
2011
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
2012
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
2013
|
+
# must be a valid and unique method request parameter name.
|
2014
|
+
#
|
2015
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
2016
|
+
# request parameters are a key-value map specifying parameters that
|
2017
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
2018
|
+
# values, or map request data, stage variables, or context variables
|
2019
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
2020
|
+
# service integrations for HTTP APIs][1].
|
2021
|
+
#
|
2022
|
+
# For HTTP API integrations without a specified integrationSubtype
|
2023
|
+
# request parameters are a key-value map specifying how to transform
|
2024
|
+
# HTTP requests before sending them to the backend. The key should
|
2025
|
+
# follow the pattern
|
2026
|
+
# <action>\:<header\|querystring\|path>.<location>
|
2027
|
+
# where action can be append, overwrite or remove. For values, you can
|
2028
|
+
# provide static values, or map request data, stage variables, or
|
2029
|
+
# context variables that are evaluated at runtime. To learn more, see
|
2030
|
+
# [Transforming API requests and responses][2].
|
2031
|
+
#
|
2032
|
+
#
|
2033
|
+
#
|
2034
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
2035
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1930
2036
|
# @return [Hash<String,String>]
|
1931
2037
|
#
|
1932
2038
|
# @!attribute [rw] response_templates
|
@@ -1977,18 +2083,37 @@ module Aws::ApiGatewayV2
|
|
1977
2083
|
# @return [String]
|
1978
2084
|
#
|
1979
2085
|
# @!attribute [rw] response_parameters
|
1980
|
-
#
|
1981
|
-
# the method
|
1982
|
-
#
|
1983
|
-
#
|
1984
|
-
# single quotes
|
1985
|
-
#
|
1986
|
-
# method.
|
1987
|
-
#
|
1988
|
-
#
|
1989
|
-
#
|
1990
|
-
#
|
1991
|
-
#
|
2086
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
2087
|
+
# that are passed from the method request to the backend. The key is
|
2088
|
+
# an integration request parameter name and the associated value is a
|
2089
|
+
# method request parameter value or static value that must be enclosed
|
2090
|
+
# within single quotes and pre-encoded as required by the backend. The
|
2091
|
+
# method request parameter value must match the pattern of
|
2092
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
2093
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
2094
|
+
# must be a valid and unique method request parameter name.
|
2095
|
+
#
|
2096
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
2097
|
+
# request parameters are a key-value map specifying parameters that
|
2098
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
2099
|
+
# values, or map request data, stage variables, or context variables
|
2100
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
2101
|
+
# service integrations for HTTP APIs][1].
|
2102
|
+
#
|
2103
|
+
# For HTTP API integrations without a specified integrationSubtype
|
2104
|
+
# request parameters are a key-value map specifying how to transform
|
2105
|
+
# HTTP requests before sending them to the backend. The key should
|
2106
|
+
# follow the pattern
|
2107
|
+
# <action>\:<header\|querystring\|path>.<location>
|
2108
|
+
# where action can be append, overwrite or remove. For values, you can
|
2109
|
+
# provide static values, or map request data, stage variables, or
|
2110
|
+
# context variables that are evaluated at runtime. To learn more, see
|
2111
|
+
# [Transforming API requests and responses][2].
|
2112
|
+
#
|
2113
|
+
#
|
2114
|
+
#
|
2115
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
2116
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1992
2117
|
# @return [Hash<String,String>]
|
1993
2118
|
#
|
1994
2119
|
# @!attribute [rw] response_templates
|
@@ -4119,20 +4244,45 @@ module Aws::ApiGatewayV2
|
|
4119
4244
|
# @return [String]
|
4120
4245
|
#
|
4121
4246
|
# @!attribute [rw] request_parameters
|
4122
|
-
#
|
4123
|
-
# the method
|
4124
|
-
#
|
4125
|
-
#
|
4126
|
-
# single quotes
|
4127
|
-
#
|
4128
|
-
# method.
|
4129
|
-
#
|
4130
|
-
#
|
4131
|
-
#
|
4132
|
-
#
|
4133
|
-
#
|
4247
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
4248
|
+
# that are passed from the method request to the backend. The key is
|
4249
|
+
# an integration request parameter name and the associated value is a
|
4250
|
+
# method request parameter value or static value that must be enclosed
|
4251
|
+
# within single quotes and pre-encoded as required by the backend. The
|
4252
|
+
# method request parameter value must match the pattern of
|
4253
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
4254
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
4255
|
+
# must be a valid and unique method request parameter name.
|
4256
|
+
#
|
4257
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
4258
|
+
# request parameters are a key-value map specifying parameters that
|
4259
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
4260
|
+
# values, or map request data, stage variables, or context variables
|
4261
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
4262
|
+
# service integrations for HTTP APIs][1].
|
4263
|
+
#
|
4264
|
+
# For HTTP API integrations without a specified integrationSubtype
|
4265
|
+
# request parameters are a key-value map specifying how to transform
|
4266
|
+
# HTTP requests before sending them to the backend. The key should
|
4267
|
+
# follow the pattern
|
4268
|
+
# <action>\:<header\|querystring\|path>.<location>
|
4269
|
+
# where action can be append, overwrite or remove. For values, you can
|
4270
|
+
# provide static values, or map request data, stage variables, or
|
4271
|
+
# context variables that are evaluated at runtime. To learn more, see
|
4272
|
+
# [Transforming API requests and responses][2].
|
4273
|
+
#
|
4274
|
+
#
|
4275
|
+
#
|
4276
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
4277
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
4134
4278
|
# @return [Hash<String,String>]
|
4135
4279
|
#
|
4280
|
+
# @!attribute [rw] response_parameters
|
4281
|
+
# Supported only for HTTP APIs. You use response parameters to
|
4282
|
+
# transform the HTTP response from a backend integration before
|
4283
|
+
# returning the response to clients.
|
4284
|
+
# @return [Hash<String,Hash<String,String>>]
|
4285
|
+
#
|
4136
4286
|
# @!attribute [rw] request_templates
|
4137
4287
|
# A mapping of identifier keys to templates. The value is an actual
|
4138
4288
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -4174,6 +4324,7 @@ module Aws::ApiGatewayV2
|
|
4174
4324
|
:passthrough_behavior,
|
4175
4325
|
:payload_format_version,
|
4176
4326
|
:request_parameters,
|
4327
|
+
:response_parameters,
|
4177
4328
|
:request_templates,
|
4178
4329
|
:template_selection_expression,
|
4179
4330
|
:timeout_in_millis,
|
@@ -4229,18 +4380,37 @@ module Aws::ApiGatewayV2
|
|
4229
4380
|
# @return [String]
|
4230
4381
|
#
|
4231
4382
|
# @!attribute [rw] response_parameters
|
4232
|
-
#
|
4233
|
-
# the method
|
4234
|
-
#
|
4235
|
-
#
|
4236
|
-
# single quotes
|
4237
|
-
#
|
4238
|
-
# method.
|
4239
|
-
#
|
4240
|
-
#
|
4241
|
-
#
|
4242
|
-
#
|
4243
|
-
#
|
4383
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
4384
|
+
# that are passed from the method request to the backend. The key is
|
4385
|
+
# an integration request parameter name and the associated value is a
|
4386
|
+
# method request parameter value or static value that must be enclosed
|
4387
|
+
# within single quotes and pre-encoded as required by the backend. The
|
4388
|
+
# method request parameter value must match the pattern of
|
4389
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
4390
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
4391
|
+
# must be a valid and unique method request parameter name.
|
4392
|
+
#
|
4393
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
4394
|
+
# request parameters are a key-value map specifying parameters that
|
4395
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
4396
|
+
# values, or map request data, stage variables, or context variables
|
4397
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
4398
|
+
# service integrations for HTTP APIs][1].
|
4399
|
+
#
|
4400
|
+
# For HTTP API integrations without a specified integrationSubtype
|
4401
|
+
# request parameters are a key-value map specifying how to transform
|
4402
|
+
# HTTP requests before sending them to the backend. The key should
|
4403
|
+
# follow the pattern
|
4404
|
+
# <action>\:<header\|querystring\|path>.<location>
|
4405
|
+
# where action can be append, overwrite or remove. For values, you can
|
4406
|
+
# provide static values, or map request data, stage variables, or
|
4407
|
+
# context variables that are evaluated at runtime. To learn more, see
|
4408
|
+
# [Transforming API requests and responses][2].
|
4409
|
+
#
|
4410
|
+
#
|
4411
|
+
#
|
4412
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
4413
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
4244
4414
|
# @return [Hash<String,String>]
|
4245
4415
|
#
|
4246
4416
|
# @!attribute [rw] response_templates
|
@@ -5299,18 +5469,47 @@ module Aws::ApiGatewayV2
|
|
5299
5469
|
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
5300
5470
|
# must be a valid and unique method request parameter name.
|
5301
5471
|
#
|
5302
|
-
# For HTTP
|
5303
|
-
# parameters
|
5304
|
-
#
|
5305
|
-
# request data, stage variables, or context variables
|
5306
|
-
# evaluated at runtime. To learn more, see [Working with AWS
|
5307
|
-
# integrations for HTTP APIs][1].
|
5472
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
5473
|
+
# request parameters are a key-value map specifying parameters that
|
5474
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
5475
|
+
# values, or map request data, stage variables, or context variables
|
5476
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
5477
|
+
# service integrations for HTTP APIs][1].
|
5478
|
+
#
|
5479
|
+
# For HTTP API itegrations, without a specified integrationSubtype
|
5480
|
+
# request parameters are a key-value map specifying how to transform
|
5481
|
+
# HTTP requests before sending them to backend integrations. The key
|
5482
|
+
# should follow the pattern
|
5483
|
+
# <action>\:<header\|querystring\|path>.<location>.
|
5484
|
+
# The action can be append, overwrite or remove. For values, you can
|
5485
|
+
# provide static values, or map request data, stage variables, or
|
5486
|
+
# context variables that are evaluated at runtime. To learn more, see
|
5487
|
+
# [Transforming API requests and responses][2].
|
5308
5488
|
#
|
5309
5489
|
#
|
5310
5490
|
#
|
5311
5491
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
5492
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
5312
5493
|
# @return [Hash<String,String>]
|
5313
5494
|
#
|
5495
|
+
# @!attribute [rw] response_parameters
|
5496
|
+
# Supported only for HTTP APIs. You use response parameters to
|
5497
|
+
# transform the HTTP response from a backend integration before
|
5498
|
+
# returning the response to clients. Specify a key-value map from a
|
5499
|
+
# selection key to response parameters. The selection key must be a
|
5500
|
+
# valid HTTP status code within the range of 200-599. Response
|
5501
|
+
# parameters are a key-value map. The key must match pattern
|
5502
|
+
# <action>\:<header>.<location> or
|
5503
|
+
# overwrite.statuscode. The action can be append, overwrite or remove.
|
5504
|
+
# The value can be a static value, or map to response data, stage
|
5505
|
+
# variables, or context variables that are evaluated at runtime. To
|
5506
|
+
# learn more, see [Transforming API requests and responses][1].
|
5507
|
+
#
|
5508
|
+
#
|
5509
|
+
#
|
5510
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
5511
|
+
# @return [Hash<String,Hash<String,String>>]
|
5512
|
+
#
|
5314
5513
|
# @!attribute [rw] request_templates
|
5315
5514
|
# Represents a map of Velocity templates that are applied on the
|
5316
5515
|
# request payload based on the value of the Content-Type header sent
|
@@ -5353,6 +5552,7 @@ module Aws::ApiGatewayV2
|
|
5353
5552
|
:passthrough_behavior,
|
5354
5553
|
:payload_format_version,
|
5355
5554
|
:request_parameters,
|
5555
|
+
:response_parameters,
|
5356
5556
|
:request_templates,
|
5357
5557
|
:template_selection_expression,
|
5358
5558
|
:timeout_in_millis,
|
@@ -5584,7 +5784,7 @@ module Aws::ApiGatewayV2
|
|
5584
5784
|
#
|
5585
5785
|
# @!attribute [rw] truststore_uri
|
5586
5786
|
# An Amazon S3 URL that specifies the truststore for mutual TLS
|
5587
|
-
# authentication, for example, s3://*bucket-name*/*key-name
|
5787
|
+
# authentication, for example, s3://*bucket-name*/*key-name* . The
|
5588
5788
|
# truststore can contain certificates from public or private
|
5589
5789
|
# certificate authorities. To update the truststore, upload a new
|
5590
5790
|
# version to S3, and then update your custom domain name to use the
|
@@ -5628,7 +5828,7 @@ module Aws::ApiGatewayV2
|
|
5628
5828
|
#
|
5629
5829
|
# @!attribute [rw] truststore_uri
|
5630
5830
|
# An Amazon S3 URL that specifies the truststore for mutual TLS
|
5631
|
-
# authentication, for example, s3://*bucket-name*/*key-name
|
5831
|
+
# authentication, for example, s3://*bucket-name*/*key-name* . The
|
5632
5832
|
# truststore can contain certificates from public or private
|
5633
5833
|
# certificate authorities. To update the truststore, upload a new
|
5634
5834
|
# version to S3, and then update your custom domain name to use the
|
@@ -7264,18 +7464,47 @@ module Aws::ApiGatewayV2
|
|
7264
7464
|
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
7265
7465
|
# must be a valid and unique method request parameter name.
|
7266
7466
|
#
|
7267
|
-
# For HTTP
|
7268
|
-
# parameters
|
7269
|
-
#
|
7270
|
-
# request data, stage variables, or context variables
|
7271
|
-
# evaluated at runtime. To learn more, see [Working with AWS
|
7272
|
-
# integrations for HTTP APIs][1].
|
7467
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
7468
|
+
# request parameters are a key-value map specifying parameters that
|
7469
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
7470
|
+
# values, or map request data, stage variables, or context variables
|
7471
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
7472
|
+
# service integrations for HTTP APIs][1].
|
7473
|
+
#
|
7474
|
+
# For HTTP API integrations, without a specified integrationSubtype
|
7475
|
+
# request parameters are a key-value map specifying how to transform
|
7476
|
+
# HTTP requests before sending them to the backend. The key should
|
7477
|
+
# follow the pattern
|
7478
|
+
# <action>\:<header\|querystring\|path>.<location>
|
7479
|
+
# where action can be append, overwrite or remove. For values, you can
|
7480
|
+
# provide static values, or map request data, stage variables, or
|
7481
|
+
# context variables that are evaluated at runtime. To learn more, see
|
7482
|
+
# [Transforming API requests and responses][2].
|
7273
7483
|
#
|
7274
7484
|
#
|
7275
7485
|
#
|
7276
7486
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
7487
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.
|
7277
7488
|
# @return [Hash<String,String>]
|
7278
7489
|
#
|
7490
|
+
# @!attribute [rw] response_parameters
|
7491
|
+
# Supported only for HTTP APIs. You use response parameters to
|
7492
|
+
# transform the HTTP response from a backend integration before
|
7493
|
+
# returning the response to clients. Specify a key-value map from a
|
7494
|
+
# selection key to response parameters. The selection key must be a
|
7495
|
+
# valid HTTP status code within the range of 200-599. Response
|
7496
|
+
# parameters are a key-value map. The key must match pattern
|
7497
|
+
# <action>\:<header>.<location> or
|
7498
|
+
# overwrite.statuscode. The action can be append, overwrite or remove.
|
7499
|
+
# The value can be a static value, or map to response data, stage
|
7500
|
+
# variables, or context variables that are evaluated at runtime. To
|
7501
|
+
# learn more, see [Transforming API requests and responses][1].
|
7502
|
+
#
|
7503
|
+
#
|
7504
|
+
#
|
7505
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7506
|
+
# @return [Hash<String,Hash<String,String>>]
|
7507
|
+
#
|
7279
7508
|
# @!attribute [rw] request_templates
|
7280
7509
|
# Represents a map of Velocity templates that are applied on the
|
7281
7510
|
# request payload based on the value of the Content-Type header sent
|
@@ -7314,6 +7543,7 @@ module Aws::ApiGatewayV2
|
|
7314
7543
|
:passthrough_behavior,
|
7315
7544
|
:payload_format_version,
|
7316
7545
|
:request_parameters,
|
7546
|
+
:response_parameters,
|
7317
7547
|
:request_templates,
|
7318
7548
|
:template_selection_expression,
|
7319
7549
|
:timeout_in_millis,
|
@@ -7342,6 +7572,11 @@ module Aws::ApiGatewayV2
|
|
7342
7572
|
# request_parameters: {
|
7343
7573
|
# "__string" => "StringWithLengthBetween1And512",
|
7344
7574
|
# },
|
7575
|
+
# response_parameters: {
|
7576
|
+
# "__string" => {
|
7577
|
+
# "__string" => "StringWithLengthBetween1And512",
|
7578
|
+
# },
|
7579
|
+
# },
|
7345
7580
|
# request_templates: {
|
7346
7581
|
# "__string" => "StringWithLengthBetween0And32K",
|
7347
7582
|
# },
|
@@ -7405,20 +7640,45 @@ module Aws::ApiGatewayV2
|
|
7405
7640
|
# @return [String]
|
7406
7641
|
#
|
7407
7642
|
# @!attribute [rw] request_parameters
|
7408
|
-
#
|
7409
|
-
# the method
|
7410
|
-
#
|
7411
|
-
#
|
7412
|
-
# single quotes
|
7413
|
-
#
|
7414
|
-
# method.
|
7415
|
-
#
|
7416
|
-
#
|
7417
|
-
#
|
7418
|
-
#
|
7419
|
-
#
|
7643
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
7644
|
+
# that are passed from the method request to the backend. The key is
|
7645
|
+
# an integration request parameter name and the associated value is a
|
7646
|
+
# method request parameter value or static value that must be enclosed
|
7647
|
+
# within single quotes and pre-encoded as required by the backend. The
|
7648
|
+
# method request parameter value must match the pattern of
|
7649
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
7650
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
7651
|
+
# must be a valid and unique method request parameter name.
|
7652
|
+
#
|
7653
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
7654
|
+
# request parameters are a key-value map specifying parameters that
|
7655
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
7656
|
+
# values, or map request data, stage variables, or context variables
|
7657
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
7658
|
+
# service integrations for HTTP APIs][1].
|
7659
|
+
#
|
7660
|
+
# For HTTP API integrations without a specified integrationSubtype
|
7661
|
+
# request parameters are a key-value map specifying how to transform
|
7662
|
+
# HTTP requests before sending them to the backend. The key should
|
7663
|
+
# follow the pattern
|
7664
|
+
# <action>\:<header\|querystring\|path>.<location>
|
7665
|
+
# where action can be append, overwrite or remove. For values, you can
|
7666
|
+
# provide static values, or map request data, stage variables, or
|
7667
|
+
# context variables that are evaluated at runtime. To learn more, see
|
7668
|
+
# [Transforming API requests and responses][2].
|
7669
|
+
#
|
7670
|
+
#
|
7671
|
+
#
|
7672
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
7673
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7420
7674
|
# @return [Hash<String,String>]
|
7421
7675
|
#
|
7676
|
+
# @!attribute [rw] response_parameters
|
7677
|
+
# Supported only for HTTP APIs. You use response parameters to
|
7678
|
+
# transform the HTTP response from a backend integration before
|
7679
|
+
# returning the response to clients.
|
7680
|
+
# @return [Hash<String,Hash<String,String>>]
|
7681
|
+
#
|
7422
7682
|
# @!attribute [rw] request_templates
|
7423
7683
|
# A mapping of identifier keys to templates. The value is an actual
|
7424
7684
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -7459,6 +7719,7 @@ module Aws::ApiGatewayV2
|
|
7459
7719
|
:passthrough_behavior,
|
7460
7720
|
:payload_format_version,
|
7461
7721
|
:request_parameters,
|
7722
|
+
:response_parameters,
|
7462
7723
|
:request_templates,
|
7463
7724
|
:template_selection_expression,
|
7464
7725
|
:timeout_in_millis,
|
@@ -7530,20 +7791,45 @@ module Aws::ApiGatewayV2
|
|
7530
7791
|
# @return [String]
|
7531
7792
|
#
|
7532
7793
|
# @!attribute [rw] request_parameters
|
7533
|
-
#
|
7534
|
-
# the method
|
7535
|
-
#
|
7536
|
-
#
|
7537
|
-
# single quotes
|
7538
|
-
#
|
7539
|
-
# method.
|
7540
|
-
#
|
7541
|
-
#
|
7542
|
-
#
|
7543
|
-
#
|
7544
|
-
#
|
7794
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
7795
|
+
# that are passed from the method request to the backend. The key is
|
7796
|
+
# an integration request parameter name and the associated value is a
|
7797
|
+
# method request parameter value or static value that must be enclosed
|
7798
|
+
# within single quotes and pre-encoded as required by the backend. The
|
7799
|
+
# method request parameter value must match the pattern of
|
7800
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
7801
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
7802
|
+
# must be a valid and unique method request parameter name.
|
7803
|
+
#
|
7804
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
7805
|
+
# request parameters are a key-value map specifying parameters that
|
7806
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
7807
|
+
# values, or map request data, stage variables, or context variables
|
7808
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
7809
|
+
# service integrations for HTTP APIs][1].
|
7810
|
+
#
|
7811
|
+
# For HTTP API integrations without a specified integrationSubtype
|
7812
|
+
# request parameters are a key-value map specifying how to transform
|
7813
|
+
# HTTP requests before sending them to the backend. The key should
|
7814
|
+
# follow the pattern
|
7815
|
+
# <action>\:<header\|querystring\|path>.<location>
|
7816
|
+
# where action can be append, overwrite or remove. For values, you can
|
7817
|
+
# provide static values, or map request data, stage variables, or
|
7818
|
+
# context variables that are evaluated at runtime. To learn more, see
|
7819
|
+
# [Transforming API requests and responses][2].
|
7820
|
+
#
|
7821
|
+
#
|
7822
|
+
#
|
7823
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
7824
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7545
7825
|
# @return [Hash<String,String>]
|
7546
7826
|
#
|
7827
|
+
# @!attribute [rw] response_parameters
|
7828
|
+
# Supported only for HTTP APIs. You use response parameters to
|
7829
|
+
# transform the HTTP response from a backend integration before
|
7830
|
+
# returning the response to clients.
|
7831
|
+
# @return [Hash<String,Hash<String,String>>]
|
7832
|
+
#
|
7547
7833
|
# @!attribute [rw] request_templates
|
7548
7834
|
# A mapping of identifier keys to templates. The value is an actual
|
7549
7835
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -7585,6 +7871,7 @@ module Aws::ApiGatewayV2
|
|
7585
7871
|
:passthrough_behavior,
|
7586
7872
|
:payload_format_version,
|
7587
7873
|
:request_parameters,
|
7874
|
+
:response_parameters,
|
7588
7875
|
:request_templates,
|
7589
7876
|
:template_selection_expression,
|
7590
7877
|
:timeout_in_millis,
|
@@ -7699,18 +7986,37 @@ module Aws::ApiGatewayV2
|
|
7699
7986
|
# @return [String]
|
7700
7987
|
#
|
7701
7988
|
# @!attribute [rw] response_parameters
|
7702
|
-
#
|
7703
|
-
# the method
|
7704
|
-
#
|
7705
|
-
#
|
7706
|
-
# single quotes
|
7707
|
-
#
|
7708
|
-
# method.
|
7709
|
-
#
|
7710
|
-
#
|
7711
|
-
#
|
7712
|
-
#
|
7713
|
-
#
|
7989
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
7990
|
+
# that are passed from the method request to the backend. The key is
|
7991
|
+
# an integration request parameter name and the associated value is a
|
7992
|
+
# method request parameter value or static value that must be enclosed
|
7993
|
+
# within single quotes and pre-encoded as required by the backend. The
|
7994
|
+
# method request parameter value must match the pattern of
|
7995
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
7996
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
7997
|
+
# must be a valid and unique method request parameter name.
|
7998
|
+
#
|
7999
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
8000
|
+
# request parameters are a key-value map specifying parameters that
|
8001
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
8002
|
+
# values, or map request data, stage variables, or context variables
|
8003
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
8004
|
+
# service integrations for HTTP APIs][1].
|
8005
|
+
#
|
8006
|
+
# For HTTP API integrations without a specified integrationSubtype
|
8007
|
+
# request parameters are a key-value map specifying how to transform
|
8008
|
+
# HTTP requests before sending them to the backend. The key should
|
8009
|
+
# follow the pattern
|
8010
|
+
# <action>\:<header\|querystring\|path>.<location>
|
8011
|
+
# where action can be append, overwrite or remove. For values, you can
|
8012
|
+
# provide static values, or map request data, stage variables, or
|
8013
|
+
# context variables that are evaluated at runtime. To learn more, see
|
8014
|
+
# [Transforming API requests and responses][2].
|
8015
|
+
#
|
8016
|
+
#
|
8017
|
+
#
|
8018
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
8019
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7714
8020
|
# @return [Hash<String,String>]
|
7715
8021
|
#
|
7716
8022
|
# @!attribute [rw] response_templates
|
@@ -7762,18 +8068,37 @@ module Aws::ApiGatewayV2
|
|
7762
8068
|
# @return [String]
|
7763
8069
|
#
|
7764
8070
|
# @!attribute [rw] response_parameters
|
7765
|
-
#
|
7766
|
-
# the method
|
7767
|
-
#
|
7768
|
-
#
|
7769
|
-
# single quotes
|
7770
|
-
#
|
7771
|
-
# method.
|
7772
|
-
#
|
7773
|
-
#
|
7774
|
-
#
|
7775
|
-
#
|
7776
|
-
#
|
8071
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
8072
|
+
# that are passed from the method request to the backend. The key is
|
8073
|
+
# an integration request parameter name and the associated value is a
|
8074
|
+
# method request parameter value or static value that must be enclosed
|
8075
|
+
# within single quotes and pre-encoded as required by the backend. The
|
8076
|
+
# method request parameter value must match the pattern of
|
8077
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
8078
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
8079
|
+
# must be a valid and unique method request parameter name.
|
8080
|
+
#
|
8081
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
8082
|
+
# request parameters are a key-value map specifying parameters that
|
8083
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
8084
|
+
# values, or map request data, stage variables, or context variables
|
8085
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
8086
|
+
# service integrations for HTTP APIs][1].
|
8087
|
+
#
|
8088
|
+
# For HTTP API integrations without a specified integrationSubtype
|
8089
|
+
# request parameters are a key-value map specifying how to transform
|
8090
|
+
# HTTP requests before sending them to the backend. The key should
|
8091
|
+
# follow the pattern
|
8092
|
+
# <action>\:<header\|querystring\|path>.<location>
|
8093
|
+
# where action can be append, overwrite or remove. For values, you can
|
8094
|
+
# provide static values, or map request data, stage variables, or
|
8095
|
+
# context variables that are evaluated at runtime. To learn more, see
|
8096
|
+
# [Transforming API requests and responses][2].
|
8097
|
+
#
|
8098
|
+
#
|
8099
|
+
#
|
8100
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
8101
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7777
8102
|
# @return [Hash<String,String>]
|
7778
8103
|
#
|
7779
8104
|
# @!attribute [rw] response_templates
|