aws-sdk-apigateway 1.51.0 → 1.56.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 593a48466fe7b3916957fef1236bda0bfc0d54cfcb00364fa6fa568775e30567
4
- data.tar.gz: 8f038b24ed6ad2ddc7723b67a03e87d453b82afab71f2e0359bdc36a4fd05596
3
+ metadata.gz: db338a0ba64dbeb2de79032e5320d37aee9caf5c7a787e89cc133b2bac862e8d
4
+ data.tar.gz: 1eefa26a6a3bcbb35d0af608b8536ac2ede39c83bc3d6f50dce70a0fc07e5418
5
5
  SHA512:
6
- metadata.gz: 8b753c9b79b35290afd1d07bdd06a1dec3f17434f0705b53693c9da897e30a10313a1efa7d586ca07825b0b8184dbb09b2e30cd72687d274cfbc0eb0cb9091dd
7
- data.tar.gz: 10adbb450a4e4ec94e36187e3d3e74517a0e4903538e2e3df8f4a1d11ef99add91a83a39efad1d42d6a2ba8e1b4f7e03d773b4eb48d70751ba3178702b6f436f
6
+ metadata.gz: 896d127e82f94d6b71d1313c1d781876f489e41b5c8b8f2b35590f517afda579db5f5e8d27d3d77a6af4c703ff1b2b9842444af15bf455fbfa615e1689259c7f
7
+ data.tar.gz: a322e5bed4c3ffc8d0903951595533160c9e3b12d9d15e99ecbc584b5c009bb83669479e74a91e932c67fc610b5cc59edb0124c9af9adee4d0ab69bb58d0c795
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-apigateway/customizations'
47
48
  # @!group service
48
49
  module Aws::APIGateway
49
50
 
50
- GEM_VERSION = '1.51.0'
51
+ GEM_VERSION = '1.56.0'
51
52
 
52
53
  end
@@ -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 ({})
@@ -1140,6 +1154,14 @@ module Aws::APIGateway
1140
1154
  # \[a-zA-Z+-=.\_:/\]. The tag key can be up to 128 characters and must
1141
1155
  # not start with `aws:`. The tag value can be up to 256 characters.
1142
1156
  #
1157
+ # @option params [Boolean] :disable_execute_api_endpoint
1158
+ # Specifies whether clients can invoke your API by using the default
1159
+ # `execute-api` endpoint. By default, clients can invoke your API with
1160
+ # the default
1161
+ # https://\\\{api\_id\\}.execute-api.\\\{region\\}.amazonaws.com
1162
+ # endpoint. To require that clients use a custom domain name to invoke
1163
+ # your API, disable the default endpoint.
1164
+ #
1143
1165
  # @return [Types::RestApi] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1144
1166
  #
1145
1167
  # * {Types::RestApi#id #id} => String
@@ -1154,6 +1176,7 @@ module Aws::APIGateway
1154
1176
  # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
1155
1177
  # * {Types::RestApi#policy #policy} => String
1156
1178
  # * {Types::RestApi#tags #tags} => Hash<String,String>
1179
+ # * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
1157
1180
  #
1158
1181
  # @example Request syntax with placeholder values
1159
1182
  #
@@ -1173,6 +1196,7 @@ module Aws::APIGateway
1173
1196
  # tags: {
1174
1197
  # "String" => "String",
1175
1198
  # },
1199
+ # disable_execute_api_endpoint: false,
1176
1200
  # })
1177
1201
  #
1178
1202
  # @example Response structure
@@ -1195,6 +1219,7 @@ module Aws::APIGateway
1195
1219
  # resp.policy #=> String
1196
1220
  # resp.tags #=> Hash
1197
1221
  # resp.tags["String"] #=> String
1222
+ # resp.disable_execute_api_endpoint #=> Boolean
1198
1223
  #
1199
1224
  # @overload create_rest_api(params = {})
1200
1225
  # @param [Hash] params ({})
@@ -2878,6 +2903,7 @@ module Aws::APIGateway
2878
2903
  # * {Types::DomainName#domain_name_status_message #domain_name_status_message} => String
2879
2904
  # * {Types::DomainName#security_policy #security_policy} => String
2880
2905
  # * {Types::DomainName#tags #tags} => Hash<String,String>
2906
+ # * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
2881
2907
  #
2882
2908
  # @example Request syntax with placeholder values
2883
2909
  #
@@ -2906,6 +2932,10 @@ module Aws::APIGateway
2906
2932
  # resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
2907
2933
  # resp.tags #=> Hash
2908
2934
  # resp.tags["String"] #=> String
2935
+ # resp.mutual_tls_authentication.truststore_uri #=> String
2936
+ # resp.mutual_tls_authentication.truststore_version #=> String
2937
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
2938
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
2909
2939
  #
2910
2940
  # @overload get_domain_name(params = {})
2911
2941
  # @param [Hash] params ({})
@@ -2960,6 +2990,10 @@ module Aws::APIGateway
2960
2990
  # resp.items[0].security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
2961
2991
  # resp.items[0].tags #=> Hash
2962
2992
  # resp.items[0].tags["String"] #=> String
2993
+ # resp.items[0].mutual_tls_authentication.truststore_uri #=> String
2994
+ # resp.items[0].mutual_tls_authentication.truststore_version #=> String
2995
+ # resp.items[0].mutual_tls_authentication.truststore_warnings #=> Array
2996
+ # resp.items[0].mutual_tls_authentication.truststore_warnings[0] #=> String
2963
2997
  #
2964
2998
  # @overload get_domain_names(params = {})
2965
2999
  # @param [Hash] params ({})
@@ -3796,6 +3830,7 @@ module Aws::APIGateway
3796
3830
  # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
3797
3831
  # * {Types::RestApi#policy #policy} => String
3798
3832
  # * {Types::RestApi#tags #tags} => Hash<String,String>
3833
+ # * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
3799
3834
  #
3800
3835
  # @example Request syntax with placeholder values
3801
3836
  #
@@ -3823,6 +3858,7 @@ module Aws::APIGateway
3823
3858
  # resp.policy #=> String
3824
3859
  # resp.tags #=> Hash
3825
3860
  # resp.tags["String"] #=> String
3861
+ # resp.disable_execute_api_endpoint #=> Boolean
3826
3862
  #
3827
3863
  # @overload get_rest_api(params = {})
3828
3864
  # @param [Hash] params ({})
@@ -3876,6 +3912,7 @@ module Aws::APIGateway
3876
3912
  # resp.items[0].policy #=> String
3877
3913
  # resp.items[0].tags #=> Hash
3878
3914
  # resp.items[0].tags["String"] #=> String
3915
+ # resp.items[0].disable_execute_api_endpoint #=> Boolean
3879
3916
  #
3880
3917
  # @overload get_rest_apis(params = {})
3881
3918
  # @param [Hash] params ({})
@@ -4677,6 +4714,7 @@ module Aws::APIGateway
4677
4714
  # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
4678
4715
  # * {Types::RestApi#policy #policy} => String
4679
4716
  # * {Types::RestApi#tags #tags} => Hash<String,String>
4717
+ # * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
4680
4718
  #
4681
4719
  # @example Request syntax with placeholder values
4682
4720
  #
@@ -4708,6 +4746,7 @@ module Aws::APIGateway
4708
4746
  # resp.policy #=> String
4709
4747
  # resp.tags #=> Hash
4710
4748
  # resp.tags["String"] #=> String
4749
+ # resp.disable_execute_api_endpoint #=> Boolean
4711
4750
  #
4712
4751
  # @overload import_rest_api(params = {})
4713
4752
  # @param [Hash] params ({})
@@ -5369,6 +5408,7 @@ module Aws::APIGateway
5369
5408
  # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
5370
5409
  # * {Types::RestApi#policy #policy} => String
5371
5410
  # * {Types::RestApi#tags #tags} => Hash<String,String>
5411
+ # * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
5372
5412
  #
5373
5413
  # @example Request syntax with placeholder values
5374
5414
  #
@@ -5402,6 +5442,7 @@ module Aws::APIGateway
5402
5442
  # resp.policy #=> String
5403
5443
  # resp.tags #=> Hash
5404
5444
  # resp.tags["String"] #=> String
5445
+ # resp.disable_execute_api_endpoint #=> Boolean
5405
5446
  #
5406
5447
  # @overload put_rest_api(params = {})
5407
5448
  # @param [Hash] params ({})
@@ -6082,6 +6123,7 @@ module Aws::APIGateway
6082
6123
  # * {Types::DomainName#domain_name_status_message #domain_name_status_message} => String
6083
6124
  # * {Types::DomainName#security_policy #security_policy} => String
6084
6125
  # * {Types::DomainName#tags #tags} => Hash<String,String>
6126
+ # * {Types::DomainName#mutual_tls_authentication #mutual_tls_authentication} => Types::MutualTlsAuthentication
6085
6127
  #
6086
6128
  # @example Request syntax with placeholder values
6087
6129
  #
@@ -6118,6 +6160,10 @@ module Aws::APIGateway
6118
6160
  # resp.security_policy #=> String, one of "TLS_1_0", "TLS_1_2"
6119
6161
  # resp.tags #=> Hash
6120
6162
  # resp.tags["String"] #=> String
6163
+ # resp.mutual_tls_authentication.truststore_uri #=> String
6164
+ # resp.mutual_tls_authentication.truststore_version #=> String
6165
+ # resp.mutual_tls_authentication.truststore_warnings #=> Array
6166
+ # resp.mutual_tls_authentication.truststore_warnings[0] #=> String
6121
6167
  #
6122
6168
  # @overload update_domain_name(params = {})
6123
6169
  # @param [Hash] params ({})
@@ -6716,6 +6762,7 @@ module Aws::APIGateway
6716
6762
  # * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
6717
6763
  # * {Types::RestApi#policy #policy} => String
6718
6764
  # * {Types::RestApi#tags #tags} => Hash<String,String>
6765
+ # * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
6719
6766
  #
6720
6767
  # @example Request syntax with placeholder values
6721
6768
  #
@@ -6751,6 +6798,7 @@ module Aws::APIGateway
6751
6798
  # resp.policy #=> String
6752
6799
  # resp.tags #=> Hash
6753
6800
  # resp.tags["String"] #=> String
6801
+ # resp.disable_execute_api_endpoint #=> Boolean
6754
6802
  #
6755
6803
  # @overload update_rest_api(params = {})
6756
6804
  # @param [Hash] params ({})
@@ -7033,7 +7081,7 @@ module Aws::APIGateway
7033
7081
  params: params,
7034
7082
  config: config)
7035
7083
  context[:gem_name] = 'aws-sdk-apigateway'
7036
- context[:gem_version] = '1.51.0'
7084
+ context[:gem_version] = '1.56.0'
7037
7085
  Seahorse::Client::Request.new(handlers, context)
7038
7086
  end
7039
7087
 
@@ -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"))
@@ -450,6 +453,7 @@ module Aws::APIGateway
450
453
  CreateRestApiRequest.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
451
454
  CreateRestApiRequest.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "policy"))
452
455
  CreateRestApiRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
456
+ CreateRestApiRequest.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: Boolean, location_name: "disableExecuteApiEndpoint"))
453
457
  CreateRestApiRequest.struct_class = Types::CreateRestApiRequest
454
458
 
455
459
  CreateStageRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
@@ -627,6 +631,7 @@ module Aws::APIGateway
627
631
  DomainName.add_member(:domain_name_status_message, Shapes::ShapeRef.new(shape: String, location_name: "domainNameStatusMessage"))
628
632
  DomainName.add_member(:security_policy, Shapes::ShapeRef.new(shape: SecurityPolicy, location_name: "securityPolicy"))
629
633
  DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
634
+ DomainName.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
630
635
  DomainName.struct_class = Types::DomainName
631
636
 
632
637
  DomainNames.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
@@ -1061,6 +1066,15 @@ module Aws::APIGateway
1061
1066
  Models.add_member(:items, Shapes::ShapeRef.new(shape: ListOfModel, location_name: "item"))
1062
1067
  Models.struct_class = Types::Models
1063
1068
 
1069
+ MutualTlsAuthentication.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: String, location_name: "truststoreUri"))
1070
+ MutualTlsAuthentication.add_member(:truststore_version, Shapes::ShapeRef.new(shape: String, location_name: "truststoreVersion"))
1071
+ MutualTlsAuthentication.add_member(:truststore_warnings, Shapes::ShapeRef.new(shape: ListOfString, location_name: "truststoreWarnings"))
1072
+ MutualTlsAuthentication.struct_class = Types::MutualTlsAuthentication
1073
+
1074
+ MutualTlsAuthenticationInput.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: String, location_name: "truststoreUri"))
1075
+ MutualTlsAuthenticationInput.add_member(:truststore_version, Shapes::ShapeRef.new(shape: String, location_name: "truststoreVersion"))
1076
+ MutualTlsAuthenticationInput.struct_class = Types::MutualTlsAuthenticationInput
1077
+
1064
1078
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1065
1079
  NotFoundException.struct_class = Types::NotFoundException
1066
1080
 
@@ -1177,6 +1191,7 @@ module Aws::APIGateway
1177
1191
  RestApi.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
1178
1192
  RestApi.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "policy"))
1179
1193
  RestApi.add_member(:tags, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "tags"))
1194
+ RestApi.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: Boolean, location_name: "disableExecuteApiEndpoint"))
1180
1195
  RestApi.struct_class = Types::RestApi
1181
1196
 
1182
1197
  RestApis.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
@@ -2105,6 +2120,7 @@ module Aws::APIGateway
2105
2120
  o.input = Shapes::ShapeRef.new(shape: GetDeploymentsRequest)
2106
2121
  o.output = Shapes::ShapeRef.new(shape: Deployments)
2107
2122
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2123
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2108
2124
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
2109
2125
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2110
2126
  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
@@ -1265,6 +1276,7 @@ module Aws::APIGateway
1265
1276
  # tags: {
1266
1277
  # "String" => "String",
1267
1278
  # },
1279
+ # disable_execute_api_endpoint: false,
1268
1280
  # }
1269
1281
  #
1270
1282
  # @!attribute [rw] name
@@ -1321,6 +1333,15 @@ module Aws::APIGateway
1321
1333
  # not start with `aws:`. The tag value can be up to 256 characters.
1322
1334
  # @return [Hash<String,String>]
1323
1335
  #
1336
+ # @!attribute [rw] disable_execute_api_endpoint
1337
+ # Specifies whether clients can invoke your API by using the default
1338
+ # `execute-api` endpoint. By default, clients can invoke your API with
1339
+ # the default
1340
+ # https://\\\{api\_id\\}.execute-api.\\\{region\\}.amazonaws.com
1341
+ # endpoint. To require that clients use a custom domain name to invoke
1342
+ # your API, disable the default endpoint.
1343
+ # @return [Boolean]
1344
+ #
1324
1345
  class CreateRestApiRequest < Struct.new(
1325
1346
  :name,
1326
1347
  :description,
@@ -1331,7 +1352,8 @@ module Aws::APIGateway
1331
1352
  :api_key_source,
1332
1353
  :endpoint_configuration,
1333
1354
  :policy,
1334
- :tags)
1355
+ :tags,
1356
+ :disable_execute_api_endpoint)
1335
1357
  SENSITIVE = []
1336
1358
  include Aws::Structure
1337
1359
  end
@@ -2661,6 +2683,13 @@ module Aws::APIGateway
2661
2683
  # resource.
2662
2684
  # @return [Hash<String,String>]
2663
2685
  #
2686
+ # @!attribute [rw] mutual_tls_authentication
2687
+ # The mutual TLS authentication configuration for a custom domain
2688
+ # name. If specified, API Gateway performs two-way authentication
2689
+ # between the client and the server. Clients must present a trusted
2690
+ # certificate to access your API.
2691
+ # @return [Types::MutualTlsAuthentication]
2692
+ #
2664
2693
  class DomainName < Struct.new(
2665
2694
  :domain_name,
2666
2695
  :certificate_name,
@@ -2676,7 +2705,8 @@ module Aws::APIGateway
2676
2705
  :domain_name_status,
2677
2706
  :domain_name_status_message,
2678
2707
  :security_policy,
2679
- :tags)
2708
+ :tags,
2709
+ :mutual_tls_authentication)
2680
2710
  SENSITIVE = []
2681
2711
  include Aws::Structure
2682
2712
  end
@@ -5414,6 +5444,77 @@ module Aws::APIGateway
5414
5444
  include Aws::Structure
5415
5445
  end
5416
5446
 
5447
+ # If specified, API Gateway performs two-way authentication between the
5448
+ # client and the server. Clients must present a trusted certificate to
5449
+ # access your custom domain name.
5450
+ #
5451
+ # @!attribute [rw] truststore_uri
5452
+ # An Amazon S3 URL that specifies the truststore for mutual TLS
5453
+ # authentication, for example `s3://bucket-name/key-name`. The
5454
+ # truststore can contain certificates from public or private
5455
+ # certificate authorities. To update the truststore, upload a new
5456
+ # version to S3, and then update your custom domain name to use the
5457
+ # new version. To update the truststore, you must have permissions to
5458
+ # access the S3 object.
5459
+ # @return [String]
5460
+ #
5461
+ # @!attribute [rw] truststore_version
5462
+ # The version of the S3 object that contains your truststore. To
5463
+ # specify a version, you must have versioning enabled for the S3
5464
+ # bucket.
5465
+ # @return [String]
5466
+ #
5467
+ # @!attribute [rw] truststore_warnings
5468
+ # A list of warnings that API Gateway returns while processing your
5469
+ # truststore. Invalid certificates produce warnings. Mutual TLS is
5470
+ # still enabled, but some clients might not be able to access your
5471
+ # API. To resolve warnings, upload a new truststore to S3, and then
5472
+ # update you domain name to use the new version.
5473
+ # @return [Array<String>]
5474
+ #
5475
+ class MutualTlsAuthentication < Struct.new(
5476
+ :truststore_uri,
5477
+ :truststore_version,
5478
+ :truststore_warnings)
5479
+ SENSITIVE = []
5480
+ include Aws::Structure
5481
+ end
5482
+
5483
+ # If specified, API Gateway performs two-way authentication between the
5484
+ # client and the server. Clients must present a trusted certificate to
5485
+ # access your custom domain name.
5486
+ #
5487
+ # @note When making an API call, you may pass MutualTlsAuthenticationInput
5488
+ # data as a hash:
5489
+ #
5490
+ # {
5491
+ # truststore_uri: "String",
5492
+ # truststore_version: "String",
5493
+ # }
5494
+ #
5495
+ # @!attribute [rw] truststore_uri
5496
+ # An Amazon S3 resource ARN that specifies the truststore for mutual
5497
+ # TLS authentication, for example, `s3://bucket-name/key-name`. The
5498
+ # truststore can contain certificates from public or private
5499
+ # certificate authorities. To update the truststore, upload a new
5500
+ # version to S3, and then update your custom domain name to use the
5501
+ # new version. To update the truststore, you must have permissions to
5502
+ # access the S3 object.
5503
+ # @return [String]
5504
+ #
5505
+ # @!attribute [rw] truststore_version
5506
+ # The version of the S3 object that contains your truststore. To
5507
+ # specify a version, you must have versioning enabled for the S3
5508
+ # bucket.
5509
+ # @return [String]
5510
+ #
5511
+ class MutualTlsAuthenticationInput < Struct.new(
5512
+ :truststore_uri,
5513
+ :truststore_version)
5514
+ SENSITIVE = []
5515
+ include Aws::Structure
5516
+ end
5517
+
5417
5518
  # The requested resource is not found. Make sure that the request URI is
5418
5519
  # correct.
5419
5520
  #
@@ -6368,7 +6469,8 @@ module Aws::APIGateway
6368
6469
  # @return [Types::EndpointConfiguration]
6369
6470
  #
6370
6471
  # @!attribute [rw] policy
6371
- # A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.
6472
+ # A stringified JSON policy document that applies to this RestApi
6473
+ # regardless of the caller and Method configuration.
6372
6474
  # @return [String]
6373
6475
  #
6374
6476
  # @!attribute [rw] tags
@@ -6376,6 +6478,15 @@ module Aws::APIGateway
6376
6478
  # resource.
6377
6479
  # @return [Hash<String,String>]
6378
6480
  #
6481
+ # @!attribute [rw] disable_execute_api_endpoint
6482
+ # Specifies whether clients can invoke your API by using the default
6483
+ # `execute-api` endpoint. By default, clients can invoke your API with
6484
+ # the default
6485
+ # https://\\\{api\_id\\}.execute-api.\\\{region\\}.amazonaws.com
6486
+ # endpoint. To require that clients use a custom domain name to invoke
6487
+ # your API, disable the default endpoint.
6488
+ # @return [Boolean]
6489
+ #
6379
6490
  class RestApi < Struct.new(
6380
6491
  :id,
6381
6492
  :name,
@@ -6388,7 +6499,8 @@ module Aws::APIGateway
6388
6499
  :api_key_source,
6389
6500
  :endpoint_configuration,
6390
6501
  :policy,
6391
- :tags)
6502
+ :tags,
6503
+ :disable_execute_api_endpoint)
6392
6504
  SENSITIVE = []
6393
6505
  include Aws::Structure
6394
6506
  end
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.51.0
4
+ version: 1.56.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-08-25 00:00:00.000000000 Z
11
+ date: 2020-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement