aws-sdk-apigatewayv2 1.23.0 → 1.29.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4146e1d5ee38e96dd7d916f9f5152085b9dedc13bec963823d56434b5270c481
4
- data.tar.gz: 56fb7f286ab81e0e8f5a4b6ae1e95468e0d3b87628802e9b25afc030e3e04c95
3
+ metadata.gz: 37157892f06e0e71e5f37f7cd343695f1467fd34fee9bc82d9db870d1f60f786
4
+ data.tar.gz: af637dff6932cb9d56907124fc294f1ec5cbab8ac19d59738524dfd1fde967db
5
5
  SHA512:
6
- metadata.gz: 32b12a6e37c7bb955b63b468cdd7dfe0166246404cf0dd27666d965c31af340744312f21eca14b59f9ef5f1eb971c871cb3a619c4ea17ed25a3f313583d10788
7
- data.tar.gz: 0bee055a0531ce7a5268ca92b15b4f9b5d3ecec1f29af1a4046f2d4b11eeda14a2b5c06c72384a0f9d5fd6b79097aa270509e8bb6f3d6df049ae2560cffeba79
6
+ metadata.gz: 7641ae7832d9836564f77b9fdb1e297f6e4b62b5c9ee9da54183451a03c0a9ebed18bec61b29e3c084c369da8116d0ec6d7b528714fe6e361f3e8d7b9643f54f
7
+ data.tar.gz: 90ea63de4330cc01953a189dc00a0a93d1b82579904302cda342b8b8e7898534cf41dce7ea3fce3356df4edcf3632f7aef7337585724a62b008abaf063322584
@@ -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
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-apigatewayv2/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::ApiGatewayV2
49
50
 
50
- GEM_VERSION = '1.23.0'
51
+ GEM_VERSION = '1.29.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::ApiGatewayV2
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::ApiGatewayV2
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -338,6 +353,8 @@ module Aws::ApiGatewayV2
338
353
  #
339
354
  # @option params [Boolean] :disable_schema_validation
340
355
  #
356
+ # @option params [Boolean] :disable_execute_api_endpoint
357
+ #
341
358
  # @option params [required, String] :name
342
359
  # A string with a length between \[1-128\].
343
360
  #
@@ -374,12 +391,14 @@ module Aws::ApiGatewayV2
374
391
  # @return [Types::CreateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
375
392
  #
376
393
  # * {Types::CreateApiResponse#api_endpoint #api_endpoint} => String
394
+ # * {Types::CreateApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
377
395
  # * {Types::CreateApiResponse#api_id #api_id} => String
378
396
  # * {Types::CreateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
379
397
  # * {Types::CreateApiResponse#cors_configuration #cors_configuration} => Types::Cors
380
398
  # * {Types::CreateApiResponse#created_date #created_date} => Time
381
399
  # * {Types::CreateApiResponse#description #description} => String
382
400
  # * {Types::CreateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
401
+ # * {Types::CreateApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
383
402
  # * {Types::CreateApiResponse#import_info #import_info} => Array<String>
384
403
  # * {Types::CreateApiResponse#name #name} => String
385
404
  # * {Types::CreateApiResponse#protocol_type #protocol_type} => String
@@ -403,6 +422,7 @@ module Aws::ApiGatewayV2
403
422
  # credentials_arn: "Arn",
404
423
  # description: "StringWithLengthBetween0And1024",
405
424
  # disable_schema_validation: false,
425
+ # disable_execute_api_endpoint: false,
406
426
  # name: "StringWithLengthBetween1And128", # required
407
427
  # protocol_type: "WEBSOCKET", # required, accepts WEBSOCKET, HTTP
408
428
  # route_key: "SelectionKey",
@@ -417,6 +437,7 @@ module Aws::ApiGatewayV2
417
437
  # @example Response structure
418
438
  #
419
439
  # resp.api_endpoint #=> String
440
+ # resp.api_gateway_managed #=> Boolean
420
441
  # resp.api_id #=> String
421
442
  # resp.api_key_selection_expression #=> String
422
443
  # resp.cors_configuration.allow_credentials #=> Boolean
@@ -432,6 +453,7 @@ module Aws::ApiGatewayV2
432
453
  # resp.created_date #=> Time
433
454
  # resp.description #=> String
434
455
  # resp.disable_schema_validation #=> Boolean
456
+ # resp.disable_execute_api_endpoint #=> Boolean
435
457
  # resp.import_info #=> Array
436
458
  # resp.import_info[0] #=> String
437
459
  # resp.name #=> String
@@ -511,9 +533,9 @@ module Aws::ApiGatewayV2
511
533
  # An integer with a value between \[0-3600\].
512
534
  #
513
535
  # @option params [required, String] :authorizer_type
514
- # The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda
515
- # function using incoming request parameters. For HTTP APIs, specify JWT
516
- # 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).
517
539
  #
518
540
  # @option params [String] :authorizer_uri
519
541
  # A string representation of a URI with a length between \[1-2048\].
@@ -545,6 +567,11 @@ module Aws::ApiGatewayV2
545
567
  # @option params [required, String] :name
546
568
  # A string with a length between \[1-128\].
547
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
+ #
548
575
  # @return [Types::CreateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
549
576
  #
550
577
  # * {Types::CreateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
@@ -556,6 +583,8 @@ module Aws::ApiGatewayV2
556
583
  # * {Types::CreateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
557
584
  # * {Types::CreateAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
558
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
559
588
  #
560
589
  # @example Request syntax with placeholder values
561
590
  #
@@ -572,6 +601,8 @@ module Aws::ApiGatewayV2
572
601
  # issuer: "UriWithLengthBetween1And2048",
573
602
  # },
574
603
  # name: "StringWithLengthBetween1And128", # required
604
+ # authorizer_payload_format_version: "StringWithLengthBetween1And64",
605
+ # enable_simple_responses: false,
575
606
  # })
576
607
  #
577
608
  # @example Response structure
@@ -588,6 +619,8 @@ module Aws::ApiGatewayV2
588
619
  # resp.jwt_configuration.audience[0] #=> String
589
620
  # resp.jwt_configuration.issuer #=> String
590
621
  # resp.name #=> String
622
+ # resp.authorizer_payload_format_version #=> String
623
+ # resp.enable_simple_responses #=> Boolean
591
624
  #
592
625
  # @overload create_authorizer(params = {})
593
626
  # @param [Hash] params ({})
@@ -647,6 +680,11 @@ module Aws::ApiGatewayV2
647
680
  # @option params [Array<Types::DomainNameConfiguration>] :domain_name_configurations
648
681
  # The domain name configurations.
649
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
+ #
650
688
  # @option params [Hash<String,String>] :tags
651
689
  # Represents a collection of tags associated with the resource.
652
690
  #
@@ -655,6 +693,7 @@ module Aws::ApiGatewayV2
655
693
  # * {Types::CreateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
656
694
  # * {Types::CreateDomainNameResponse#domain_name #domain_name} => String
657
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
658
697
  # * {Types::CreateDomainNameResponse#tags #tags} => Hash&lt;String,String&gt;
659
698
  #
660
699
  # @example Request syntax with placeholder values
@@ -674,6 +713,10 @@ module Aws::ApiGatewayV2
674
713
  # security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
675
714
  # },
676
715
  # ],
716
+ # mutual_tls_authentication: {
717
+ # truststore_uri: "UriWithLengthBetween1And2048",
718
+ # truststore_version: "StringWithLengthBetween1And64",
719
+ # },
677
720
  # tags: {
678
721
  # "__string" => "StringWithLengthBetween1And1600",
679
722
  # },
@@ -693,6 +736,10 @@ module Aws::ApiGatewayV2
693
736
  # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
694
737
  # resp.domain_name_configurations[0].hosted_zone_id #=> String
695
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
696
743
  # resp.tags #=> Hash
697
744
  # resp.tags["__string"] #=> String
698
745
  #
@@ -726,6 +773,9 @@ module Aws::ApiGatewayV2
726
773
  # @option params [String] :integration_method
727
774
  # A string with a length between \[1-64\].
728
775
  #
776
+ # @option params [String] :integration_subtype
777
+ # A string with a length between \[1-128\].
778
+ #
729
779
  # @option params [required, String] :integration_type
730
780
  # Represents an API method integration type.
731
781
  #
@@ -784,6 +834,7 @@ module Aws::ApiGatewayV2
784
834
  # * {Types::CreateIntegrationResult#integration_id #integration_id} => String
785
835
  # * {Types::CreateIntegrationResult#integration_method #integration_method} => String
786
836
  # * {Types::CreateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
837
+ # * {Types::CreateIntegrationResult#integration_subtype #integration_subtype} => String
787
838
  # * {Types::CreateIntegrationResult#integration_type #integration_type} => String
788
839
  # * {Types::CreateIntegrationResult#integration_uri #integration_uri} => String
789
840
  # * {Types::CreateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
@@ -804,6 +855,7 @@ module Aws::ApiGatewayV2
804
855
  # credentials_arn: "Arn",
805
856
  # description: "StringWithLengthBetween0And1024",
806
857
  # integration_method: "StringWithLengthBetween1And64",
858
+ # integration_subtype: "StringWithLengthBetween1And128",
807
859
  # integration_type: "AWS", # required, accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
808
860
  # integration_uri: "UriWithLengthBetween1And2048",
809
861
  # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
@@ -832,6 +884,7 @@ module Aws::ApiGatewayV2
832
884
  # resp.integration_id #=> String
833
885
  # resp.integration_method #=> String
834
886
  # resp.integration_response_selection_expression #=> String
887
+ # resp.integration_subtype #=> String
835
888
  # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
836
889
  # resp.integration_uri #=> String
837
890
  # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
@@ -1009,7 +1062,8 @@ module Aws::ApiGatewayV2
1009
1062
  # The authorization type. For WebSocket APIs, valid values are NONE for
1010
1063
  # open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM for
1011
1064
  # using a Lambda authorizer. For HTTP APIs, valid values are NONE for
1012
- # open access, or JWT for using JSON Web Tokens.
1065
+ # open access, JWT for using JSON Web Tokens, AWS\_IAM for using AWS IAM
1066
+ # permissions, and CUSTOM for using a Lambda authorizer.
1013
1067
  #
1014
1068
  # @option params [String] :authorizer_id
1015
1069
  # The identifier.
@@ -1765,6 +1819,29 @@ module Aws::ApiGatewayV2
1765
1819
  req.send_request(options)
1766
1820
  end
1767
1821
 
1822
+ # Resets all authorizer cache entries for the specified stage. Supported
1823
+ # only for HTTP API Lambda authorizers.
1824
+ #
1825
+ # @option params [required, String] :api_id
1826
+ #
1827
+ # @option params [required, String] :stage_name
1828
+ #
1829
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1830
+ #
1831
+ # @example Request syntax with placeholder values
1832
+ #
1833
+ # resp = client.reset_authorizers_cache({
1834
+ # api_id: "__string", # required
1835
+ # stage_name: "__string", # required
1836
+ # })
1837
+ #
1838
+ # @overload reset_authorizers_cache(params = {})
1839
+ # @param [Hash] params ({})
1840
+ def reset_authorizers_cache(params = {}, options = {})
1841
+ req = build_request(:reset_authorizers_cache, params)
1842
+ req.send_request(options)
1843
+ end
1844
+
1768
1845
  # Gets an Api resource.
1769
1846
  #
1770
1847
  # @option params [required, String] :api_id
@@ -1772,12 +1849,14 @@ module Aws::ApiGatewayV2
1772
1849
  # @return [Types::GetApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1773
1850
  #
1774
1851
  # * {Types::GetApiResponse#api_endpoint #api_endpoint} => String
1852
+ # * {Types::GetApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
1775
1853
  # * {Types::GetApiResponse#api_id #api_id} => String
1776
1854
  # * {Types::GetApiResponse#api_key_selection_expression #api_key_selection_expression} => String
1777
1855
  # * {Types::GetApiResponse#cors_configuration #cors_configuration} => Types::Cors
1778
1856
  # * {Types::GetApiResponse#created_date #created_date} => Time
1779
1857
  # * {Types::GetApiResponse#description #description} => String
1780
1858
  # * {Types::GetApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
1859
+ # * {Types::GetApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
1781
1860
  # * {Types::GetApiResponse#import_info #import_info} => Array&lt;String&gt;
1782
1861
  # * {Types::GetApiResponse#name #name} => String
1783
1862
  # * {Types::GetApiResponse#protocol_type #protocol_type} => String
@@ -1795,6 +1874,7 @@ module Aws::ApiGatewayV2
1795
1874
  # @example Response structure
1796
1875
  #
1797
1876
  # resp.api_endpoint #=> String
1877
+ # resp.api_gateway_managed #=> Boolean
1798
1878
  # resp.api_id #=> String
1799
1879
  # resp.api_key_selection_expression #=> String
1800
1880
  # resp.cors_configuration.allow_credentials #=> Boolean
@@ -1810,6 +1890,7 @@ module Aws::ApiGatewayV2
1810
1890
  # resp.created_date #=> Time
1811
1891
  # resp.description #=> String
1812
1892
  # resp.disable_schema_validation #=> Boolean
1893
+ # resp.disable_execute_api_endpoint #=> Boolean
1813
1894
  # resp.import_info #=> Array
1814
1895
  # resp.import_info[0] #=> String
1815
1896
  # resp.name #=> String
@@ -1921,6 +2002,7 @@ module Aws::ApiGatewayV2
1921
2002
  #
1922
2003
  # resp.items #=> Array
1923
2004
  # resp.items[0].api_endpoint #=> String
2005
+ # resp.items[0].api_gateway_managed #=> Boolean
1924
2006
  # resp.items[0].api_id #=> String
1925
2007
  # resp.items[0].api_key_selection_expression #=> String
1926
2008
  # resp.items[0].cors_configuration.allow_credentials #=> Boolean
@@ -1936,6 +2018,7 @@ module Aws::ApiGatewayV2
1936
2018
  # resp.items[0].created_date #=> Time
1937
2019
  # resp.items[0].description #=> String
1938
2020
  # resp.items[0].disable_schema_validation #=> Boolean
2021
+ # resp.items[0].disable_execute_api_endpoint #=> Boolean
1939
2022
  # resp.items[0].import_info #=> Array
1940
2023
  # resp.items[0].import_info[0] #=> String
1941
2024
  # resp.items[0].name #=> String
@@ -1972,6 +2055,8 @@ module Aws::ApiGatewayV2
1972
2055
  # * {Types::GetAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
1973
2056
  # * {Types::GetAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
1974
2057
  # * {Types::GetAuthorizerResponse#name #name} => String
2058
+ # * {Types::GetAuthorizerResponse#authorizer_payload_format_version #authorizer_payload_format_version} => String
2059
+ # * {Types::GetAuthorizerResponse#enable_simple_responses #enable_simple_responses} => Boolean
1975
2060
  #
1976
2061
  # @example Request syntax with placeholder values
1977
2062
  #
@@ -1994,6 +2079,8 @@ module Aws::ApiGatewayV2
1994
2079
  # resp.jwt_configuration.audience[0] #=> String
1995
2080
  # resp.jwt_configuration.issuer #=> String
1996
2081
  # resp.name #=> String
2082
+ # resp.authorizer_payload_format_version #=> String
2083
+ # resp.enable_simple_responses #=> Boolean
1997
2084
  #
1998
2085
  # @overload get_authorizer(params = {})
1999
2086
  # @param [Hash] params ({})
@@ -2038,6 +2125,8 @@ module Aws::ApiGatewayV2
2038
2125
  # resp.items[0].jwt_configuration.audience[0] #=> String
2039
2126
  # resp.items[0].jwt_configuration.issuer #=> String
2040
2127
  # resp.items[0].name #=> String
2128
+ # resp.items[0].authorizer_payload_format_version #=> String
2129
+ # resp.items[0].enable_simple_responses #=> Boolean
2041
2130
  # resp.next_token #=> String
2042
2131
  #
2043
2132
  # @overload get_authorizers(params = {})
@@ -2133,6 +2222,7 @@ module Aws::ApiGatewayV2
2133
2222
  # * {Types::GetDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
2134
2223
  # * {Types::GetDomainNameResponse#domain_name #domain_name} => String
2135
2224
  # * {Types::GetDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array&lt;Types::DomainNameConfiguration&gt;
2225
+ # * {Types::GetDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
2136
2226
  # * {Types::GetDomainNameResponse#tags #tags} => Hash&lt;String,String&gt;
2137
2227
  #
2138
2228
  # @example Request syntax with placeholder values
@@ -2155,6 +2245,10 @@ module Aws::ApiGatewayV2
2155
2245
  # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
2156
2246
  # resp.domain_name_configurations[0].hosted_zone_id #=> String
2157
2247
  # resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
2248
+ # resp.mutual_tls_authentication.truststore_uri #=> String
2249
+ # resp.mutual_tls_authentication.truststore_version #=> String
2250
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
2251
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
2158
2252
  # resp.tags #=> Hash
2159
2253
  # resp.tags["__string"] #=> String
2160
2254
  #
@@ -2198,6 +2292,10 @@ module Aws::ApiGatewayV2
2198
2292
  # resp.items[0].domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
2199
2293
  # resp.items[0].domain_name_configurations[0].hosted_zone_id #=> String
2200
2294
  # resp.items[0].domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
2295
+ # resp.items[0].mutual_tls_authentication.truststore_uri #=> String
2296
+ # resp.items[0].mutual_tls_authentication.truststore_version #=> String
2297
+ # resp.items[0].mutual_tls_authentication.truststore_warnings #=> Array
2298
+ # resp.items[0].mutual_tls_authentication.truststore_warnings[0] #=> String
2201
2299
  # resp.items[0].tags #=> Hash
2202
2300
  # resp.items[0].tags["__string"] #=> String
2203
2301
  # resp.next_token #=> String
@@ -2226,6 +2324,7 @@ module Aws::ApiGatewayV2
2226
2324
  # * {Types::GetIntegrationResult#integration_id #integration_id} => String
2227
2325
  # * {Types::GetIntegrationResult#integration_method #integration_method} => String
2228
2326
  # * {Types::GetIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
2327
+ # * {Types::GetIntegrationResult#integration_subtype #integration_subtype} => String
2229
2328
  # * {Types::GetIntegrationResult#integration_type #integration_type} => String
2230
2329
  # * {Types::GetIntegrationResult#integration_uri #integration_uri} => String
2231
2330
  # * {Types::GetIntegrationResult#passthrough_behavior #passthrough_behavior} => String
@@ -2254,6 +2353,7 @@ module Aws::ApiGatewayV2
2254
2353
  # resp.integration_id #=> String
2255
2354
  # resp.integration_method #=> String
2256
2355
  # resp.integration_response_selection_expression #=> String
2356
+ # resp.integration_subtype #=> String
2257
2357
  # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
2258
2358
  # resp.integration_uri #=> String
2259
2359
  # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
@@ -2393,6 +2493,7 @@ module Aws::ApiGatewayV2
2393
2493
  # resp.items[0].integration_id #=> String
2394
2494
  # resp.items[0].integration_method #=> String
2395
2495
  # resp.items[0].integration_response_selection_expression #=> String
2496
+ # resp.items[0].integration_subtype #=> String
2396
2497
  # resp.items[0].integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
2397
2498
  # resp.items[0].integration_uri #=> String
2398
2499
  # resp.items[0].passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
@@ -2951,12 +3052,14 @@ module Aws::ApiGatewayV2
2951
3052
  # @return [Types::ImportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2952
3053
  #
2953
3054
  # * {Types::ImportApiResponse#api_endpoint #api_endpoint} => String
3055
+ # * {Types::ImportApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
2954
3056
  # * {Types::ImportApiResponse#api_id #api_id} => String
2955
3057
  # * {Types::ImportApiResponse#api_key_selection_expression #api_key_selection_expression} => String
2956
3058
  # * {Types::ImportApiResponse#cors_configuration #cors_configuration} => Types::Cors
2957
3059
  # * {Types::ImportApiResponse#created_date #created_date} => Time
2958
3060
  # * {Types::ImportApiResponse#description #description} => String
2959
3061
  # * {Types::ImportApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
3062
+ # * {Types::ImportApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
2960
3063
  # * {Types::ImportApiResponse#import_info #import_info} => Array&lt;String&gt;
2961
3064
  # * {Types::ImportApiResponse#name #name} => String
2962
3065
  # * {Types::ImportApiResponse#protocol_type #protocol_type} => String
@@ -2976,6 +3079,7 @@ module Aws::ApiGatewayV2
2976
3079
  # @example Response structure
2977
3080
  #
2978
3081
  # resp.api_endpoint #=> String
3082
+ # resp.api_gateway_managed #=> Boolean
2979
3083
  # resp.api_id #=> String
2980
3084
  # resp.api_key_selection_expression #=> String
2981
3085
  # resp.cors_configuration.allow_credentials #=> Boolean
@@ -2991,6 +3095,7 @@ module Aws::ApiGatewayV2
2991
3095
  # resp.created_date #=> Time
2992
3096
  # resp.description #=> String
2993
3097
  # resp.disable_schema_validation #=> Boolean
3098
+ # resp.disable_execute_api_endpoint #=> Boolean
2994
3099
  # resp.import_info #=> Array
2995
3100
  # resp.import_info[0] #=> String
2996
3101
  # resp.name #=> String
@@ -3022,12 +3127,14 @@ module Aws::ApiGatewayV2
3022
3127
  # @return [Types::ReimportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3023
3128
  #
3024
3129
  # * {Types::ReimportApiResponse#api_endpoint #api_endpoint} => String
3130
+ # * {Types::ReimportApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
3025
3131
  # * {Types::ReimportApiResponse#api_id #api_id} => String
3026
3132
  # * {Types::ReimportApiResponse#api_key_selection_expression #api_key_selection_expression} => String
3027
3133
  # * {Types::ReimportApiResponse#cors_configuration #cors_configuration} => Types::Cors
3028
3134
  # * {Types::ReimportApiResponse#created_date #created_date} => Time
3029
3135
  # * {Types::ReimportApiResponse#description #description} => String
3030
3136
  # * {Types::ReimportApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
3137
+ # * {Types::ReimportApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
3031
3138
  # * {Types::ReimportApiResponse#import_info #import_info} => Array&lt;String&gt;
3032
3139
  # * {Types::ReimportApiResponse#name #name} => String
3033
3140
  # * {Types::ReimportApiResponse#protocol_type #protocol_type} => String
@@ -3048,6 +3155,7 @@ module Aws::ApiGatewayV2
3048
3155
  # @example Response structure
3049
3156
  #
3050
3157
  # resp.api_endpoint #=> String
3158
+ # resp.api_gateway_managed #=> Boolean
3051
3159
  # resp.api_id #=> String
3052
3160
  # resp.api_key_selection_expression #=> String
3053
3161
  # resp.cors_configuration.allow_credentials #=> Boolean
@@ -3063,6 +3171,7 @@ module Aws::ApiGatewayV2
3063
3171
  # resp.created_date #=> Time
3064
3172
  # resp.description #=> String
3065
3173
  # resp.disable_schema_validation #=> Boolean
3174
+ # resp.disable_execute_api_endpoint #=> Boolean
3066
3175
  # resp.import_info #=> Array
3067
3176
  # resp.import_info[0] #=> String
3068
3177
  # resp.name #=> String
@@ -3156,6 +3265,8 @@ module Aws::ApiGatewayV2
3156
3265
  #
3157
3266
  # @option params [Boolean] :disable_schema_validation
3158
3267
  #
3268
+ # @option params [Boolean] :disable_execute_api_endpoint
3269
+ #
3159
3270
  # @option params [String] :name
3160
3271
  # A string with a length between \[1-128\].
3161
3272
  #
@@ -3186,12 +3297,14 @@ module Aws::ApiGatewayV2
3186
3297
  # @return [Types::UpdateApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3187
3298
  #
3188
3299
  # * {Types::UpdateApiResponse#api_endpoint #api_endpoint} => String
3300
+ # * {Types::UpdateApiResponse#api_gateway_managed #api_gateway_managed} => Boolean
3189
3301
  # * {Types::UpdateApiResponse#api_id #api_id} => String
3190
3302
  # * {Types::UpdateApiResponse#api_key_selection_expression #api_key_selection_expression} => String
3191
3303
  # * {Types::UpdateApiResponse#cors_configuration #cors_configuration} => Types::Cors
3192
3304
  # * {Types::UpdateApiResponse#created_date #created_date} => Time
3193
3305
  # * {Types::UpdateApiResponse#description #description} => String
3194
3306
  # * {Types::UpdateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
3307
+ # * {Types::UpdateApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
3195
3308
  # * {Types::UpdateApiResponse#import_info #import_info} => Array&lt;String&gt;
3196
3309
  # * {Types::UpdateApiResponse#name #name} => String
3197
3310
  # * {Types::UpdateApiResponse#protocol_type #protocol_type} => String
@@ -3216,6 +3329,7 @@ module Aws::ApiGatewayV2
3216
3329
  # credentials_arn: "Arn",
3217
3330
  # description: "StringWithLengthBetween0And1024",
3218
3331
  # disable_schema_validation: false,
3332
+ # disable_execute_api_endpoint: false,
3219
3333
  # name: "StringWithLengthBetween1And128",
3220
3334
  # route_key: "SelectionKey",
3221
3335
  # route_selection_expression: "SelectionExpression",
@@ -3226,6 +3340,7 @@ module Aws::ApiGatewayV2
3226
3340
  # @example Response structure
3227
3341
  #
3228
3342
  # resp.api_endpoint #=> String
3343
+ # resp.api_gateway_managed #=> Boolean
3229
3344
  # resp.api_id #=> String
3230
3345
  # resp.api_key_selection_expression #=> String
3231
3346
  # resp.cors_configuration.allow_credentials #=> Boolean
@@ -3241,6 +3356,7 @@ module Aws::ApiGatewayV2
3241
3356
  # resp.created_date #=> Time
3242
3357
  # resp.description #=> String
3243
3358
  # resp.disable_schema_validation #=> Boolean
3359
+ # resp.disable_execute_api_endpoint #=> Boolean
3244
3360
  # resp.import_info #=> Array
3245
3361
  # resp.import_info[0] #=> String
3246
3362
  # resp.name #=> String
@@ -3325,9 +3441,9 @@ module Aws::ApiGatewayV2
3325
3441
  # An integer with a value between \[0-3600\].
3326
3442
  #
3327
3443
  # @option params [String] :authorizer_type
3328
- # The authorizer type. For WebSocket APIs, specify REQUEST for a Lambda
3329
- # function using incoming request parameters. For HTTP APIs, specify JWT
3330
- # to use JSON Web Tokens.
3444
+ # The authorizer type. Specify REQUEST for a Lambda function using
3445
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
3446
+ # (supported only for HTTP APIs).
3331
3447
  #
3332
3448
  # @option params [String] :authorizer_uri
3333
3449
  # A string representation of a URI with a length between \[1-2048\].
@@ -3359,6 +3475,11 @@ module Aws::ApiGatewayV2
3359
3475
  # @option params [String] :name
3360
3476
  # A string with a length between \[1-128\].
3361
3477
  #
3478
+ # @option params [String] :authorizer_payload_format_version
3479
+ # A string with a length between \[1-64\].
3480
+ #
3481
+ # @option params [Boolean] :enable_simple_responses
3482
+ #
3362
3483
  # @return [Types::UpdateAuthorizerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3363
3484
  #
3364
3485
  # * {Types::UpdateAuthorizerResponse#authorizer_credentials_arn #authorizer_credentials_arn} => String
@@ -3370,6 +3491,8 @@ module Aws::ApiGatewayV2
3370
3491
  # * {Types::UpdateAuthorizerResponse#identity_validation_expression #identity_validation_expression} => String
3371
3492
  # * {Types::UpdateAuthorizerResponse#jwt_configuration #jwt_configuration} => Types::JWTConfiguration
3372
3493
  # * {Types::UpdateAuthorizerResponse#name #name} => String
3494
+ # * {Types::UpdateAuthorizerResponse#authorizer_payload_format_version #authorizer_payload_format_version} => String
3495
+ # * {Types::UpdateAuthorizerResponse#enable_simple_responses #enable_simple_responses} => Boolean
3373
3496
  #
3374
3497
  # @example Request syntax with placeholder values
3375
3498
  #
@@ -3387,6 +3510,8 @@ module Aws::ApiGatewayV2
3387
3510
  # issuer: "UriWithLengthBetween1And2048",
3388
3511
  # },
3389
3512
  # name: "StringWithLengthBetween1And128",
3513
+ # authorizer_payload_format_version: "StringWithLengthBetween1And64",
3514
+ # enable_simple_responses: false,
3390
3515
  # })
3391
3516
  #
3392
3517
  # @example Response structure
@@ -3403,6 +3528,8 @@ module Aws::ApiGatewayV2
3403
3528
  # resp.jwt_configuration.audience[0] #=> String
3404
3529
  # resp.jwt_configuration.issuer #=> String
3405
3530
  # resp.name #=> String
3531
+ # resp.authorizer_payload_format_version #=> String
3532
+ # resp.enable_simple_responses #=> Boolean
3406
3533
  #
3407
3534
  # @overload update_authorizer(params = {})
3408
3535
  # @param [Hash] params ({})
@@ -3460,11 +3587,17 @@ module Aws::ApiGatewayV2
3460
3587
  # @option params [Array<Types::DomainNameConfiguration>] :domain_name_configurations
3461
3588
  # The domain name configurations.
3462
3589
  #
3590
+ # @option params [Types::MutualTlsAuthenticationInput] :mutual_tls_authentication
3591
+ # If specified, API Gateway performs two-way authentication between the
3592
+ # client and the server. Clients must present a trusted certificate to
3593
+ # access your API.
3594
+ #
3463
3595
  # @return [Types::UpdateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3464
3596
  #
3465
3597
  # * {Types::UpdateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
3466
3598
  # * {Types::UpdateDomainNameResponse#domain_name #domain_name} => String
3467
3599
  # * {Types::UpdateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array&lt;Types::DomainNameConfiguration&gt;
3600
+ # * {Types::UpdateDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
3468
3601
  # * {Types::UpdateDomainNameResponse#tags #tags} => Hash&lt;String,String&gt;
3469
3602
  #
3470
3603
  # @example Request syntax with placeholder values
@@ -3484,6 +3617,10 @@ module Aws::ApiGatewayV2
3484
3617
  # security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
3485
3618
  # },
3486
3619
  # ],
3620
+ # mutual_tls_authentication: {
3621
+ # truststore_uri: "UriWithLengthBetween1And2048",
3622
+ # truststore_version: "StringWithLengthBetween1And64",
3623
+ # },
3487
3624
  # })
3488
3625
  #
3489
3626
  # @example Response structure
@@ -3500,6 +3637,10 @@ module Aws::ApiGatewayV2
3500
3637
  # resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
3501
3638
  # resp.domain_name_configurations[0].hosted_zone_id #=> String
3502
3639
  # resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
3640
+ # resp.mutual_tls_authentication.truststore_uri #=> String
3641
+ # resp.mutual_tls_authentication.truststore_version #=> String
3642
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
3643
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
3503
3644
  # resp.tags #=> Hash
3504
3645
  # resp.tags["__string"] #=> String
3505
3646
  #
@@ -3535,6 +3676,9 @@ module Aws::ApiGatewayV2
3535
3676
  # @option params [String] :integration_method
3536
3677
  # A string with a length between \[1-64\].
3537
3678
  #
3679
+ # @option params [String] :integration_subtype
3680
+ # A string with a length between \[1-128\].
3681
+ #
3538
3682
  # @option params [String] :integration_type
3539
3683
  # Represents an API method integration type.
3540
3684
  #
@@ -3593,6 +3737,7 @@ module Aws::ApiGatewayV2
3593
3737
  # * {Types::UpdateIntegrationResult#integration_id #integration_id} => String
3594
3738
  # * {Types::UpdateIntegrationResult#integration_method #integration_method} => String
3595
3739
  # * {Types::UpdateIntegrationResult#integration_response_selection_expression #integration_response_selection_expression} => String
3740
+ # * {Types::UpdateIntegrationResult#integration_subtype #integration_subtype} => String
3596
3741
  # * {Types::UpdateIntegrationResult#integration_type #integration_type} => String
3597
3742
  # * {Types::UpdateIntegrationResult#integration_uri #integration_uri} => String
3598
3743
  # * {Types::UpdateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
@@ -3614,6 +3759,7 @@ module Aws::ApiGatewayV2
3614
3759
  # description: "StringWithLengthBetween0And1024",
3615
3760
  # integration_id: "__string", # required
3616
3761
  # integration_method: "StringWithLengthBetween1And64",
3762
+ # integration_subtype: "StringWithLengthBetween1And128",
3617
3763
  # integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
3618
3764
  # integration_uri: "UriWithLengthBetween1And2048",
3619
3765
  # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
@@ -3642,6 +3788,7 @@ module Aws::ApiGatewayV2
3642
3788
  # resp.integration_id #=> String
3643
3789
  # resp.integration_method #=> String
3644
3790
  # resp.integration_response_selection_expression #=> String
3791
+ # resp.integration_subtype #=> String
3645
3792
  # resp.integration_type #=> String, one of "AWS", "HTTP", "MOCK", "HTTP_PROXY", "AWS_PROXY"
3646
3793
  # resp.integration_uri #=> String
3647
3794
  # resp.passthrough_behavior #=> String, one of "WHEN_NO_MATCH", "NEVER", "WHEN_NO_TEMPLATES"
@@ -3825,7 +3972,8 @@ module Aws::ApiGatewayV2
3825
3972
  # The authorization type. For WebSocket APIs, valid values are NONE for
3826
3973
  # open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM for
3827
3974
  # using a Lambda authorizer. For HTTP APIs, valid values are NONE for
3828
- # open access, or JWT for using JSON Web Tokens.
3975
+ # open access, JWT for using JSON Web Tokens, AWS\_IAM for using AWS IAM
3976
+ # permissions, and CUSTOM for using a Lambda authorizer.
3829
3977
  #
3830
3978
  # @option params [String] :authorizer_id
3831
3979
  # The identifier.
@@ -4188,7 +4336,7 @@ module Aws::ApiGatewayV2
4188
4336
  params: params,
4189
4337
  config: config)
4190
4338
  context[:gem_name] = 'aws-sdk-apigatewayv2'
4191
- context[:gem_version] = '1.23.0'
4339
+ context[:gem_version] = '1.29.0'
4192
4340
  Seahorse::Client::Request.new(handlers, context)
4193
4341
  end
4194
4342