aws-sdk-apigateway 1.52.0 → 1.53.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-apigateway.rb +1 -1
- data/lib/aws-sdk-apigateway/client.rb +29 -1
- data/lib/aws-sdk-apigateway/client_api.rb +14 -0
- data/lib/aws-sdk-apigateway/types.rb +92 -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: 149b2996bb6a58f95d6013062421afd99087ce27d948f7c3ce53be57377ee8d3
|
4
|
+
data.tar.gz: c87f53c035f32204bfe9d6ba4a22ce543790cc3729d5b530cf3c681dfd72eae8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0796a92f53edfd4c9e9d0671bafaf3578ce2ac2f498c965a9cb824bf613bdf2f341cff0962fe37af4842e8c410a3867619a0eb85049c686c8f828f15ddb2dff0'
|
7
|
+
data.tar.gz: 8e84844934fff14d36ffad122e80432b2d46c61c994feb8b6b61a2caf486ddce8768b4cec363b664cc773c5d97633c94558195952329e56364356201c89237ff
|
data/lib/aws-sdk-apigateway.rb
CHANGED
@@ -838,6 +838,11 @@ module Aws::APIGateway
|
|
838
838
|
# The Transport Layer Security (TLS) version + cipher suite for this
|
839
839
|
# DomainName. The valid values are `TLS_1_0` and `TLS_1_2`.
|
840
840
|
#
|
841
|
+
# @option params [Types::MutualTlsAuthenticationInput] :mutual_tls_authentication
|
842
|
+
# If specified, API Gateway performs two-way authentication between the
|
843
|
+
# client and the server. Clients must present a trusted certificate to
|
844
|
+
# access your custom domain name.
|
845
|
+
#
|
841
846
|
# @return [Types::DomainName] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
842
847
|
#
|
843
848
|
# * {Types::DomainName#domain_name #domain_name} => String
|
@@ -855,6 +860,7 @@ module Aws::APIGateway
|
|
855
860
|
# * {Types::DomainName#domain_name_status_message #domain_name_status_message} => String
|
856
861
|
# * {Types::DomainName#security_policy #security_policy} => String
|
857
862
|
# * {Types::DomainName#tags #tags} => Hash<String,String>
|
863
|
+
# * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
858
864
|
#
|
859
865
|
# @example Request syntax with placeholder values
|
860
866
|
#
|
@@ -875,6 +881,10 @@ module Aws::APIGateway
|
|
875
881
|
# "String" => "String",
|
876
882
|
# },
|
877
883
|
# security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
|
884
|
+
# mutual_tls_authentication: {
|
885
|
+
# truststore_uri: "String",
|
886
|
+
# truststore_version: "String",
|
887
|
+
# },
|
878
888
|
# })
|
879
889
|
#
|
880
890
|
# @example Response structure
|
@@ -898,6 +908,10 @@ module Aws::APIGateway
|
|
898
908
|
# resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
899
909
|
# resp.tags #=> Hash
|
900
910
|
# resp.tags["String"] #=> String
|
911
|
+
# resp.mutual_tls_authentication.truststore_uri #=> String
|
912
|
+
# resp.mutual_tls_authentication.truststore_version #=> String
|
913
|
+
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
914
|
+
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
901
915
|
#
|
902
916
|
# @overload create_domain_name(params = {})
|
903
917
|
# @param [Hash] params ({})
|
@@ -2878,6 +2892,7 @@ module Aws::APIGateway
|
|
2878
2892
|
# * {Types::DomainName#domain_name_status_message #domain_name_status_message} => String
|
2879
2893
|
# * {Types::DomainName#security_policy #security_policy} => String
|
2880
2894
|
# * {Types::DomainName#tags #tags} => Hash<String,String>
|
2895
|
+
# * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
2881
2896
|
#
|
2882
2897
|
# @example Request syntax with placeholder values
|
2883
2898
|
#
|
@@ -2906,6 +2921,10 @@ module Aws::APIGateway
|
|
2906
2921
|
# resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
2907
2922
|
# resp.tags #=> Hash
|
2908
2923
|
# resp.tags["String"] #=> String
|
2924
|
+
# resp.mutual_tls_authentication.truststore_uri #=> String
|
2925
|
+
# resp.mutual_tls_authentication.truststore_version #=> String
|
2926
|
+
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
2927
|
+
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
2909
2928
|
#
|
2910
2929
|
# @overload get_domain_name(params = {})
|
2911
2930
|
# @param [Hash] params ({})
|
@@ -2960,6 +2979,10 @@ module Aws::APIGateway
|
|
2960
2979
|
# resp.items[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
2961
2980
|
# resp.items[0].tags #=> Hash
|
2962
2981
|
# resp.items[0].tags["String"] #=> String
|
2982
|
+
# resp.items[0].mutual_tls_authentication.truststore_uri #=> String
|
2983
|
+
# resp.items[0].mutual_tls_authentication.truststore_version #=> String
|
2984
|
+
# resp.items[0].mutual_tls_authentication.truststore_warnings #=> Array
|
2985
|
+
# resp.items[0].mutual_tls_authentication.truststore_warnings[0] #=> String
|
2963
2986
|
#
|
2964
2987
|
# @overload get_domain_names(params = {})
|
2965
2988
|
# @param [Hash] params ({})
|
@@ -6082,6 +6105,7 @@ module Aws::APIGateway
|
|
6082
6105
|
# * {Types::DomainName#domain_name_status_message #domain_name_status_message} => String
|
6083
6106
|
# * {Types::DomainName#security_policy #security_policy} => String
|
6084
6107
|
# * {Types::DomainName#tags #tags} => Hash<String,String>
|
6108
|
+
# * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
|
6085
6109
|
#
|
6086
6110
|
# @example Request syntax with placeholder values
|
6087
6111
|
#
|
@@ -6118,6 +6142,10 @@ module Aws::APIGateway
|
|
6118
6142
|
# resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
|
6119
6143
|
# resp.tags #=> Hash
|
6120
6144
|
# resp.tags["String"] #=> String
|
6145
|
+
# resp.mutual_tls_authentication.truststore_uri #=> String
|
6146
|
+
# resp.mutual_tls_authentication.truststore_version #=> String
|
6147
|
+
# resp.mutual_tls_authentication.truststore_warnings #=> Array
|
6148
|
+
# resp.mutual_tls_authentication.truststore_warnings[0] #=> String
|
6121
6149
|
#
|
6122
6150
|
# @overload update_domain_name(params = {})
|
6123
6151
|
# @param [Hash] params ({})
|
@@ -7033,7 +7061,7 @@ module Aws::APIGateway
|
|
7033
7061
|
params: params,
|
7034
7062
|
config: config)
|
7035
7063
|
context[:gem_name] = 'aws-sdk-apigateway'
|
7036
|
-
context[:gem_version] = '1.
|
7064
|
+
context[:gem_version] = '1.53.0'
|
7037
7065
|
Seahorse::Client::Request.new(handlers, context)
|
7038
7066
|
end
|
7039
7067
|
|
@@ -196,6 +196,8 @@ module Aws::APIGateway
|
|
196
196
|
MethodSnapshot = Shapes::StructureShape.new(name: 'MethodSnapshot')
|
197
197
|
Model = Shapes::StructureShape.new(name: 'Model')
|
198
198
|
Models = Shapes::StructureShape.new(name: 'Models')
|
199
|
+
MutualTlsAuthentication = Shapes::StructureShape.new(name: 'MutualTlsAuthentication')
|
200
|
+
MutualTlsAuthenticationInput = Shapes::StructureShape.new(name: 'MutualTlsAuthenticationInput')
|
199
201
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
200
202
|
NullableBoolean = Shapes::BooleanShape.new(name: 'NullableBoolean')
|
201
203
|
NullableInteger = Shapes::IntegerShape.new(name: 'NullableInteger')
|
@@ -420,6 +422,7 @@ module Aws::APIGateway
|
|
420
422
|
CreateDomainNameRequest.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
|
421
423
|
CreateDomainNameRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
|
422
424
|
CreateDomainNameRequest.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
|
425
|
+
CreateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
423
426
|
CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
|
424
427
|
|
425
428
|
CreateModelRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
|
@@ -627,6 +630,7 @@ module Aws::APIGateway
|
|
627
630
|
DomainName.add_member(:domain_name_status_message, Shapes::ShapeRef.new(shape: String, location_name: "domainNameStatusMessage"))
|
628
631
|
DomainName.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
|
629
632
|
DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
|
633
|
+
DomainName.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
630
634
|
DomainName.struct_class = Types::DomainName
|
631
635
|
|
632
636
|
DomainNames.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
|
@@ -1061,6 +1065,15 @@ module Aws::APIGateway
|
|
1061
1065
|
Models.add_member(:items, Shapes::ShapeRef.new(shape: ListOfModel, location_name: "item"))
|
1062
1066
|
Models.struct_class = Types::Models
|
1063
1067
|
|
1068
|
+
MutualTlsAuthentication.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: String, location_name: "truststoreUri"))
|
1069
|
+
MutualTlsAuthentication.add_member(:truststore_version, Shapes::ShapeRef.new(shape: String, location_name: "truststoreVersion"))
|
1070
|
+
MutualTlsAuthentication.add_member(:truststore_warnings, Shapes::ShapeRef.new(shape: ListOfString, location_name: "truststoreWarnings"))
|
1071
|
+
MutualTlsAuthentication.struct_class = Types::MutualTlsAuthentication
|
1072
|
+
|
1073
|
+
MutualTlsAuthenticationInput.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: String, location_name: "truststoreUri"))
|
1074
|
+
MutualTlsAuthenticationInput.add_member(:truststore_version, Shapes::ShapeRef.new(shape: String, location_name: "truststoreVersion"))
|
1075
|
+
MutualTlsAuthenticationInput.struct_class = Types::MutualTlsAuthenticationInput
|
1076
|
+
|
1064
1077
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1065
1078
|
NotFoundException.struct_class = Types::NotFoundException
|
1066
1079
|
|
@@ -2105,6 +2118,7 @@ module Aws::APIGateway
|
|
2105
2118
|
o.input = Shapes::ShapeRef.new(shape: GetDeploymentsRequest)
|
2106
2119
|
o.output = Shapes::ShapeRef.new(shape: Deployments)
|
2107
2120
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2121
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2108
2122
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
2109
2123
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2110
2124
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
@@ -1042,6 +1042,10 @@ module Aws::APIGateway
|
|
1042
1042
|
# "String" => "String",
|
1043
1043
|
# },
|
1044
1044
|
# security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
|
1045
|
+
# mutual_tls_authentication: {
|
1046
|
+
# truststore_uri: "String",
|
1047
|
+
# truststore_version: "String",
|
1048
|
+
# },
|
1045
1049
|
# }
|
1046
1050
|
#
|
1047
1051
|
# @!attribute [rw] domain_name
|
@@ -1108,6 +1112,12 @@ module Aws::APIGateway
|
|
1108
1112
|
# DomainName. The valid values are `TLS_1_0` and `TLS_1_2`.
|
1109
1113
|
# @return [String]
|
1110
1114
|
#
|
1115
|
+
# @!attribute [rw] mutual_tls_authentication
|
1116
|
+
# If specified, API Gateway performs two-way authentication between
|
1117
|
+
# the client and the server. Clients must present a trusted
|
1118
|
+
# certificate to access your custom domain name.
|
1119
|
+
# @return [Types::MutualTlsAuthenticationInput]
|
1120
|
+
#
|
1111
1121
|
class CreateDomainNameRequest < Struct.new(
|
1112
1122
|
:domain_name,
|
1113
1123
|
:certificate_name,
|
@@ -1119,7 +1129,8 @@ module Aws::APIGateway
|
|
1119
1129
|
:regional_certificate_arn,
|
1120
1130
|
:endpoint_configuration,
|
1121
1131
|
:tags,
|
1122
|
-
:security_policy
|
1132
|
+
:security_policy,
|
1133
|
+
:mutual_tls_authentication)
|
1123
1134
|
SENSITIVE = []
|
1124
1135
|
include Aws::Structure
|
1125
1136
|
end
|
@@ -2661,6 +2672,13 @@ module Aws::APIGateway
|
|
2661
2672
|
# resource.
|
2662
2673
|
# @return [Hash<String,String>]
|
2663
2674
|
#
|
2675
|
+
# @!attribute [rw] mutual_tls_authentication
|
2676
|
+
# The mutual TLS authentication configuration for a custom domain
|
2677
|
+
# name. If specified, API Gateway performs two-way authentication
|
2678
|
+
# between the client and the server. Clients must present a trusted
|
2679
|
+
# certificate to access your API.
|
2680
|
+
# @return [Types::MutualTlsAuthentication]
|
2681
|
+
#
|
2664
2682
|
class DomainName < Struct.new(
|
2665
2683
|
:domain_name,
|
2666
2684
|
:certificate_name,
|
@@ -2676,7 +2694,8 @@ module Aws::APIGateway
|
|
2676
2694
|
:domain_name_status,
|
2677
2695
|
:domain_name_status_message,
|
2678
2696
|
:security_policy,
|
2679
|
-
:tags
|
2697
|
+
:tags,
|
2698
|
+
:mutual_tls_authentication)
|
2680
2699
|
SENSITIVE = []
|
2681
2700
|
include Aws::Structure
|
2682
2701
|
end
|
@@ -5414,6 +5433,77 @@ module Aws::APIGateway
|
|
5414
5433
|
include Aws::Structure
|
5415
5434
|
end
|
5416
5435
|
|
5436
|
+
# If specified, API Gateway performs two-way authentication between the
|
5437
|
+
# client and the server. Clients must present a trusted certificate to
|
5438
|
+
# access your custom domain name.
|
5439
|
+
#
|
5440
|
+
# @!attribute [rw] truststore_uri
|
5441
|
+
# An Amazon S3 URL that specifies the truststore for mutual TLS
|
5442
|
+
# authentication, for example `s3://bucket-name/key-name`. The
|
5443
|
+
# truststore can contain certificates from public or private
|
5444
|
+
# certificate authorities. To update the truststore, upload a new
|
5445
|
+
# version to S3, and then update your custom domain name to use the
|
5446
|
+
# new version. To update the truststore, you must have permissions to
|
5447
|
+
# access the S3 object.
|
5448
|
+
# @return [String]
|
5449
|
+
#
|
5450
|
+
# @!attribute [rw] truststore_version
|
5451
|
+
# The version of the S3 object that contains your truststore. To
|
5452
|
+
# specify a version, you must have versioning enabled for the S3
|
5453
|
+
# bucket.
|
5454
|
+
# @return [String]
|
5455
|
+
#
|
5456
|
+
# @!attribute [rw] truststore_warnings
|
5457
|
+
# A list of warnings that API Gateway returns while processing your
|
5458
|
+
# truststore. Invalid certificates produce warnings. Mutual TLS is
|
5459
|
+
# still enabled, but some clients might not be able to access your
|
5460
|
+
# API. To resolve warnings, upload a new truststore to S3, and then
|
5461
|
+
# update you domain name to use the new version.
|
5462
|
+
# @return [Array<String>]
|
5463
|
+
#
|
5464
|
+
class MutualTlsAuthentication < Struct.new(
|
5465
|
+
:truststore_uri,
|
5466
|
+
:truststore_version,
|
5467
|
+
:truststore_warnings)
|
5468
|
+
SENSITIVE = []
|
5469
|
+
include Aws::Structure
|
5470
|
+
end
|
5471
|
+
|
5472
|
+
# If specified, API Gateway performs two-way authentication between the
|
5473
|
+
# client and the server. Clients must present a trusted certificate to
|
5474
|
+
# access your custom domain name.
|
5475
|
+
#
|
5476
|
+
# @note When making an API call, you may pass MutualTlsAuthenticationInput
|
5477
|
+
# data as a hash:
|
5478
|
+
#
|
5479
|
+
# {
|
5480
|
+
# truststore_uri: "String",
|
5481
|
+
# truststore_version: "String",
|
5482
|
+
# }
|
5483
|
+
#
|
5484
|
+
# @!attribute [rw] truststore_uri
|
5485
|
+
# An Amazon S3 resource ARN that specifies the truststore for mutual
|
5486
|
+
# TLS authentication, for example, `s3://bucket-name/key-name`. The
|
5487
|
+
# truststore can contain certificates from public or private
|
5488
|
+
# certificate authorities. To update the truststore, upload a new
|
5489
|
+
# version to S3, and then update your custom domain name to use the
|
5490
|
+
# new version. To update the truststore, you must have permissions to
|
5491
|
+
# access the S3 object.
|
5492
|
+
# @return [String]
|
5493
|
+
#
|
5494
|
+
# @!attribute [rw] truststore_version
|
5495
|
+
# The version of the S3 object that contains your truststore. To
|
5496
|
+
# specify a version, you must have versioning enabled for the S3
|
5497
|
+
# bucket.
|
5498
|
+
# @return [String]
|
5499
|
+
#
|
5500
|
+
class MutualTlsAuthenticationInput < Struct.new(
|
5501
|
+
:truststore_uri,
|
5502
|
+
:truststore_version)
|
5503
|
+
SENSITIVE = []
|
5504
|
+
include Aws::Structure
|
5505
|
+
end
|
5506
|
+
|
5417
5507
|
# The requested resource is not found. Make sure that the request URI is
|
5418
5508
|
# correct.
|
5419
5509
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-apigateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.53.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
|