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.
@@ -6,13 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::ApiGatewayV2
9
- # This class provides a resource oriented interface for ApiGatewayV2.
10
- # To create a resource object:
11
- # resource = Aws::ApiGatewayV2::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::ApiGatewayV2::Client.new(region: 'us-west-2')
15
- # resource = Aws::ApiGatewayV2::Resource.new(client: client)
9
+
16
10
  class Resource
17
11
 
18
12
  # @param options ({})
@@ -222,16 +222,10 @@ module Aws::ApiGatewayV2
222
222
  # The authorizer's Uniform Resource Identifier (URI). ForREQUEST
223
223
  # authorizers, this must be a well-formed Lambda function URI, for
224
224
  # example,
225
- # arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:<replaceable>\{account_id\}</replaceable>
226
- #
227
- # \:function:<replaceable>\{lambda_function_name\}</replaceable>
228
- #
229
- # /invocations. In general, the URI has this form:
230
- # arn:aws:apigateway:<replaceable>\{region\}</replaceable>
231
- #
232
- # \:lambda:path/<replaceable>\{service_api\}</replaceable>
233
- #
234
- # , where <replaceable />
225
+ # arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:*\\\{account\_id\\}*\:function:*\\\{lambda\_function\_name\\}*/invocations.
226
+ # In general, the URI has this form:
227
+ # arn:aws:apigateway:*\\\{region\\}*\:lambda:path/*\\\{service\_api\\}*
228
+ # , where <replaceable />
235
229
  #
236
230
  # \\\{region\\} is the same as the region hosting the Lambda function,
237
231
  # path indicates that the remaining substring in the URI should be
@@ -804,16 +798,10 @@ module Aws::ApiGatewayV2
804
798
  # The authorizer's Uniform Resource Identifier (URI). For REQUEST
805
799
  # authorizers, this must be a well-formed Lambda function URI, for
806
800
  # example,
807
- # arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:<replaceable>\{account_id\}</replaceable>
808
- #
809
- # \:function:<replaceable>\{lambda_function_name\}</replaceable>
810
- #
811
- # /invocations. In general, the URI has this form:
812
- # arn:aws:apigateway:<replaceable>\{region\}</replaceable>
813
- #
814
- # \:lambda:path/<replaceable>\{service_api\}</replaceable>
815
- #
816
- # , where <replaceable />
801
+ # arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:*\\\{account\_id\\}*\:function:*\\\{lambda\_function\_name\\}*/invocations.
802
+ # In general, the URI has this form:
803
+ # arn:aws:apigateway:*\\\{region\\}*\:lambda:path/*\\\{service\_api\\}*
804
+ # , where <replaceable />
817
805
  #
818
806
  # \\\{region\\} is the same as the region hosting the Lambda function,
819
807
  # path indicates that the remaining substring in the URI should be
@@ -1192,13 +1180,15 @@ module Aws::ApiGatewayV2
1192
1180
  # Represents the input parameters for a CreateIntegration request.
1193
1181
  #
1194
1182
  # @!attribute [rw] connection_id
1195
- # The connection ID.
1183
+ # The ID of the VPC link for a private integration. Supported only for
1184
+ # HTTP APIs.
1196
1185
  # @return [String]
1197
1186
  #
1198
1187
  # @!attribute [rw] connection_type
1199
1188
  # The type of the network connection to the integration endpoint.
1200
- # Currently the only valid value is INTERNET, for connections through
1201
- # the public routable internet.
1189
+ # Specify INTERNET for connections through the public routable
1190
+ # internet or VPC\_LINK for private connections between API Gateway
1191
+ # and resources in a VPC. The default value is INTERNET.
1202
1192
  # @return [String]
1203
1193
  #
1204
1194
  # @!attribute [rw] content_handling_strategy
@@ -1253,9 +1243,10 @@ module Aws::ApiGatewayV2
1253
1243
  # endpoint. This integration is also referred to as the HTTP custom
1254
1244
  # integration. Supported only for WebSocket APIs.
1255
1245
  #
1256
- # HTTP\_PROXY: for integrating route or method request with an HTTP
1257
- # endpoint, with the client request passed through as-is. This is also
1258
- # referred to as HTTP proxy integration.
1246
+ # HTTP\_PROXY: for integrating the route or method request with an
1247
+ # HTTP endpoint, with the client request passed through as-is. This is
1248
+ # also referred to as HTTP proxy integration. For HTTP API private
1249
+ # integrations, use an HTTP\_PROXY integration.
1259
1250
  #
1260
1251
  # MOCK: for integrating the route or method request with API Gateway
1261
1252
  # as a "loopback" endpoint without invoking any backend. Supported
@@ -1263,8 +1254,21 @@ module Aws::ApiGatewayV2
1263
1254
  # @return [String]
1264
1255
  #
1265
1256
  # @!attribute [rw] integration_uri
1266
- # For a Lambda proxy integration, this is the URI of the Lambda
1267
- # function.
1257
+ # For a Lambda integration, specify the URI of a Lambda function.
1258
+ #
1259
+ # For an HTTP integration, specify a fully-qualified URL.
1260
+ #
1261
+ # For an HTTP API private integration, specify the ARN of an
1262
+ # Application Load Balancer listener, Network Load Balancer listener,
1263
+ # or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map
1264
+ # service, API Gateway uses DiscoverInstances to identify resources.
1265
+ # You can use query parameters to target specific resources. To learn
1266
+ # more, see [DiscoverInstances][1]. For private integrations, all
1267
+ # resources must be owned by the same AWS account.
1268
+ #
1269
+ #
1270
+ #
1271
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html
1268
1272
  # @return [String]
1269
1273
  #
1270
1274
  # @!attribute [rw] passthrough_behavior
@@ -1288,7 +1292,7 @@ module Aws::ApiGatewayV2
1288
1292
  #
1289
1293
  # @!attribute [rw] payload_format_version
1290
1294
  # Specifies the format of the payload sent to an integration. Required
1291
- # for HTTP APIs. Currently, the only supported value is 1.0.
1295
+ # for HTTP APIs.
1292
1296
  # @return [String]
1293
1297
  #
1294
1298
  # @!attribute [rw] request_parameters
@@ -1298,16 +1302,9 @@ module Aws::ApiGatewayV2
1298
1302
  # parameter value or static value that must be enclosed within single
1299
1303
  # quotes and pre-encoded as required by the backend. The method
1300
1304
  # request parameter value must match the pattern of
1301
- # method.request.<replaceable>\{location\}</replaceable>
1302
- #
1303
- # .<replaceable>\{name\}</replaceable>
1304
- #
1305
- # , where <replaceable>\{location\}</replaceable>
1306
- #
1307
- # is querystring, path, or header; and
1308
- # <replaceable>\{name\}</replaceable>
1309
- #
1310
- # must be a valid and unique method request parameter name. Supported
1305
+ # method.request.*\\\{location\\}*.*\\\{name\\}* , where
1306
+ # *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
1307
+ # must be a valid and unique method request parameter name. Supported
1311
1308
  # only for WebSocket APIs.
1312
1309
  # @return [Hash<String,String>]
1313
1310
  #
@@ -1324,11 +1321,18 @@ module Aws::ApiGatewayV2
1324
1321
  # @return [String]
1325
1322
  #
1326
1323
  # @!attribute [rw] timeout_in_millis
1327
- # Custom timeout between 50 and 29,000 milliseconds. The default value
1328
- # is 29,000 milliseconds or 29 seconds for WebSocket APIs. The default
1329
- # value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
1324
+ # Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs
1325
+ # and between 50 and 30,000 milliseconds for HTTP APIs. The default
1326
+ # timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP
1327
+ # APIs.
1330
1328
  # @return [Integer]
1331
1329
  #
1330
+ # @!attribute [rw] tls_config
1331
+ # The TLS configuration for a private integration. If you specify a
1332
+ # TLS configuration, private integration traffic uses the HTTPS
1333
+ # protocol. Supported only for HTTP APIs.
1334
+ # @return [Types::TlsConfigInput]
1335
+ #
1332
1336
  class CreateIntegrationInput < Struct.new(
1333
1337
  :connection_id,
1334
1338
  :connection_type,
@@ -1343,7 +1347,8 @@ module Aws::ApiGatewayV2
1343
1347
  :request_parameters,
1344
1348
  :request_templates,
1345
1349
  :template_selection_expression,
1346
- :timeout_in_millis)
1350
+ :timeout_in_millis,
1351
+ :tls_config)
1347
1352
  include Aws::Structure
1348
1353
  end
1349
1354
 
@@ -1370,6 +1375,9 @@ module Aws::ApiGatewayV2
1370
1375
  # },
1371
1376
  # template_selection_expression: "SelectionExpression",
1372
1377
  # timeout_in_millis: 1,
1378
+ # tls_config: {
1379
+ # server_name_to_verify: "StringWithLengthBetween1And512",
1380
+ # },
1373
1381
  # }
1374
1382
  #
1375
1383
  # @!attribute [rw] api_id
@@ -1448,9 +1456,15 @@ module Aws::ApiGatewayV2
1448
1456
  # @return [String]
1449
1457
  #
1450
1458
  # @!attribute [rw] timeout_in_millis
1451
- # An integer with a value between \[50-29000\].
1459
+ # An integer with a value between \[50-30000\].
1452
1460
  # @return [Integer]
1453
1461
  #
1462
+ # @!attribute [rw] tls_config
1463
+ # The TLS configuration for a private integration. If you specify a
1464
+ # TLS configuration, private integration traffic uses the HTTPS
1465
+ # protocol. Supported only for HTTP APIs.
1466
+ # @return [Types::TlsConfigInput]
1467
+ #
1454
1468
  class CreateIntegrationRequest < Struct.new(
1455
1469
  :api_id,
1456
1470
  :connection_id,
@@ -1466,7 +1480,8 @@ module Aws::ApiGatewayV2
1466
1480
  :request_parameters,
1467
1481
  :request_templates,
1468
1482
  :template_selection_expression,
1469
- :timeout_in_millis)
1483
+ :timeout_in_millis,
1484
+ :tls_config)
1470
1485
  include Aws::Structure
1471
1486
  end
1472
1487
 
@@ -1559,9 +1574,15 @@ module Aws::ApiGatewayV2
1559
1574
  # @return [String]
1560
1575
  #
1561
1576
  # @!attribute [rw] timeout_in_millis
1562
- # An integer with a value between \[50-29000\].
1577
+ # An integer with a value between \[50-30000\].
1563
1578
  # @return [Integer]
1564
1579
  #
1580
+ # @!attribute [rw] tls_config
1581
+ # The TLS configuration for a private integration. If you specify a
1582
+ # TLS configuration, private integration traffic uses the HTTPS
1583
+ # protocol. Supported only for HTTP APIs.
1584
+ # @return [Types::TlsConfig]
1585
+ #
1565
1586
  class CreateIntegrationResult < Struct.new(
1566
1587
  :api_gateway_managed,
1567
1588
  :connection_id,
@@ -1579,7 +1600,8 @@ module Aws::ApiGatewayV2
1579
1600
  :request_parameters,
1580
1601
  :request_templates,
1581
1602
  :template_selection_expression,
1582
- :timeout_in_millis)
1603
+ :timeout_in_millis,
1604
+ :tls_config)
1583
1605
  include Aws::Structure
1584
1606
  end
1585
1607
 
@@ -2327,8 +2349,7 @@ module Aws::ApiGatewayV2
2327
2349
  # @!attribute [rw] stage_variables
2328
2350
  # A map that defines the stage variables for a Stage. Variable names
2329
2351
  # can have alphanumeric and underscore characters, and the values must
2330
- # match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+. Supported only for WebSocket
2331
- # APIs.
2352
+ # match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+.
2332
2353
  # @return [Hash<String,String>]
2333
2354
  #
2334
2355
  # @!attribute [rw] tags
@@ -2364,7 +2385,7 @@ module Aws::ApiGatewayV2
2364
2385
  # default_route_settings: {
2365
2386
  # data_trace_enabled: false,
2366
2387
  # detailed_metrics_enabled: false,
2367
- # logging_level: "ERROR", # accepts ERROR, INFO, false
2388
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
2368
2389
  # throttling_burst_limit: 1,
2369
2390
  # throttling_rate_limit: 1.0,
2370
2391
  # },
@@ -2374,7 +2395,7 @@ module Aws::ApiGatewayV2
2374
2395
  # "__string" => {
2375
2396
  # data_trace_enabled: false,
2376
2397
  # detailed_metrics_enabled: false,
2377
- # logging_level: "ERROR", # accepts ERROR, INFO, false
2398
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
2378
2399
  # throttling_burst_limit: 1,
2379
2400
  # throttling_rate_limit: 1.0,
2380
2401
  # },
@@ -2514,6 +2535,136 @@ module Aws::ApiGatewayV2
2514
2535
  include Aws::Structure
2515
2536
  end
2516
2537
 
2538
+ # Represents the input parameters for a CreateVpcLink request.
2539
+ #
2540
+ # @!attribute [rw] name
2541
+ # The name of the VPC link.
2542
+ # @return [String]
2543
+ #
2544
+ # @!attribute [rw] security_group_ids
2545
+ # A list of security group IDs for the VPC link.
2546
+ # @return [Array<String>]
2547
+ #
2548
+ # @!attribute [rw] subnet_ids
2549
+ # A list of subnet IDs to include in the VPC link.
2550
+ # @return [Array<String>]
2551
+ #
2552
+ # @!attribute [rw] tags
2553
+ # A list of tags.
2554
+ # @return [Hash<String,String>]
2555
+ #
2556
+ class CreateVpcLinkInput < Struct.new(
2557
+ :name,
2558
+ :security_group_ids,
2559
+ :subnet_ids,
2560
+ :tags)
2561
+ include Aws::Structure
2562
+ end
2563
+
2564
+ # @note When making an API call, you may pass CreateVpcLinkRequest
2565
+ # data as a hash:
2566
+ #
2567
+ # {
2568
+ # name: "StringWithLengthBetween1And128", # required
2569
+ # security_group_ids: ["__string"],
2570
+ # subnet_ids: ["__string"], # required
2571
+ # tags: {
2572
+ # "__string" => "StringWithLengthBetween1And1600",
2573
+ # },
2574
+ # }
2575
+ #
2576
+ # @!attribute [rw] name
2577
+ # A string with a length between \[1-128\].
2578
+ # @return [String]
2579
+ #
2580
+ # @!attribute [rw] security_group_ids
2581
+ # A list of security group IDs for the VPC link.
2582
+ # @return [Array<String>]
2583
+ #
2584
+ # @!attribute [rw] subnet_ids
2585
+ # A list of subnet IDs to include in the VPC link.
2586
+ # @return [Array<String>]
2587
+ #
2588
+ # @!attribute [rw] tags
2589
+ # Represents a collection of tags associated with the resource.
2590
+ # @return [Hash<String,String>]
2591
+ #
2592
+ class CreateVpcLinkRequest < Struct.new(
2593
+ :name,
2594
+ :security_group_ids,
2595
+ :subnet_ids,
2596
+ :tags)
2597
+ include Aws::Structure
2598
+ end
2599
+
2600
+ # @!attribute [rw] created_date
2601
+ # @return [Time]
2602
+ #
2603
+ # @!attribute [rw] name
2604
+ # A string with a length between \[1-128\].
2605
+ # @return [String]
2606
+ #
2607
+ # @!attribute [rw] security_group_ids
2608
+ # A list of security group IDs for the VPC link.
2609
+ # @return [Array<String>]
2610
+ #
2611
+ # @!attribute [rw] subnet_ids
2612
+ # A list of subnet IDs to include in the VPC link.
2613
+ # @return [Array<String>]
2614
+ #
2615
+ # @!attribute [rw] tags
2616
+ # Represents a collection of tags associated with the resource.
2617
+ # @return [Hash<String,String>]
2618
+ #
2619
+ # @!attribute [rw] vpc_link_id
2620
+ # The identifier.
2621
+ # @return [String]
2622
+ #
2623
+ # @!attribute [rw] vpc_link_status
2624
+ # The status of the VPC link.
2625
+ # @return [String]
2626
+ #
2627
+ # @!attribute [rw] vpc_link_status_message
2628
+ # A string with a length between \[0-1024\].
2629
+ # @return [String]
2630
+ #
2631
+ # @!attribute [rw] vpc_link_version
2632
+ # The version of the VPC link.
2633
+ # @return [String]
2634
+ #
2635
+ class CreateVpcLinkResponse < Struct.new(
2636
+ :created_date,
2637
+ :name,
2638
+ :security_group_ids,
2639
+ :subnet_ids,
2640
+ :tags,
2641
+ :vpc_link_id,
2642
+ :vpc_link_status,
2643
+ :vpc_link_status_message,
2644
+ :vpc_link_version)
2645
+ include Aws::Structure
2646
+ end
2647
+
2648
+ # @note When making an API call, you may pass DeleteAccessLogSettingsRequest
2649
+ # data as a hash:
2650
+ #
2651
+ # {
2652
+ # api_id: "__string", # required
2653
+ # stage_name: "__string", # required
2654
+ # }
2655
+ #
2656
+ # @!attribute [rw] api_id
2657
+ # @return [String]
2658
+ #
2659
+ # @!attribute [rw] stage_name
2660
+ # @return [String]
2661
+ #
2662
+ class DeleteAccessLogSettingsRequest < Struct.new(
2663
+ :api_id,
2664
+ :stage_name)
2665
+ include Aws::Structure
2666
+ end
2667
+
2517
2668
  # @note When making an API call, you may pass DeleteApiMappingRequest
2518
2669
  # data as a hash:
2519
2670
  #
@@ -2704,6 +2855,31 @@ module Aws::ApiGatewayV2
2704
2855
  include Aws::Structure
2705
2856
  end
2706
2857
 
2858
+ # @note When making an API call, you may pass DeleteRouteRequestParameterRequest
2859
+ # data as a hash:
2860
+ #
2861
+ # {
2862
+ # api_id: "__string", # required
2863
+ # request_parameter_key: "__string", # required
2864
+ # route_id: "__string", # required
2865
+ # }
2866
+ #
2867
+ # @!attribute [rw] api_id
2868
+ # @return [String]
2869
+ #
2870
+ # @!attribute [rw] request_parameter_key
2871
+ # @return [String]
2872
+ #
2873
+ # @!attribute [rw] route_id
2874
+ # @return [String]
2875
+ #
2876
+ class DeleteRouteRequestParameterRequest < Struct.new(
2877
+ :api_id,
2878
+ :request_parameter_key,
2879
+ :route_id)
2880
+ include Aws::Structure
2881
+ end
2882
+
2707
2883
  # @note When making an API call, you may pass DeleteRouteResponseRequest
2708
2884
  # data as a hash:
2709
2885
  #
@@ -2734,7 +2910,7 @@ module Aws::ApiGatewayV2
2734
2910
  #
2735
2911
  # {
2736
2912
  # api_id: "__string", # required
2737
- # route_key: "SelectionKey", # required
2913
+ # route_key: "__string", # required
2738
2914
  # stage_name: "__string", # required
2739
2915
  # }
2740
2916
  #
@@ -2742,14 +2918,6 @@ module Aws::ApiGatewayV2
2742
2918
  # @return [String]
2743
2919
  #
2744
2920
  # @!attribute [rw] route_key
2745
- # After evaluating a selection expression, the result is compared
2746
- # against one or more selection keys to find a matching key. See
2747
- # [Selection Expressions][1] for a list of expressions and each
2748
- # expression's associated selection key type.
2749
- #
2750
- #
2751
- #
2752
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2753
2921
  # @return [String]
2754
2922
  #
2755
2923
  # @!attribute [rw] stage_name
@@ -2782,6 +2950,23 @@ module Aws::ApiGatewayV2
2782
2950
  include Aws::Structure
2783
2951
  end
2784
2952
 
2953
+ # @note When making an API call, you may pass DeleteVpcLinkRequest
2954
+ # data as a hash:
2955
+ #
2956
+ # {
2957
+ # vpc_link_id: "__string", # required
2958
+ # }
2959
+ #
2960
+ # @!attribute [rw] vpc_link_id
2961
+ # @return [String]
2962
+ #
2963
+ class DeleteVpcLinkRequest < Struct.new(
2964
+ :vpc_link_id)
2965
+ include Aws::Structure
2966
+ end
2967
+
2968
+ class DeleteVpcLinkResponse < Aws::EmptyStructure; end
2969
+
2785
2970
  # An immutable representation of an API that can be called by users. A
2786
2971
  # Deployment must be associated with a Stage for it to be callable over
2787
2972
  # the internet.
@@ -2958,6 +3143,57 @@ module Aws::ApiGatewayV2
2958
3143
  include Aws::Structure
2959
3144
  end
2960
3145
 
3146
+ # @note When making an API call, you may pass ExportApiRequest
3147
+ # data as a hash:
3148
+ #
3149
+ # {
3150
+ # api_id: "__string", # required
3151
+ # export_version: "__string",
3152
+ # include_extensions: false,
3153
+ # output_type: "__string", # required
3154
+ # specification: "__string", # required
3155
+ # stage_name: "__string",
3156
+ # }
3157
+ #
3158
+ # @!attribute [rw] api_id
3159
+ # @return [String]
3160
+ #
3161
+ # @!attribute [rw] export_version
3162
+ # @return [String]
3163
+ #
3164
+ # @!attribute [rw] include_extensions
3165
+ # @return [Boolean]
3166
+ #
3167
+ # @!attribute [rw] output_type
3168
+ # @return [String]
3169
+ #
3170
+ # @!attribute [rw] specification
3171
+ # @return [String]
3172
+ #
3173
+ # @!attribute [rw] stage_name
3174
+ # @return [String]
3175
+ #
3176
+ class ExportApiRequest < Struct.new(
3177
+ :api_id,
3178
+ :export_version,
3179
+ :include_extensions,
3180
+ :output_type,
3181
+ :specification,
3182
+ :stage_name)
3183
+ include Aws::Structure
3184
+ end
3185
+
3186
+ # @!attribute [rw] body
3187
+ # Represents an exported definition of an API in a particular output
3188
+ # format, for example, YAML. The API is serialized to the requested
3189
+ # specification, for example, OpenAPI 3.0.
3190
+ # @return [String]
3191
+ #
3192
+ class ExportApiResponse < Struct.new(
3193
+ :body)
3194
+ include Aws::Structure
3195
+ end
3196
+
2961
3197
  # @note When making an API call, you may pass GetApiMappingRequest
2962
3198
  # data as a hash:
2963
3199
  #
@@ -3584,9 +3820,15 @@ module Aws::ApiGatewayV2
3584
3820
  # @return [String]
3585
3821
  #
3586
3822
  # @!attribute [rw] timeout_in_millis
3587
- # An integer with a value between \[50-29000\].
3823
+ # An integer with a value between \[50-30000\].
3588
3824
  # @return [Integer]
3589
3825
  #
3826
+ # @!attribute [rw] tls_config
3827
+ # The TLS configuration for a private integration. If you specify a
3828
+ # TLS configuration, private integration traffic uses the HTTPS
3829
+ # protocol. Supported only for HTTP APIs.
3830
+ # @return [Types::TlsConfig]
3831
+ #
3590
3832
  class GetIntegrationResult < Struct.new(
3591
3833
  :api_gateway_managed,
3592
3834
  :connection_id,
@@ -3604,7 +3846,8 @@ module Aws::ApiGatewayV2
3604
3846
  :request_parameters,
3605
3847
  :request_templates,
3606
3848
  :template_selection_expression,
3607
- :timeout_in_millis)
3849
+ :timeout_in_millis,
3850
+ :tls_config)
3608
3851
  include Aws::Structure
3609
3852
  end
3610
3853
 
@@ -4308,6 +4551,103 @@ module Aws::ApiGatewayV2
4308
4551
  include Aws::Structure
4309
4552
  end
4310
4553
 
4554
+ # @note When making an API call, you may pass GetVpcLinkRequest
4555
+ # data as a hash:
4556
+ #
4557
+ # {
4558
+ # vpc_link_id: "__string", # required
4559
+ # }
4560
+ #
4561
+ # @!attribute [rw] vpc_link_id
4562
+ # @return [String]
4563
+ #
4564
+ class GetVpcLinkRequest < Struct.new(
4565
+ :vpc_link_id)
4566
+ include Aws::Structure
4567
+ end
4568
+
4569
+ # @!attribute [rw] created_date
4570
+ # @return [Time]
4571
+ #
4572
+ # @!attribute [rw] name
4573
+ # A string with a length between \[1-128\].
4574
+ # @return [String]
4575
+ #
4576
+ # @!attribute [rw] security_group_ids
4577
+ # A list of security group IDs for the VPC link.
4578
+ # @return [Array<String>]
4579
+ #
4580
+ # @!attribute [rw] subnet_ids
4581
+ # A list of subnet IDs to include in the VPC link.
4582
+ # @return [Array<String>]
4583
+ #
4584
+ # @!attribute [rw] tags
4585
+ # Represents a collection of tags associated with the resource.
4586
+ # @return [Hash<String,String>]
4587
+ #
4588
+ # @!attribute [rw] vpc_link_id
4589
+ # The identifier.
4590
+ # @return [String]
4591
+ #
4592
+ # @!attribute [rw] vpc_link_status
4593
+ # The status of the VPC link.
4594
+ # @return [String]
4595
+ #
4596
+ # @!attribute [rw] vpc_link_status_message
4597
+ # A string with a length between \[0-1024\].
4598
+ # @return [String]
4599
+ #
4600
+ # @!attribute [rw] vpc_link_version
4601
+ # The version of the VPC link.
4602
+ # @return [String]
4603
+ #
4604
+ class GetVpcLinkResponse < Struct.new(
4605
+ :created_date,
4606
+ :name,
4607
+ :security_group_ids,
4608
+ :subnet_ids,
4609
+ :tags,
4610
+ :vpc_link_id,
4611
+ :vpc_link_status,
4612
+ :vpc_link_status_message,
4613
+ :vpc_link_version)
4614
+ include Aws::Structure
4615
+ end
4616
+
4617
+ # @note When making an API call, you may pass GetVpcLinksRequest
4618
+ # data as a hash:
4619
+ #
4620
+ # {
4621
+ # max_results: "__string",
4622
+ # next_token: "__string",
4623
+ # }
4624
+ #
4625
+ # @!attribute [rw] max_results
4626
+ # @return [String]
4627
+ #
4628
+ # @!attribute [rw] next_token
4629
+ # @return [String]
4630
+ #
4631
+ class GetVpcLinksRequest < Struct.new(
4632
+ :max_results,
4633
+ :next_token)
4634
+ include Aws::Structure
4635
+ end
4636
+
4637
+ # @!attribute [rw] items
4638
+ # @return [Array<Types::VpcLink>]
4639
+ #
4640
+ # @!attribute [rw] next_token
4641
+ # The next page of elements from this collection. Not valid for the
4642
+ # last element of the collection.
4643
+ # @return [String]
4644
+ #
4645
+ class GetVpcLinksResponse < Struct.new(
4646
+ :items,
4647
+ :next_token)
4648
+ include Aws::Structure
4649
+ end
4650
+
4311
4651
  # Represents the input to ImportAPI. Supported only for HTTP APIs.
4312
4652
  #
4313
4653
  # @!attribute [rw] body
@@ -4438,13 +4778,15 @@ module Aws::ApiGatewayV2
4438
4778
  # @return [Boolean]
4439
4779
  #
4440
4780
  # @!attribute [rw] connection_id
4441
- # The connection ID.
4781
+ # The ID of the VPC link for a private integration. Supported only for
4782
+ # HTTP APIs.
4442
4783
  # @return [String]
4443
4784
  #
4444
4785
  # @!attribute [rw] connection_type
4445
4786
  # The type of the network connection to the integration endpoint.
4446
- # Currently the only valid value is INTERNET, for connections through
4447
- # the public routable internet.
4787
+ # Specify INTERNET for connections through the public routable
4788
+ # internet or VPC\_LINK for private connections between API Gateway
4789
+ # and resources in a VPC. The default value is INTERNET.
4448
4790
  # @return [String]
4449
4791
  #
4450
4792
  # @!attribute [rw] content_handling_strategy
@@ -4513,9 +4855,9 @@ module Aws::ApiGatewayV2
4513
4855
  # endpoint. This integration is also referred to as the HTTP custom
4514
4856
  # integration. Supported only for WebSocket APIs.
4515
4857
  #
4516
- # HTTP\_PROXY: for integrating route or method request with an HTTP
4517
- # endpoint, with the client request passed through as-is. This is also
4518
- # referred to as HTTP proxy integration.
4858
+ # HTTP\_PROXY: for integrating the route or method request with an
4859
+ # HTTP endpoint, with the client request passed through as-is. This is
4860
+ # also referred to as HTTP proxy integration.
4519
4861
  #
4520
4862
  # MOCK: for integrating the route or method request with API Gateway
4521
4863
  # as a "loopback" endpoint without invoking any backend. Supported
@@ -4523,8 +4865,21 @@ module Aws::ApiGatewayV2
4523
4865
  # @return [String]
4524
4866
  #
4525
4867
  # @!attribute [rw] integration_uri
4526
- # For a Lambda proxy integration, this is the URI of the Lambda
4527
- # function.
4868
+ # For a Lambda integration, specify the URI of a Lambda function.
4869
+ #
4870
+ # For an HTTP integration, specify a fully-qualified URL.
4871
+ #
4872
+ # For an HTTP API private integration, specify the ARN of an
4873
+ # Application Load Balancer listener, Network Load Balancer listener,
4874
+ # or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map
4875
+ # service, API Gateway uses DiscoverInstances to identify resources.
4876
+ # You can use query parameters to target specific resources. To learn
4877
+ # more, see [DiscoverInstances][1]. For private integrations, all
4878
+ # resources must be owned by the same AWS account.
4879
+ #
4880
+ #
4881
+ #
4882
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html
4528
4883
  # @return [String]
4529
4884
  #
4530
4885
  # @!attribute [rw] passthrough_behavior
@@ -4548,7 +4903,7 @@ module Aws::ApiGatewayV2
4548
4903
  #
4549
4904
  # @!attribute [rw] payload_format_version
4550
4905
  # Specifies the format of the payload sent to an integration. Required
4551
- # for HTTP APIs. Currently, the only supported value is 1.0.
4906
+ # for HTTP APIs.
4552
4907
  # @return [String]
4553
4908
  #
4554
4909
  # @!attribute [rw] request_parameters
@@ -4558,16 +4913,9 @@ module Aws::ApiGatewayV2
4558
4913
  # parameter value or static value that must be enclosed within single
4559
4914
  # quotes and pre-encoded as required by the backend. The method
4560
4915
  # request parameter value must match the pattern of
4561
- # method.request.<replaceable>\{location\}</replaceable>
4562
- #
4563
- # .<replaceable>\{name\}</replaceable>
4564
- #
4565
- # , where <replaceable>\{location\}</replaceable>
4566
- #
4567
- # is querystring, path, or header; and
4568
- # <replaceable>\{name\}</replaceable>
4569
- #
4570
- # must be a valid and unique method request parameter name. Supported
4916
+ # method.request.*\\\{location\\}*.*\\\{name\\}* , where
4917
+ # *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
4918
+ # must be a valid and unique method request parameter name. Supported
4571
4919
  # only for WebSocket APIs.
4572
4920
  # @return [Hash<String,String>]
4573
4921
  #
@@ -4585,11 +4933,18 @@ module Aws::ApiGatewayV2
4585
4933
  # @return [String]
4586
4934
  #
4587
4935
  # @!attribute [rw] timeout_in_millis
4588
- # Custom timeout between 50 and 29,000 milliseconds. The default value
4589
- # is 29,000 milliseconds or 29 seconds for WebSocket APIs. The default
4590
- # value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
4936
+ # Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs
4937
+ # and between 50 and 30,000 milliseconds for HTTP APIs. The default
4938
+ # timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP
4939
+ # APIs.
4591
4940
  # @return [Integer]
4592
4941
  #
4942
+ # @!attribute [rw] tls_config
4943
+ # The TLS configuration for a private integration. If you specify a
4944
+ # TLS configuration, private integration traffic uses the HTTPS
4945
+ # protocol. Supported only for HTTP APIs.
4946
+ # @return [Types::TlsConfig]
4947
+ #
4593
4948
  class Integration < Struct.new(
4594
4949
  :api_gateway_managed,
4595
4950
  :connection_id,
@@ -4607,7 +4962,8 @@ module Aws::ApiGatewayV2
4607
4962
  :request_parameters,
4608
4963
  :request_templates,
4609
4964
  :template_selection_expression,
4610
- :timeout_in_millis)
4965
+ :timeout_in_millis,
4966
+ :tls_config)
4611
4967
  include Aws::Structure
4612
4968
  end
4613
4969
 
@@ -4732,11 +5088,9 @@ module Aws::ApiGatewayV2
4732
5088
  # @!attribute [rw] issuer
4733
5089
  # The base domain of the identity provider that issues JSON Web
4734
5090
  # Tokens. For example, an Amazon Cognito user pool has the following
4735
- # format: https://cognito-idp.<replaceable>\{region\}</replaceable>
4736
- #
4737
- # .amazonaws.com/<replaceable>\{userPoolId\}</replaceable>
4738
- #
4739
- # . Required for the JWT authorizer type. Supported only for HTTP
5091
+ # format:
5092
+ # https://cognito-idp.*\\\{region\\}*.amazonaws.com/*\\\{userPoolId\\}*
5093
+ # . Required for the JWT authorizer type. Supported only for HTTP
4740
5094
  # APIs.
4741
5095
  # @return [String]
4742
5096
  #
@@ -5133,7 +5487,7 @@ module Aws::ApiGatewayV2
5133
5487
  # {
5134
5488
  # data_trace_enabled: false,
5135
5489
  # detailed_metrics_enabled: false,
5136
- # logging_level: "ERROR", # accepts ERROR, INFO, false
5490
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
5137
5491
  # throttling_burst_limit: 1,
5138
5492
  # throttling_rate_limit: 1.0,
5139
5493
  # }
@@ -5155,13 +5509,11 @@ module Aws::ApiGatewayV2
5155
5509
  # @return [String]
5156
5510
  #
5157
5511
  # @!attribute [rw] throttling_burst_limit
5158
- # Specifies the throttling burst limit. Supported only for WebSocket
5159
- # APIs.
5512
+ # Specifies the throttling burst limit.
5160
5513
  # @return [Integer]
5161
5514
  #
5162
5515
  # @!attribute [rw] throttling_rate_limit
5163
- # Specifies the throttling rate limit. Supported only for WebSocket
5164
- # APIs.
5516
+ # Specifies the throttling rate limit.
5165
5517
  # @return [Float]
5166
5518
  #
5167
5519
  class RouteSettings < Struct.new(
@@ -5249,8 +5601,7 @@ module Aws::ApiGatewayV2
5249
5601
  # @!attribute [rw] stage_variables
5250
5602
  # A map that defines the stage variables for a stage resource.
5251
5603
  # Variable names can have alphanumeric and underscore characters, and
5252
- # the values must match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+. Supported only
5253
- # for WebSocket APIs.
5604
+ # the values must match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+.
5254
5605
  # @return [Hash<String,String>]
5255
5606
  #
5256
5607
  # @!attribute [rw] tags
@@ -5342,6 +5693,45 @@ module Aws::ApiGatewayV2
5342
5693
  include Aws::Structure
5343
5694
  end
5344
5695
 
5696
+ # The TLS configuration for a private integration. If you specify a TLS
5697
+ # configuration, private integration traffic uses the HTTPS protocol.
5698
+ # Supported only for HTTP APIs.
5699
+ #
5700
+ # @!attribute [rw] server_name_to_verify
5701
+ # If you specify a server name, API Gateway uses it to verify the
5702
+ # hostname on the integration's certificate. The server name is also
5703
+ # included in the TLS handshake to support Server Name Indication
5704
+ # (SNI) or virtual hosting.
5705
+ # @return [String]
5706
+ #
5707
+ class TlsConfig < Struct.new(
5708
+ :server_name_to_verify)
5709
+ include Aws::Structure
5710
+ end
5711
+
5712
+ # The TLS configuration for a private integration. If you specify a TLS
5713
+ # configuration, private integration traffic uses the HTTPS protocol.
5714
+ # Supported only for HTTP APIs.
5715
+ #
5716
+ # @note When making an API call, you may pass TlsConfigInput
5717
+ # data as a hash:
5718
+ #
5719
+ # {
5720
+ # server_name_to_verify: "StringWithLengthBetween1And512",
5721
+ # }
5722
+ #
5723
+ # @!attribute [rw] server_name_to_verify
5724
+ # If you specify a server name, API Gateway uses it to verify the
5725
+ # hostname on the integration's certificate. The server name is also
5726
+ # included in the TLS handshake to support Server Name Indication
5727
+ # (SNI) or virtual hosting.
5728
+ # @return [String]
5729
+ #
5730
+ class TlsConfigInput < Struct.new(
5731
+ :server_name_to_verify)
5732
+ include Aws::Structure
5733
+ end
5734
+
5345
5735
  # A limit has been exceeded. See the accompanying error message for
5346
5736
  # details.
5347
5737
  #
@@ -5767,16 +6157,10 @@ module Aws::ApiGatewayV2
5767
6157
  # The authorizer's Uniform Resource Identifier (URI). For REQUEST
5768
6158
  # authorizers, this must be a well-formed Lambda function URI, for
5769
6159
  # example,
5770
- # arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:<replaceable>\{account_id\}</replaceable>
5771
- #
5772
- # \:function:<replaceable>\{lambda_function_name\}</replaceable>
5773
- #
5774
- # /invocations. In general, the URI has this form:
5775
- # arn:aws:apigateway:<replaceable>\{region\}</replaceable>
5776
- #
5777
- # \:lambda:path/<replaceable>\{service_api\}</replaceable>
5778
- #
5779
- # , where <replaceable />
6160
+ # arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:*\\\{account\_id\\}*\:function:*\\\{lambda\_function\_name\\}*/invocations.
6161
+ # In general, the URI has this form:
6162
+ # arn:aws:apigateway:*\\\{region\\}*\:lambda:path/*\\\{service\_api\\}*
6163
+ # , where <replaceable />
5780
6164
  #
5781
6165
  # \\\{region\\} is the same as the region hosting the Lambda function,
5782
6166
  # path indicates that the remaining substring in the URI should be
@@ -6134,13 +6518,15 @@ module Aws::ApiGatewayV2
6134
6518
  # Represents the input parameters for an UpdateIntegration request.
6135
6519
  #
6136
6520
  # @!attribute [rw] connection_id
6137
- # The connection ID.
6521
+ # The ID of the VPC link for a private integration. Supported only for
6522
+ # HTTP APIs.
6138
6523
  # @return [String]
6139
6524
  #
6140
6525
  # @!attribute [rw] connection_type
6141
6526
  # The type of the network connection to the integration endpoint.
6142
- # Currently the only valid value is INTERNET, for connections through
6143
- # the public routable internet.
6527
+ # Specify INTERNET for connections through the public routable
6528
+ # internet or VPC\_LINK for private connections between API Gateway
6529
+ # and resources in a VPC. The default value is INTERNET.
6144
6530
  # @return [String]
6145
6531
  #
6146
6532
  # @!attribute [rw] content_handling_strategy
@@ -6195,9 +6581,10 @@ module Aws::ApiGatewayV2
6195
6581
  # endpoint. This integration is also referred to as the HTTP custom
6196
6582
  # integration. Supported only for WebSocket APIs.
6197
6583
  #
6198
- # HTTP\_PROXY: for integrating route or method request with an HTTP
6199
- # endpoint, with the client request passed through as-is. This is also
6200
- # referred to as HTTP proxy integration.
6584
+ # HTTP\_PROXY: for integrating the route or method request with an
6585
+ # HTTP endpoint, with the client request passed through as-is. This is
6586
+ # also referred to as HTTP proxy integration. For HTTP API private
6587
+ # integrations, use an HTTP\_PROXY integration.
6201
6588
  #
6202
6589
  # MOCK: for integrating the route or method request with API Gateway
6203
6590
  # as a "loopback" endpoint without invoking any backend. Supported
@@ -6205,8 +6592,21 @@ module Aws::ApiGatewayV2
6205
6592
  # @return [String]
6206
6593
  #
6207
6594
  # @!attribute [rw] integration_uri
6208
- # For a Lambda proxy integration, this is the URI of the Lambda
6209
- # function.
6595
+ # For a Lambda integration, specify the URI of a Lambda function.
6596
+ #
6597
+ # For an HTTP integration, specify a fully-qualified URL.
6598
+ #
6599
+ # For an HTTP API private integration, specify the ARN of an
6600
+ # Application Load Balancer listener, Network Load Balancer listener,
6601
+ # or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map
6602
+ # service, API Gateway uses DiscoverInstances to identify resources.
6603
+ # You can use query parameters to target specific resources. To learn
6604
+ # more, see [DiscoverInstances][1]. For private integrations, all
6605
+ # resources must be owned by the same AWS account.
6606
+ #
6607
+ #
6608
+ #
6609
+ # [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html
6210
6610
  # @return [String]
6211
6611
  #
6212
6612
  # @!attribute [rw] passthrough_behavior
@@ -6230,7 +6630,7 @@ module Aws::ApiGatewayV2
6230
6630
  #
6231
6631
  # @!attribute [rw] payload_format_version
6232
6632
  # Specifies the format of the payload sent to an integration. Required
6233
- # for HTTP APIs. Currently, the only supported value is 1.0.
6633
+ # for HTTP APIs.
6234
6634
  # @return [String]
6235
6635
  #
6236
6636
  # @!attribute [rw] request_parameters
@@ -6240,16 +6640,9 @@ module Aws::ApiGatewayV2
6240
6640
  # parameter value or static value that must be enclosed within single
6241
6641
  # quotes and pre-encoded as required by the backend. The method
6242
6642
  # request parameter value must match the pattern of
6243
- # method.request.<replaceable>\{location\}</replaceable>
6244
- #
6245
- # .<replaceable>\{name\}</replaceable>
6246
- #
6247
- # , where <replaceable>\{location\}</replaceable>
6248
- #
6249
- # is querystring, path, or header; and
6250
- # <replaceable>\{name\}</replaceable>
6251
- #
6252
- # must be a valid and unique method request parameter name. Supported
6643
+ # method.request.*\\\{location\\}*.*\\\{name\\}* , where
6644
+ # *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
6645
+ # must be a valid and unique method request parameter name. Supported
6253
6646
  # only for WebSocket APIs.
6254
6647
  # @return [Hash<String,String>]
6255
6648
  #
@@ -6266,11 +6659,18 @@ module Aws::ApiGatewayV2
6266
6659
  # @return [String]
6267
6660
  #
6268
6661
  # @!attribute [rw] timeout_in_millis
6269
- # Custom timeout between 50 and 29,000 milliseconds. The default value
6270
- # is 29,000 milliseconds or 29 seconds for WebSocket APIs. The default
6271
- # value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
6662
+ # Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs
6663
+ # and between 50 and 30,000 milliseconds for HTTP APIs. The default
6664
+ # timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP
6665
+ # APIs.
6272
6666
  # @return [Integer]
6273
6667
  #
6668
+ # @!attribute [rw] tls_config
6669
+ # The TLS configuration for a private integration. If you specify a
6670
+ # TLS configuration, private integration traffic uses the HTTPS
6671
+ # protocol. Supported only for HTTP APIs.
6672
+ # @return [Types::TlsConfigInput]
6673
+ #
6274
6674
  class UpdateIntegrationInput < Struct.new(
6275
6675
  :connection_id,
6276
6676
  :connection_type,
@@ -6285,7 +6685,8 @@ module Aws::ApiGatewayV2
6285
6685
  :request_parameters,
6286
6686
  :request_templates,
6287
6687
  :template_selection_expression,
6288
- :timeout_in_millis)
6688
+ :timeout_in_millis,
6689
+ :tls_config)
6289
6690
  include Aws::Structure
6290
6691
  end
6291
6692
 
@@ -6313,6 +6714,9 @@ module Aws::ApiGatewayV2
6313
6714
  # },
6314
6715
  # template_selection_expression: "SelectionExpression",
6315
6716
  # timeout_in_millis: 1,
6717
+ # tls_config: {
6718
+ # server_name_to_verify: "StringWithLengthBetween1And512",
6719
+ # },
6316
6720
  # }
6317
6721
  #
6318
6722
  # @!attribute [rw] api_id
@@ -6394,9 +6798,15 @@ module Aws::ApiGatewayV2
6394
6798
  # @return [String]
6395
6799
  #
6396
6800
  # @!attribute [rw] timeout_in_millis
6397
- # An integer with a value between \[50-29000\].
6801
+ # An integer with a value between \[50-30000\].
6398
6802
  # @return [Integer]
6399
6803
  #
6804
+ # @!attribute [rw] tls_config
6805
+ # The TLS configuration for a private integration. If you specify a
6806
+ # TLS configuration, private integration traffic uses the HTTPS
6807
+ # protocol. Supported only for HTTP APIs.
6808
+ # @return [Types::TlsConfigInput]
6809
+ #
6400
6810
  class UpdateIntegrationRequest < Struct.new(
6401
6811
  :api_id,
6402
6812
  :connection_id,
@@ -6413,7 +6823,8 @@ module Aws::ApiGatewayV2
6413
6823
  :request_parameters,
6414
6824
  :request_templates,
6415
6825
  :template_selection_expression,
6416
- :timeout_in_millis)
6826
+ :timeout_in_millis,
6827
+ :tls_config)
6417
6828
  include Aws::Structure
6418
6829
  end
6419
6830
 
@@ -6506,9 +6917,15 @@ module Aws::ApiGatewayV2
6506
6917
  # @return [String]
6507
6918
  #
6508
6919
  # @!attribute [rw] timeout_in_millis
6509
- # An integer with a value between \[50-29000\].
6920
+ # An integer with a value between \[50-30000\].
6510
6921
  # @return [Integer]
6511
6922
  #
6923
+ # @!attribute [rw] tls_config
6924
+ # The TLS configuration for a private integration. If you specify a
6925
+ # TLS configuration, private integration traffic uses the HTTPS
6926
+ # protocol. Supported only for HTTP APIs.
6927
+ # @return [Types::TlsConfig]
6928
+ #
6512
6929
  class UpdateIntegrationResult < Struct.new(
6513
6930
  :api_gateway_managed,
6514
6931
  :connection_id,
@@ -6526,7 +6943,8 @@ module Aws::ApiGatewayV2
6526
6943
  :request_parameters,
6527
6944
  :request_templates,
6528
6945
  :template_selection_expression,
6529
- :timeout_in_millis)
6946
+ :timeout_in_millis,
6947
+ :tls_config)
6530
6948
  include Aws::Structure
6531
6949
  end
6532
6950
 
@@ -6561,21 +6979,13 @@ module Aws::ApiGatewayV2
6561
6979
  # response header value, a static value enclosed within a pair of
6562
6980
  # single quotes, or a JSON expression from the integration response
6563
6981
  # body. The mapping key must match the pattern of
6564
- # method.response.header.<replaceable>\{name\}</replaceable>
6565
- #
6566
- # , where name is a valid and unique header name. The mapped
6567
- # non-static value must match the pattern of
6568
- # integration.response.header.<replaceable>\{name\}</replaceable>
6569
- #
6570
- # or
6571
- # integration.response.body.<replaceable>\{JSON-expression\}</replaceable>
6572
- #
6573
- # , where <replaceable>\{name\}</replaceable>
6574
- #
6575
- # is a valid and unique response header name and
6576
- # <replaceable>\{JSON-expression\}</replaceable>
6577
- #
6578
- # is a valid JSON expression without the $ prefix.
6982
+ # method.response.header.*\\\{name\\}* , where name is a valid and
6983
+ # unique header name. The mapped non-static value must match the
6984
+ # pattern of integration.response.header.*\\\{name\\}* or
6985
+ # integration.response.body.*\\\{JSON-expression\\}* , where
6986
+ # *\\\{name\\}* is a valid and unique response header name and
6987
+ # *\\\{JSON-expression\\}* is a valid JSON expression without the $
6988
+ # prefix.
6579
6989
  # @return [Hash<String,String>]
6580
6990
  #
6581
6991
  # @!attribute [rw] response_templates
@@ -7300,8 +7710,7 @@ module Aws::ApiGatewayV2
7300
7710
  # @!attribute [rw] stage_variables
7301
7711
  # A map that defines the stage variables for a Stage. Variable names
7302
7712
  # can have alphanumeric and underscore characters, and the values must
7303
- # match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+. Supported only for WebSocket
7304
- # APIs.
7713
+ # match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+.
7305
7714
  # @return [Hash<String,String>]
7306
7715
  #
7307
7716
  class UpdateStageInput < Struct.new(
@@ -7330,7 +7739,7 @@ module Aws::ApiGatewayV2
7330
7739
  # default_route_settings: {
7331
7740
  # data_trace_enabled: false,
7332
7741
  # detailed_metrics_enabled: false,
7333
- # logging_level: "ERROR", # accepts ERROR, INFO, false
7742
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
7334
7743
  # throttling_burst_limit: 1,
7335
7744
  # throttling_rate_limit: 1.0,
7336
7745
  # },
@@ -7340,7 +7749,7 @@ module Aws::ApiGatewayV2
7340
7749
  # "__string" => {
7341
7750
  # data_trace_enabled: false,
7342
7751
  # detailed_metrics_enabled: false,
7343
- # logging_level: "ERROR", # accepts ERROR, INFO, false
7752
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
7344
7753
  # throttling_burst_limit: 1,
7345
7754
  # throttling_rate_limit: 1.0,
7346
7755
  # },
@@ -7471,5 +7880,153 @@ module Aws::ApiGatewayV2
7471
7880
  include Aws::Structure
7472
7881
  end
7473
7882
 
7883
+ # Represents the input parameters for an UpdateVpcLink request.
7884
+ #
7885
+ # @!attribute [rw] name
7886
+ # The name of the VPC link.
7887
+ # @return [String]
7888
+ #
7889
+ class UpdateVpcLinkInput < Struct.new(
7890
+ :name)
7891
+ include Aws::Structure
7892
+ end
7893
+
7894
+ # @note When making an API call, you may pass UpdateVpcLinkRequest
7895
+ # data as a hash:
7896
+ #
7897
+ # {
7898
+ # name: "StringWithLengthBetween1And128",
7899
+ # vpc_link_id: "__string", # required
7900
+ # }
7901
+ #
7902
+ # @!attribute [rw] name
7903
+ # A string with a length between \[1-128\].
7904
+ # @return [String]
7905
+ #
7906
+ # @!attribute [rw] vpc_link_id
7907
+ # @return [String]
7908
+ #
7909
+ class UpdateVpcLinkRequest < Struct.new(
7910
+ :name,
7911
+ :vpc_link_id)
7912
+ include Aws::Structure
7913
+ end
7914
+
7915
+ # @!attribute [rw] created_date
7916
+ # @return [Time]
7917
+ #
7918
+ # @!attribute [rw] name
7919
+ # A string with a length between \[1-128\].
7920
+ # @return [String]
7921
+ #
7922
+ # @!attribute [rw] security_group_ids
7923
+ # A list of security group IDs for the VPC link.
7924
+ # @return [Array<String>]
7925
+ #
7926
+ # @!attribute [rw] subnet_ids
7927
+ # A list of subnet IDs to include in the VPC link.
7928
+ # @return [Array<String>]
7929
+ #
7930
+ # @!attribute [rw] tags
7931
+ # Represents a collection of tags associated with the resource.
7932
+ # @return [Hash<String,String>]
7933
+ #
7934
+ # @!attribute [rw] vpc_link_id
7935
+ # The identifier.
7936
+ # @return [String]
7937
+ #
7938
+ # @!attribute [rw] vpc_link_status
7939
+ # The status of the VPC link.
7940
+ # @return [String]
7941
+ #
7942
+ # @!attribute [rw] vpc_link_status_message
7943
+ # A string with a length between \[0-1024\].
7944
+ # @return [String]
7945
+ #
7946
+ # @!attribute [rw] vpc_link_version
7947
+ # The version of the VPC link.
7948
+ # @return [String]
7949
+ #
7950
+ class UpdateVpcLinkResponse < Struct.new(
7951
+ :created_date,
7952
+ :name,
7953
+ :security_group_ids,
7954
+ :subnet_ids,
7955
+ :tags,
7956
+ :vpc_link_id,
7957
+ :vpc_link_status,
7958
+ :vpc_link_status_message,
7959
+ :vpc_link_version)
7960
+ include Aws::Structure
7961
+ end
7962
+
7963
+ # Represents a VPC link.
7964
+ #
7965
+ # @!attribute [rw] created_date
7966
+ # The timestamp when the VPC link was created.
7967
+ # @return [Time]
7968
+ #
7969
+ # @!attribute [rw] name
7970
+ # The name of the VPC link.
7971
+ # @return [String]
7972
+ #
7973
+ # @!attribute [rw] security_group_ids
7974
+ # A list of security group IDs for the VPC link.
7975
+ # @return [Array<String>]
7976
+ #
7977
+ # @!attribute [rw] subnet_ids
7978
+ # A list of subnet IDs to include in the VPC link.
7979
+ # @return [Array<String>]
7980
+ #
7981
+ # @!attribute [rw] tags
7982
+ # Tags for the VPC link.
7983
+ # @return [Hash<String,String>]
7984
+ #
7985
+ # @!attribute [rw] vpc_link_id
7986
+ # The ID of the VPC link.
7987
+ # @return [String]
7988
+ #
7989
+ # @!attribute [rw] vpc_link_status
7990
+ # The status of the VPC link.
7991
+ # @return [String]
7992
+ #
7993
+ # @!attribute [rw] vpc_link_status_message
7994
+ # A message summarizing the cause of the status of the VPC link.
7995
+ # @return [String]
7996
+ #
7997
+ # @!attribute [rw] vpc_link_version
7998
+ # The version of the VPC link.
7999
+ # @return [String]
8000
+ #
8001
+ class VpcLink < Struct.new(
8002
+ :created_date,
8003
+ :name,
8004
+ :security_group_ids,
8005
+ :subnet_ids,
8006
+ :tags,
8007
+ :vpc_link_id,
8008
+ :vpc_link_status,
8009
+ :vpc_link_status_message,
8010
+ :vpc_link_version)
8011
+ include Aws::Structure
8012
+ end
8013
+
8014
+ # Represents a collection of VPCLinks.
8015
+ #
8016
+ # @!attribute [rw] items
8017
+ # A collection of VPC links.
8018
+ # @return [Array<Types::VpcLink>]
8019
+ #
8020
+ # @!attribute [rw] next_token
8021
+ # The next page of elements from this collection. Not valid for the
8022
+ # last element of the collection.
8023
+ # @return [String]
8024
+ #
8025
+ class VpcLinks < Struct.new(
8026
+ :items,
8027
+ :next_token)
8028
+ include Aws::Structure
8029
+ end
8030
+
7474
8031
  end
7475
8032
  end