aws-sdk-apigatewayv2 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-apigatewayv2.rb +1 -1
- data/lib/aws-sdk-apigatewayv2/client.rb +315 -36
- data/lib/aws-sdk-apigatewayv2/client_api.rb +206 -9
- data/lib/aws-sdk-apigatewayv2/types.rb +611 -59
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3878cd29c9cc7394a9dd6cc2a7b36d57cf4837f97a47043d0f4cf30a1b7bb32a
|
4
|
+
data.tar.gz: 363560c49704144db539289516ef889bcbc895ad6d1942e3c9cd2aaeec5f9fe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4d5863825ba99cab307fd78d9f8a2bbe99dd925af4de18b426239467730a61deccc00c628315260541333422c78907eb5c5258837029db96f6130ec41b16aec
|
7
|
+
data.tar.gz: 6c194e8d89f5160a48ece2b9544368dc6a3dc3233ab5eb280ee8bf97b264c99cfedaed5de32468ebcaca89857e837eb235f19724bb1f6e350c38f4de28c9c48e
|
data/lib/aws-sdk-apigatewayv2.rb
CHANGED
@@ -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
|
-
#
|
36
|
-
#
|
37
|
-
#
|
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).
|
@@ -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
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
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
|
#
|
@@ -761,6 +765,11 @@ module Aws::ApiGatewayV2
|
|
761
765
|
# @option params [Integer] :timeout_in_millis
|
762
766
|
# An integer with a value between \[50-29000\].
|
763
767
|
#
|
768
|
+
# @option params [Types::TlsConfigInput] :tls_config
|
769
|
+
# The TLS configuration for a private integration. If you specify a TLS
|
770
|
+
# configuration, private integration traffic uses the HTTPS protocol.
|
771
|
+
# Supported only for HTTP APIs.
|
772
|
+
#
|
764
773
|
# @return [Types::CreateIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
765
774
|
#
|
766
775
|
# * {Types::CreateIntegrationResult#api_gateway_managed #api_gateway_managed} => Boolean
|
@@ -780,6 +789,7 @@ module Aws::ApiGatewayV2
|
|
780
789
|
# * {Types::CreateIntegrationResult#request_templates #request_templates} => Hash<String,String>
|
781
790
|
# * {Types::CreateIntegrationResult#template_selection_expression #template_selection_expression} => String
|
782
791
|
# * {Types::CreateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
|
792
|
+
# * {Types::CreateIntegrationResult#tls_config #tls_config} => Types::TlsConfig
|
783
793
|
#
|
784
794
|
# @example Request syntax with placeholder values
|
785
795
|
#
|
@@ -803,6 +813,9 @@ module Aws::ApiGatewayV2
|
|
803
813
|
# },
|
804
814
|
# template_selection_expression: "SelectionExpression",
|
805
815
|
# timeout_in_millis: 1,
|
816
|
+
# tls_config: {
|
817
|
+
# server_name_to_verify: "StringWithLengthBetween1And512",
|
818
|
+
# },
|
806
819
|
# })
|
807
820
|
#
|
808
821
|
# @example Response structure
|
@@ -826,6 +839,7 @@ module Aws::ApiGatewayV2
|
|
826
839
|
# resp.request_templates["__string"] #=> String
|
827
840
|
# resp.template_selection_expression #=> String
|
828
841
|
# resp.timeout_in_millis #=> Integer
|
842
|
+
# resp.tls_config.server_name_to_verify #=> String
|
829
843
|
#
|
830
844
|
# @overload create_integration(params = {})
|
831
845
|
# @param [Hash] params ({})
|
@@ -1235,7 +1249,7 @@ module Aws::ApiGatewayV2
|
|
1235
1249
|
# default_route_settings: {
|
1236
1250
|
# data_trace_enabled: false,
|
1237
1251
|
# detailed_metrics_enabled: false,
|
1238
|
-
# logging_level: "ERROR", # accepts ERROR, INFO,
|
1252
|
+
# logging_level: "ERROR", # accepts ERROR, INFO, OFF
|
1239
1253
|
# throttling_burst_limit: 1,
|
1240
1254
|
# throttling_rate_limit: 1.0,
|
1241
1255
|
# },
|
@@ -1245,7 +1259,7 @@ module Aws::ApiGatewayV2
|
|
1245
1259
|
# "__string" => {
|
1246
1260
|
# data_trace_enabled: false,
|
1247
1261
|
# detailed_metrics_enabled: false,
|
1248
|
-
# logging_level: "ERROR", # accepts ERROR, INFO,
|
1262
|
+
# logging_level: "ERROR", # accepts ERROR, INFO, OFF
|
1249
1263
|
# throttling_burst_limit: 1,
|
1250
1264
|
# throttling_rate_limit: 1.0,
|
1251
1265
|
# },
|
@@ -1269,7 +1283,7 @@ module Aws::ApiGatewayV2
|
|
1269
1283
|
# resp.created_date #=> Time
|
1270
1284
|
# resp.default_route_settings.data_trace_enabled #=> Boolean
|
1271
1285
|
# resp.default_route_settings.detailed_metrics_enabled #=> Boolean
|
1272
|
-
# resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "
|
1286
|
+
# resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "OFF"
|
1273
1287
|
# resp.default_route_settings.throttling_burst_limit #=> Integer
|
1274
1288
|
# resp.default_route_settings.throttling_rate_limit #=> Float
|
1275
1289
|
# resp.deployment_id #=> String
|
@@ -1279,7 +1293,7 @@ module Aws::ApiGatewayV2
|
|
1279
1293
|
# resp.route_settings #=> Hash
|
1280
1294
|
# resp.route_settings["__string"].data_trace_enabled #=> Boolean
|
1281
1295
|
# resp.route_settings["__string"].detailed_metrics_enabled #=> Boolean
|
1282
|
-
# resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "
|
1296
|
+
# resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "OFF"
|
1283
1297
|
# resp.route_settings["__string"].throttling_burst_limit #=> Integer
|
1284
1298
|
# resp.route_settings["__string"].throttling_rate_limit #=> Float
|
1285
1299
|
# resp.stage_name #=> String
|
@@ -1295,6 +1309,88 @@ module Aws::ApiGatewayV2
|
|
1295
1309
|
req.send_request(options)
|
1296
1310
|
end
|
1297
1311
|
|
1312
|
+
# Creates a VPC link.
|
1313
|
+
#
|
1314
|
+
# @option params [required, String] :name
|
1315
|
+
# A string with a length between \[1-128\].
|
1316
|
+
#
|
1317
|
+
# @option params [Array<String>] :security_group_ids
|
1318
|
+
# A list of security group IDs for the VPC link.
|
1319
|
+
#
|
1320
|
+
# @option params [required, Array<String>] :subnet_ids
|
1321
|
+
# A list of subnet IDs to include in the VPC link.
|
1322
|
+
#
|
1323
|
+
# @option params [Hash<String,String>] :tags
|
1324
|
+
# Represents a collection of tags associated with the resource.
|
1325
|
+
#
|
1326
|
+
# @return [Types::CreateVpcLinkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1327
|
+
#
|
1328
|
+
# * {Types::CreateVpcLinkResponse#created_date #created_date} => Time
|
1329
|
+
# * {Types::CreateVpcLinkResponse#name #name} => String
|
1330
|
+
# * {Types::CreateVpcLinkResponse#security_group_ids #security_group_ids} => Array<String>
|
1331
|
+
# * {Types::CreateVpcLinkResponse#subnet_ids #subnet_ids} => Array<String>
|
1332
|
+
# * {Types::CreateVpcLinkResponse#tags #tags} => Hash<String,String>
|
1333
|
+
# * {Types::CreateVpcLinkResponse#vpc_link_id #vpc_link_id} => String
|
1334
|
+
# * {Types::CreateVpcLinkResponse#vpc_link_status #vpc_link_status} => String
|
1335
|
+
# * {Types::CreateVpcLinkResponse#vpc_link_status_message #vpc_link_status_message} => String
|
1336
|
+
# * {Types::CreateVpcLinkResponse#vpc_link_version #vpc_link_version} => String
|
1337
|
+
#
|
1338
|
+
# @example Request syntax with placeholder values
|
1339
|
+
#
|
1340
|
+
# resp = client.create_vpc_link({
|
1341
|
+
# name: "StringWithLengthBetween1And128", # required
|
1342
|
+
# security_group_ids: ["__string"],
|
1343
|
+
# subnet_ids: ["__string"], # required
|
1344
|
+
# tags: {
|
1345
|
+
# "__string" => "StringWithLengthBetween1And1600",
|
1346
|
+
# },
|
1347
|
+
# })
|
1348
|
+
#
|
1349
|
+
# @example Response structure
|
1350
|
+
#
|
1351
|
+
# resp.created_date #=> Time
|
1352
|
+
# resp.name #=> String
|
1353
|
+
# resp.security_group_ids #=> Array
|
1354
|
+
# resp.security_group_ids[0] #=> String
|
1355
|
+
# resp.subnet_ids #=> Array
|
1356
|
+
# resp.subnet_ids[0] #=> String
|
1357
|
+
# resp.tags #=> Hash
|
1358
|
+
# resp.tags["__string"] #=> String
|
1359
|
+
# resp.vpc_link_id #=> String
|
1360
|
+
# resp.vpc_link_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "FAILED", "INACTIVE"
|
1361
|
+
# resp.vpc_link_status_message #=> String
|
1362
|
+
# resp.vpc_link_version #=> String, one of "V2"
|
1363
|
+
#
|
1364
|
+
# @overload create_vpc_link(params = {})
|
1365
|
+
# @param [Hash] params ({})
|
1366
|
+
def create_vpc_link(params = {}, options = {})
|
1367
|
+
req = build_request(:create_vpc_link, params)
|
1368
|
+
req.send_request(options)
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
# Deletes the AccessLogSettings for a Stage. To disable access logging
|
1372
|
+
# for a Stage, delete its AccessLogSettings.
|
1373
|
+
#
|
1374
|
+
# @option params [required, String] :api_id
|
1375
|
+
#
|
1376
|
+
# @option params [required, String] :stage_name
|
1377
|
+
#
|
1378
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1379
|
+
#
|
1380
|
+
# @example Request syntax with placeholder values
|
1381
|
+
#
|
1382
|
+
# resp = client.delete_access_log_settings({
|
1383
|
+
# api_id: "__string", # required
|
1384
|
+
# stage_name: "__string", # required
|
1385
|
+
# })
|
1386
|
+
#
|
1387
|
+
# @overload delete_access_log_settings(params = {})
|
1388
|
+
# @param [Hash] params ({})
|
1389
|
+
def delete_access_log_settings(params = {}, options = {})
|
1390
|
+
req = build_request(:delete_access_log_settings, params)
|
1391
|
+
req.send_request(options)
|
1392
|
+
end
|
1393
|
+
|
1298
1394
|
# Deletes an Api resource.
|
1299
1395
|
#
|
1300
1396
|
# @option params [required, String] :api_id
|
@@ -1509,6 +1605,31 @@ module Aws::ApiGatewayV2
|
|
1509
1605
|
req.send_request(options)
|
1510
1606
|
end
|
1511
1607
|
|
1608
|
+
# Deletes a route request parameter.
|
1609
|
+
#
|
1610
|
+
# @option params [required, String] :api_id
|
1611
|
+
#
|
1612
|
+
# @option params [required, String] :request_parameter_key
|
1613
|
+
#
|
1614
|
+
# @option params [required, String] :route_id
|
1615
|
+
#
|
1616
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1617
|
+
#
|
1618
|
+
# @example Request syntax with placeholder values
|
1619
|
+
#
|
1620
|
+
# resp = client.delete_route_request_parameter({
|
1621
|
+
# api_id: "__string", # required
|
1622
|
+
# request_parameter_key: "__string", # required
|
1623
|
+
# route_id: "__string", # required
|
1624
|
+
# })
|
1625
|
+
#
|
1626
|
+
# @overload delete_route_request_parameter(params = {})
|
1627
|
+
# @param [Hash] params ({})
|
1628
|
+
def delete_route_request_parameter(params = {}, options = {})
|
1629
|
+
req = build_request(:delete_route_request_parameter, params)
|
1630
|
+
req.send_request(options)
|
1631
|
+
end
|
1632
|
+
|
1512
1633
|
# Deletes a RouteResponse.
|
1513
1634
|
#
|
1514
1635
|
# @option params [required, String] :api_id
|
@@ -1539,14 +1660,6 @@ module Aws::ApiGatewayV2
|
|
1539
1660
|
# @option params [required, String] :api_id
|
1540
1661
|
#
|
1541
1662
|
# @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
1663
|
#
|
1551
1664
|
# @option params [required, String] :stage_name
|
1552
1665
|
#
|
@@ -1556,7 +1669,7 @@ module Aws::ApiGatewayV2
|
|
1556
1669
|
#
|
1557
1670
|
# resp = client.delete_route_settings({
|
1558
1671
|
# api_id: "__string", # required
|
1559
|
-
# route_key: "
|
1672
|
+
# route_key: "__string", # required
|
1560
1673
|
# stage_name: "__string", # required
|
1561
1674
|
# })
|
1562
1675
|
#
|
@@ -1589,6 +1702,25 @@ module Aws::ApiGatewayV2
|
|
1589
1702
|
req.send_request(options)
|
1590
1703
|
end
|
1591
1704
|
|
1705
|
+
# Deletes a VPC link.
|
1706
|
+
#
|
1707
|
+
# @option params [required, String] :vpc_link_id
|
1708
|
+
#
|
1709
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1710
|
+
#
|
1711
|
+
# @example Request syntax with placeholder values
|
1712
|
+
#
|
1713
|
+
# resp = client.delete_vpc_link({
|
1714
|
+
# vpc_link_id: "__string", # required
|
1715
|
+
# })
|
1716
|
+
#
|
1717
|
+
# @overload delete_vpc_link(params = {})
|
1718
|
+
# @param [Hash] params ({})
|
1719
|
+
def delete_vpc_link(params = {}, options = {})
|
1720
|
+
req = build_request(:delete_vpc_link, params)
|
1721
|
+
req.send_request(options)
|
1722
|
+
end
|
1723
|
+
|
1592
1724
|
# Gets an Api resource.
|
1593
1725
|
#
|
1594
1726
|
# @option params [required, String] :api_id
|
@@ -2058,6 +2190,7 @@ module Aws::ApiGatewayV2
|
|
2058
2190
|
# * {Types::GetIntegrationResult#request_templates #request_templates} => Hash<String,String>
|
2059
2191
|
# * {Types::GetIntegrationResult#template_selection_expression #template_selection_expression} => String
|
2060
2192
|
# * {Types::GetIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
|
2193
|
+
# * {Types::GetIntegrationResult#tls_config #tls_config} => Types::TlsConfig
|
2061
2194
|
#
|
2062
2195
|
# @example Request syntax with placeholder values
|
2063
2196
|
#
|
@@ -2087,6 +2220,7 @@ module Aws::ApiGatewayV2
|
|
2087
2220
|
# resp.request_templates["__string"] #=> String
|
2088
2221
|
# resp.template_selection_expression #=> String
|
2089
2222
|
# resp.timeout_in_millis #=> Integer
|
2223
|
+
# resp.tls_config.server_name_to_verify #=> String
|
2090
2224
|
#
|
2091
2225
|
# @overload get_integration(params = {})
|
2092
2226
|
# @param [Hash] params ({})
|
@@ -2225,6 +2359,7 @@ module Aws::ApiGatewayV2
|
|
2225
2359
|
# resp.items[0].request_templates["__string"] #=> String
|
2226
2360
|
# resp.items[0].template_selection_expression #=> String
|
2227
2361
|
# resp.items[0].timeout_in_millis #=> Integer
|
2362
|
+
# resp.items[0].tls_config.server_name_to_verify #=> String
|
2228
2363
|
# resp.next_token #=> String
|
2229
2364
|
#
|
2230
2365
|
# @overload get_integrations(params = {})
|
@@ -2564,7 +2699,7 @@ module Aws::ApiGatewayV2
|
|
2564
2699
|
# resp.created_date #=> Time
|
2565
2700
|
# resp.default_route_settings.data_trace_enabled #=> Boolean
|
2566
2701
|
# resp.default_route_settings.detailed_metrics_enabled #=> Boolean
|
2567
|
-
# resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "
|
2702
|
+
# resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "OFF"
|
2568
2703
|
# resp.default_route_settings.throttling_burst_limit #=> Integer
|
2569
2704
|
# resp.default_route_settings.throttling_rate_limit #=> Float
|
2570
2705
|
# resp.deployment_id #=> String
|
@@ -2574,7 +2709,7 @@ module Aws::ApiGatewayV2
|
|
2574
2709
|
# resp.route_settings #=> Hash
|
2575
2710
|
# resp.route_settings["__string"].data_trace_enabled #=> Boolean
|
2576
2711
|
# resp.route_settings["__string"].detailed_metrics_enabled #=> Boolean
|
2577
|
-
# resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "
|
2712
|
+
# resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "OFF"
|
2578
2713
|
# resp.route_settings["__string"].throttling_burst_limit #=> Integer
|
2579
2714
|
# resp.route_settings["__string"].throttling_rate_limit #=> Float
|
2580
2715
|
# resp.stage_name #=> String
|
@@ -2622,7 +2757,7 @@ module Aws::ApiGatewayV2
|
|
2622
2757
|
# resp.items[0].created_date #=> Time
|
2623
2758
|
# resp.items[0].default_route_settings.data_trace_enabled #=> Boolean
|
2624
2759
|
# resp.items[0].default_route_settings.detailed_metrics_enabled #=> Boolean
|
2625
|
-
# resp.items[0].default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "
|
2760
|
+
# resp.items[0].default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "OFF"
|
2626
2761
|
# resp.items[0].default_route_settings.throttling_burst_limit #=> Integer
|
2627
2762
|
# resp.items[0].default_route_settings.throttling_rate_limit #=> Float
|
2628
2763
|
# resp.items[0].deployment_id #=> String
|
@@ -2632,7 +2767,7 @@ module Aws::ApiGatewayV2
|
|
2632
2767
|
# resp.items[0].route_settings #=> Hash
|
2633
2768
|
# resp.items[0].route_settings["__string"].data_trace_enabled #=> Boolean
|
2634
2769
|
# resp.items[0].route_settings["__string"].detailed_metrics_enabled #=> Boolean
|
2635
|
-
# resp.items[0].route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "
|
2770
|
+
# resp.items[0].route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "OFF"
|
2636
2771
|
# resp.items[0].route_settings["__string"].throttling_burst_limit #=> Integer
|
2637
2772
|
# resp.items[0].route_settings["__string"].throttling_rate_limit #=> Float
|
2638
2773
|
# resp.items[0].stage_name #=> String
|
@@ -2675,6 +2810,92 @@ module Aws::ApiGatewayV2
|
|
2675
2810
|
req.send_request(options)
|
2676
2811
|
end
|
2677
2812
|
|
2813
|
+
# Gets a VPC link.
|
2814
|
+
#
|
2815
|
+
# @option params [required, String] :vpc_link_id
|
2816
|
+
#
|
2817
|
+
# @return [Types::GetVpcLinkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2818
|
+
#
|
2819
|
+
# * {Types::GetVpcLinkResponse#created_date #created_date} => Time
|
2820
|
+
# * {Types::GetVpcLinkResponse#name #name} => String
|
2821
|
+
# * {Types::GetVpcLinkResponse#security_group_ids #security_group_ids} => Array<String>
|
2822
|
+
# * {Types::GetVpcLinkResponse#subnet_ids #subnet_ids} => Array<String>
|
2823
|
+
# * {Types::GetVpcLinkResponse#tags #tags} => Hash<String,String>
|
2824
|
+
# * {Types::GetVpcLinkResponse#vpc_link_id #vpc_link_id} => String
|
2825
|
+
# * {Types::GetVpcLinkResponse#vpc_link_status #vpc_link_status} => String
|
2826
|
+
# * {Types::GetVpcLinkResponse#vpc_link_status_message #vpc_link_status_message} => String
|
2827
|
+
# * {Types::GetVpcLinkResponse#vpc_link_version #vpc_link_version} => String
|
2828
|
+
#
|
2829
|
+
# @example Request syntax with placeholder values
|
2830
|
+
#
|
2831
|
+
# resp = client.get_vpc_link({
|
2832
|
+
# vpc_link_id: "__string", # required
|
2833
|
+
# })
|
2834
|
+
#
|
2835
|
+
# @example Response structure
|
2836
|
+
#
|
2837
|
+
# resp.created_date #=> Time
|
2838
|
+
# resp.name #=> String
|
2839
|
+
# resp.security_group_ids #=> Array
|
2840
|
+
# resp.security_group_ids[0] #=> String
|
2841
|
+
# resp.subnet_ids #=> Array
|
2842
|
+
# resp.subnet_ids[0] #=> String
|
2843
|
+
# resp.tags #=> Hash
|
2844
|
+
# resp.tags["__string"] #=> String
|
2845
|
+
# resp.vpc_link_id #=> String
|
2846
|
+
# resp.vpc_link_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "FAILED", "INACTIVE"
|
2847
|
+
# resp.vpc_link_status_message #=> String
|
2848
|
+
# resp.vpc_link_version #=> String, one of "V2"
|
2849
|
+
#
|
2850
|
+
# @overload get_vpc_link(params = {})
|
2851
|
+
# @param [Hash] params ({})
|
2852
|
+
def get_vpc_link(params = {}, options = {})
|
2853
|
+
req = build_request(:get_vpc_link, params)
|
2854
|
+
req.send_request(options)
|
2855
|
+
end
|
2856
|
+
|
2857
|
+
# Gets a collection of VPC links.
|
2858
|
+
#
|
2859
|
+
# @option params [String] :max_results
|
2860
|
+
#
|
2861
|
+
# @option params [String] :next_token
|
2862
|
+
#
|
2863
|
+
# @return [Types::GetVpcLinksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2864
|
+
#
|
2865
|
+
# * {Types::GetVpcLinksResponse#items #items} => Array<Types::VpcLink>
|
2866
|
+
# * {Types::GetVpcLinksResponse#next_token #next_token} => String
|
2867
|
+
#
|
2868
|
+
# @example Request syntax with placeholder values
|
2869
|
+
#
|
2870
|
+
# resp = client.get_vpc_links({
|
2871
|
+
# max_results: "__string",
|
2872
|
+
# next_token: "__string",
|
2873
|
+
# })
|
2874
|
+
#
|
2875
|
+
# @example Response structure
|
2876
|
+
#
|
2877
|
+
# resp.items #=> Array
|
2878
|
+
# resp.items[0].created_date #=> Time
|
2879
|
+
# resp.items[0].name #=> String
|
2880
|
+
# resp.items[0].security_group_ids #=> Array
|
2881
|
+
# resp.items[0].security_group_ids[0] #=> String
|
2882
|
+
# resp.items[0].subnet_ids #=> Array
|
2883
|
+
# resp.items[0].subnet_ids[0] #=> String
|
2884
|
+
# resp.items[0].tags #=> Hash
|
2885
|
+
# resp.items[0].tags["__string"] #=> String
|
2886
|
+
# resp.items[0].vpc_link_id #=> String
|
2887
|
+
# resp.items[0].vpc_link_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "FAILED", "INACTIVE"
|
2888
|
+
# resp.items[0].vpc_link_status_message #=> String
|
2889
|
+
# resp.items[0].vpc_link_version #=> String, one of "V2"
|
2890
|
+
# resp.next_token #=> String
|
2891
|
+
#
|
2892
|
+
# @overload get_vpc_links(params = {})
|
2893
|
+
# @param [Hash] params ({})
|
2894
|
+
def get_vpc_links(params = {}, options = {})
|
2895
|
+
req = build_request(:get_vpc_links, params)
|
2896
|
+
req.send_request(options)
|
2897
|
+
end
|
2898
|
+
|
2678
2899
|
# Imports an API.
|
2679
2900
|
#
|
2680
2901
|
# @option params [String] :basepath
|
@@ -3312,6 +3533,11 @@ module Aws::ApiGatewayV2
|
|
3312
3533
|
# @option params [Integer] :timeout_in_millis
|
3313
3534
|
# An integer with a value between \[50-29000\].
|
3314
3535
|
#
|
3536
|
+
# @option params [Types::TlsConfigInput] :tls_config
|
3537
|
+
# The TLS configuration for a private integration. If you specify a TLS
|
3538
|
+
# configuration, private integration traffic uses the HTTPS protocol.
|
3539
|
+
# Supported only for HTTP APIs.
|
3540
|
+
#
|
3315
3541
|
# @return [Types::UpdateIntegrationResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3316
3542
|
#
|
3317
3543
|
# * {Types::UpdateIntegrationResult#api_gateway_managed #api_gateway_managed} => Boolean
|
@@ -3331,6 +3557,7 @@ module Aws::ApiGatewayV2
|
|
3331
3557
|
# * {Types::UpdateIntegrationResult#request_templates #request_templates} => Hash<String,String>
|
3332
3558
|
# * {Types::UpdateIntegrationResult#template_selection_expression #template_selection_expression} => String
|
3333
3559
|
# * {Types::UpdateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
|
3560
|
+
# * {Types::UpdateIntegrationResult#tls_config #tls_config} => Types::TlsConfig
|
3334
3561
|
#
|
3335
3562
|
# @example Request syntax with placeholder values
|
3336
3563
|
#
|
@@ -3355,6 +3582,9 @@ module Aws::ApiGatewayV2
|
|
3355
3582
|
# },
|
3356
3583
|
# template_selection_expression: "SelectionExpression",
|
3357
3584
|
# timeout_in_millis: 1,
|
3585
|
+
# tls_config: {
|
3586
|
+
# server_name_to_verify: "StringWithLengthBetween1And512",
|
3587
|
+
# },
|
3358
3588
|
# })
|
3359
3589
|
#
|
3360
3590
|
# @example Response structure
|
@@ -3378,6 +3608,7 @@ module Aws::ApiGatewayV2
|
|
3378
3608
|
# resp.request_templates["__string"] #=> String
|
3379
3609
|
# resp.template_selection_expression #=> String
|
3380
3610
|
# resp.timeout_in_millis #=> Integer
|
3611
|
+
# resp.tls_config.server_name_to_verify #=> String
|
3381
3612
|
#
|
3382
3613
|
# @overload update_integration(params = {})
|
3383
3614
|
# @param [Hash] params ({})
|
@@ -3795,7 +4026,7 @@ module Aws::ApiGatewayV2
|
|
3795
4026
|
# default_route_settings: {
|
3796
4027
|
# data_trace_enabled: false,
|
3797
4028
|
# detailed_metrics_enabled: false,
|
3798
|
-
# logging_level: "ERROR", # accepts ERROR, INFO,
|
4029
|
+
# logging_level: "ERROR", # accepts ERROR, INFO, OFF
|
3799
4030
|
# throttling_burst_limit: 1,
|
3800
4031
|
# throttling_rate_limit: 1.0,
|
3801
4032
|
# },
|
@@ -3805,7 +4036,7 @@ module Aws::ApiGatewayV2
|
|
3805
4036
|
# "__string" => {
|
3806
4037
|
# data_trace_enabled: false,
|
3807
4038
|
# detailed_metrics_enabled: false,
|
3808
|
-
# logging_level: "ERROR", # accepts ERROR, INFO,
|
4039
|
+
# logging_level: "ERROR", # accepts ERROR, INFO, OFF
|
3809
4040
|
# throttling_burst_limit: 1,
|
3810
4041
|
# throttling_rate_limit: 1.0,
|
3811
4042
|
# },
|
@@ -3826,7 +4057,7 @@ module Aws::ApiGatewayV2
|
|
3826
4057
|
# resp.created_date #=> Time
|
3827
4058
|
# resp.default_route_settings.data_trace_enabled #=> Boolean
|
3828
4059
|
# resp.default_route_settings.detailed_metrics_enabled #=> Boolean
|
3829
|
-
# resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "
|
4060
|
+
# resp.default_route_settings.logging_level #=> String, one of "ERROR", "INFO", "OFF"
|
3830
4061
|
# resp.default_route_settings.throttling_burst_limit #=> Integer
|
3831
4062
|
# resp.default_route_settings.throttling_rate_limit #=> Float
|
3832
4063
|
# resp.deployment_id #=> String
|
@@ -3836,7 +4067,7 @@ module Aws::ApiGatewayV2
|
|
3836
4067
|
# resp.route_settings #=> Hash
|
3837
4068
|
# resp.route_settings["__string"].data_trace_enabled #=> Boolean
|
3838
4069
|
# resp.route_settings["__string"].detailed_metrics_enabled #=> Boolean
|
3839
|
-
# resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "
|
4070
|
+
# resp.route_settings["__string"].logging_level #=> String, one of "ERROR", "INFO", "OFF"
|
3840
4071
|
# resp.route_settings["__string"].throttling_burst_limit #=> Integer
|
3841
4072
|
# resp.route_settings["__string"].throttling_rate_limit #=> Float
|
3842
4073
|
# resp.stage_name #=> String
|
@@ -3852,6 +4083,54 @@ module Aws::ApiGatewayV2
|
|
3852
4083
|
req.send_request(options)
|
3853
4084
|
end
|
3854
4085
|
|
4086
|
+
# Updates a VPC link.
|
4087
|
+
#
|
4088
|
+
# @option params [String] :name
|
4089
|
+
# A string with a length between \[1-128\].
|
4090
|
+
#
|
4091
|
+
# @option params [required, String] :vpc_link_id
|
4092
|
+
#
|
4093
|
+
# @return [Types::UpdateVpcLinkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4094
|
+
#
|
4095
|
+
# * {Types::UpdateVpcLinkResponse#created_date #created_date} => Time
|
4096
|
+
# * {Types::UpdateVpcLinkResponse#name #name} => String
|
4097
|
+
# * {Types::UpdateVpcLinkResponse#security_group_ids #security_group_ids} => Array<String>
|
4098
|
+
# * {Types::UpdateVpcLinkResponse#subnet_ids #subnet_ids} => Array<String>
|
4099
|
+
# * {Types::UpdateVpcLinkResponse#tags #tags} => Hash<String,String>
|
4100
|
+
# * {Types::UpdateVpcLinkResponse#vpc_link_id #vpc_link_id} => String
|
4101
|
+
# * {Types::UpdateVpcLinkResponse#vpc_link_status #vpc_link_status} => String
|
4102
|
+
# * {Types::UpdateVpcLinkResponse#vpc_link_status_message #vpc_link_status_message} => String
|
4103
|
+
# * {Types::UpdateVpcLinkResponse#vpc_link_version #vpc_link_version} => String
|
4104
|
+
#
|
4105
|
+
# @example Request syntax with placeholder values
|
4106
|
+
#
|
4107
|
+
# resp = client.update_vpc_link({
|
4108
|
+
# name: "StringWithLengthBetween1And128",
|
4109
|
+
# vpc_link_id: "__string", # required
|
4110
|
+
# })
|
4111
|
+
#
|
4112
|
+
# @example Response structure
|
4113
|
+
#
|
4114
|
+
# resp.created_date #=> Time
|
4115
|
+
# resp.name #=> String
|
4116
|
+
# resp.security_group_ids #=> Array
|
4117
|
+
# resp.security_group_ids[0] #=> String
|
4118
|
+
# resp.subnet_ids #=> Array
|
4119
|
+
# resp.subnet_ids[0] #=> String
|
4120
|
+
# resp.tags #=> Hash
|
4121
|
+
# resp.tags["__string"] #=> String
|
4122
|
+
# resp.vpc_link_id #=> String
|
4123
|
+
# resp.vpc_link_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "FAILED", "INACTIVE"
|
4124
|
+
# resp.vpc_link_status_message #=> String
|
4125
|
+
# resp.vpc_link_version #=> String, one of "V2"
|
4126
|
+
#
|
4127
|
+
# @overload update_vpc_link(params = {})
|
4128
|
+
# @param [Hash] params ({})
|
4129
|
+
def update_vpc_link(params = {}, options = {})
|
4130
|
+
req = build_request(:update_vpc_link, params)
|
4131
|
+
req.send_request(options)
|
4132
|
+
end
|
4133
|
+
|
3855
4134
|
# @!endgroup
|
3856
4135
|
|
3857
4136
|
# @param params ({})
|
@@ -3865,7 +4144,7 @@ module Aws::ApiGatewayV2
|
|
3865
4144
|
params: params,
|
3866
4145
|
config: config)
|
3867
4146
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
3868
|
-
context[:gem_version] = '1.
|
4147
|
+
context[:gem_version] = '1.17.0'
|
3869
4148
|
Seahorse::Client::Request.new(handlers, context)
|
3870
4149
|
end
|
3871
4150
|
|