aws-sdk-apigatewayv2 1.9.0 → 1.10.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 +4 -4
- data/lib/aws-sdk-apigatewayv2.rb +1 -1
- data/lib/aws-sdk-apigatewayv2/client.rb +106 -1
- data/lib/aws-sdk-apigatewayv2/client_api.rb +83 -0
- data/lib/aws-sdk-apigatewayv2/types.rb +171 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6163a3f656cc352c7899ec21dc3d11d6c3ceefa
|
4
|
+
data.tar.gz: 20d959480e7c4fbc177eb8b3c7b4b221066c2ef6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 629e272bda0eac7b78fe27d07a430c8b1eed1448121f365cfb8504c31644a598e486f5822eb601608f2e1540e361bcb5791354bbe0d0f11b24df23f4169788df
|
7
|
+
data.tar.gz: 230b314d10ac0d819177cb423df45d64c909adea3fad38ab62df06854d4d623bfbe49dfce6a4f722f3abd829d934320da36910983ada608fd453b48cfa7394e6
|
data/lib/aws-sdk-apigatewayv2.rb
CHANGED
@@ -522,11 +522,16 @@ module Aws::ApiGatewayV2
|
|
522
522
|
# @option params [Array<Types::DomainNameConfiguration>] :domain_name_configurations
|
523
523
|
# The domain name configurations.
|
524
524
|
#
|
525
|
+
# @option params [Hash<String,String>] :tags
|
526
|
+
# A key value pair of string with key length between\[1-128\] and value
|
527
|
+
# length between\[1-256\]
|
528
|
+
#
|
525
529
|
# @return [Types::CreateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
526
530
|
#
|
527
531
|
# * {Types::CreateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
528
532
|
# * {Types::CreateDomainNameResponse#domain_name #domain_name} => String
|
529
533
|
# * {Types::CreateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
534
|
+
# * {Types::CreateDomainNameResponse#tags #tags} => Hash<String,String>
|
530
535
|
#
|
531
536
|
# @example Request syntax with placeholder values
|
532
537
|
#
|
@@ -545,6 +550,9 @@ module Aws::ApiGatewayV2
|
|
545
550
|
# domain_name_status_message: "__string",
|
546
551
|
# },
|
547
552
|
# ],
|
553
|
+
# tags: {
|
554
|
+
# "__string" => "StringWithLengthBetween1And1600",
|
555
|
+
# },
|
548
556
|
# })
|
549
557
|
#
|
550
558
|
# @example Response structure
|
@@ -561,6 +569,8 @@ module Aws::ApiGatewayV2
|
|
561
569
|
# resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
562
570
|
# resp.domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
|
563
571
|
# resp.domain_name_configurations[0].domain_name_status_message #=> String
|
572
|
+
# resp.tags #=> Hash
|
573
|
+
# resp.tags["__string"] #=> String
|
564
574
|
#
|
565
575
|
# @overload create_domain_name(params = {})
|
566
576
|
# @param [Hash] params ({})
|
@@ -1060,6 +1070,10 @@ module Aws::ApiGatewayV2
|
|
1060
1070
|
# @option params [Hash<String,String>] :stage_variables
|
1061
1071
|
# The stage variable map.
|
1062
1072
|
#
|
1073
|
+
# @option params [Hash<String,String>] :tags
|
1074
|
+
# A key value pair of string with key length between\[1-128\] and value
|
1075
|
+
# length between\[1-256\]
|
1076
|
+
#
|
1063
1077
|
# @return [Types::CreateStageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1064
1078
|
#
|
1065
1079
|
# * {Types::CreateStageResponse#access_log_settings #access_log_settings} => Types::AccessLogSettings
|
@@ -1072,6 +1086,7 @@ module Aws::ApiGatewayV2
|
|
1072
1086
|
# * {Types::CreateStageResponse#route_settings #route_settings} => Hash<String,Types::RouteSettings>
|
1073
1087
|
# * {Types::CreateStageResponse#stage_name #stage_name} => String
|
1074
1088
|
# * {Types::CreateStageResponse#stage_variables #stage_variables} => Hash<String,String>
|
1089
|
+
# * {Types::CreateStageResponse#tags #tags} => Hash<String,String>
|
1075
1090
|
#
|
1076
1091
|
# @example Request syntax with placeholder values
|
1077
1092
|
#
|
@@ -1104,6 +1119,9 @@ module Aws::ApiGatewayV2
|
|
1104
1119
|
# stage_variables: {
|
1105
1120
|
# "__string" => "StringWithLengthBetween0And2048",
|
1106
1121
|
# },
|
1122
|
+
# tags: {
|
1123
|
+
# "__string" => "StringWithLengthBetween1And1600",
|
1124
|
+
# },
|
1107
1125
|
# })
|
1108
1126
|
#
|
1109
1127
|
# @example Response structure
|
@@ -1129,6 +1147,8 @@ module Aws::ApiGatewayV2
|
|
1129
1147
|
# resp.stage_name #=> String
|
1130
1148
|
# resp.stage_variables #=> Hash
|
1131
1149
|
# resp.stage_variables["__string"] #=> String
|
1150
|
+
# resp.tags #=> Hash
|
1151
|
+
# resp.tags["__string"] #=> String
|
1132
1152
|
#
|
1133
1153
|
# @overload create_stage(params = {})
|
1134
1154
|
# @param [Hash] params ({})
|
@@ -1396,6 +1416,7 @@ module Aws::ApiGatewayV2
|
|
1396
1416
|
# * {Types::GetApiResponse#route_selection_expression #route_selection_expression} => String
|
1397
1417
|
# * {Types::GetApiResponse#version #version} => String
|
1398
1418
|
# * {Types::GetApiResponse#warnings #warnings} => Array<String>
|
1419
|
+
# * {Types::GetApiResponse#tags #tags} => Hash<String,String>
|
1399
1420
|
#
|
1400
1421
|
# @example Request syntax with placeholder values
|
1401
1422
|
#
|
@@ -1417,6 +1438,8 @@ module Aws::ApiGatewayV2
|
|
1417
1438
|
# resp.version #=> String
|
1418
1439
|
# resp.warnings #=> Array
|
1419
1440
|
# resp.warnings[0] #=> String
|
1441
|
+
# resp.tags #=> Hash
|
1442
|
+
# resp.tags["__string"] #=> String
|
1420
1443
|
#
|
1421
1444
|
# @overload get_api(params = {})
|
1422
1445
|
# @param [Hash] params ({})
|
@@ -1529,6 +1552,8 @@ module Aws::ApiGatewayV2
|
|
1529
1552
|
# resp.items[0].version #=> String
|
1530
1553
|
# resp.items[0].warnings #=> Array
|
1531
1554
|
# resp.items[0].warnings[0] #=> String
|
1555
|
+
# resp.items[0].tags #=> Hash
|
1556
|
+
# resp.items[0].tags["__string"] #=> String
|
1532
1557
|
# resp.next_token #=> String
|
1533
1558
|
#
|
1534
1559
|
# @overload get_apis(params = {})
|
@@ -1711,6 +1736,7 @@ module Aws::ApiGatewayV2
|
|
1711
1736
|
# * {Types::GetDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
1712
1737
|
# * {Types::GetDomainNameResponse#domain_name #domain_name} => String
|
1713
1738
|
# * {Types::GetDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
1739
|
+
# * {Types::GetDomainNameResponse#tags #tags} => Hash<String,String>
|
1714
1740
|
#
|
1715
1741
|
# @example Request syntax with placeholder values
|
1716
1742
|
#
|
@@ -1732,6 +1758,8 @@ module Aws::ApiGatewayV2
|
|
1732
1758
|
# resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
1733
1759
|
# resp.domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
|
1734
1760
|
# resp.domain_name_configurations[0].domain_name_status_message #=> String
|
1761
|
+
# resp.tags #=> Hash
|
1762
|
+
# resp.tags["__string"] #=> String
|
1735
1763
|
#
|
1736
1764
|
# @overload get_domain_name(params = {})
|
1737
1765
|
# @param [Hash] params ({})
|
@@ -1773,6 +1801,8 @@ module Aws::ApiGatewayV2
|
|
1773
1801
|
# resp.items[0].domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
1774
1802
|
# resp.items[0].domain_name_configurations[0].domain_name_status #=> String, one of "AVAILABLE", "UPDATING"
|
1775
1803
|
# resp.items[0].domain_name_configurations[0].domain_name_status_message #=> String
|
1804
|
+
# resp.items[0].tags #=> Hash
|
1805
|
+
# resp.items[0].tags["__string"] #=> String
|
1776
1806
|
# resp.next_token #=> String
|
1777
1807
|
#
|
1778
1808
|
# @overload get_domain_names(params = {})
|
@@ -2282,6 +2312,7 @@ module Aws::ApiGatewayV2
|
|
2282
2312
|
# * {Types::GetStageResponse#route_settings #route_settings} => Hash<String,Types::RouteSettings>
|
2283
2313
|
# * {Types::GetStageResponse#stage_name #stage_name} => String
|
2284
2314
|
# * {Types::GetStageResponse#stage_variables #stage_variables} => Hash<String,String>
|
2315
|
+
# * {Types::GetStageResponse#tags #tags} => Hash<String,String>
|
2285
2316
|
#
|
2286
2317
|
# @example Request syntax with placeholder values
|
2287
2318
|
#
|
@@ -2313,6 +2344,8 @@ module Aws::ApiGatewayV2
|
|
2313
2344
|
# resp.stage_name #=> String
|
2314
2345
|
# resp.stage_variables #=> Hash
|
2315
2346
|
# resp.stage_variables["__string"] #=> String
|
2347
|
+
# resp.tags #=> Hash
|
2348
|
+
# resp.tags["__string"] #=> String
|
2316
2349
|
#
|
2317
2350
|
# @overload get_stage(params = {})
|
2318
2351
|
# @param [Hash] params ({})
|
@@ -2366,6 +2399,8 @@ module Aws::ApiGatewayV2
|
|
2366
2399
|
# resp.items[0].stage_name #=> String
|
2367
2400
|
# resp.items[0].stage_variables #=> Hash
|
2368
2401
|
# resp.items[0].stage_variables["__string"] #=> String
|
2402
|
+
# resp.items[0].tags #=> Hash
|
2403
|
+
# resp.items[0].tags["__string"] #=> String
|
2369
2404
|
# resp.next_token #=> String
|
2370
2405
|
#
|
2371
2406
|
# @overload get_stages(params = {})
|
@@ -2375,6 +2410,76 @@ module Aws::ApiGatewayV2
|
|
2375
2410
|
req.send_request(options)
|
2376
2411
|
end
|
2377
2412
|
|
2413
|
+
# Gets the Tags for a resource.
|
2414
|
+
#
|
2415
|
+
# @option params [required, String] :resource_arn
|
2416
|
+
#
|
2417
|
+
# @return [Types::GetTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2418
|
+
#
|
2419
|
+
# * {Types::GetTagsResponse#tags #tags} => Hash<String,String>
|
2420
|
+
#
|
2421
|
+
# @example Request syntax with placeholder values
|
2422
|
+
#
|
2423
|
+
# resp = client.get_tags({
|
2424
|
+
# resource_arn: "__string", # required
|
2425
|
+
# })
|
2426
|
+
#
|
2427
|
+
# @example Response structure
|
2428
|
+
#
|
2429
|
+
# resp.tags #=> Hash
|
2430
|
+
# resp.tags["__string"] #=> String
|
2431
|
+
#
|
2432
|
+
# @overload get_tags(params = {})
|
2433
|
+
# @param [Hash] params ({})
|
2434
|
+
def get_tags(params = {}, options = {})
|
2435
|
+
req = build_request(:get_tags, params)
|
2436
|
+
req.send_request(options)
|
2437
|
+
end
|
2438
|
+
|
2439
|
+
# @option params [required, String] :resource_arn
|
2440
|
+
#
|
2441
|
+
# @option params [Hash<String,String>] :tags
|
2442
|
+
# A key value pair of string with key length between\[1-128\] and value
|
2443
|
+
# length between\[1-256\]
|
2444
|
+
#
|
2445
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2446
|
+
#
|
2447
|
+
# @example Request syntax with placeholder values
|
2448
|
+
#
|
2449
|
+
# resp = client.tag_resource({
|
2450
|
+
# resource_arn: "__string", # required
|
2451
|
+
# tags: {
|
2452
|
+
# "__string" => "StringWithLengthBetween1And1600",
|
2453
|
+
# },
|
2454
|
+
# })
|
2455
|
+
#
|
2456
|
+
# @overload tag_resource(params = {})
|
2457
|
+
# @param [Hash] params ({})
|
2458
|
+
def tag_resource(params = {}, options = {})
|
2459
|
+
req = build_request(:tag_resource, params)
|
2460
|
+
req.send_request(options)
|
2461
|
+
end
|
2462
|
+
|
2463
|
+
# @option params [required, String] :resource_arn
|
2464
|
+
#
|
2465
|
+
# @option params [required, Array<String>] :tag_keys
|
2466
|
+
#
|
2467
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2468
|
+
#
|
2469
|
+
# @example Request syntax with placeholder values
|
2470
|
+
#
|
2471
|
+
# resp = client.untag_resource({
|
2472
|
+
# resource_arn: "__string", # required
|
2473
|
+
# tag_keys: ["__string"], # required
|
2474
|
+
# })
|
2475
|
+
#
|
2476
|
+
# @overload untag_resource(params = {})
|
2477
|
+
# @param [Hash] params ({})
|
2478
|
+
def untag_resource(params = {}, options = {})
|
2479
|
+
req = build_request(:untag_resource, params)
|
2480
|
+
req.send_request(options)
|
2481
|
+
end
|
2482
|
+
|
2378
2483
|
# Updates an Api resource.
|
2379
2484
|
#
|
2380
2485
|
# @option params [required, String] :api_id
|
@@ -3289,7 +3394,7 @@ module Aws::ApiGatewayV2
|
|
3289
3394
|
params: params,
|
3290
3395
|
config: config)
|
3291
3396
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
3292
|
-
context[:gem_version] = '1.
|
3397
|
+
context[:gem_version] = '1.10.0'
|
3293
3398
|
Seahorse::Client::Request.new(handlers, context)
|
3294
3399
|
end
|
3295
3400
|
|
@@ -125,6 +125,8 @@ module Aws::ApiGatewayV2
|
|
125
125
|
GetStageResponse = Shapes::StructureShape.new(name: 'GetStageResponse')
|
126
126
|
GetStagesRequest = Shapes::StructureShape.new(name: 'GetStagesRequest')
|
127
127
|
GetStagesResponse = Shapes::StructureShape.new(name: 'GetStagesResponse')
|
128
|
+
GetTagsRequest = Shapes::StructureShape.new(name: 'GetTagsRequest')
|
129
|
+
GetTagsResponse = Shapes::StructureShape.new(name: 'GetTagsResponse')
|
128
130
|
Id = Shapes::StringShape.new(name: 'Id')
|
129
131
|
IdentitySourceList = Shapes::ListShape.new(name: 'IdentitySourceList')
|
130
132
|
IntegerWithLengthBetween0And3600 = Shapes::IntegerShape.new(name: 'IntegerWithLengthBetween0And3600')
|
@@ -164,12 +166,18 @@ module Aws::ApiGatewayV2
|
|
164
166
|
StringWithLengthBetween0And32K = Shapes::StringShape.new(name: 'StringWithLengthBetween0And32K')
|
165
167
|
StringWithLengthBetween1And1024 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And1024')
|
166
168
|
StringWithLengthBetween1And128 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And128')
|
169
|
+
StringWithLengthBetween1And1600 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And1600')
|
167
170
|
StringWithLengthBetween1And256 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And256')
|
168
171
|
StringWithLengthBetween1And512 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And512')
|
169
172
|
StringWithLengthBetween1And64 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And64')
|
173
|
+
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
174
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
175
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
176
|
+
Tags = Shapes::MapShape.new(name: 'Tags')
|
170
177
|
Template = Shapes::StructureShape.new(name: 'Template')
|
171
178
|
TemplateMap = Shapes::MapShape.new(name: 'TemplateMap')
|
172
179
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
180
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
173
181
|
UpdateApiInput = Shapes::StructureShape.new(name: 'UpdateApiInput')
|
174
182
|
UpdateApiMappingInput = Shapes::StructureShape.new(name: 'UpdateApiMappingInput')
|
175
183
|
UpdateApiMappingRequest = Shapes::StructureShape.new(name: 'UpdateApiMappingRequest')
|
@@ -220,6 +228,7 @@ module Aws::ApiGatewayV2
|
|
220
228
|
__listOfStage = Shapes::ListShape.new(name: '__listOfStage')
|
221
229
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
222
230
|
__long = Shapes::IntegerShape.new(name: '__long')
|
231
|
+
__mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
|
223
232
|
__string = Shapes::StringShape.new(name: '__string')
|
224
233
|
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
225
234
|
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
@@ -239,6 +248,7 @@ module Aws::ApiGatewayV2
|
|
239
248
|
Api.add_member(:route_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, required: true, location_name: "routeSelectionExpression"))
|
240
249
|
Api.add_member(:version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "version"))
|
241
250
|
Api.add_member(:warnings, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "warnings"))
|
251
|
+
Api.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
242
252
|
Api.struct_class = Types::Api
|
243
253
|
|
244
254
|
ApiMapping.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "apiId"))
|
@@ -285,6 +295,7 @@ module Aws::ApiGatewayV2
|
|
285
295
|
CreateApiInput.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "protocolType"))
|
286
296
|
CreateApiInput.add_member(:route_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, required: true, location_name: "routeSelectionExpression"))
|
287
297
|
CreateApiInput.add_member(:version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "version"))
|
298
|
+
CreateApiInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
288
299
|
CreateApiInput.struct_class = Types::CreateApiInput
|
289
300
|
|
290
301
|
CreateApiMappingInput.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "apiId"))
|
@@ -376,15 +387,18 @@ module Aws::ApiGatewayV2
|
|
376
387
|
|
377
388
|
CreateDomainNameInput.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
378
389
|
CreateDomainNameInput.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
390
|
+
CreateDomainNameInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
379
391
|
CreateDomainNameInput.struct_class = Types::CreateDomainNameInput
|
380
392
|
|
381
393
|
CreateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
382
394
|
CreateDomainNameRequest.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
395
|
+
CreateDomainNameRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
383
396
|
CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
|
384
397
|
|
385
398
|
CreateDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
386
399
|
CreateDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
387
400
|
CreateDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
401
|
+
CreateDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
388
402
|
CreateDomainNameResponse.struct_class = Types::CreateDomainNameResponse
|
389
403
|
|
390
404
|
CreateIntegrationInput.add_member(:connection_id, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And1024, location_name: "connectionId"))
|
@@ -549,6 +563,7 @@ module Aws::ApiGatewayV2
|
|
549
563
|
CreateStageInput.add_member(:route_settings, Shapes::ShapeRef.new(shape: RouteSettingsMap, location_name: "routeSettings"))
|
550
564
|
CreateStageInput.add_member(:stage_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "stageName"))
|
551
565
|
CreateStageInput.add_member(:stage_variables, Shapes::ShapeRef.new(shape: StageVariablesMap, location_name: "stageVariables"))
|
566
|
+
CreateStageInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
552
567
|
CreateStageInput.struct_class = Types::CreateStageInput
|
553
568
|
|
554
569
|
CreateStageRequest.add_member(:access_log_settings, Shapes::ShapeRef.new(shape: AccessLogSettings, location_name: "accessLogSettings"))
|
@@ -560,6 +575,7 @@ module Aws::ApiGatewayV2
|
|
560
575
|
CreateStageRequest.add_member(:route_settings, Shapes::ShapeRef.new(shape: RouteSettingsMap, location_name: "routeSettings"))
|
561
576
|
CreateStageRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "stageName"))
|
562
577
|
CreateStageRequest.add_member(:stage_variables, Shapes::ShapeRef.new(shape: StageVariablesMap, location_name: "stageVariables"))
|
578
|
+
CreateStageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
563
579
|
CreateStageRequest.struct_class = Types::CreateStageRequest
|
564
580
|
|
565
581
|
CreateStageResponse.add_member(:access_log_settings, Shapes::ShapeRef.new(shape: AccessLogSettings, location_name: "accessLogSettings"))
|
@@ -572,6 +588,7 @@ module Aws::ApiGatewayV2
|
|
572
588
|
CreateStageResponse.add_member(:route_settings, Shapes::ShapeRef.new(shape: RouteSettingsMap, location_name: "routeSettings"))
|
573
589
|
CreateStageResponse.add_member(:stage_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "stageName"))
|
574
590
|
CreateStageResponse.add_member(:stage_variables, Shapes::ShapeRef.new(shape: StageVariablesMap, location_name: "stageVariables"))
|
591
|
+
CreateStageResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
575
592
|
CreateStageResponse.struct_class = Types::CreateStageResponse
|
576
593
|
|
577
594
|
DeleteApiMappingRequest.add_member(:api_mapping_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiMappingId"))
|
@@ -632,6 +649,7 @@ module Aws::ApiGatewayV2
|
|
632
649
|
DomainName.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
633
650
|
DomainName.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
634
651
|
DomainName.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
652
|
+
DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
635
653
|
DomainName.struct_class = Types::DomainName
|
636
654
|
|
637
655
|
DomainNameConfiguration.add_member(:api_gateway_domain_name, Shapes::ShapeRef.new(shape: __string, location_name: "apiGatewayDomainName"))
|
@@ -684,6 +702,7 @@ module Aws::ApiGatewayV2
|
|
684
702
|
GetApiResponse.add_member(:route_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "routeSelectionExpression"))
|
685
703
|
GetApiResponse.add_member(:version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "version"))
|
686
704
|
GetApiResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "warnings"))
|
705
|
+
GetApiResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
687
706
|
GetApiResponse.struct_class = Types::GetApiResponse
|
688
707
|
|
689
708
|
GetApisRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "maxResults"))
|
@@ -744,6 +763,7 @@ module Aws::ApiGatewayV2
|
|
744
763
|
GetDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
745
764
|
GetDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
746
765
|
GetDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
766
|
+
GetDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
747
767
|
GetDomainNameResponse.struct_class = Types::GetDomainNameResponse
|
748
768
|
|
749
769
|
GetDomainNamesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "maxResults"))
|
@@ -897,6 +917,7 @@ module Aws::ApiGatewayV2
|
|
897
917
|
GetStageResponse.add_member(:route_settings, Shapes::ShapeRef.new(shape: RouteSettingsMap, location_name: "routeSettings"))
|
898
918
|
GetStageResponse.add_member(:stage_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "stageName"))
|
899
919
|
GetStageResponse.add_member(:stage_variables, Shapes::ShapeRef.new(shape: StageVariablesMap, location_name: "stageVariables"))
|
920
|
+
GetStageResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
900
921
|
GetStageResponse.struct_class = Types::GetStageResponse
|
901
922
|
|
902
923
|
GetStagesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
|
@@ -908,6 +929,12 @@ module Aws::ApiGatewayV2
|
|
908
929
|
GetStagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
909
930
|
GetStagesResponse.struct_class = Types::GetStagesResponse
|
910
931
|
|
932
|
+
GetTagsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
933
|
+
GetTagsRequest.struct_class = Types::GetTagsRequest
|
934
|
+
|
935
|
+
GetTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
936
|
+
GetTagsResponse.struct_class = Types::GetTagsResponse
|
937
|
+
|
911
938
|
IdentitySourceList.member = Shapes::ShapeRef.new(shape: __string)
|
912
939
|
|
913
940
|
Integration.add_member(:connection_id, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And1024, location_name: "connectionId"))
|
@@ -1025,6 +1052,7 @@ module Aws::ApiGatewayV2
|
|
1025
1052
|
Stage.add_member(:route_settings, Shapes::ShapeRef.new(shape: RouteSettingsMap, location_name: "routeSettings"))
|
1026
1053
|
Stage.add_member(:stage_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "stageName"))
|
1027
1054
|
Stage.add_member(:stage_variables, Shapes::ShapeRef.new(shape: StageVariablesMap, location_name: "stageVariables"))
|
1055
|
+
Stage.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1028
1056
|
Stage.struct_class = Types::Stage
|
1029
1057
|
|
1030
1058
|
StageVariablesMap.key = Shapes::ShapeRef.new(shape: __string)
|
@@ -1034,6 +1062,18 @@ module Aws::ApiGatewayV2
|
|
1034
1062
|
Stages.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1035
1063
|
Stages.struct_class = Types::Stages
|
1036
1064
|
|
1065
|
+
TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1066
|
+
TagResourceInput.struct_class = Types::TagResourceInput
|
1067
|
+
|
1068
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
1069
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1070
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1071
|
+
|
1072
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1073
|
+
|
1074
|
+
Tags.key = Shapes::ShapeRef.new(shape: __string)
|
1075
|
+
Tags.value = Shapes::ShapeRef.new(shape: StringWithLengthBetween1And1600)
|
1076
|
+
|
1037
1077
|
Template.add_member(:value, Shapes::ShapeRef.new(shape: __string, location_name: "value"))
|
1038
1078
|
Template.struct_class = Types::Template
|
1039
1079
|
|
@@ -1044,6 +1084,10 @@ module Aws::ApiGatewayV2
|
|
1044
1084
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
1045
1085
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
1046
1086
|
|
1087
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
1088
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
|
1089
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1090
|
+
|
1047
1091
|
UpdateApiInput.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
|
1048
1092
|
UpdateApiInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1049
1093
|
UpdateApiInput.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
@@ -1367,6 +1411,9 @@ module Aws::ApiGatewayV2
|
|
1367
1411
|
|
1368
1412
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
1369
1413
|
|
1414
|
+
__mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
|
1415
|
+
__mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
|
1416
|
+
|
1370
1417
|
|
1371
1418
|
# @api private
|
1372
1419
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -1870,6 +1917,42 @@ module Aws::ApiGatewayV2
|
|
1870
1917
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1871
1918
|
end)
|
1872
1919
|
|
1920
|
+
api.add_operation(:get_tags, Seahorse::Model::Operation.new.tap do |o|
|
1921
|
+
o.name = "GetTags"
|
1922
|
+
o.http_method = "GET"
|
1923
|
+
o.http_request_uri = "/v2/tags/{resource-arn}"
|
1924
|
+
o.input = Shapes::ShapeRef.new(shape: GetTagsRequest)
|
1925
|
+
o.output = Shapes::ShapeRef.new(shape: GetTagsResponse)
|
1926
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1927
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1928
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1929
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1930
|
+
end)
|
1931
|
+
|
1932
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1933
|
+
o.name = "TagResource"
|
1934
|
+
o.http_method = "POST"
|
1935
|
+
o.http_request_uri = "/v2/tags/{resource-arn}"
|
1936
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
1937
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
1938
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1939
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1940
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1942
|
+
end)
|
1943
|
+
|
1944
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1945
|
+
o.name = "UntagResource"
|
1946
|
+
o.http_method = "DELETE"
|
1947
|
+
o.http_request_uri = "/v2/tags/{resource-arn}"
|
1948
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
1949
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1950
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1951
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
1952
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
1953
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1954
|
+
end)
|
1955
|
+
|
1873
1956
|
api.add_operation(:update_api, Seahorse::Model::Operation.new.tap do |o|
|
1874
1957
|
o.name = "UpdateApi"
|
1875
1958
|
o.http_method = "PATCH"
|
@@ -89,6 +89,10 @@ module Aws::ApiGatewayV2
|
|
89
89
|
# during API import.
|
90
90
|
# @return [Array<String>]
|
91
91
|
#
|
92
|
+
# @!attribute [rw] tags
|
93
|
+
# Tags for the API.
|
94
|
+
# @return [Hash<String,String>]
|
95
|
+
#
|
92
96
|
class Api < Struct.new(
|
93
97
|
:api_endpoint,
|
94
98
|
:api_id,
|
@@ -100,7 +104,8 @@ module Aws::ApiGatewayV2
|
|
100
104
|
:protocol_type,
|
101
105
|
:route_selection_expression,
|
102
106
|
:version,
|
103
|
-
:warnings
|
107
|
+
:warnings,
|
108
|
+
:tags)
|
104
109
|
include Aws::Structure
|
105
110
|
end
|
106
111
|
|
@@ -327,6 +332,10 @@ module Aws::ApiGatewayV2
|
|
327
332
|
# A version identifier for the API.
|
328
333
|
# @return [String]
|
329
334
|
#
|
335
|
+
# @!attribute [rw] tags
|
336
|
+
# Tags for the API.
|
337
|
+
# @return [Hash<String,String>]
|
338
|
+
#
|
330
339
|
class CreateApiInput < Struct.new(
|
331
340
|
:api_key_selection_expression,
|
332
341
|
:description,
|
@@ -334,7 +343,8 @@ module Aws::ApiGatewayV2
|
|
334
343
|
:name,
|
335
344
|
:protocol_type,
|
336
345
|
:route_selection_expression,
|
337
|
-
:version
|
346
|
+
:version,
|
347
|
+
:tags)
|
338
348
|
include Aws::Structure
|
339
349
|
end
|
340
350
|
|
@@ -858,9 +868,14 @@ module Aws::ApiGatewayV2
|
|
858
868
|
# The domain name configurations.
|
859
869
|
# @return [Array<Types::DomainNameConfiguration>]
|
860
870
|
#
|
871
|
+
# @!attribute [rw] tags
|
872
|
+
# Tags for the DomainName.
|
873
|
+
# @return [Hash<String,String>]
|
874
|
+
#
|
861
875
|
class CreateDomainNameInput < Struct.new(
|
862
876
|
:domain_name,
|
863
|
-
:domain_name_configurations
|
877
|
+
:domain_name_configurations,
|
878
|
+
:tags)
|
864
879
|
include Aws::Structure
|
865
880
|
end
|
866
881
|
|
@@ -882,6 +897,9 @@ module Aws::ApiGatewayV2
|
|
882
897
|
# domain_name_status_message: "__string",
|
883
898
|
# },
|
884
899
|
# ],
|
900
|
+
# tags: {
|
901
|
+
# "__string" => "StringWithLengthBetween1And1600",
|
902
|
+
# },
|
885
903
|
# }
|
886
904
|
#
|
887
905
|
# @!attribute [rw] domain_name
|
@@ -892,9 +910,15 @@ module Aws::ApiGatewayV2
|
|
892
910
|
# The domain name configurations.
|
893
911
|
# @return [Array<Types::DomainNameConfiguration>]
|
894
912
|
#
|
913
|
+
# @!attribute [rw] tags
|
914
|
+
# A key value pair of string with key length between\[1-128\] and
|
915
|
+
# value length between\[1-256\]
|
916
|
+
# @return [Hash<String,String>]
|
917
|
+
#
|
895
918
|
class CreateDomainNameRequest < Struct.new(
|
896
919
|
:domain_name,
|
897
|
-
:domain_name_configurations
|
920
|
+
:domain_name_configurations,
|
921
|
+
:tags)
|
898
922
|
include Aws::Structure
|
899
923
|
end
|
900
924
|
|
@@ -915,10 +939,16 @@ module Aws::ApiGatewayV2
|
|
915
939
|
# The domain name configurations.
|
916
940
|
# @return [Array<Types::DomainNameConfiguration>]
|
917
941
|
#
|
942
|
+
# @!attribute [rw] tags
|
943
|
+
# A key value pair of string with key length between\[1-128\] and
|
944
|
+
# value length between\[1-256\]
|
945
|
+
# @return [Hash<String,String>]
|
946
|
+
#
|
918
947
|
class CreateDomainNameResponse < Struct.new(
|
919
948
|
:api_mapping_selection_expression,
|
920
949
|
:domain_name,
|
921
|
-
:domain_name_configurations
|
950
|
+
:domain_name_configurations,
|
951
|
+
:tags)
|
922
952
|
include Aws::Structure
|
923
953
|
end
|
924
954
|
|
@@ -2005,6 +2035,10 @@ module Aws::ApiGatewayV2
|
|
2005
2035
|
# match \[A-Za-z0-9-.\_~:/?#&=,\]+.
|
2006
2036
|
# @return [Hash<String,String>]
|
2007
2037
|
#
|
2038
|
+
# @!attribute [rw] tags
|
2039
|
+
# Tags for the Stage.
|
2040
|
+
# @return [Hash<String,String>]
|
2041
|
+
#
|
2008
2042
|
class CreateStageInput < Struct.new(
|
2009
2043
|
:access_log_settings,
|
2010
2044
|
:client_certificate_id,
|
@@ -2013,7 +2047,8 @@ module Aws::ApiGatewayV2
|
|
2013
2047
|
:description,
|
2014
2048
|
:route_settings,
|
2015
2049
|
:stage_name,
|
2016
|
-
:stage_variables
|
2050
|
+
:stage_variables,
|
2051
|
+
:tags)
|
2017
2052
|
include Aws::Structure
|
2018
2053
|
end
|
2019
2054
|
|
@@ -2049,6 +2084,9 @@ module Aws::ApiGatewayV2
|
|
2049
2084
|
# stage_variables: {
|
2050
2085
|
# "__string" => "StringWithLengthBetween0And2048",
|
2051
2086
|
# },
|
2087
|
+
# tags: {
|
2088
|
+
# "__string" => "StringWithLengthBetween1And1600",
|
2089
|
+
# },
|
2052
2090
|
# }
|
2053
2091
|
#
|
2054
2092
|
# @!attribute [rw] access_log_settings
|
@@ -2086,6 +2124,11 @@ module Aws::ApiGatewayV2
|
|
2086
2124
|
# The stage variable map.
|
2087
2125
|
# @return [Hash<String,String>]
|
2088
2126
|
#
|
2127
|
+
# @!attribute [rw] tags
|
2128
|
+
# A key value pair of string with key length between\[1-128\] and
|
2129
|
+
# value length between\[1-256\]
|
2130
|
+
# @return [Hash<String,String>]
|
2131
|
+
#
|
2089
2132
|
class CreateStageRequest < Struct.new(
|
2090
2133
|
:access_log_settings,
|
2091
2134
|
:api_id,
|
@@ -2095,7 +2138,8 @@ module Aws::ApiGatewayV2
|
|
2095
2138
|
:description,
|
2096
2139
|
:route_settings,
|
2097
2140
|
:stage_name,
|
2098
|
-
:stage_variables
|
2141
|
+
:stage_variables,
|
2142
|
+
:tags)
|
2099
2143
|
include Aws::Structure
|
2100
2144
|
end
|
2101
2145
|
|
@@ -2137,6 +2181,11 @@ module Aws::ApiGatewayV2
|
|
2137
2181
|
# The stage variable map.
|
2138
2182
|
# @return [Hash<String,String>]
|
2139
2183
|
#
|
2184
|
+
# @!attribute [rw] tags
|
2185
|
+
# A key value pair of string with key length between\[1-128\] and
|
2186
|
+
# value length between\[1-256\]
|
2187
|
+
# @return [Hash<String,String>]
|
2188
|
+
#
|
2140
2189
|
class CreateStageResponse < Struct.new(
|
2141
2190
|
:access_log_settings,
|
2142
2191
|
:client_certificate_id,
|
@@ -2147,7 +2196,8 @@ module Aws::ApiGatewayV2
|
|
2147
2196
|
:last_updated_date,
|
2148
2197
|
:route_settings,
|
2149
2198
|
:stage_name,
|
2150
|
-
:stage_variables
|
2199
|
+
:stage_variables,
|
2200
|
+
:tags)
|
2151
2201
|
include Aws::Structure
|
2152
2202
|
end
|
2153
2203
|
|
@@ -2438,10 +2488,15 @@ module Aws::ApiGatewayV2
|
|
2438
2488
|
# The domain name configurations.
|
2439
2489
|
# @return [Array<Types::DomainNameConfiguration>]
|
2440
2490
|
#
|
2491
|
+
# @!attribute [rw] tags
|
2492
|
+
# Tags for the DomainName.
|
2493
|
+
# @return [Hash<String,String>]
|
2494
|
+
#
|
2441
2495
|
class DomainName < Struct.new(
|
2442
2496
|
:api_mapping_selection_expression,
|
2443
2497
|
:domain_name,
|
2444
|
-
:domain_name_configurations
|
2498
|
+
:domain_name_configurations,
|
2499
|
+
:tags)
|
2445
2500
|
include Aws::Structure
|
2446
2501
|
end
|
2447
2502
|
|
@@ -2691,6 +2746,11 @@ module Aws::ApiGatewayV2
|
|
2691
2746
|
# @!attribute [rw] warnings
|
2692
2747
|
# @return [Array<String>]
|
2693
2748
|
#
|
2749
|
+
# @!attribute [rw] tags
|
2750
|
+
# A key value pair of string with key length between\[1-128\] and
|
2751
|
+
# value length between\[1-256\]
|
2752
|
+
# @return [Hash<String,String>]
|
2753
|
+
#
|
2694
2754
|
class GetApiResponse < Struct.new(
|
2695
2755
|
:api_endpoint,
|
2696
2756
|
:api_id,
|
@@ -2702,7 +2762,8 @@ module Aws::ApiGatewayV2
|
|
2702
2762
|
:protocol_type,
|
2703
2763
|
:route_selection_expression,
|
2704
2764
|
:version,
|
2705
|
-
:warnings
|
2765
|
+
:warnings,
|
2766
|
+
:tags)
|
2706
2767
|
include Aws::Structure
|
2707
2768
|
end
|
2708
2769
|
|
@@ -2982,10 +3043,16 @@ module Aws::ApiGatewayV2
|
|
2982
3043
|
# The domain name configurations.
|
2983
3044
|
# @return [Array<Types::DomainNameConfiguration>]
|
2984
3045
|
#
|
3046
|
+
# @!attribute [rw] tags
|
3047
|
+
# A key value pair of string with key length between\[1-128\] and
|
3048
|
+
# value length between\[1-256\]
|
3049
|
+
# @return [Hash<String,String>]
|
3050
|
+
#
|
2985
3051
|
class GetDomainNameResponse < Struct.new(
|
2986
3052
|
:api_mapping_selection_expression,
|
2987
3053
|
:domain_name,
|
2988
|
-
:domain_name_configurations
|
3054
|
+
:domain_name_configurations,
|
3055
|
+
:tags)
|
2989
3056
|
include Aws::Structure
|
2990
3057
|
end
|
2991
3058
|
|
@@ -3745,6 +3812,11 @@ module Aws::ApiGatewayV2
|
|
3745
3812
|
# The stage variable map.
|
3746
3813
|
# @return [Hash<String,String>]
|
3747
3814
|
#
|
3815
|
+
# @!attribute [rw] tags
|
3816
|
+
# A key value pair of string with key length between\[1-128\] and
|
3817
|
+
# value length between\[1-256\]
|
3818
|
+
# @return [Hash<String,String>]
|
3819
|
+
#
|
3748
3820
|
class GetStageResponse < Struct.new(
|
3749
3821
|
:access_log_settings,
|
3750
3822
|
:client_certificate_id,
|
@@ -3755,7 +3827,8 @@ module Aws::ApiGatewayV2
|
|
3755
3827
|
:last_updated_date,
|
3756
3828
|
:route_settings,
|
3757
3829
|
:stage_name,
|
3758
|
-
:stage_variables
|
3830
|
+
:stage_variables,
|
3831
|
+
:tags)
|
3759
3832
|
include Aws::Structure
|
3760
3833
|
end
|
3761
3834
|
|
@@ -4066,6 +4139,29 @@ module Aws::ApiGatewayV2
|
|
4066
4139
|
include Aws::Structure
|
4067
4140
|
end
|
4068
4141
|
|
4142
|
+
# @note When making an API call, you may pass GetTagsRequest
|
4143
|
+
# data as a hash:
|
4144
|
+
#
|
4145
|
+
# {
|
4146
|
+
# resource_arn: "__string", # required
|
4147
|
+
# }
|
4148
|
+
#
|
4149
|
+
# @!attribute [rw] resource_arn
|
4150
|
+
# @return [String]
|
4151
|
+
#
|
4152
|
+
class GetTagsRequest < Struct.new(
|
4153
|
+
:resource_arn)
|
4154
|
+
include Aws::Structure
|
4155
|
+
end
|
4156
|
+
|
4157
|
+
# @!attribute [rw] tags
|
4158
|
+
# @return [Hash<String,String>]
|
4159
|
+
#
|
4160
|
+
class GetTagsResponse < Struct.new(
|
4161
|
+
:tags)
|
4162
|
+
include Aws::Structure
|
4163
|
+
end
|
4164
|
+
|
4069
4165
|
# Represents a data model for an API. See [Create Models and Mapping
|
4070
4166
|
# Templates for Request and Response Mappings][1].
|
4071
4167
|
#
|
@@ -4395,6 +4491,10 @@ module Aws::ApiGatewayV2
|
|
4395
4491
|
# the values must match \[A-Za-z0-9-.\_~:/?#&=,\]+.
|
4396
4492
|
# @return [Hash<String,String>]
|
4397
4493
|
#
|
4494
|
+
# @!attribute [rw] tags
|
4495
|
+
# Tags for the Stage.
|
4496
|
+
# @return [Hash<String,String>]
|
4497
|
+
#
|
4398
4498
|
class Stage < Struct.new(
|
4399
4499
|
:access_log_settings,
|
4400
4500
|
:client_certificate_id,
|
@@ -4405,7 +4505,8 @@ module Aws::ApiGatewayV2
|
|
4405
4505
|
:last_updated_date,
|
4406
4506
|
:route_settings,
|
4407
4507
|
:stage_name,
|
4408
|
-
:stage_variables
|
4508
|
+
:stage_variables,
|
4509
|
+
:tags)
|
4409
4510
|
include Aws::Structure
|
4410
4511
|
end
|
4411
4512
|
|
@@ -4427,6 +4528,63 @@ module Aws::ApiGatewayV2
|
|
4427
4528
|
include Aws::Structure
|
4428
4529
|
end
|
4429
4530
|
|
4531
|
+
# Represents the input parameters for a TagResource request.
|
4532
|
+
#
|
4533
|
+
# @!attribute [rw] tags
|
4534
|
+
# Tags for the resource arn.
|
4535
|
+
# @return [Hash<String,String>]
|
4536
|
+
#
|
4537
|
+
class TagResourceInput < Struct.new(
|
4538
|
+
:tags)
|
4539
|
+
include Aws::Structure
|
4540
|
+
end
|
4541
|
+
|
4542
|
+
# @note When making an API call, you may pass TagResourceRequest
|
4543
|
+
# data as a hash:
|
4544
|
+
#
|
4545
|
+
# {
|
4546
|
+
# resource_arn: "__string", # required
|
4547
|
+
# tags: {
|
4548
|
+
# "__string" => "StringWithLengthBetween1And1600",
|
4549
|
+
# },
|
4550
|
+
# }
|
4551
|
+
#
|
4552
|
+
# @!attribute [rw] resource_arn
|
4553
|
+
# @return [String]
|
4554
|
+
#
|
4555
|
+
# @!attribute [rw] tags
|
4556
|
+
# A key value pair of string with key length between\[1-128\] and
|
4557
|
+
# value length between\[1-256\]
|
4558
|
+
# @return [Hash<String,String>]
|
4559
|
+
#
|
4560
|
+
class TagResourceRequest < Struct.new(
|
4561
|
+
:resource_arn,
|
4562
|
+
:tags)
|
4563
|
+
include Aws::Structure
|
4564
|
+
end
|
4565
|
+
|
4566
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
4567
|
+
|
4568
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
4569
|
+
# data as a hash:
|
4570
|
+
#
|
4571
|
+
# {
|
4572
|
+
# resource_arn: "__string", # required
|
4573
|
+
# tag_keys: ["__string"], # required
|
4574
|
+
# }
|
4575
|
+
#
|
4576
|
+
# @!attribute [rw] resource_arn
|
4577
|
+
# @return [String]
|
4578
|
+
#
|
4579
|
+
# @!attribute [rw] tag_keys
|
4580
|
+
# @return [Array<String>]
|
4581
|
+
#
|
4582
|
+
class UntagResourceRequest < Struct.new(
|
4583
|
+
:resource_arn,
|
4584
|
+
:tag_keys)
|
4585
|
+
include Aws::Structure
|
4586
|
+
end
|
4587
|
+
|
4430
4588
|
# Represents a template.
|
4431
4589
|
#
|
4432
4590
|
# @!attribute [rw] value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-apigatewayv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|