aws-sdk-apigatewayv2 1.16.0 → 1.21.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
- SHA1:
3
- metadata.gz: 99d1011c6c68858218c57c457dc35ea93cdb071a
4
- data.tar.gz: ca188f1f895e29b97e277830ded1c5768fdb844b
2
+ SHA256:
3
+ metadata.gz: e603ebd9ce59d14d6cabc8a7024fa0e8690584599a5e54f07895177bb481326a
4
+ data.tar.gz: 5420e6125a309a2e269ac6afcf394a7c89b01805a2593ccd3c4f5edf4bf86a1d
5
5
  SHA512:
6
- metadata.gz: '0736338261c0082e9584b60674e461de1388311c865334f03dbc8c7c0c620fff1cd194948173ff14ed48cc95b99169440136004cc18a785101049b05ebe6c007'
7
- data.tar.gz: 542a8e1d888962af64b477f0eb960f7cacaff2b83cd119ed0709ac931ce7bc40610479635390be513d5584385666daacd62b24aba66c7cdf66ccee121490111f
6
+ metadata.gz: 237a6e43581f73b1de7a2944fea5a6c4a3dd016c953cd0eaeead96593cf5b716b28acbe309c002caa98a63819ff7501d248e7a43034ad704f1c3cba428319840
7
+ data.tar.gz: 254f9e026fa254447c6a2d6fe04c87f02145aed504278568f19f8f1980b0cfd744b89e1edd1ccb23299427ab993e0065d232df38b5a813abfe4f1b3f8528049d
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-apigatewayv2/customizations'
45
45
  # @service
46
46
  module Aws::ApiGatewayV2
47
47
 
48
- GEM_VERSION = '1.16.0'
48
+ GEM_VERSION = '1.21.0'
49
49
 
50
50
  end
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:apigatewayv2)
32
32
  module Aws::ApiGatewayV2
33
33
  # An API client for ApiGatewayV2. To construct a client, you need to configure a `:region` and `:credentials`.
34
34
  #
35
- # client = Aws::ApiGatewayV2::Client.new(
36
- # region: region_name,
37
- # credentials: credentials,
38
- # # ...
39
- # )
35
+ # client = Aws::ApiGatewayV2::Client.new(
36
+ # region: region_name,
37
+ # credentials: credentials,
38
+ # # ...
39
+ # )
40
40
  #
41
41
  # For details on configuring region and credentials see
42
42
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
@@ -105,7 +105,7 @@ module Aws::ApiGatewayV2
105
105
  # @option options [required, String] :region
106
106
  # The AWS region to connect to. The configured `:region` is
107
107
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
108
+ # a default `:region` is searched for in the following locations:
109
109
  #
110
110
  # * `Aws.config[:region]`
111
111
  # * `ENV['AWS_REGION']`
@@ -161,7 +161,7 @@ module Aws::ApiGatewayV2
161
161
  # @option options [String] :endpoint
162
162
  # The client endpoint is normally constructed from the `:region`
163
163
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
164
+ # to test endpoints. This should be a valid HTTP(S) URI.
165
165
  #
166
166
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
167
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +176,7 @@ module Aws::ApiGatewayV2
176
176
  # requests fetching endpoints information. Defaults to 60 sec.
177
177
  #
178
178
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
179
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
180
  #
181
181
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
182
  # The log formatter.
@@ -229,15 +229,19 @@ module Aws::ApiGatewayV2
229
229
  #
230
230
  # @option options [String] :retry_mode ("legacy")
231
231
  # Specifies which retry algorithm to use. Values are:
232
- # * `legacy` - The pre-existing retry behavior. This is default value if
233
- # no retry mode is provided.
234
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
235
- # This includes support for retry quotas, which limit the number of
236
- # unsuccessful retries a client can make.
237
- # * `adaptive` - An experimental retry mode that includes all the
238
- # functionality of `standard` mode along with automatic client side
239
- # throttling. This is a provisional mode that may change behavior
240
- # in the future.
232
+ #
233
+ # * `legacy` - The pre-existing retry behavior. This is default value if
234
+ # no retry mode is provided.
235
+ #
236
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
237
+ # This includes support for retry quotas, which limit the number of
238
+ # unsuccessful retries a client can make.
239
+ #
240
+ # * `adaptive` - An experimental retry mode that includes all the
241
+ # functionality of `standard` mode along with automatic client side
242
+ # throttling. This is a provisional mode that may change behavior
243
+ # in the future.
244
+ #
241
245
  #
242
246
  # @option options [String] :secret_access_key
243
247
  #
@@ -265,8 +269,7 @@ module Aws::ApiGatewayV2
265
269
  #
266
270
  # @option options [Integer] :http_read_timeout (60) The default
267
271
  # number of seconds to wait for response data. This value can
268
- # safely be set
269
- # per-request on the session yielded by {#session_for}.
272
+ # safely be set per-request on the session.
270
273
  #
271
274
  # @option options [Float] :http_idle_timeout (5) The number of
272
275
  # seconds a connection is allowed to sit idle before it is
@@ -278,7 +281,7 @@ module Aws::ApiGatewayV2
278
281
  # request body. This option has no effect unless the request has
279
282
  # "Expect" header set to "100-continue". Defaults to `nil` which
280
283
  # disables this behaviour. This value can safely be set per
281
- # request on the session yielded by {#session_for}.
284
+ # request on the session.
282
285
  #
283
286
  # @option options [Boolean] :http_wire_trace (false) When `true`,
284
287
  # HTTP debug output will be sent to the `:logger`.
@@ -759,7 +762,12 @@ module Aws::ApiGatewayV2
759
762
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
760
763
  #
761
764
  # @option params [Integer] :timeout_in_millis
762
- # An integer with a value between \[50-29000\].
765
+ # An integer with a value between \[50-30000\].
766
+ #
767
+ # @option params [Types::TlsConfigInput] :tls_config
768
+ # The TLS configuration for a private integration. If you specify a TLS
769
+ # configuration, private integration traffic uses the HTTPS protocol.
770
+ # Supported only for HTTP APIs.
763
771
  #
764
772
  # @return [Types::CreateIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
765
773
  #
@@ -780,6 +788,7 @@ module Aws::ApiGatewayV2
780
788
  # * {Types::CreateIntegrationResult#request_templates #request_templates} => Hash<String,String>
781
789
  # * {Types::CreateIntegrationResult#template_selection_expression #template_selection_expression} => String
782
790
  # * {Types::CreateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
791
+ # * {Types::CreateIntegrationResult#tls_config #tls_config} => Types::TlsConfig
783
792
  #
784
793
  # @example Request syntax with placeholder values
785
794
  #
@@ -803,6 +812,9 @@ module Aws::ApiGatewayV2
803
812
  # },
804
813
  # template_selection_expression: "SelectionExpression",
805
814
  # timeout_in_millis: 1,
815
+ # tls_config: {
816
+ # server_name_to_verify: "StringWithLengthBetween1And512",
817
+ # },
806
818
  # })
807
819
  #
808
820
  # @example Response structure
@@ -826,6 +838,7 @@ module Aws::ApiGatewayV2
826
838
  # resp.request_templates["__string"] #=> String
827
839
  # resp.template_selection_expression #=> String
828
840
  # resp.timeout_in_millis #=> Integer
841
+ # resp.tls_config.server_name_to_verify #=> String
829
842
  #
830
843
  # @overload create_integration(params = {})
831
844
  # @param [Hash] params ({})
@@ -1235,7 +1248,7 @@ module Aws::ApiGatewayV2
1235
1248
  # default_route_settings: {
1236
1249
  # data_trace_enabled: false,
1237
1250
  # detailed_metrics_enabled: false,
1238
- # logging_level: "ERROR", # accepts ERROR, INFO, false
1251
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
1239
1252
  # throttling_burst_limit: 1,
1240
1253
  # throttling_rate_limit: 1.0,
1241
1254
  # },
@@ -1245,7 +1258,7 @@ module Aws::ApiGatewayV2
1245
1258
  # "__string" => {
1246
1259
  # data_trace_enabled: false,
1247
1260
  # detailed_metrics_enabled: false,
1248
- # logging_level: "ERROR", # accepts ERROR, INFO, false
1261
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
1249
1262
  # throttling_burst_limit: 1,
1250
1263
  # throttling_rate_limit: 1.0,
1251
1264
  # },
@@ -1269,7 +1282,7 @@ module Aws::ApiGatewayV2
1269
1282
  # resp.created_date #=> Time
1270
1283
  # resp.default_route_settings.data_trace_enabled #=> Boolean
1271
1284
  # resp.default_route_settings.detailed_metrics_enabled #=> Boolean
1272
- # resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "false"
1285
+ # resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "OFF"
1273
1286
  # resp.default_route_settings.throttling_burst_limit #=> Integer
1274
1287
  # resp.default_route_settings.throttling_rate_limit #=> Float
1275
1288
  # resp.deployment_id #=> String
@@ -1279,7 +1292,7 @@ module Aws::ApiGatewayV2
1279
1292
  # resp.route_settings #=> Hash
1280
1293
  # resp.route_settings["__string"].data_trace_enabled #=> Boolean
1281
1294
  # resp.route_settings["__string"].detailed_metrics_enabled #=> Boolean
1282
- # resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "false"
1295
+ # resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "OFF"
1283
1296
  # resp.route_settings["__string"].throttling_burst_limit #=> Integer
1284
1297
  # resp.route_settings["__string"].throttling_rate_limit #=> Float
1285
1298
  # resp.stage_name #=> String
@@ -1295,6 +1308,88 @@ module Aws::ApiGatewayV2
1295
1308
  req.send_request(options)
1296
1309
  end
1297
1310
 
1311
+ # Creates a VPC link.
1312
+ #
1313
+ # @option params [required, String] :name
1314
+ # A string with a length between \[1-128\].
1315
+ #
1316
+ # @option params [Array<String>] :security_group_ids
1317
+ # A list of security group IDs for the VPC link.
1318
+ #
1319
+ # @option params [required, Array<String>] :subnet_ids
1320
+ # A list of subnet IDs to include in the VPC link.
1321
+ #
1322
+ # @option params [Hash<String,String>] :tags
1323
+ # Represents a collection of tags associated with the resource.
1324
+ #
1325
+ # @return [Types::CreateVpcLinkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1326
+ #
1327
+ # * {Types::CreateVpcLinkResponse#created_date #created_date} => Time
1328
+ # * {Types::CreateVpcLinkResponse#name #name} => String
1329
+ # * {Types::CreateVpcLinkResponse#security_group_ids #security_group_ids} => Array&lt;String&gt;
1330
+ # * {Types::CreateVpcLinkResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
1331
+ # * {Types::CreateVpcLinkResponse#tags #tags} => Hash&lt;String,String&gt;
1332
+ # * {Types::CreateVpcLinkResponse#vpc_link_id #vpc_link_id} => String
1333
+ # * {Types::CreateVpcLinkResponse#vpc_link_status #vpc_link_status} => String
1334
+ # * {Types::CreateVpcLinkResponse#vpc_link_status_message #vpc_link_status_message} => String
1335
+ # * {Types::CreateVpcLinkResponse#vpc_link_version #vpc_link_version} => String
1336
+ #
1337
+ # @example Request syntax with placeholder values
1338
+ #
1339
+ # resp = client.create_vpc_link({
1340
+ # name: "StringWithLengthBetween1And128", # required
1341
+ # security_group_ids: ["__string"],
1342
+ # subnet_ids: ["__string"], # required
1343
+ # tags: {
1344
+ # "__string" => "StringWithLengthBetween1And1600",
1345
+ # },
1346
+ # })
1347
+ #
1348
+ # @example Response structure
1349
+ #
1350
+ # resp.created_date #=> Time
1351
+ # resp.name #=> String
1352
+ # resp.security_group_ids #=> Array
1353
+ # resp.security_group_ids[0] #=> String
1354
+ # resp.subnet_ids #=> Array
1355
+ # resp.subnet_ids[0] #=> String
1356
+ # resp.tags #=> Hash
1357
+ # resp.tags["__string"] #=> String
1358
+ # resp.vpc_link_id #=> String
1359
+ # resp.vpc_link_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "FAILED", "INACTIVE"
1360
+ # resp.vpc_link_status_message #=> String
1361
+ # resp.vpc_link_version #=> String, one of "V2"
1362
+ #
1363
+ # @overload create_vpc_link(params = {})
1364
+ # @param [Hash] params ({})
1365
+ def create_vpc_link(params = {}, options = {})
1366
+ req = build_request(:create_vpc_link, params)
1367
+ req.send_request(options)
1368
+ end
1369
+
1370
+ # Deletes the AccessLogSettings for a Stage. To disable access logging
1371
+ # for a Stage, delete its AccessLogSettings.
1372
+ #
1373
+ # @option params [required, String] :api_id
1374
+ #
1375
+ # @option params [required, String] :stage_name
1376
+ #
1377
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1378
+ #
1379
+ # @example Request syntax with placeholder values
1380
+ #
1381
+ # resp = client.delete_access_log_settings({
1382
+ # api_id: "__string", # required
1383
+ # stage_name: "__string", # required
1384
+ # })
1385
+ #
1386
+ # @overload delete_access_log_settings(params = {})
1387
+ # @param [Hash] params ({})
1388
+ def delete_access_log_settings(params = {}, options = {})
1389
+ req = build_request(:delete_access_log_settings, params)
1390
+ req.send_request(options)
1391
+ end
1392
+
1298
1393
  # Deletes an Api resource.
1299
1394
  #
1300
1395
  # @option params [required, String] :api_id
@@ -1509,6 +1604,31 @@ module Aws::ApiGatewayV2
1509
1604
  req.send_request(options)
1510
1605
  end
1511
1606
 
1607
+ # Deletes a route request parameter.
1608
+ #
1609
+ # @option params [required, String] :api_id
1610
+ #
1611
+ # @option params [required, String] :request_parameter_key
1612
+ #
1613
+ # @option params [required, String] :route_id
1614
+ #
1615
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1616
+ #
1617
+ # @example Request syntax with placeholder values
1618
+ #
1619
+ # resp = client.delete_route_request_parameter({
1620
+ # api_id: "__string", # required
1621
+ # request_parameter_key: "__string", # required
1622
+ # route_id: "__string", # required
1623
+ # })
1624
+ #
1625
+ # @overload delete_route_request_parameter(params = {})
1626
+ # @param [Hash] params ({})
1627
+ def delete_route_request_parameter(params = {}, options = {})
1628
+ req = build_request(:delete_route_request_parameter, params)
1629
+ req.send_request(options)
1630
+ end
1631
+
1512
1632
  # Deletes a RouteResponse.
1513
1633
  #
1514
1634
  # @option params [required, String] :api_id
@@ -1539,14 +1659,6 @@ module Aws::ApiGatewayV2
1539
1659
  # @option params [required, String] :api_id
1540
1660
  #
1541
1661
  # @option params [required, String] :route_key
1542
- # After evaluating a selection expression, the result is compared
1543
- # against one or more selection keys to find a matching key. See
1544
- # [Selection Expressions][1] for a list of expressions and each
1545
- # expression's associated selection key type.
1546
- #
1547
- #
1548
- #
1549
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
1550
1662
  #
1551
1663
  # @option params [required, String] :stage_name
1552
1664
  #
@@ -1556,7 +1668,7 @@ module Aws::ApiGatewayV2
1556
1668
  #
1557
1669
  # resp = client.delete_route_settings({
1558
1670
  # api_id: "__string", # required
1559
- # route_key: "SelectionKey", # required
1671
+ # route_key: "__string", # required
1560
1672
  # stage_name: "__string", # required
1561
1673
  # })
1562
1674
  #
@@ -1589,6 +1701,66 @@ module Aws::ApiGatewayV2
1589
1701
  req.send_request(options)
1590
1702
  end
1591
1703
 
1704
+ # Deletes a VPC link.
1705
+ #
1706
+ # @option params [required, String] :vpc_link_id
1707
+ #
1708
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1709
+ #
1710
+ # @example Request syntax with placeholder values
1711
+ #
1712
+ # resp = client.delete_vpc_link({
1713
+ # vpc_link_id: "__string", # required
1714
+ # })
1715
+ #
1716
+ # @overload delete_vpc_link(params = {})
1717
+ # @param [Hash] params ({})
1718
+ def delete_vpc_link(params = {}, options = {})
1719
+ req = build_request(:delete_vpc_link, params)
1720
+ req.send_request(options)
1721
+ end
1722
+
1723
+ # Exports a definition of an API in a particular output format and
1724
+ # specification.
1725
+ #
1726
+ # @option params [required, String] :api_id
1727
+ #
1728
+ # @option params [String] :export_version
1729
+ #
1730
+ # @option params [Boolean] :include_extensions
1731
+ #
1732
+ # @option params [required, String] :output_type
1733
+ #
1734
+ # @option params [required, String] :specification
1735
+ #
1736
+ # @option params [String] :stage_name
1737
+ #
1738
+ # @return [Types::ExportApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1739
+ #
1740
+ # * {Types::ExportApiResponse#body #body} => String
1741
+ #
1742
+ # @example Request syntax with placeholder values
1743
+ #
1744
+ # resp = client.export_api({
1745
+ # api_id: "__string", # required
1746
+ # export_version: "__string",
1747
+ # include_extensions: false,
1748
+ # output_type: "__string", # required
1749
+ # specification: "__string", # required
1750
+ # stage_name: "__string",
1751
+ # })
1752
+ #
1753
+ # @example Response structure
1754
+ #
1755
+ # resp.body #=> String
1756
+ #
1757
+ # @overload export_api(params = {})
1758
+ # @param [Hash] params ({})
1759
+ def export_api(params = {}, options = {})
1760
+ req = build_request(:export_api, params)
1761
+ req.send_request(options)
1762
+ end
1763
+
1592
1764
  # Gets an Api resource.
1593
1765
  #
1594
1766
  # @option params [required, String] :api_id
@@ -2058,6 +2230,7 @@ module Aws::ApiGatewayV2
2058
2230
  # * {Types::GetIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
2059
2231
  # * {Types::GetIntegrationResult#template_selection_expression #template_selection_expression} => String
2060
2232
  # * {Types::GetIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
2233
+ # * {Types::GetIntegrationResult#tls_config #tls_config} => Types::TlsConfig
2061
2234
  #
2062
2235
  # @example Request syntax with placeholder values
2063
2236
  #
@@ -2087,6 +2260,7 @@ module Aws::ApiGatewayV2
2087
2260
  # resp.request_templates["__string"] #=> String
2088
2261
  # resp.template_selection_expression #=> String
2089
2262
  # resp.timeout_in_millis #=> Integer
2263
+ # resp.tls_config.server_name_to_verify #=> String
2090
2264
  #
2091
2265
  # @overload get_integration(params = {})
2092
2266
  # @param [Hash] params ({})
@@ -2225,6 +2399,7 @@ module Aws::ApiGatewayV2
2225
2399
  # resp.items[0].request_templates["__string"] #=> String
2226
2400
  # resp.items[0].template_selection_expression #=> String
2227
2401
  # resp.items[0].timeout_in_millis #=> Integer
2402
+ # resp.items[0].tls_config.server_name_to_verify #=> String
2228
2403
  # resp.next_token #=> String
2229
2404
  #
2230
2405
  # @overload get_integrations(params = {})
@@ -2564,7 +2739,7 @@ module Aws::ApiGatewayV2
2564
2739
  # resp.created_date #=> Time
2565
2740
  # resp.default_route_settings.data_trace_enabled #=> Boolean
2566
2741
  # resp.default_route_settings.detailed_metrics_enabled #=> Boolean
2567
- # resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "false"
2742
+ # resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "OFF"
2568
2743
  # resp.default_route_settings.throttling_burst_limit #=> Integer
2569
2744
  # resp.default_route_settings.throttling_rate_limit #=> Float
2570
2745
  # resp.deployment_id #=> String
@@ -2574,7 +2749,7 @@ module Aws::ApiGatewayV2
2574
2749
  # resp.route_settings #=> Hash
2575
2750
  # resp.route_settings["__string"].data_trace_enabled #=> Boolean
2576
2751
  # resp.route_settings["__string"].detailed_metrics_enabled #=> Boolean
2577
- # resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "false"
2752
+ # resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "OFF"
2578
2753
  # resp.route_settings["__string"].throttling_burst_limit #=> Integer
2579
2754
  # resp.route_settings["__string"].throttling_rate_limit #=> Float
2580
2755
  # resp.stage_name #=> String
@@ -2622,7 +2797,7 @@ module Aws::ApiGatewayV2
2622
2797
  # resp.items[0].created_date #=> Time
2623
2798
  # resp.items[0].default_route_settings.data_trace_enabled #=> Boolean
2624
2799
  # resp.items[0].default_route_settings.detailed_metrics_enabled #=> Boolean
2625
- # resp.items[0].default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "false"
2800
+ # resp.items[0].default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "OFF"
2626
2801
  # resp.items[0].default_route_settings.throttling_burst_limit #=> Integer
2627
2802
  # resp.items[0].default_route_settings.throttling_rate_limit #=> Float
2628
2803
  # resp.items[0].deployment_id #=> String
@@ -2632,7 +2807,7 @@ module Aws::ApiGatewayV2
2632
2807
  # resp.items[0].route_settings #=> Hash
2633
2808
  # resp.items[0].route_settings["__string"].data_trace_enabled #=> Boolean
2634
2809
  # resp.items[0].route_settings["__string"].detailed_metrics_enabled #=> Boolean
2635
- # resp.items[0].route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "false"
2810
+ # resp.items[0].route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "OFF"
2636
2811
  # resp.items[0].route_settings["__string"].throttling_burst_limit #=> Integer
2637
2812
  # resp.items[0].route_settings["__string"].throttling_rate_limit #=> Float
2638
2813
  # resp.items[0].stage_name #=> String
@@ -2675,6 +2850,92 @@ module Aws::ApiGatewayV2
2675
2850
  req.send_request(options)
2676
2851
  end
2677
2852
 
2853
+ # Gets a VPC link.
2854
+ #
2855
+ # @option params [required, String] :vpc_link_id
2856
+ #
2857
+ # @return [Types::GetVpcLinkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2858
+ #
2859
+ # * {Types::GetVpcLinkResponse#created_date #created_date} => Time
2860
+ # * {Types::GetVpcLinkResponse#name #name} => String
2861
+ # * {Types::GetVpcLinkResponse#security_group_ids #security_group_ids} => Array&lt;String&gt;
2862
+ # * {Types::GetVpcLinkResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
2863
+ # * {Types::GetVpcLinkResponse#tags #tags} => Hash&lt;String,String&gt;
2864
+ # * {Types::GetVpcLinkResponse#vpc_link_id #vpc_link_id} => String
2865
+ # * {Types::GetVpcLinkResponse#vpc_link_status #vpc_link_status} => String
2866
+ # * {Types::GetVpcLinkResponse#vpc_link_status_message #vpc_link_status_message} => String
2867
+ # * {Types::GetVpcLinkResponse#vpc_link_version #vpc_link_version} => String
2868
+ #
2869
+ # @example Request syntax with placeholder values
2870
+ #
2871
+ # resp = client.get_vpc_link({
2872
+ # vpc_link_id: "__string", # required
2873
+ # })
2874
+ #
2875
+ # @example Response structure
2876
+ #
2877
+ # resp.created_date #=> Time
2878
+ # resp.name #=> String
2879
+ # resp.security_group_ids #=> Array
2880
+ # resp.security_group_ids[0] #=> String
2881
+ # resp.subnet_ids #=> Array
2882
+ # resp.subnet_ids[0] #=> String
2883
+ # resp.tags #=> Hash
2884
+ # resp.tags["__string"] #=> String
2885
+ # resp.vpc_link_id #=> String
2886
+ # resp.vpc_link_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "FAILED", "INACTIVE"
2887
+ # resp.vpc_link_status_message #=> String
2888
+ # resp.vpc_link_version #=> String, one of "V2"
2889
+ #
2890
+ # @overload get_vpc_link(params = {})
2891
+ # @param [Hash] params ({})
2892
+ def get_vpc_link(params = {}, options = {})
2893
+ req = build_request(:get_vpc_link, params)
2894
+ req.send_request(options)
2895
+ end
2896
+
2897
+ # Gets a collection of VPC links.
2898
+ #
2899
+ # @option params [String] :max_results
2900
+ #
2901
+ # @option params [String] :next_token
2902
+ #
2903
+ # @return [Types::GetVpcLinksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2904
+ #
2905
+ # * {Types::GetVpcLinksResponse#items #items} => Array&lt;Types::VpcLink&gt;
2906
+ # * {Types::GetVpcLinksResponse#next_token #next_token} => String
2907
+ #
2908
+ # @example Request syntax with placeholder values
2909
+ #
2910
+ # resp = client.get_vpc_links({
2911
+ # max_results: "__string",
2912
+ # next_token: "__string",
2913
+ # })
2914
+ #
2915
+ # @example Response structure
2916
+ #
2917
+ # resp.items #=> Array
2918
+ # resp.items[0].created_date #=> Time
2919
+ # resp.items[0].name #=> String
2920
+ # resp.items[0].security_group_ids #=> Array
2921
+ # resp.items[0].security_group_ids[0] #=> String
2922
+ # resp.items[0].subnet_ids #=> Array
2923
+ # resp.items[0].subnet_ids[0] #=> String
2924
+ # resp.items[0].tags #=> Hash
2925
+ # resp.items[0].tags["__string"] #=> String
2926
+ # resp.items[0].vpc_link_id #=> String
2927
+ # resp.items[0].vpc_link_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "FAILED", "INACTIVE"
2928
+ # resp.items[0].vpc_link_status_message #=> String
2929
+ # resp.items[0].vpc_link_version #=> String, one of "V2"
2930
+ # resp.next_token #=> String
2931
+ #
2932
+ # @overload get_vpc_links(params = {})
2933
+ # @param [Hash] params ({})
2934
+ def get_vpc_links(params = {}, options = {})
2935
+ req = build_request(:get_vpc_links, params)
2936
+ req.send_request(options)
2937
+ end
2938
+
2678
2939
  # Imports an API.
2679
2940
  #
2680
2941
  # @option params [String] :basepath
@@ -3310,7 +3571,12 @@ module Aws::ApiGatewayV2
3310
3571
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
3311
3572
  #
3312
3573
  # @option params [Integer] :timeout_in_millis
3313
- # An integer with a value between \[50-29000\].
3574
+ # An integer with a value between \[50-30000\].
3575
+ #
3576
+ # @option params [Types::TlsConfigInput] :tls_config
3577
+ # The TLS configuration for a private integration. If you specify a TLS
3578
+ # configuration, private integration traffic uses the HTTPS protocol.
3579
+ # Supported only for HTTP APIs.
3314
3580
  #
3315
3581
  # @return [Types::UpdateIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3316
3582
  #
@@ -3331,6 +3597,7 @@ module Aws::ApiGatewayV2
3331
3597
  # * {Types::UpdateIntegrationResult#request_templates #request_templates} => Hash&lt;String,String&gt;
3332
3598
  # * {Types::UpdateIntegrationResult#template_selection_expression #template_selection_expression} => String
3333
3599
  # * {Types::UpdateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
3600
+ # * {Types::UpdateIntegrationResult#tls_config #tls_config} => Types::TlsConfig
3334
3601
  #
3335
3602
  # @example Request syntax with placeholder values
3336
3603
  #
@@ -3355,6 +3622,9 @@ module Aws::ApiGatewayV2
3355
3622
  # },
3356
3623
  # template_selection_expression: "SelectionExpression",
3357
3624
  # timeout_in_millis: 1,
3625
+ # tls_config: {
3626
+ # server_name_to_verify: "StringWithLengthBetween1And512",
3627
+ # },
3358
3628
  # })
3359
3629
  #
3360
3630
  # @example Response structure
@@ -3378,6 +3648,7 @@ module Aws::ApiGatewayV2
3378
3648
  # resp.request_templates["__string"] #=> String
3379
3649
  # resp.template_selection_expression #=> String
3380
3650
  # resp.timeout_in_millis #=> Integer
3651
+ # resp.tls_config.server_name_to_verify #=> String
3381
3652
  #
3382
3653
  # @overload update_integration(params = {})
3383
3654
  # @param [Hash] params ({})
@@ -3795,7 +4066,7 @@ module Aws::ApiGatewayV2
3795
4066
  # default_route_settings: {
3796
4067
  # data_trace_enabled: false,
3797
4068
  # detailed_metrics_enabled: false,
3798
- # logging_level: "ERROR", # accepts ERROR, INFO, false
4069
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
3799
4070
  # throttling_burst_limit: 1,
3800
4071
  # throttling_rate_limit: 1.0,
3801
4072
  # },
@@ -3805,7 +4076,7 @@ module Aws::ApiGatewayV2
3805
4076
  # "__string" => {
3806
4077
  # data_trace_enabled: false,
3807
4078
  # detailed_metrics_enabled: false,
3808
- # logging_level: "ERROR", # accepts ERROR, INFO, false
4079
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
3809
4080
  # throttling_burst_limit: 1,
3810
4081
  # throttling_rate_limit: 1.0,
3811
4082
  # },
@@ -3826,7 +4097,7 @@ module Aws::ApiGatewayV2
3826
4097
  # resp.created_date #=> Time
3827
4098
  # resp.default_route_settings.data_trace_enabled #=> Boolean
3828
4099
  # resp.default_route_settings.detailed_metrics_enabled #=> Boolean
3829
- # resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "false"
4100
+ # resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "OFF"
3830
4101
  # resp.default_route_settings.throttling_burst_limit #=> Integer
3831
4102
  # resp.default_route_settings.throttling_rate_limit #=> Float
3832
4103
  # resp.deployment_id #=> String
@@ -3836,7 +4107,7 @@ module Aws::ApiGatewayV2
3836
4107
  # resp.route_settings #=> Hash
3837
4108
  # resp.route_settings["__string"].data_trace_enabled #=> Boolean
3838
4109
  # resp.route_settings["__string"].detailed_metrics_enabled #=> Boolean
3839
- # resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "false"
4110
+ # resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "OFF"
3840
4111
  # resp.route_settings["__string"].throttling_burst_limit #=> Integer
3841
4112
  # resp.route_settings["__string"].throttling_rate_limit #=> Float
3842
4113
  # resp.stage_name #=> String
@@ -3852,6 +4123,54 @@ module Aws::ApiGatewayV2
3852
4123
  req.send_request(options)
3853
4124
  end
3854
4125
 
4126
+ # Updates a VPC link.
4127
+ #
4128
+ # @option params [String] :name
4129
+ # A string with a length between \[1-128\].
4130
+ #
4131
+ # @option params [required, String] :vpc_link_id
4132
+ #
4133
+ # @return [Types::UpdateVpcLinkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4134
+ #
4135
+ # * {Types::UpdateVpcLinkResponse#created_date #created_date} => Time
4136
+ # * {Types::UpdateVpcLinkResponse#name #name} => String
4137
+ # * {Types::UpdateVpcLinkResponse#security_group_ids #security_group_ids} => Array&lt;String&gt;
4138
+ # * {Types::UpdateVpcLinkResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
4139
+ # * {Types::UpdateVpcLinkResponse#tags #tags} => Hash&lt;String,String&gt;
4140
+ # * {Types::UpdateVpcLinkResponse#vpc_link_id #vpc_link_id} => String
4141
+ # * {Types::UpdateVpcLinkResponse#vpc_link_status #vpc_link_status} => String
4142
+ # * {Types::UpdateVpcLinkResponse#vpc_link_status_message #vpc_link_status_message} => String
4143
+ # * {Types::UpdateVpcLinkResponse#vpc_link_version #vpc_link_version} => String
4144
+ #
4145
+ # @example Request syntax with placeholder values
4146
+ #
4147
+ # resp = client.update_vpc_link({
4148
+ # name: "StringWithLengthBetween1And128",
4149
+ # vpc_link_id: "__string", # required
4150
+ # })
4151
+ #
4152
+ # @example Response structure
4153
+ #
4154
+ # resp.created_date #=> Time
4155
+ # resp.name #=> String
4156
+ # resp.security_group_ids #=> Array
4157
+ # resp.security_group_ids[0] #=> String
4158
+ # resp.subnet_ids #=> Array
4159
+ # resp.subnet_ids[0] #=> String
4160
+ # resp.tags #=> Hash
4161
+ # resp.tags["__string"] #=> String
4162
+ # resp.vpc_link_id #=> String
4163
+ # resp.vpc_link_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "FAILED", "INACTIVE"
4164
+ # resp.vpc_link_status_message #=> String
4165
+ # resp.vpc_link_version #=> String, one of "V2"
4166
+ #
4167
+ # @overload update_vpc_link(params = {})
4168
+ # @param [Hash] params ({})
4169
+ def update_vpc_link(params = {}, options = {})
4170
+ req = build_request(:update_vpc_link, params)
4171
+ req.send_request(options)
4172
+ end
4173
+
3855
4174
  # @!endgroup
3856
4175
 
3857
4176
  # @param params ({})
@@ -3865,7 +4184,7 @@ module Aws::ApiGatewayV2
3865
4184
  params: params,
3866
4185
  config: config)
3867
4186
  context[:gem_name] = 'aws-sdk-apigatewayv2'
3868
- context[:gem_version] = '1.16.0'
4187
+ context[:gem_version] = '1.21.0'
3869
4188
  Seahorse::Client::Request.new(handlers, context)
3870
4189
  end
3871
4190