aws-sdk-apigateway 1.55.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 +4 -4
- data/lib/aws-sdk-apigateway.rb +1 -1
- data/lib/aws-sdk-apigateway/client.rb +21 -1
- data/lib/aws-sdk-apigateway/client_api.rb +2 -0
- data/lib/aws-sdk-apigateway/types.rb +25 -3
- 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: db338a0ba64dbeb2de79032e5320d37aee9caf5c7a787e89cc133b2bac862e8d
|
4
|
+
data.tar.gz: 1eefa26a6a3bcbb35d0af608b8536ac2ede39c83bc3d6f50dce70a0fc07e5418
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 896d127e82f94d6b71d1313c1d781876f489e41b5c8b8f2b35590f517afda579db5f5e8d27d3d77a6af4c703ff1b2b9842444af15bf455fbfa615e1689259c7f
|
7
|
+
data.tar.gz: a322e5bed4c3ffc8d0903951595533160c9e3b12d9d15e99ecbc584b5c009bb83669479e74a91e932c67fc610b5cc59edb0124c9af9adee4d0ab69bb58d0c795
|
data/lib/aws-sdk-apigateway.rb
CHANGED
@@ -1154,6 +1154,14 @@ module Aws::APIGateway
|
|
1154
1154
|
# \[a-zA-Z+-=.\_:/\]. The tag key can be up to 128 characters and must
|
1155
1155
|
# not start with `aws:`. The tag value can be up to 256 characters.
|
1156
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
|
+
#
|
1157
1165
|
# @return [Types::RestApi] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1158
1166
|
#
|
1159
1167
|
# * {Types::RestApi#id #id} => String
|
@@ -1168,6 +1176,7 @@ module Aws::APIGateway
|
|
1168
1176
|
# * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
|
1169
1177
|
# * {Types::RestApi#policy #policy} => String
|
1170
1178
|
# * {Types::RestApi#tags #tags} => Hash<String,String>
|
1179
|
+
# * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
1171
1180
|
#
|
1172
1181
|
# @example Request syntax with placeholder values
|
1173
1182
|
#
|
@@ -1187,6 +1196,7 @@ module Aws::APIGateway
|
|
1187
1196
|
# tags: {
|
1188
1197
|
# "String" => "String",
|
1189
1198
|
# },
|
1199
|
+
# disable_execute_api_endpoint: false,
|
1190
1200
|
# })
|
1191
1201
|
#
|
1192
1202
|
# @example Response structure
|
@@ -1209,6 +1219,7 @@ module Aws::APIGateway
|
|
1209
1219
|
# resp.policy #=> String
|
1210
1220
|
# resp.tags #=> Hash
|
1211
1221
|
# resp.tags["String"] #=> String
|
1222
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
1212
1223
|
#
|
1213
1224
|
# @overload create_rest_api(params = {})
|
1214
1225
|
# @param [Hash] params ({})
|
@@ -3819,6 +3830,7 @@ module Aws::APIGateway
|
|
3819
3830
|
# * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
|
3820
3831
|
# * {Types::RestApi#policy #policy} => String
|
3821
3832
|
# * {Types::RestApi#tags #tags} => Hash<String,String>
|
3833
|
+
# * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
3822
3834
|
#
|
3823
3835
|
# @example Request syntax with placeholder values
|
3824
3836
|
#
|
@@ -3846,6 +3858,7 @@ module Aws::APIGateway
|
|
3846
3858
|
# resp.policy #=> String
|
3847
3859
|
# resp.tags #=> Hash
|
3848
3860
|
# resp.tags["String"] #=> String
|
3861
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
3849
3862
|
#
|
3850
3863
|
# @overload get_rest_api(params = {})
|
3851
3864
|
# @param [Hash] params ({})
|
@@ -3899,6 +3912,7 @@ module Aws::APIGateway
|
|
3899
3912
|
# resp.items[0].policy #=> String
|
3900
3913
|
# resp.items[0].tags #=> Hash
|
3901
3914
|
# resp.items[0].tags["String"] #=> String
|
3915
|
+
# resp.items[0].disable_execute_api_endpoint #=> Boolean
|
3902
3916
|
#
|
3903
3917
|
# @overload get_rest_apis(params = {})
|
3904
3918
|
# @param [Hash] params ({})
|
@@ -4700,6 +4714,7 @@ module Aws::APIGateway
|
|
4700
4714
|
# * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
|
4701
4715
|
# * {Types::RestApi#policy #policy} => String
|
4702
4716
|
# * {Types::RestApi#tags #tags} => Hash<String,String>
|
4717
|
+
# * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
4703
4718
|
#
|
4704
4719
|
# @example Request syntax with placeholder values
|
4705
4720
|
#
|
@@ -4731,6 +4746,7 @@ module Aws::APIGateway
|
|
4731
4746
|
# resp.policy #=> String
|
4732
4747
|
# resp.tags #=> Hash
|
4733
4748
|
# resp.tags["String"] #=> String
|
4749
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
4734
4750
|
#
|
4735
4751
|
# @overload import_rest_api(params = {})
|
4736
4752
|
# @param [Hash] params ({})
|
@@ -5392,6 +5408,7 @@ module Aws::APIGateway
|
|
5392
5408
|
# * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
|
5393
5409
|
# * {Types::RestApi#policy #policy} => String
|
5394
5410
|
# * {Types::RestApi#tags #tags} => Hash<String,String>
|
5411
|
+
# * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
5395
5412
|
#
|
5396
5413
|
# @example Request syntax with placeholder values
|
5397
5414
|
#
|
@@ -5425,6 +5442,7 @@ module Aws::APIGateway
|
|
5425
5442
|
# resp.policy #=> String
|
5426
5443
|
# resp.tags #=> Hash
|
5427
5444
|
# resp.tags["String"] #=> String
|
5445
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
5428
5446
|
#
|
5429
5447
|
# @overload put_rest_api(params = {})
|
5430
5448
|
# @param [Hash] params ({})
|
@@ -6744,6 +6762,7 @@ module Aws::APIGateway
|
|
6744
6762
|
# * {Types::RestApi#endpoint_configuration #endpoint_configuration} => Types::EndpointConfiguration
|
6745
6763
|
# * {Types::RestApi#policy #policy} => String
|
6746
6764
|
# * {Types::RestApi#tags #tags} => Hash<String,String>
|
6765
|
+
# * {Types::RestApi#disable_execute_api_endpoint #disable_execute_api_endpoint} => Boolean
|
6747
6766
|
#
|
6748
6767
|
# @example Request syntax with placeholder values
|
6749
6768
|
#
|
@@ -6779,6 +6798,7 @@ module Aws::APIGateway
|
|
6779
6798
|
# resp.policy #=> String
|
6780
6799
|
# resp.tags #=> Hash
|
6781
6800
|
# resp.tags["String"] #=> String
|
6801
|
+
# resp.disable_execute_api_endpoint #=> Boolean
|
6782
6802
|
#
|
6783
6803
|
# @overload update_rest_api(params = {})
|
6784
6804
|
# @param [Hash] params ({})
|
@@ -7061,7 +7081,7 @@ module Aws::APIGateway
|
|
7061
7081
|
params: params,
|
7062
7082
|
config: config)
|
7063
7083
|
context[:gem_name] = 'aws-sdk-apigateway'
|
7064
|
-
context[:gem_version] = '1.
|
7084
|
+
context[:gem_version] = '1.56.0'
|
7065
7085
|
Seahorse::Client::Request.new(handlers, context)
|
7066
7086
|
end
|
7067
7087
|
|
@@ -453,6 +453,7 @@ module Aws::APIGateway
|
|
453
453
|
CreateRestApiRequest.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
|
454
454
|
CreateRestApiRequest.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "policy"))
|
455
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"))
|
456
457
|
CreateRestApiRequest.struct_class = Types::CreateRestApiRequest
|
457
458
|
|
458
459
|
CreateStageRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
|
@@ -1190,6 +1191,7 @@ module Aws::APIGateway
|
|
1190
1191
|
RestApi.add_member(:endpoint_configuration, Shapes::ShapeRef.new(shape: EndpointConfiguration, location_name: "endpointConfiguration"))
|
1191
1192
|
RestApi.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "policy"))
|
1192
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"))
|
1193
1195
|
RestApi.struct_class = Types::RestApi
|
1194
1196
|
|
1195
1197
|
RestApis.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
|
@@ -1276,6 +1276,7 @@ module Aws::APIGateway
|
|
1276
1276
|
# tags: {
|
1277
1277
|
# "String" => "String",
|
1278
1278
|
# },
|
1279
|
+
# disable_execute_api_endpoint: false,
|
1279
1280
|
# }
|
1280
1281
|
#
|
1281
1282
|
# @!attribute [rw] name
|
@@ -1332,6 +1333,15 @@ module Aws::APIGateway
|
|
1332
1333
|
# not start with `aws:`. The tag value can be up to 256 characters.
|
1333
1334
|
# @return [Hash<String,String>]
|
1334
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
|
+
#
|
1335
1345
|
class CreateRestApiRequest < Struct.new(
|
1336
1346
|
:name,
|
1337
1347
|
:description,
|
@@ -1342,7 +1352,8 @@ module Aws::APIGateway
|
|
1342
1352
|
:api_key_source,
|
1343
1353
|
:endpoint_configuration,
|
1344
1354
|
:policy,
|
1345
|
-
:tags
|
1355
|
+
:tags,
|
1356
|
+
:disable_execute_api_endpoint)
|
1346
1357
|
SENSITIVE = []
|
1347
1358
|
include Aws::Structure
|
1348
1359
|
end
|
@@ -6458,7 +6469,8 @@ module Aws::APIGateway
|
|
6458
6469
|
# @return [Types::EndpointConfiguration]
|
6459
6470
|
#
|
6460
6471
|
# @!attribute [rw] policy
|
6461
|
-
# A stringified JSON policy document that applies to this RestApi
|
6472
|
+
# A stringified JSON policy document that applies to this RestApi
|
6473
|
+
# regardless of the caller and Method configuration.
|
6462
6474
|
# @return [String]
|
6463
6475
|
#
|
6464
6476
|
# @!attribute [rw] tags
|
@@ -6466,6 +6478,15 @@ module Aws::APIGateway
|
|
6466
6478
|
# resource.
|
6467
6479
|
# @return [Hash<String,String>]
|
6468
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
|
+
#
|
6469
6490
|
class RestApi < Struct.new(
|
6470
6491
|
:id,
|
6471
6492
|
:name,
|
@@ -6478,7 +6499,8 @@ module Aws::APIGateway
|
|
6478
6499
|
:api_key_source,
|
6479
6500
|
:endpoint_configuration,
|
6480
6501
|
:policy,
|
6481
|
-
:tags
|
6502
|
+
:tags,
|
6503
|
+
:disable_execute_api_endpoint)
|
6482
6504
|
SENSITIVE = []
|
6483
6505
|
include Aws::Structure
|
6484
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.
|
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-10-
|
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
|