aws-sdk-apigatewayv2 1.25.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2140d149dcae53b5a51681ebe96222f01f0414e11a2ce6f93aaaafd8c9239d7b
4
- data.tar.gz: 0dee9eb711e6e07e47e0979776e46ed57d008d3d5e12b76b379231f37c641326
3
+ metadata.gz: bace2cfc3ca74901b9bf2aeea6f01f96911027742fdcd0595fc4b3e66d42f1ac
4
+ data.tar.gz: 56e6533a021cf64ea5250d7f101c3461ca7f2f610cb83bef7db948d9675d495d
5
5
  SHA512:
6
- metadata.gz: 2756b95fd724ffc221505f8c1fd2acefce3da0782620847ca0096bb172be098edeeab9d289bfa78e892cc27f7842fcb4de87fd9a732bb167ee7c34a5ed3a760d
7
- data.tar.gz: cc2cad511c15504b94259c2dc95bbf1e694faa66e48dad77318ff4ad8ddca245d34eb677b5aaa073ee92103cb900962e593005c9143114867d59a12d4ffc9fca
6
+ metadata.gz: f45500ea32152bc54a47a8dbf17bab4fbd42e4f9f288eb0e91644c57148ff202242d6c0e0aa87351ca6a3b2138d5b3269b4577ba05fae410c574fbdf0c3edbde
7
+ data.tar.gz: 3245afb75c604967654285a74f249bdea960f1283bbc298d79e47485dbbdffeb06ffef6c2537834f9ab64a75f755f721c5d89c3e843ad6297ccb49a177453a9d
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-apigatewayv2/customizations'
47
48
  # @!group service
48
49
  module Aws::ApiGatewayV2
49
50
 
50
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.30.0'
51
52
 
52
53
  end
@@ -353,6 +353,8 @@ module Aws::ApiGatewayV2
353
353
  #
354
354
  # @option params [Boolean] :disable_schema_validation
355
355
  #
356
+ # @option params [Boolean] :disable_execute_api_endpoint
357
+ #
356
358
  # @option params [required, String] :name
357
359
  # A string with a length between \[1-128\].
358
360
  #
@@ -396,6 +398,7 @@ module Aws::ApiGatewayV2
396
398
  # * {Types::CreateApiResponse#created_date #created_date} => Time
397
399
  # * {Types::CreateApiResponse#description #description} => String
398
400
  # * {Types::CreateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
401
+ # * {Types::CreateApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
399
402
  # * {Types::CreateApiResponse#import_info #import_info} => Array<String>
400
403
  # * {Types::CreateApiResponse#name #name} => String
401
404
  # * {Types::CreateApiResponse#protocol_type #protocol_type} => String
@@ -419,6 +422,7 @@ module Aws::ApiGatewayV2
419
422
  # credentials_arn: "Arn",
420
423
  # description: "StringWithLengthBetween0And1024",
421
424
  # disable_schema_validation: false,
425
+ # disable_execute_api_endpoint: false,
422
426
  # name: "StringWithLengthBetween1And128", # required
423
427
  # protocol_type: "WEBSOCKET", # required, accepts WEBSOCKET, HTTP
424
428
  # route_key: "SelectionKey",
@@ -449,6 +453,7 @@ module Aws::ApiGatewayV2
449
453
  # resp.created_date #=> Time
450
454
  # resp.description #=> String
451
455
  # resp.disable_schema_validation #=> Boolean
456
+ # resp.disable_execute_api_endpoint #=> Boolean
452
457
  # resp.import_info #=> Array
453
458
  # resp.import_info[0] #=> String
454
459
  # resp.name #=> String
@@ -528,9 +533,9 @@ module Aws::ApiGatewayV2
528
533
  # An integer with a value between \[0-3600\].
529
534
  #
530
535
  # @option params [required, String] :authorizer_type
531
- # The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda
532
- # function using incoming request parameters. For HTTP APIs, specify JWT
533
- # to use JSON Web Tokens.
536
+ # The authorizer type. Specify REQUEST for a Lambda function using
537
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
538
+ # (supported only for HTTP APIs).
534
539
  #
535
540
  # @option params [String] :authorizer_uri
536
541
  # A string representation of a URI with a length between \[1-2048\].
@@ -562,6 +567,11 @@ module Aws::ApiGatewayV2
562
567
  # @option params [required, String] :name
563
568
  # A string with a length between \[1-128\].
564
569
  #
570
+ # @option params [String] :authorizer_payload_format_version
571
+ # A string with a length between \[1-64\].
572
+ #
573
+ # @option params [Boolean] :enable_simple_responses
574
+ #
565
575
  # @return [Types::CreateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
566
576
  #
567
577
  # * {Types::CreateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
@@ -573,6 +583,8 @@ module Aws::ApiGatewayV2
573
583
  # * {Types::CreateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
574
584
  # * {Types::CreateAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
575
585
  # * {Types::CreateAuthorizerResponse#name #name} => String
586
+ # * {Types::CreateAuthorizerResponse#authorizer_payload_format_version #authorizer_payload_format_version} => String
587
+ # * {Types::CreateAuthorizerResponse#enable_simple_responses #enable_simple_responses} => Boolean
576
588
  #
577
589
  # @example Request syntax with placeholder values
578
590
  #
@@ -589,6 +601,8 @@ module Aws::ApiGatewayV2
589
601
  # issuer: "UriWithLengthBetween1And2048",
590
602
  # },
591
603
  # name: "StringWithLengthBetween1And128", # required
604
+ # authorizer_payload_format_version: "StringWithLengthBetween1And64",
605
+ # enable_simple_responses: false,
592
606
  # })
593
607
  #
594
608
  # @example Response structure
@@ -605,6 +619,8 @@ module Aws::ApiGatewayV2
605
619
  # resp.jwt_configuration.audience[0] #=> String
606
620
  # resp.jwt_configuration.issuer #=> String
607
621
  # resp.name #=> String
622
+ # resp.authorizer_payload_format_version #=> String
623
+ # resp.enable_simple_responses #=> Boolean
608
624
  #
609
625
  # @overload create_authorizer(params = {})
610
626
  # @param [Hash] params ({})
@@ -664,6 +680,11 @@ module Aws::ApiGatewayV2
664
680
  # @option params [Array<Types::DomainNameConfiguration>] :domain_name_configurations
665
681
  # The domain name configurations.
666
682
  #
683
+ # @option params [Types::MutualTlsAuthenticationInput] :mutual_tls_authentication
684
+ # If specified, API Gateway performs two-way authentication between the
685
+ # client and the server. Clients must present a trusted certificate to
686
+ # access your API.
687
+ #
667
688
  # @option params [Hash<String,String>] :tags
668
689
  # Represents a collection of tags associated with the resource.
669
690
  #
@@ -672,6 +693,7 @@ module Aws::ApiGatewayV2
672
693
  # * {Types::CreateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
673
694
  # * {Types::CreateDomainNameResponse#domain_name #domain_name} => String
674
695
  # * {Types::CreateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array&lt;Types::DomainNameConfiguration&gt;
696
+ # * {Types::CreateDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
675
697
  # * {Types::CreateDomainNameResponse#tags #tags} => Hash&lt;String,String&gt;
676
698
  #
677
699
  # @example Request syntax with placeholder values
@@ -691,6 +713,10 @@ module Aws::ApiGatewayV2
691
713
  # security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
692
714
  # },
693
715
  # ],
716
+ # mutual_tls_authentication: {
717
+ # truststore_uri: "UriWithLengthBetween1And2048",
718
+ # truststore_version: "StringWithLengthBetween1And64",
719
+ # },
694
720
  # tags: {
695
721
  # "__string" => "StringWithLengthBetween1And1600",
696
722
  # },
@@ -710,6 +736,10 @@ module Aws::ApiGatewayV2
710
736
  # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
711
737
  # resp.domain_name_configurations[0].hosted_zone_id #=> String
712
738
  # resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
739
+ # resp.mutual_tls_authentication.truststore_uri #=> String
740
+ # resp.mutual_tls_authentication.truststore_version #=> String
741
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
742
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
713
743
  # resp.tags #=> Hash
714
744
  # resp.tags["__string"] #=> String
715
745
  #
@@ -760,17 +790,42 @@ module Aws::ApiGatewayV2
760
790
  # A string with a length between \[1-64\].
761
791
  #
762
792
  # @option params [Hash<String,String>] :request_parameters
763
- # A key-value map specifying response parameters that are passed to the
764
- # method response from the backend. The key is a method response header
765
- # parameter name and the mapped value is an integration response header
766
- # value, a static value enclosed within a pair of single quotes, or a
767
- # JSON expression from the integration response body. The mapping key
768
- # must match the pattern of method.response.header.\\\{name\\}, where
769
- # name is a valid and unique header name. The mapped non-static value
770
- # must match the pattern of integration.response.header.\\\{name\\} or
771
- # integration.response.body.\\\{JSON-expression\\}, where name is a
772
- # valid and unique response header name and JSON-expression is a valid
773
- # JSON expression without the $ prefix.
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
+ # &lt;action&gt;\:&lt;header\|querystring\|path&gt;.&lt;location&gt;
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.
774
829
  #
775
830
  # @option params [Hash<String,String>] :request_templates
776
831
  # A mapping of identifier keys to templates. The value is an actual
@@ -810,6 +865,7 @@ module Aws::ApiGatewayV2
810
865
  # * {Types::CreateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
811
866
  # * {Types::CreateIntegrationResult#payload_format_version #payload_format_version} => String
812
867
  # * {Types::CreateIntegrationResult#request_parameters #request_parameters} => Hash&lt;String,String&gt;
868
+ # * {Types::CreateIntegrationResult#response_parameters #response_parameters} => Hash&lt;String,Hash&lt;String,String&gt;&gt;
813
869
  # * {Types::CreateIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
814
870
  # * {Types::CreateIntegrationResult#template_selection_expression #template_selection_expression} => String
815
871
  # * {Types::CreateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
@@ -833,6 +889,11 @@ module Aws::ApiGatewayV2
833
889
  # request_parameters: {
834
890
  # "__string" => "StringWithLengthBetween1And512",
835
891
  # },
892
+ # response_parameters: {
893
+ # "__string" => {
894
+ # "__string" => "StringWithLengthBetween1And512",
895
+ # },
896
+ # },
836
897
  # request_templates: {
837
898
  # "__string" => "StringWithLengthBetween0And32K",
838
899
  # },
@@ -861,6 +922,9 @@ module Aws::ApiGatewayV2
861
922
  # resp.payload_format_version #=> String
862
923
  # resp.request_parameters #=> Hash
863
924
  # resp.request_parameters["__string"] #=> String
925
+ # resp.response_parameters #=> Hash
926
+ # resp.response_parameters["__string"] #=> Hash
927
+ # resp.response_parameters["__string"]["__string"] #=> String
864
928
  # resp.request_templates #=> Hash
865
929
  # resp.request_templates["__string"] #=> String
866
930
  # resp.template_selection_expression #=> String
@@ -895,17 +959,37 @@ module Aws::ApiGatewayV2
895
959
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
896
960
  #
897
961
  # @option params [Hash<String,String>] :response_parameters
898
- # A key-value map specifying response parameters that are passed to the
899
- # method response from the backend. The key is a method response header
900
- # parameter name and the mapped value is an integration response header
901
- # value, a static value enclosed within a pair of single quotes, or a
902
- # JSON expression from the integration response body. The mapping key
903
- # must match the pattern of method.response.header.\\\{name\\}, where
904
- # name is a valid and unique header name. The mapped non-static value
905
- # must match the pattern of integration.response.header.\\\{name\\} or
906
- # integration.response.body.\\\{JSON-expression\\}, where name is a
907
- # valid and unique response header name and JSON-expression is a valid
908
- # JSON expression without the $ prefix.
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
+ # &lt;action&gt;\:&lt;header\|querystring\|path&gt;.&lt;location&gt;
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
909
993
  #
910
994
  # @option params [Hash<String,String>] :response_templates
911
995
  # A mapping of identifier keys to templates. The value is an actual
@@ -1032,7 +1116,8 @@ module Aws::ApiGatewayV2
1032
1116
  # The authorization type. For WebSocket APIs, valid values are NONE for
1033
1117
  # open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM for
1034
1118
  # using a Lambda authorizer. For HTTP APIs, valid values are NONE for
1035
- # open access, or JWT for using JSON Web Tokens.
1119
+ # open access, JWT for using JSON Web Tokens, AWS\_IAM for using AWS IAM
1120
+ # permissions, and CUSTOM for using a Lambda authorizer.
1036
1121
  #
1037
1122
  # @option params [String] :authorizer_id
1038
1123
  # The identifier.
@@ -1788,6 +1873,29 @@ module Aws::ApiGatewayV2
1788
1873
  req.send_request(options)
1789
1874
  end
1790
1875
 
1876
+ # Resets all authorizer cache entries for the specified stage. Supported
1877
+ # only for HTTP API Lambda authorizers.
1878
+ #
1879
+ # @option params [required, String] :api_id
1880
+ #
1881
+ # @option params [required, String] :stage_name
1882
+ #
1883
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1884
+ #
1885
+ # @example Request syntax with placeholder values
1886
+ #
1887
+ # resp = client.reset_authorizers_cache({
1888
+ # api_id: "__string", # required
1889
+ # stage_name: "__string", # required
1890
+ # })
1891
+ #
1892
+ # @overload reset_authorizers_cache(params = {})
1893
+ # @param [Hash] params ({})
1894
+ def reset_authorizers_cache(params = {}, options = {})
1895
+ req = build_request(:reset_authorizers_cache, params)
1896
+ req.send_request(options)
1897
+ end
1898
+
1791
1899
  # Gets an Api resource.
1792
1900
  #
1793
1901
  # @option params [required, String] :api_id
@@ -1802,6 +1910,7 @@ module Aws::ApiGatewayV2
1802
1910
  # * {Types::GetApiResponse#created_date #created_date} => Time
1803
1911
  # * {Types::GetApiResponse#description #description} => String
1804
1912
  # * {Types::GetApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
1913
+ # * {Types::GetApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
1805
1914
  # * {Types::GetApiResponse#import_info #import_info} => Array&lt;String&gt;
1806
1915
  # * {Types::GetApiResponse#name #name} => String
1807
1916
  # * {Types::GetApiResponse#protocol_type #protocol_type} => String
@@ -1835,6 +1944,7 @@ module Aws::ApiGatewayV2
1835
1944
  # resp.created_date #=> Time
1836
1945
  # resp.description #=> String
1837
1946
  # resp.disable_schema_validation #=> Boolean
1947
+ # resp.disable_execute_api_endpoint #=> Boolean
1838
1948
  # resp.import_info #=> Array
1839
1949
  # resp.import_info[0] #=> String
1840
1950
  # resp.name #=> String
@@ -1962,6 +2072,7 @@ module Aws::ApiGatewayV2
1962
2072
  # resp.items[0].created_date #=> Time
1963
2073
  # resp.items[0].description #=> String
1964
2074
  # resp.items[0].disable_schema_validation #=> Boolean
2075
+ # resp.items[0].disable_execute_api_endpoint #=> Boolean
1965
2076
  # resp.items[0].import_info #=> Array
1966
2077
  # resp.items[0].import_info[0] #=> String
1967
2078
  # resp.items[0].name #=> String
@@ -1998,6 +2109,8 @@ module Aws::ApiGatewayV2
1998
2109
  # * {Types::GetAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
1999
2110
  # * {Types::GetAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
2000
2111
  # * {Types::GetAuthorizerResponse#name #name} => String
2112
+ # * {Types::GetAuthorizerResponse#authorizer_payload_format_version #authorizer_payload_format_version} => String
2113
+ # * {Types::GetAuthorizerResponse#enable_simple_responses #enable_simple_responses} => Boolean
2001
2114
  #
2002
2115
  # @example Request syntax with placeholder values
2003
2116
  #
@@ -2020,6 +2133,8 @@ module Aws::ApiGatewayV2
2020
2133
  # resp.jwt_configuration.audience[0] #=> String
2021
2134
  # resp.jwt_configuration.issuer #=> String
2022
2135
  # resp.name #=> String
2136
+ # resp.authorizer_payload_format_version #=> String
2137
+ # resp.enable_simple_responses #=> Boolean
2023
2138
  #
2024
2139
  # @overload get_authorizer(params = {})
2025
2140
  # @param [Hash] params ({})
@@ -2064,6 +2179,8 @@ module Aws::ApiGatewayV2
2064
2179
  # resp.items[0].jwt_configuration.audience[0] #=> String
2065
2180
  # resp.items[0].jwt_configuration.issuer #=> String
2066
2181
  # resp.items[0].name #=> String
2182
+ # resp.items[0].authorizer_payload_format_version #=> String
2183
+ # resp.items[0].enable_simple_responses #=> Boolean
2067
2184
  # resp.next_token #=> String
2068
2185
  #
2069
2186
  # @overload get_authorizers(params = {})
@@ -2159,6 +2276,7 @@ module Aws::ApiGatewayV2
2159
2276
  # * {Types::GetDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
2160
2277
  # * {Types::GetDomainNameResponse#domain_name #domain_name} => String
2161
2278
  # * {Types::GetDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array&lt;Types::DomainNameConfiguration&gt;
2279
+ # * {Types::GetDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
2162
2280
  # * {Types::GetDomainNameResponse#tags #tags} => Hash&lt;String,String&gt;
2163
2281
  #
2164
2282
  # @example Request syntax with placeholder values
@@ -2181,6 +2299,10 @@ module Aws::ApiGatewayV2
2181
2299
  # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
2182
2300
  # resp.domain_name_configurations[0].hosted_zone_id #=> String
2183
2301
  # resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
2302
+ # resp.mutual_tls_authentication.truststore_uri #=> String
2303
+ # resp.mutual_tls_authentication.truststore_version #=> String
2304
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
2305
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
2184
2306
  # resp.tags #=> Hash
2185
2307
  # resp.tags["__string"] #=> String
2186
2308
  #
@@ -2224,6 +2346,10 @@ module Aws::ApiGatewayV2
2224
2346
  # resp.items[0].domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
2225
2347
  # resp.items[0].domain_name_configurations[0].hosted_zone_id #=> String
2226
2348
  # resp.items[0].domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
2349
+ # resp.items[0].mutual_tls_authentication.truststore_uri #=> String
2350
+ # resp.items[0].mutual_tls_authentication.truststore_version #=> String
2351
+ # resp.items[0].mutual_tls_authentication.truststore_warnings #=> Array
2352
+ # resp.items[0].mutual_tls_authentication.truststore_warnings[0] #=> String
2227
2353
  # resp.items[0].tags #=> Hash
2228
2354
  # resp.items[0].tags["__string"] #=> String
2229
2355
  # resp.next_token #=> String
@@ -2258,6 +2384,7 @@ module Aws::ApiGatewayV2
2258
2384
  # * {Types::GetIntegrationResult#passthrough_behavior #passthrough_behavior} => String
2259
2385
  # * {Types::GetIntegrationResult#payload_format_version #payload_format_version} => String
2260
2386
  # * {Types::GetIntegrationResult#request_parameters #request_parameters} => Hash&lt;String,String&gt;
2387
+ # * {Types::GetIntegrationResult#response_parameters #response_parameters} => Hash&lt;String,Hash&lt;String,String&gt;&gt;
2261
2388
  # * {Types::GetIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
2262
2389
  # * {Types::GetIntegrationResult#template_selection_expression #template_selection_expression} => String
2263
2390
  # * {Types::GetIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
@@ -2288,6 +2415,9 @@ module Aws::ApiGatewayV2
2288
2415
  # resp.payload_format_version #=> String
2289
2416
  # resp.request_parameters #=> Hash
2290
2417
  # resp.request_parameters["__string"] #=> String
2418
+ # resp.response_parameters #=> Hash
2419
+ # resp.response_parameters["__string"] #=> Hash
2420
+ # resp.response_parameters["__string"]["__string"] #=> String
2291
2421
  # resp.request_templates #=> Hash
2292
2422
  # resp.request_templates["__string"] #=> String
2293
2423
  # resp.template_selection_expression #=> String
@@ -2428,6 +2558,9 @@ module Aws::ApiGatewayV2
2428
2558
  # resp.items[0].payload_format_version #=> String
2429
2559
  # resp.items[0].request_parameters #=> Hash
2430
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
2431
2564
  # resp.items[0].request_templates #=> Hash
2432
2565
  # resp.items[0].request_templates["__string"] #=> String
2433
2566
  # resp.items[0].template_selection_expression #=> String
@@ -2987,6 +3120,7 @@ module Aws::ApiGatewayV2
2987
3120
  # * {Types::ImportApiResponse#created_date #created_date} => Time
2988
3121
  # * {Types::ImportApiResponse#description #description} => String
2989
3122
  # * {Types::ImportApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
3123
+ # * {Types::ImportApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
2990
3124
  # * {Types::ImportApiResponse#import_info #import_info} => Array&lt;String&gt;
2991
3125
  # * {Types::ImportApiResponse#name #name} => String
2992
3126
  # * {Types::ImportApiResponse#protocol_type #protocol_type} => String
@@ -3022,6 +3156,7 @@ module Aws::ApiGatewayV2
3022
3156
  # resp.created_date #=> Time
3023
3157
  # resp.description #=> String
3024
3158
  # resp.disable_schema_validation #=> Boolean
3159
+ # resp.disable_execute_api_endpoint #=> Boolean
3025
3160
  # resp.import_info #=> Array
3026
3161
  # resp.import_info[0] #=> String
3027
3162
  # resp.name #=> String
@@ -3060,6 +3195,7 @@ module Aws::ApiGatewayV2
3060
3195
  # * {Types::ReimportApiResponse#created_date #created_date} => Time
3061
3196
  # * {Types::ReimportApiResponse#description #description} => String
3062
3197
  # * {Types::ReimportApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
3198
+ # * {Types::ReimportApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
3063
3199
  # * {Types::ReimportApiResponse#import_info #import_info} => Array&lt;String&gt;
3064
3200
  # * {Types::ReimportApiResponse#name #name} => String
3065
3201
  # * {Types::ReimportApiResponse#protocol_type #protocol_type} => String
@@ -3096,6 +3232,7 @@ module Aws::ApiGatewayV2
3096
3232
  # resp.created_date #=> Time
3097
3233
  # resp.description #=> String
3098
3234
  # resp.disable_schema_validation #=> Boolean
3235
+ # resp.disable_execute_api_endpoint #=> Boolean
3099
3236
  # resp.import_info #=> Array
3100
3237
  # resp.import_info[0] #=> String
3101
3238
  # resp.name #=> String
@@ -3189,6 +3326,8 @@ module Aws::ApiGatewayV2
3189
3326
  #
3190
3327
  # @option params [Boolean] :disable_schema_validation
3191
3328
  #
3329
+ # @option params [Boolean] :disable_execute_api_endpoint
3330
+ #
3192
3331
  # @option params [String] :name
3193
3332
  # A string with a length between \[1-128\].
3194
3333
  #
@@ -3226,6 +3365,7 @@ module Aws::ApiGatewayV2
3226
3365
  # * {Types::UpdateApiResponse#created_date #created_date} => Time
3227
3366
  # * {Types::UpdateApiResponse#description #description} => String
3228
3367
  # * {Types::UpdateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
3368
+ # * {Types::UpdateApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
3229
3369
  # * {Types::UpdateApiResponse#import_info #import_info} => Array&lt;String&gt;
3230
3370
  # * {Types::UpdateApiResponse#name #name} => String
3231
3371
  # * {Types::UpdateApiResponse#protocol_type #protocol_type} => String
@@ -3250,6 +3390,7 @@ module Aws::ApiGatewayV2
3250
3390
  # credentials_arn: "Arn",
3251
3391
  # description: "StringWithLengthBetween0And1024",
3252
3392
  # disable_schema_validation: false,
3393
+ # disable_execute_api_endpoint: false,
3253
3394
  # name: "StringWithLengthBetween1And128",
3254
3395
  # route_key: "SelectionKey",
3255
3396
  # route_selection_expression: "SelectionExpression",
@@ -3276,6 +3417,7 @@ module Aws::ApiGatewayV2
3276
3417
  # resp.created_date #=> Time
3277
3418
  # resp.description #=> String
3278
3419
  # resp.disable_schema_validation #=> Boolean
3420
+ # resp.disable_execute_api_endpoint #=> Boolean
3279
3421
  # resp.import_info #=> Array
3280
3422
  # resp.import_info[0] #=> String
3281
3423
  # resp.name #=> String
@@ -3360,9 +3502,9 @@ module Aws::ApiGatewayV2
3360
3502
  # An integer with a value between \[0-3600\].
3361
3503
  #
3362
3504
  # @option params [String] :authorizer_type
3363
- # The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda
3364
- # function using incoming request parameters. For HTTP APIs, specify JWT
3365
- # to use JSON Web Tokens.
3505
+ # The authorizer type. Specify REQUEST for a Lambda function using
3506
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
3507
+ # (supported only for HTTP APIs).
3366
3508
  #
3367
3509
  # @option params [String] :authorizer_uri
3368
3510
  # A string representation of a URI with a length between \[1-2048\].
@@ -3394,6 +3536,11 @@ module Aws::ApiGatewayV2
3394
3536
  # @option params [String] :name
3395
3537
  # A string with a length between \[1-128\].
3396
3538
  #
3539
+ # @option params [String] :authorizer_payload_format_version
3540
+ # A string with a length between \[1-64\].
3541
+ #
3542
+ # @option params [Boolean] :enable_simple_responses
3543
+ #
3397
3544
  # @return [Types::UpdateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3398
3545
  #
3399
3546
  # * {Types::UpdateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
@@ -3405,6 +3552,8 @@ module Aws::ApiGatewayV2
3405
3552
  # * {Types::UpdateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
3406
3553
  # * {Types::UpdateAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
3407
3554
  # * {Types::UpdateAuthorizerResponse#name #name} => String
3555
+ # * {Types::UpdateAuthorizerResponse#authorizer_payload_format_version #authorizer_payload_format_version} => String
3556
+ # * {Types::UpdateAuthorizerResponse#enable_simple_responses #enable_simple_responses} => Boolean
3408
3557
  #
3409
3558
  # @example Request syntax with placeholder values
3410
3559
  #
@@ -3422,6 +3571,8 @@ module Aws::ApiGatewayV2
3422
3571
  # issuer: "UriWithLengthBetween1And2048",
3423
3572
  # },
3424
3573
  # name: "StringWithLengthBetween1And128",
3574
+ # authorizer_payload_format_version: "StringWithLengthBetween1And64",
3575
+ # enable_simple_responses: false,
3425
3576
  # })
3426
3577
  #
3427
3578
  # @example Response structure
@@ -3438,6 +3589,8 @@ module Aws::ApiGatewayV2
3438
3589
  # resp.jwt_configuration.audience[0] #=> String
3439
3590
  # resp.jwt_configuration.issuer #=> String
3440
3591
  # resp.name #=> String
3592
+ # resp.authorizer_payload_format_version #=> String
3593
+ # resp.enable_simple_responses #=> Boolean
3441
3594
  #
3442
3595
  # @overload update_authorizer(params = {})
3443
3596
  # @param [Hash] params ({})
@@ -3495,11 +3648,17 @@ module Aws::ApiGatewayV2
3495
3648
  # @option params [Array<Types::DomainNameConfiguration>] :domain_name_configurations
3496
3649
  # The domain name configurations.
3497
3650
  #
3651
+ # @option params [Types::MutualTlsAuthenticationInput] :mutual_tls_authentication
3652
+ # If specified, API Gateway performs two-way authentication between the
3653
+ # client and the server. Clients must present a trusted certificate to
3654
+ # access your API.
3655
+ #
3498
3656
  # @return [Types::UpdateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3499
3657
  #
3500
3658
  # * {Types::UpdateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
3501
3659
  # * {Types::UpdateDomainNameResponse#domain_name #domain_name} => String
3502
3660
  # * {Types::UpdateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array&lt;Types::DomainNameConfiguration&gt;
3661
+ # * {Types::UpdateDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
3503
3662
  # * {Types::UpdateDomainNameResponse#tags #tags} => Hash&lt;String,String&gt;
3504
3663
  #
3505
3664
  # @example Request syntax with placeholder values
@@ -3519,6 +3678,10 @@ module Aws::ApiGatewayV2
3519
3678
  # security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
3520
3679
  # },
3521
3680
  # ],
3681
+ # mutual_tls_authentication: {
3682
+ # truststore_uri: "UriWithLengthBetween1And2048",
3683
+ # truststore_version: "StringWithLengthBetween1And64",
3684
+ # },
3522
3685
  # })
3523
3686
  #
3524
3687
  # @example Response structure
@@ -3535,6 +3698,10 @@ module Aws::ApiGatewayV2
3535
3698
  # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
3536
3699
  # resp.domain_name_configurations[0].hosted_zone_id #=> String
3537
3700
  # resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
3701
+ # resp.mutual_tls_authentication.truststore_uri #=> String
3702
+ # resp.mutual_tls_authentication.truststore_version #=> String
3703
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
3704
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
3538
3705
  # resp.tags #=> Hash
3539
3706
  # resp.tags["__string"] #=> String
3540
3707
  #
@@ -3587,17 +3754,42 @@ module Aws::ApiGatewayV2
3587
3754
  # A string with a length between \[1-64\].
3588
3755
  #
3589
3756
  # @option params [Hash<String,String>] :request_parameters
3590
- # A key-value map specifying response parameters that are passed to the
3591
- # method response from the backend. The key is a method response header
3592
- # parameter name and the mapped value is an integration response header
3593
- # value, a static value enclosed within a pair of single quotes, or a
3594
- # JSON expression from the integration response body. The mapping key
3595
- # must match the pattern of method.response.header.\\\{name\\}, where
3596
- # name is a valid and unique header name. The mapped non-static value
3597
- # must match the pattern of integration.response.header.\\\{name\\} or
3598
- # integration.response.body.\\\{JSON-expression\\}, where name is a
3599
- # valid and unique response header name and JSON-expression is a valid
3600
- # JSON expression without the $ prefix.
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
+ # &lt;action&gt;\:&lt;header\|querystring\|path&gt;.&lt;location&gt;
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.
3601
3793
  #
3602
3794
  # @option params [Hash<String,String>] :request_templates
3603
3795
  # A mapping of identifier keys to templates. The value is an actual
@@ -3637,6 +3829,7 @@ module Aws::ApiGatewayV2
3637
3829
  # * {Types::UpdateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
3638
3830
  # * {Types::UpdateIntegrationResult#payload_format_version #payload_format_version} => String
3639
3831
  # * {Types::UpdateIntegrationResult#request_parameters #request_parameters} => Hash&lt;String,String&gt;
3832
+ # * {Types::UpdateIntegrationResult#response_parameters #response_parameters} => Hash&lt;String,Hash&lt;String,String&gt;&gt;
3640
3833
  # * {Types::UpdateIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
3641
3834
  # * {Types::UpdateIntegrationResult#template_selection_expression #template_selection_expression} => String
3642
3835
  # * {Types::UpdateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
@@ -3661,6 +3854,11 @@ module Aws::ApiGatewayV2
3661
3854
  # request_parameters: {
3662
3855
  # "__string" => "StringWithLengthBetween1And512",
3663
3856
  # },
3857
+ # response_parameters: {
3858
+ # "__string" => {
3859
+ # "__string" => "StringWithLengthBetween1And512",
3860
+ # },
3861
+ # },
3664
3862
  # request_templates: {
3665
3863
  # "__string" => "StringWithLengthBetween0And32K",
3666
3864
  # },
@@ -3689,6 +3887,9 @@ module Aws::ApiGatewayV2
3689
3887
  # resp.payload_format_version #=> String
3690
3888
  # resp.request_parameters #=> Hash
3691
3889
  # resp.request_parameters["__string"] #=> String
3890
+ # resp.response_parameters #=> Hash
3891
+ # resp.response_parameters["__string"] #=> Hash
3892
+ # resp.response_parameters["__string"]["__string"] #=> String
3692
3893
  # resp.request_templates #=> Hash
3693
3894
  # resp.request_templates["__string"] #=> String
3694
3895
  # resp.template_selection_expression #=> String
@@ -3725,17 +3926,37 @@ module Aws::ApiGatewayV2
3725
3926
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
3726
3927
  #
3727
3928
  # @option params [Hash<String,String>] :response_parameters
3728
- # A key-value map specifying response parameters that are passed to the
3729
- # method response from the backend. The key is a method response header
3730
- # parameter name and the mapped value is an integration response header
3731
- # value, a static value enclosed within a pair of single quotes, or a
3732
- # JSON expression from the integration response body. The mapping key
3733
- # must match the pattern of method.response.header.\\\{name\\}, where
3734
- # name is a valid and unique header name. The mapped non-static value
3735
- # must match the pattern of integration.response.header.\\\{name\\} or
3736
- # integration.response.body.\\\{JSON-expression\\}, where name is a
3737
- # valid and unique response header name and JSON-expression is a valid
3738
- # JSON expression without the $ prefix.
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
+ # &lt;action&gt;\:&lt;header\|querystring\|path&gt;.&lt;location&gt;
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
3739
3960
  #
3740
3961
  # @option params [Hash<String,String>] :response_templates
3741
3962
  # A mapping of identifier keys to templates. The value is an actual
@@ -3866,7 +4087,8 @@ module Aws::ApiGatewayV2
3866
4087
  # The authorization type. For WebSocket APIs, valid values are NONE for
3867
4088
  # open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM for
3868
4089
  # using a Lambda authorizer. For HTTP APIs, valid values are NONE for
3869
- # open access, or JWT for using JSON Web Tokens.
4090
+ # open access, JWT for using JSON Web Tokens, AWS\_IAM for using AWS IAM
4091
+ # permissions, and CUSTOM for using a Lambda authorizer.
3870
4092
  #
3871
4093
  # @option params [String] :authorizer_id
3872
4094
  # The identifier.
@@ -4229,7 +4451,7 @@ module Aws::ApiGatewayV2
4229
4451
  params: params,
4230
4452
  config: config)
4231
4453
  context[:gem_name] = 'aws-sdk-apigatewayv2'
4232
- context[:gem_version] = '1.25.0'
4454
+ context[:gem_version] = '1.30.0'
4233
4455
  Seahorse::Client::Request.new(handlers, context)
4234
4456
  end
4235
4457