aws-sdk-apigatewayv2 1.27.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-apigatewayv2.rb +1 -1
- data/lib/aws-sdk-apigatewayv2/client.rb +55 -1
- data/lib/aws-sdk-apigatewayv2/client_api.rb +29 -0
- data/lib/aws-sdk-apigatewayv2/types.rb +182 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3220aec17f1bfd149d3e3e586d064fc3de1a38eb04d2e864eea9b389f01f0b5
|
4
|
+
data.tar.gz: 8a398e03d5bdfa568be1f3ab25b7a714fdfb2cf442c57fc818ba3f107c20528e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67fb1041ee285eb009be27fec94615f9232882f08a710550e0ed184960fc27e9003dcfda6577429f7ff95275eb151ee71b0abee9e67953fcf1bee1e7608c93fe
|
7
|
+
data.tar.gz: 3a0de03b9d1bd31c5190a45d22af9b8263d21322ee5abcb1e335fc4455779042d682e98f7ff297fa73b0cc4574a8c5c43671effede7b05171e6467939fa612cb
|
data/lib/aws-sdk-apigatewayv2.rb
CHANGED
@@ -353,6 +353,8 @@ module Aws::ApiGatewayV2
|
|
353
353
|
#
|
354
354
|
# @option params [Boolean] :disable_schema_validation
|
355
355
|
#
|
356
|
+
# @option params [Boolean] :disable_execute_api_endpoint
|
357
|
+
#
|
356
358
|
# @option params [required, String] :name
|
357
359
|
# A string with a length between \[1-128\].
|
358
360
|
#
|
@@ -396,6 +398,7 @@ module Aws::ApiGatewayV2
|
|
396
398
|
# * {Types::CreateApiResponse#created_date #created_date} => Time
|
397
399
|
# * {Types::CreateApiResponse#description #description} => String
|
398
400
|
# * {Types::CreateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
|
401
|
+
# * {Types::CreateApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
399
402
|
# * {Types::CreateApiResponse#import_info #import_info} => Array<String>
|
400
403
|
# * {Types::CreateApiResponse#name #name} => String
|
401
404
|
# * {Types::CreateApiResponse#protocol_type #protocol_type} => String
|
@@ -419,6 +422,7 @@ module Aws::ApiGatewayV2
|
|
419
422
|
# credentials_arn: "Arn",
|
420
423
|
# description: "StringWithLengthBetween0And1024",
|
421
424
|
# disable_schema_validation: false,
|
425
|
+
# disable_execute_api_endpoint: false,
|
422
426
|
# name: "StringWithLengthBetween1And128", # required
|
423
427
|
# protocol_type: "WEBSOCKET", # required, accepts WEBSOCKET, HTTP
|
424
428
|
# route_key: "SelectionKey",
|
@@ -449,6 +453,7 @@ module Aws::ApiGatewayV2
|
|
449
453
|
# resp.created_date #=> Time
|
450
454
|
# resp.description #=> String
|
451
455
|
# resp.disable_schema_validation #=> Boolean
|
456
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
452
457
|
# resp.import_info #=> Array
|
453
458
|
# resp.import_info[0] #=> String
|
454
459
|
# resp.name #=> String
|
@@ -675,6 +680,11 @@ module Aws::ApiGatewayV2
|
|
675
680
|
# @option params [Array<Types::DomainNameConfiguration>] :domain_name_configurations
|
676
681
|
# The domain name configurations.
|
677
682
|
#
|
683
|
+
# @option params [Types::MutualTlsAuthenticationInput] :mutual_tls_authentication
|
684
|
+
# If specified, API Gateway performs two-way authentication between the
|
685
|
+
# client and the server. Clients must present a trusted certificate to
|
686
|
+
# access your API.
|
687
|
+
#
|
678
688
|
# @option params [Hash<String,String>] :tags
|
679
689
|
# Represents a collection of tags associated with the resource.
|
680
690
|
#
|
@@ -683,6 +693,7 @@ module Aws::ApiGatewayV2
|
|
683
693
|
# * {Types::CreateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
684
694
|
# * {Types::CreateDomainNameResponse#domain_name #domain_name} => String
|
685
695
|
# * {Types::CreateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
696
|
+
# * {Types::CreateDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
686
697
|
# * {Types::CreateDomainNameResponse#tags #tags} => Hash<String,String>
|
687
698
|
#
|
688
699
|
# @example Request syntax with placeholder values
|
@@ -702,6 +713,10 @@ module Aws::ApiGatewayV2
|
|
702
713
|
# security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
|
703
714
|
# },
|
704
715
|
# ],
|
716
|
+
# mutual_tls_authentication: {
|
717
|
+
# truststore_uri: "UriWithLengthBetween1And2048",
|
718
|
+
# truststore_version: "StringWithLengthBetween1And64",
|
719
|
+
# },
|
705
720
|
# tags: {
|
706
721
|
# "__string" => "StringWithLengthBetween1And1600",
|
707
722
|
# },
|
@@ -721,6 +736,10 @@ module Aws::ApiGatewayV2
|
|
721
736
|
# resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
|
722
737
|
# resp.domain_name_configurations[0].hosted_zone_id #=> String
|
723
738
|
# resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
739
|
+
# resp.mutual_tls_authentication.truststore_uri #=> String
|
740
|
+
# resp.mutual_tls_authentication.truststore_version #=> String
|
741
|
+
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
742
|
+
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
724
743
|
# resp.tags #=> Hash
|
725
744
|
# resp.tags["__string"] #=> String
|
726
745
|
#
|
@@ -1837,6 +1856,7 @@ module Aws::ApiGatewayV2
|
|
1837
1856
|
# * {Types::GetApiResponse#created_date #created_date} => Time
|
1838
1857
|
# * {Types::GetApiResponse#description #description} => String
|
1839
1858
|
# * {Types::GetApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
|
1859
|
+
# * {Types::GetApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
1840
1860
|
# * {Types::GetApiResponse#import_info #import_info} => Array<String>
|
1841
1861
|
# * {Types::GetApiResponse#name #name} => String
|
1842
1862
|
# * {Types::GetApiResponse#protocol_type #protocol_type} => String
|
@@ -1870,6 +1890,7 @@ module Aws::ApiGatewayV2
|
|
1870
1890
|
# resp.created_date #=> Time
|
1871
1891
|
# resp.description #=> String
|
1872
1892
|
# resp.disable_schema_validation #=> Boolean
|
1893
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
1873
1894
|
# resp.import_info #=> Array
|
1874
1895
|
# resp.import_info[0] #=> String
|
1875
1896
|
# resp.name #=> String
|
@@ -1997,6 +2018,7 @@ module Aws::ApiGatewayV2
|
|
1997
2018
|
# resp.items[0].created_date #=> Time
|
1998
2019
|
# resp.items[0].description #=> String
|
1999
2020
|
# resp.items[0].disable_schema_validation #=> Boolean
|
2021
|
+
# resp.items[0].disable_execute_api_endpoint #=> Boolean
|
2000
2022
|
# resp.items[0].import_info #=> Array
|
2001
2023
|
# resp.items[0].import_info[0] #=> String
|
2002
2024
|
# resp.items[0].name #=> String
|
@@ -2200,6 +2222,7 @@ module Aws::ApiGatewayV2
|
|
2200
2222
|
# * {Types::GetDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
2201
2223
|
# * {Types::GetDomainNameResponse#domain_name #domain_name} => String
|
2202
2224
|
# * {Types::GetDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
2225
|
+
# * {Types::GetDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
2203
2226
|
# * {Types::GetDomainNameResponse#tags #tags} => Hash<String,String>
|
2204
2227
|
#
|
2205
2228
|
# @example Request syntax with placeholder values
|
@@ -2222,6 +2245,10 @@ module Aws::ApiGatewayV2
|
|
2222
2245
|
# resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
|
2223
2246
|
# resp.domain_name_configurations[0].hosted_zone_id #=> String
|
2224
2247
|
# resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
2248
|
+
# resp.mutual_tls_authentication.truststore_uri #=> String
|
2249
|
+
# resp.mutual_tls_authentication.truststore_version #=> String
|
2250
|
+
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
2251
|
+
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
2225
2252
|
# resp.tags #=> Hash
|
2226
2253
|
# resp.tags["__string"] #=> String
|
2227
2254
|
#
|
@@ -2265,6 +2292,10 @@ module Aws::ApiGatewayV2
|
|
2265
2292
|
# resp.items[0].domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
|
2266
2293
|
# resp.items[0].domain_name_configurations[0].hosted_zone_id #=> String
|
2267
2294
|
# resp.items[0].domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
2295
|
+
# resp.items[0].mutual_tls_authentication.truststore_uri #=> String
|
2296
|
+
# resp.items[0].mutual_tls_authentication.truststore_version #=> String
|
2297
|
+
# resp.items[0].mutual_tls_authentication.truststore_warnings #=> Array
|
2298
|
+
# resp.items[0].mutual_tls_authentication.truststore_warnings[0] #=> String
|
2268
2299
|
# resp.items[0].tags #=> Hash
|
2269
2300
|
# resp.items[0].tags["__string"] #=> String
|
2270
2301
|
# resp.next_token #=> String
|
@@ -3028,6 +3059,7 @@ module Aws::ApiGatewayV2
|
|
3028
3059
|
# * {Types::ImportApiResponse#created_date #created_date} => Time
|
3029
3060
|
# * {Types::ImportApiResponse#description #description} => String
|
3030
3061
|
# * {Types::ImportApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
|
3062
|
+
# * {Types::ImportApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
3031
3063
|
# * {Types::ImportApiResponse#import_info #import_info} => Array<String>
|
3032
3064
|
# * {Types::ImportApiResponse#name #name} => String
|
3033
3065
|
# * {Types::ImportApiResponse#protocol_type #protocol_type} => String
|
@@ -3063,6 +3095,7 @@ module Aws::ApiGatewayV2
|
|
3063
3095
|
# resp.created_date #=> Time
|
3064
3096
|
# resp.description #=> String
|
3065
3097
|
# resp.disable_schema_validation #=> Boolean
|
3098
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
3066
3099
|
# resp.import_info #=> Array
|
3067
3100
|
# resp.import_info[0] #=> String
|
3068
3101
|
# resp.name #=> String
|
@@ -3101,6 +3134,7 @@ module Aws::ApiGatewayV2
|
|
3101
3134
|
# * {Types::ReimportApiResponse#created_date #created_date} => Time
|
3102
3135
|
# * {Types::ReimportApiResponse#description #description} => String
|
3103
3136
|
# * {Types::ReimportApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
|
3137
|
+
# * {Types::ReimportApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
3104
3138
|
# * {Types::ReimportApiResponse#import_info #import_info} => Array<String>
|
3105
3139
|
# * {Types::ReimportApiResponse#name #name} => String
|
3106
3140
|
# * {Types::ReimportApiResponse#protocol_type #protocol_type} => String
|
@@ -3137,6 +3171,7 @@ module Aws::ApiGatewayV2
|
|
3137
3171
|
# resp.created_date #=> Time
|
3138
3172
|
# resp.description #=> String
|
3139
3173
|
# resp.disable_schema_validation #=> Boolean
|
3174
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
3140
3175
|
# resp.import_info #=> Array
|
3141
3176
|
# resp.import_info[0] #=> String
|
3142
3177
|
# resp.name #=> String
|
@@ -3230,6 +3265,8 @@ module Aws::ApiGatewayV2
|
|
3230
3265
|
#
|
3231
3266
|
# @option params [Boolean] :disable_schema_validation
|
3232
3267
|
#
|
3268
|
+
# @option params [Boolean] :disable_execute_api_endpoint
|
3269
|
+
#
|
3233
3270
|
# @option params [String] :name
|
3234
3271
|
# A string with a length between \[1-128\].
|
3235
3272
|
#
|
@@ -3267,6 +3304,7 @@ module Aws::ApiGatewayV2
|
|
3267
3304
|
# * {Types::UpdateApiResponse#created_date #created_date} => Time
|
3268
3305
|
# * {Types::UpdateApiResponse#description #description} => String
|
3269
3306
|
# * {Types::UpdateApiResponse#disable_schema_validation #disable_schema_validation} => Boolean
|
3307
|
+
# * {Types::UpdateApiResponse#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
3270
3308
|
# * {Types::UpdateApiResponse#import_info #import_info} => Array<String>
|
3271
3309
|
# * {Types::UpdateApiResponse#name #name} => String
|
3272
3310
|
# * {Types::UpdateApiResponse#protocol_type #protocol_type} => String
|
@@ -3291,6 +3329,7 @@ module Aws::ApiGatewayV2
|
|
3291
3329
|
# credentials_arn: "Arn",
|
3292
3330
|
# description: "StringWithLengthBetween0And1024",
|
3293
3331
|
# disable_schema_validation: false,
|
3332
|
+
# disable_execute_api_endpoint: false,
|
3294
3333
|
# name: "StringWithLengthBetween1And128",
|
3295
3334
|
# route_key: "SelectionKey",
|
3296
3335
|
# route_selection_expression: "SelectionExpression",
|
@@ -3317,6 +3356,7 @@ module Aws::ApiGatewayV2
|
|
3317
3356
|
# resp.created_date #=> Time
|
3318
3357
|
# resp.description #=> String
|
3319
3358
|
# resp.disable_schema_validation #=> Boolean
|
3359
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
3320
3360
|
# resp.import_info #=> Array
|
3321
3361
|
# resp.import_info[0] #=> String
|
3322
3362
|
# resp.name #=> String
|
@@ -3547,11 +3587,17 @@ module Aws::ApiGatewayV2
|
|
3547
3587
|
# @option params [Array<Types::DomainNameConfiguration>] :domain_name_configurations
|
3548
3588
|
# The domain name configurations.
|
3549
3589
|
#
|
3590
|
+
# @option params [Types::MutualTlsAuthenticationInput] :mutual_tls_authentication
|
3591
|
+
# If specified, API Gateway performs two-way authentication between the
|
3592
|
+
# client and the server. Clients must present a trusted certificate to
|
3593
|
+
# access your API.
|
3594
|
+
#
|
3550
3595
|
# @return [Types::UpdateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3551
3596
|
#
|
3552
3597
|
# * {Types::UpdateDomainNameResponse#api_mapping_selection_expression #api_mapping_selection_expression} => String
|
3553
3598
|
# * {Types::UpdateDomainNameResponse#domain_name #domain_name} => String
|
3554
3599
|
# * {Types::UpdateDomainNameResponse#domain_name_configurations #domain_name_configurations} => Array<Types::DomainNameConfiguration>
|
3600
|
+
# * {Types::UpdateDomainNameResponse#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
3555
3601
|
# * {Types::UpdateDomainNameResponse#tags #tags} => Hash<String,String>
|
3556
3602
|
#
|
3557
3603
|
# @example Request syntax with placeholder values
|
@@ -3571,6 +3617,10 @@ module Aws::ApiGatewayV2
|
|
3571
3617
|
# security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
|
3572
3618
|
# },
|
3573
3619
|
# ],
|
3620
|
+
# mutual_tls_authentication: {
|
3621
|
+
# truststore_uri: "UriWithLengthBetween1And2048",
|
3622
|
+
# truststore_version: "StringWithLengthBetween1And64",
|
3623
|
+
# },
|
3574
3624
|
# })
|
3575
3625
|
#
|
3576
3626
|
# @example Response structure
|
@@ -3587,6 +3637,10 @@ module Aws::ApiGatewayV2
|
|
3587
3637
|
# resp.domain_name_configurations[0].endpoint_type #=> String, one of "REGIONAL", "EDGE"
|
3588
3638
|
# resp.domain_name_configurations[0].hosted_zone_id #=> String
|
3589
3639
|
# resp.domain_name_configurations[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
3640
|
+
# resp.mutual_tls_authentication.truststore_uri #=> String
|
3641
|
+
# resp.mutual_tls_authentication.truststore_version #=> String
|
3642
|
+
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
3643
|
+
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
3590
3644
|
# resp.tags #=> Hash
|
3591
3645
|
# resp.tags["__string"] #=> String
|
3592
3646
|
#
|
@@ -4282,7 +4336,7 @@ module Aws::ApiGatewayV2
|
|
4282
4336
|
params: params,
|
4283
4337
|
config: config)
|
4284
4338
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
4285
|
-
context[:gem_version] = '1.
|
4339
|
+
context[:gem_version] = '1.28.0'
|
4286
4340
|
Seahorse::Client::Request.new(handlers, context)
|
4287
4341
|
end
|
4288
4342
|
|
@@ -169,6 +169,8 @@ module Aws::ApiGatewayV2
|
|
169
169
|
LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
|
170
170
|
Model = Shapes::StructureShape.new(name: 'Model')
|
171
171
|
Models = Shapes::StructureShape.new(name: 'Models')
|
172
|
+
MutualTlsAuthentication = Shapes::StructureShape.new(name: 'MutualTlsAuthentication')
|
173
|
+
MutualTlsAuthenticationInput = Shapes::StructureShape.new(name: 'MutualTlsAuthenticationInput')
|
172
174
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
173
175
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
174
176
|
ParameterConstraints = Shapes::StructureShape.new(name: 'ParameterConstraints')
|
@@ -290,6 +292,7 @@ module Aws::ApiGatewayV2
|
|
290
292
|
Api.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
291
293
|
Api.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
292
294
|
Api.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
295
|
+
Api.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
293
296
|
Api.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
294
297
|
Api.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
|
295
298
|
Api.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "protocolType"))
|
@@ -357,6 +360,7 @@ module Aws::ApiGatewayV2
|
|
357
360
|
CreateApiInput.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
358
361
|
CreateApiInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
359
362
|
CreateApiInput.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
363
|
+
CreateApiInput.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
360
364
|
CreateApiInput.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
|
361
365
|
CreateApiInput.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "protocolType"))
|
362
366
|
CreateApiInput.add_member(:route_key, Shapes::ShapeRef.new(shape: SelectionKey, location_name: "routeKey"))
|
@@ -388,6 +392,7 @@ module Aws::ApiGatewayV2
|
|
388
392
|
CreateApiRequest.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
389
393
|
CreateApiRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
390
394
|
CreateApiRequest.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
395
|
+
CreateApiRequest.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
391
396
|
CreateApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
|
392
397
|
CreateApiRequest.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "protocolType"))
|
393
398
|
CreateApiRequest.add_member(:route_key, Shapes::ShapeRef.new(shape: SelectionKey, location_name: "routeKey"))
|
@@ -405,6 +410,7 @@ module Aws::ApiGatewayV2
|
|
405
410
|
CreateApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
406
411
|
CreateApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
407
412
|
CreateApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
413
|
+
CreateApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
408
414
|
CreateApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
409
415
|
CreateApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
410
416
|
CreateApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -471,17 +477,20 @@ module Aws::ApiGatewayV2
|
|
471
477
|
|
472
478
|
CreateDomainNameInput.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
473
479
|
CreateDomainNameInput.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
480
|
+
CreateDomainNameInput.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
474
481
|
CreateDomainNameInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
475
482
|
CreateDomainNameInput.struct_class = Types::CreateDomainNameInput
|
476
483
|
|
477
484
|
CreateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
478
485
|
CreateDomainNameRequest.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
486
|
+
CreateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
479
487
|
CreateDomainNameRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
480
488
|
CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
|
481
489
|
|
482
490
|
CreateDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
483
491
|
CreateDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
484
492
|
CreateDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
493
|
+
CreateDomainNameResponse.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
485
494
|
CreateDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
486
495
|
CreateDomainNameResponse.struct_class = Types::CreateDomainNameResponse
|
487
496
|
|
@@ -795,6 +804,7 @@ module Aws::ApiGatewayV2
|
|
795
804
|
DomainName.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
796
805
|
DomainName.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
797
806
|
DomainName.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
807
|
+
DomainName.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
798
808
|
DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
799
809
|
DomainName.struct_class = Types::DomainName
|
800
810
|
|
@@ -858,6 +868,7 @@ module Aws::ApiGatewayV2
|
|
858
868
|
GetApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
859
869
|
GetApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
860
870
|
GetApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
871
|
+
GetApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
861
872
|
GetApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
862
873
|
GetApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
863
874
|
GetApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -928,6 +939,7 @@ module Aws::ApiGatewayV2
|
|
928
939
|
GetDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
929
940
|
GetDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
930
941
|
GetDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
942
|
+
GetDomainNameResponse.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
931
943
|
GetDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
932
944
|
GetDomainNameResponse.struct_class = Types::GetDomainNameResponse
|
933
945
|
|
@@ -1148,6 +1160,7 @@ module Aws::ApiGatewayV2
|
|
1148
1160
|
ImportApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
1149
1161
|
ImportApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1150
1162
|
ImportApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1163
|
+
ImportApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1151
1164
|
ImportApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
1152
1165
|
ImportApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1153
1166
|
ImportApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -1216,6 +1229,15 @@ module Aws::ApiGatewayV2
|
|
1216
1229
|
Models.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1217
1230
|
Models.struct_class = Types::Models
|
1218
1231
|
|
1232
|
+
MutualTlsAuthentication.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "truststoreUri"))
|
1233
|
+
MutualTlsAuthentication.add_member(:truststore_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "truststoreVersion"))
|
1234
|
+
MutualTlsAuthentication.add_member(:truststore_warnings, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "truststoreWarnings"))
|
1235
|
+
MutualTlsAuthentication.struct_class = Types::MutualTlsAuthentication
|
1236
|
+
|
1237
|
+
MutualTlsAuthenticationInput.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "truststoreUri"))
|
1238
|
+
MutualTlsAuthenticationInput.add_member(:truststore_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "truststoreVersion"))
|
1239
|
+
MutualTlsAuthenticationInput.struct_class = Types::MutualTlsAuthenticationInput
|
1240
|
+
|
1219
1241
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
1220
1242
|
NotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: __string, location_name: "resourceType"))
|
1221
1243
|
NotFoundException.struct_class = Types::NotFoundException
|
@@ -1240,6 +1262,7 @@ module Aws::ApiGatewayV2
|
|
1240
1262
|
ReimportApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
1241
1263
|
ReimportApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1242
1264
|
ReimportApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1265
|
+
ReimportApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1243
1266
|
ReimportApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
1244
1267
|
ReimportApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1245
1268
|
ReimportApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -1363,6 +1386,7 @@ module Aws::ApiGatewayV2
|
|
1363
1386
|
UpdateApiInput.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
1364
1387
|
UpdateApiInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1365
1388
|
UpdateApiInput.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1389
|
+
UpdateApiInput.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1366
1390
|
UpdateApiInput.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1367
1391
|
UpdateApiInput.add_member(:route_key, Shapes::ShapeRef.new(shape: SelectionKey, location_name: "routeKey"))
|
1368
1392
|
UpdateApiInput.add_member(:route_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "routeSelectionExpression"))
|
@@ -1394,6 +1418,7 @@ module Aws::ApiGatewayV2
|
|
1394
1418
|
UpdateApiRequest.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
1395
1419
|
UpdateApiRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1396
1420
|
UpdateApiRequest.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1421
|
+
UpdateApiRequest.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1397
1422
|
UpdateApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1398
1423
|
UpdateApiRequest.add_member(:route_key, Shapes::ShapeRef.new(shape: SelectionKey, location_name: "routeKey"))
|
1399
1424
|
UpdateApiRequest.add_member(:route_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "routeSelectionExpression"))
|
@@ -1409,6 +1434,7 @@ module Aws::ApiGatewayV2
|
|
1409
1434
|
UpdateApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
1410
1435
|
UpdateApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1411
1436
|
UpdateApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1437
|
+
UpdateApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1412
1438
|
UpdateApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
1413
1439
|
UpdateApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1414
1440
|
UpdateApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -1474,15 +1500,18 @@ module Aws::ApiGatewayV2
|
|
1474
1500
|
UpdateDeploymentResponse.struct_class = Types::UpdateDeploymentResponse
|
1475
1501
|
|
1476
1502
|
UpdateDomainNameInput.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
1503
|
+
UpdateDomainNameInput.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
1477
1504
|
UpdateDomainNameInput.struct_class = Types::UpdateDomainNameInput
|
1478
1505
|
|
1479
1506
|
UpdateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
|
1480
1507
|
UpdateDomainNameRequest.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
1508
|
+
UpdateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
1481
1509
|
UpdateDomainNameRequest.struct_class = Types::UpdateDomainNameRequest
|
1482
1510
|
|
1483
1511
|
UpdateDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
1484
1512
|
UpdateDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
1485
1513
|
UpdateDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
1514
|
+
UpdateDomainNameResponse.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
1486
1515
|
UpdateDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1487
1516
|
UpdateDomainNameResponse.struct_class = Types::UpdateDomainNameResponse
|
1488
1517
|
|
@@ -91,6 +91,15 @@ module Aws::ApiGatewayV2
|
|
91
91
|
# for WebSocket APIs.
|
92
92
|
# @return [Boolean]
|
93
93
|
#
|
94
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
95
|
+
# Specifies whether clients can invoke your API by using the default
|
96
|
+
# execute-api endpoint. By default, clients can invoke your API with
|
97
|
+
# the default
|
98
|
+
# https://\\\{api\_id\\}.execute-api.\\\{region\\}.amazonaws.com
|
99
|
+
# endpoint. To require that clients use a custom domain name to invoke
|
100
|
+
# your API, disable the default endpoint.
|
101
|
+
# @return [Boolean]
|
102
|
+
#
|
94
103
|
# @!attribute [rw] import_info
|
95
104
|
# The validation information during API import. This may include
|
96
105
|
# particular properties of your OpenAPI definition which are ignored
|
@@ -134,6 +143,7 @@ module Aws::ApiGatewayV2
|
|
134
143
|
:created_date,
|
135
144
|
:description,
|
136
145
|
:disable_schema_validation,
|
146
|
+
:disable_execute_api_endpoint,
|
137
147
|
:import_info,
|
138
148
|
:name,
|
139
149
|
:protocol_type,
|
@@ -480,6 +490,9 @@ module Aws::ApiGatewayV2
|
|
480
490
|
# for WebSocket APIs.
|
481
491
|
# @return [Boolean]
|
482
492
|
#
|
493
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
494
|
+
# @return [Boolean]
|
495
|
+
#
|
483
496
|
# @!attribute [rw] name
|
484
497
|
# The name of the API.
|
485
498
|
# @return [String]
|
@@ -529,6 +542,7 @@ module Aws::ApiGatewayV2
|
|
529
542
|
:credentials_arn,
|
530
543
|
:description,
|
531
544
|
:disable_schema_validation,
|
545
|
+
:disable_execute_api_endpoint,
|
532
546
|
:name,
|
533
547
|
:protocol_type,
|
534
548
|
:route_key,
|
@@ -651,6 +665,7 @@ module Aws::ApiGatewayV2
|
|
651
665
|
# credentials_arn: "Arn",
|
652
666
|
# description: "StringWithLengthBetween0And1024",
|
653
667
|
# disable_schema_validation: false,
|
668
|
+
# disable_execute_api_endpoint: false,
|
654
669
|
# name: "StringWithLengthBetween1And128", # required
|
655
670
|
# protocol_type: "WEBSOCKET", # required, accepts WEBSOCKET, HTTP
|
656
671
|
# route_key: "SelectionKey",
|
@@ -691,6 +706,9 @@ module Aws::ApiGatewayV2
|
|
691
706
|
# @!attribute [rw] disable_schema_validation
|
692
707
|
# @return [Boolean]
|
693
708
|
#
|
709
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
710
|
+
# @return [Boolean]
|
711
|
+
#
|
694
712
|
# @!attribute [rw] name
|
695
713
|
# A string with a length between \[1-128\].
|
696
714
|
# @return [String]
|
@@ -737,6 +755,7 @@ module Aws::ApiGatewayV2
|
|
737
755
|
:credentials_arn,
|
738
756
|
:description,
|
739
757
|
:disable_schema_validation,
|
758
|
+
:disable_execute_api_endpoint,
|
740
759
|
:name,
|
741
760
|
:protocol_type,
|
742
761
|
:route_key,
|
@@ -786,6 +805,9 @@ module Aws::ApiGatewayV2
|
|
786
805
|
# @!attribute [rw] disable_schema_validation
|
787
806
|
# @return [Boolean]
|
788
807
|
#
|
808
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
809
|
+
# @return [Boolean]
|
810
|
+
#
|
789
811
|
# @!attribute [rw] import_info
|
790
812
|
# @return [Array<String>]
|
791
813
|
#
|
@@ -826,6 +848,7 @@ module Aws::ApiGatewayV2
|
|
826
848
|
:created_date,
|
827
849
|
:description,
|
828
850
|
:disable_schema_validation,
|
851
|
+
:disable_execute_api_endpoint,
|
829
852
|
:import_info,
|
830
853
|
:name,
|
831
854
|
:protocol_type,
|
@@ -1220,6 +1243,11 @@ module Aws::ApiGatewayV2
|
|
1220
1243
|
# The domain name configurations.
|
1221
1244
|
# @return [Array<Types::DomainNameConfiguration>]
|
1222
1245
|
#
|
1246
|
+
# @!attribute [rw] mutual_tls_authentication
|
1247
|
+
# The mutual TLS authentication configuration for a custom domain
|
1248
|
+
# name.
|
1249
|
+
# @return [Types::MutualTlsAuthenticationInput]
|
1250
|
+
#
|
1223
1251
|
# @!attribute [rw] tags
|
1224
1252
|
# The collection of tags associated with a domain name.
|
1225
1253
|
# @return [Hash<String,String>]
|
@@ -1227,6 +1255,7 @@ module Aws::ApiGatewayV2
|
|
1227
1255
|
class CreateDomainNameInput < Struct.new(
|
1228
1256
|
:domain_name,
|
1229
1257
|
:domain_name_configurations,
|
1258
|
+
:mutual_tls_authentication,
|
1230
1259
|
:tags)
|
1231
1260
|
SENSITIVE = []
|
1232
1261
|
include Aws::Structure
|
@@ -1250,6 +1279,10 @@ module Aws::ApiGatewayV2
|
|
1250
1279
|
# security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
|
1251
1280
|
# },
|
1252
1281
|
# ],
|
1282
|
+
# mutual_tls_authentication: {
|
1283
|
+
# truststore_uri: "UriWithLengthBetween1And2048",
|
1284
|
+
# truststore_version: "StringWithLengthBetween1And64",
|
1285
|
+
# },
|
1253
1286
|
# tags: {
|
1254
1287
|
# "__string" => "StringWithLengthBetween1And1600",
|
1255
1288
|
# },
|
@@ -1263,6 +1296,12 @@ module Aws::ApiGatewayV2
|
|
1263
1296
|
# The domain name configurations.
|
1264
1297
|
# @return [Array<Types::DomainNameConfiguration>]
|
1265
1298
|
#
|
1299
|
+
# @!attribute [rw] mutual_tls_authentication
|
1300
|
+
# If specified, API Gateway performs two-way authentication between
|
1301
|
+
# the client and the server. Clients must present a trusted
|
1302
|
+
# certificate to access your API.
|
1303
|
+
# @return [Types::MutualTlsAuthenticationInput]
|
1304
|
+
#
|
1266
1305
|
# @!attribute [rw] tags
|
1267
1306
|
# Represents a collection of tags associated with the resource.
|
1268
1307
|
# @return [Hash<String,String>]
|
@@ -1270,6 +1309,7 @@ module Aws::ApiGatewayV2
|
|
1270
1309
|
class CreateDomainNameRequest < Struct.new(
|
1271
1310
|
:domain_name,
|
1272
1311
|
:domain_name_configurations,
|
1312
|
+
:mutual_tls_authentication,
|
1273
1313
|
:tags)
|
1274
1314
|
SENSITIVE = []
|
1275
1315
|
include Aws::Structure
|
@@ -1292,6 +1332,12 @@ module Aws::ApiGatewayV2
|
|
1292
1332
|
# The domain name configurations.
|
1293
1333
|
# @return [Array<Types::DomainNameConfiguration>]
|
1294
1334
|
#
|
1335
|
+
# @!attribute [rw] mutual_tls_authentication
|
1336
|
+
# If specified, API Gateway performs two-way authentication between
|
1337
|
+
# the client and the server. Clients must present a trusted
|
1338
|
+
# certificate to access your API.
|
1339
|
+
# @return [Types::MutualTlsAuthentication]
|
1340
|
+
#
|
1295
1341
|
# @!attribute [rw] tags
|
1296
1342
|
# Represents a collection of tags associated with the resource.
|
1297
1343
|
# @return [Hash<String,String>]
|
@@ -1300,6 +1346,7 @@ module Aws::ApiGatewayV2
|
|
1300
1346
|
:api_mapping_selection_expression,
|
1301
1347
|
:domain_name,
|
1302
1348
|
:domain_name_configurations,
|
1349
|
+
:mutual_tls_authentication,
|
1303
1350
|
:tags)
|
1304
1351
|
SENSITIVE = []
|
1305
1352
|
include Aws::Structure
|
@@ -3240,6 +3287,11 @@ module Aws::ApiGatewayV2
|
|
3240
3287
|
# The domain name configurations.
|
3241
3288
|
# @return [Array<Types::DomainNameConfiguration>]
|
3242
3289
|
#
|
3290
|
+
# @!attribute [rw] mutual_tls_authentication
|
3291
|
+
# The mutual TLS authentication configuration for a custom domain
|
3292
|
+
# name.
|
3293
|
+
# @return [Types::MutualTlsAuthentication]
|
3294
|
+
#
|
3243
3295
|
# @!attribute [rw] tags
|
3244
3296
|
# The collection of tags associated with a domain name.
|
3245
3297
|
# @return [Hash<String,String>]
|
@@ -3248,6 +3300,7 @@ module Aws::ApiGatewayV2
|
|
3248
3300
|
:api_mapping_selection_expression,
|
3249
3301
|
:domain_name,
|
3250
3302
|
:domain_name_configurations,
|
3303
|
+
:mutual_tls_authentication,
|
3251
3304
|
:tags)
|
3252
3305
|
SENSITIVE = []
|
3253
3306
|
include Aws::Structure
|
@@ -3569,6 +3622,9 @@ module Aws::ApiGatewayV2
|
|
3569
3622
|
# @!attribute [rw] disable_schema_validation
|
3570
3623
|
# @return [Boolean]
|
3571
3624
|
#
|
3625
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
3626
|
+
# @return [Boolean]
|
3627
|
+
#
|
3572
3628
|
# @!attribute [rw] import_info
|
3573
3629
|
# @return [Array<String>]
|
3574
3630
|
#
|
@@ -3609,6 +3665,7 @@ module Aws::ApiGatewayV2
|
|
3609
3665
|
:created_date,
|
3610
3666
|
:description,
|
3611
3667
|
:disable_schema_validation,
|
3668
|
+
:disable_execute_api_endpoint,
|
3612
3669
|
:import_info,
|
3613
3670
|
:name,
|
3614
3671
|
:protocol_type,
|
@@ -3922,6 +3979,12 @@ module Aws::ApiGatewayV2
|
|
3922
3979
|
# The domain name configurations.
|
3923
3980
|
# @return [Array<Types::DomainNameConfiguration>]
|
3924
3981
|
#
|
3982
|
+
# @!attribute [rw] mutual_tls_authentication
|
3983
|
+
# If specified, API Gateway performs two-way authentication between
|
3984
|
+
# the client and the server. Clients must present a trusted
|
3985
|
+
# certificate to access your API.
|
3986
|
+
# @return [Types::MutualTlsAuthentication]
|
3987
|
+
#
|
3925
3988
|
# @!attribute [rw] tags
|
3926
3989
|
# Represents a collection of tags associated with the resource.
|
3927
3990
|
# @return [Hash<String,String>]
|
@@ -3930,6 +3993,7 @@ module Aws::ApiGatewayV2
|
|
3930
3993
|
:api_mapping_selection_expression,
|
3931
3994
|
:domain_name,
|
3932
3995
|
:domain_name_configurations,
|
3996
|
+
:mutual_tls_authentication,
|
3933
3997
|
:tags)
|
3934
3998
|
SENSITIVE = []
|
3935
3999
|
include Aws::Structure
|
@@ -5022,6 +5086,9 @@ module Aws::ApiGatewayV2
|
|
5022
5086
|
# @!attribute [rw] disable_schema_validation
|
5023
5087
|
# @return [Boolean]
|
5024
5088
|
#
|
5089
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
5090
|
+
# @return [Boolean]
|
5091
|
+
#
|
5025
5092
|
# @!attribute [rw] import_info
|
5026
5093
|
# @return [Array<String>]
|
5027
5094
|
#
|
@@ -5062,6 +5129,7 @@ module Aws::ApiGatewayV2
|
|
5062
5129
|
:created_date,
|
5063
5130
|
:description,
|
5064
5131
|
:disable_schema_validation,
|
5132
|
+
:disable_execute_api_endpoint,
|
5065
5133
|
:import_info,
|
5066
5134
|
:name,
|
5067
5135
|
:protocol_type,
|
@@ -5510,6 +5578,77 @@ module Aws::ApiGatewayV2
|
|
5510
5578
|
include Aws::Structure
|
5511
5579
|
end
|
5512
5580
|
|
5581
|
+
# If specified, API Gateway performs two-way authentication between the
|
5582
|
+
# client and the server. Clients must present a trusted certificate to
|
5583
|
+
# access your API.
|
5584
|
+
#
|
5585
|
+
# @!attribute [rw] truststore_uri
|
5586
|
+
# An Amazon S3 URL that specifies the truststore for mutual TLS
|
5587
|
+
# authentication, for example, s3://*bucket-name*/*key-name*. The
|
5588
|
+
# truststore can contain certificates from public or private
|
5589
|
+
# certificate authorities. To update the truststore, upload a new
|
5590
|
+
# version to S3, and then update your custom domain name to use the
|
5591
|
+
# new version. To update the truststore, you must have permissions to
|
5592
|
+
# access the S3 object.
|
5593
|
+
# @return [String]
|
5594
|
+
#
|
5595
|
+
# @!attribute [rw] truststore_version
|
5596
|
+
# The version of the S3 object that contains your truststore. To
|
5597
|
+
# specify a version, you must have versioning enabled for the S3
|
5598
|
+
# bucket.
|
5599
|
+
# @return [String]
|
5600
|
+
#
|
5601
|
+
# @!attribute [rw] truststore_warnings
|
5602
|
+
# A list of warnings that API Gateway returns while processing your
|
5603
|
+
# truststore. Invalid certificates produce warnings. Mutual TLS is
|
5604
|
+
# still enabled, but some clients might not be able to access your
|
5605
|
+
# API. To resolve warnings, upload a new truststore to S3, and then
|
5606
|
+
# update you domain name to use the new version.
|
5607
|
+
# @return [Array<String>]
|
5608
|
+
#
|
5609
|
+
class MutualTlsAuthentication < Struct.new(
|
5610
|
+
:truststore_uri,
|
5611
|
+
:truststore_version,
|
5612
|
+
:truststore_warnings)
|
5613
|
+
SENSITIVE = []
|
5614
|
+
include Aws::Structure
|
5615
|
+
end
|
5616
|
+
|
5617
|
+
# If specified, API Gateway performs two-way authentication between the
|
5618
|
+
# client and the server. Clients must present a trusted certificate to
|
5619
|
+
# access your API.
|
5620
|
+
#
|
5621
|
+
# @note When making an API call, you may pass MutualTlsAuthenticationInput
|
5622
|
+
# data as a hash:
|
5623
|
+
#
|
5624
|
+
# {
|
5625
|
+
# truststore_uri: "UriWithLengthBetween1And2048",
|
5626
|
+
# truststore_version: "StringWithLengthBetween1And64",
|
5627
|
+
# }
|
5628
|
+
#
|
5629
|
+
# @!attribute [rw] truststore_uri
|
5630
|
+
# An Amazon S3 URL that specifies the truststore for mutual TLS
|
5631
|
+
# authentication, for example, s3://*bucket-name*/*key-name*. The
|
5632
|
+
# truststore can contain certificates from public or private
|
5633
|
+
# certificate authorities. To update the truststore, upload a new
|
5634
|
+
# version to S3, and then update your custom domain name to use the
|
5635
|
+
# new version. To update the truststore, you must have permissions to
|
5636
|
+
# access the S3 object.
|
5637
|
+
# @return [String]
|
5638
|
+
#
|
5639
|
+
# @!attribute [rw] truststore_version
|
5640
|
+
# The version of the S3 object that contains your truststore. To
|
5641
|
+
# specify a version, you must have versioning enabled for the S3
|
5642
|
+
# bucket.
|
5643
|
+
# @return [String]
|
5644
|
+
#
|
5645
|
+
class MutualTlsAuthenticationInput < Struct.new(
|
5646
|
+
:truststore_uri,
|
5647
|
+
:truststore_version)
|
5648
|
+
SENSITIVE = []
|
5649
|
+
include Aws::Structure
|
5650
|
+
end
|
5651
|
+
|
5513
5652
|
# The resource specified in the request was not found. See the message
|
5514
5653
|
# field for more information.
|
5515
5654
|
#
|
@@ -5630,6 +5769,9 @@ module Aws::ApiGatewayV2
|
|
5630
5769
|
# @!attribute [rw] disable_schema_validation
|
5631
5770
|
# @return [Boolean]
|
5632
5771
|
#
|
5772
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
5773
|
+
# @return [Boolean]
|
5774
|
+
#
|
5633
5775
|
# @!attribute [rw] import_info
|
5634
5776
|
# @return [Array<String>]
|
5635
5777
|
#
|
@@ -5670,6 +5812,7 @@ module Aws::ApiGatewayV2
|
|
5670
5812
|
:created_date,
|
5671
5813
|
:description,
|
5672
5814
|
:disable_schema_validation,
|
5815
|
+
:disable_execute_api_endpoint,
|
5673
5816
|
:import_info,
|
5674
5817
|
:name,
|
5675
5818
|
:protocol_type,
|
@@ -6161,6 +6304,9 @@ module Aws::ApiGatewayV2
|
|
6161
6304
|
# for WebSocket APIs.
|
6162
6305
|
# @return [Boolean]
|
6163
6306
|
#
|
6307
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
6308
|
+
# @return [Boolean]
|
6309
|
+
#
|
6164
6310
|
# @!attribute [rw] name
|
6165
6311
|
# The name of the API.
|
6166
6312
|
# @return [String]
|
@@ -6198,6 +6344,7 @@ module Aws::ApiGatewayV2
|
|
6198
6344
|
:credentials_arn,
|
6199
6345
|
:description,
|
6200
6346
|
:disable_schema_validation,
|
6347
|
+
:disable_execute_api_endpoint,
|
6201
6348
|
:name,
|
6202
6349
|
:route_key,
|
6203
6350
|
:route_selection_expression,
|
@@ -6324,6 +6471,7 @@ module Aws::ApiGatewayV2
|
|
6324
6471
|
# credentials_arn: "Arn",
|
6325
6472
|
# description: "StringWithLengthBetween0And1024",
|
6326
6473
|
# disable_schema_validation: false,
|
6474
|
+
# disable_execute_api_endpoint: false,
|
6327
6475
|
# name: "StringWithLengthBetween1And128",
|
6328
6476
|
# route_key: "SelectionKey",
|
6329
6477
|
# route_selection_expression: "SelectionExpression",
|
@@ -6363,6 +6511,9 @@ module Aws::ApiGatewayV2
|
|
6363
6511
|
# @!attribute [rw] disable_schema_validation
|
6364
6512
|
# @return [Boolean]
|
6365
6513
|
#
|
6514
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
6515
|
+
# @return [Boolean]
|
6516
|
+
#
|
6366
6517
|
# @!attribute [rw] name
|
6367
6518
|
# A string with a length between \[1-128\].
|
6368
6519
|
# @return [String]
|
@@ -6402,6 +6553,7 @@ module Aws::ApiGatewayV2
|
|
6402
6553
|
:credentials_arn,
|
6403
6554
|
:description,
|
6404
6555
|
:disable_schema_validation,
|
6556
|
+
:disable_execute_api_endpoint,
|
6405
6557
|
:name,
|
6406
6558
|
:route_key,
|
6407
6559
|
:route_selection_expression,
|
@@ -6449,6 +6601,9 @@ module Aws::ApiGatewayV2
|
|
6449
6601
|
# @!attribute [rw] disable_schema_validation
|
6450
6602
|
# @return [Boolean]
|
6451
6603
|
#
|
6604
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
6605
|
+
# @return [Boolean]
|
6606
|
+
#
|
6452
6607
|
# @!attribute [rw] import_info
|
6453
6608
|
# @return [Array<String>]
|
6454
6609
|
#
|
@@ -6489,6 +6644,7 @@ module Aws::ApiGatewayV2
|
|
6489
6644
|
:created_date,
|
6490
6645
|
:description,
|
6491
6646
|
:disable_schema_validation,
|
6647
|
+
:disable_execute_api_endpoint,
|
6492
6648
|
:import_info,
|
6493
6649
|
:name,
|
6494
6650
|
:protocol_type,
|
@@ -6876,8 +7032,14 @@ module Aws::ApiGatewayV2
|
|
6876
7032
|
# The domain name configurations.
|
6877
7033
|
# @return [Array<Types::DomainNameConfiguration>]
|
6878
7034
|
#
|
7035
|
+
# @!attribute [rw] mutual_tls_authentication
|
7036
|
+
# The mutual TLS authentication configuration for a custom domain
|
7037
|
+
# name.
|
7038
|
+
# @return [Types::MutualTlsAuthenticationInput]
|
7039
|
+
#
|
6879
7040
|
class UpdateDomainNameInput < Struct.new(
|
6880
|
-
:domain_name_configurations
|
7041
|
+
:domain_name_configurations,
|
7042
|
+
:mutual_tls_authentication)
|
6881
7043
|
SENSITIVE = []
|
6882
7044
|
include Aws::Structure
|
6883
7045
|
end
|
@@ -6900,6 +7062,10 @@ module Aws::ApiGatewayV2
|
|
6900
7062
|
# security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
|
6901
7063
|
# },
|
6902
7064
|
# ],
|
7065
|
+
# mutual_tls_authentication: {
|
7066
|
+
# truststore_uri: "UriWithLengthBetween1And2048",
|
7067
|
+
# truststore_version: "StringWithLengthBetween1And64",
|
7068
|
+
# },
|
6903
7069
|
# }
|
6904
7070
|
#
|
6905
7071
|
# @!attribute [rw] domain_name
|
@@ -6909,9 +7075,16 @@ module Aws::ApiGatewayV2
|
|
6909
7075
|
# The domain name configurations.
|
6910
7076
|
# @return [Array<Types::DomainNameConfiguration>]
|
6911
7077
|
#
|
7078
|
+
# @!attribute [rw] mutual_tls_authentication
|
7079
|
+
# If specified, API Gateway performs two-way authentication between
|
7080
|
+
# the client and the server. Clients must present a trusted
|
7081
|
+
# certificate to access your API.
|
7082
|
+
# @return [Types::MutualTlsAuthenticationInput]
|
7083
|
+
#
|
6912
7084
|
class UpdateDomainNameRequest < Struct.new(
|
6913
7085
|
:domain_name,
|
6914
|
-
:domain_name_configurations
|
7086
|
+
:domain_name_configurations,
|
7087
|
+
:mutual_tls_authentication)
|
6915
7088
|
SENSITIVE = []
|
6916
7089
|
include Aws::Structure
|
6917
7090
|
end
|
@@ -6933,6 +7106,12 @@ module Aws::ApiGatewayV2
|
|
6933
7106
|
# The domain name configurations.
|
6934
7107
|
# @return [Array<Types::DomainNameConfiguration>]
|
6935
7108
|
#
|
7109
|
+
# @!attribute [rw] mutual_tls_authentication
|
7110
|
+
# If specified, API Gateway performs two-way authentication between
|
7111
|
+
# the client and the server. Clients must present a trusted
|
7112
|
+
# certificate to access your API.
|
7113
|
+
# @return [Types::MutualTlsAuthentication]
|
7114
|
+
#
|
6936
7115
|
# @!attribute [rw] tags
|
6937
7116
|
# Represents a collection of tags associated with the resource.
|
6938
7117
|
# @return [Hash<String,String>]
|
@@ -6941,6 +7120,7 @@ module Aws::ApiGatewayV2
|
|
6941
7120
|
:api_mapping_selection_expression,
|
6942
7121
|
:domain_name,
|
6943
7122
|
:domain_name_configurations,
|
7123
|
+
:mutual_tls_authentication,
|
6944
7124
|
:tags)
|
6945
7125
|
SENSITIVE = []
|
6946
7126
|
include Aws::Structure
|
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.28.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: 2020-09-
|
11
|
+
date: 2020-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|