aws-sdk-apigateway 1.53.0 → 1.58.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 +21 -1
- data/lib/aws-sdk-apigateway/client_api.rb +2 -0
- data/lib/aws-sdk-apigateway/types.rb +28 -5
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cb6aa137a2d7a4c446da9d90d2a490b26125536c7b0237d6075d59fa556f331
|
4
|
+
data.tar.gz: cab34f3ed407268efd4585a1651a895f552f5946a8013953eb22bb787c42a019
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6b1ec7ee849b6f109dd9bf08f7741e7b00cdd4dc2b3dff31ea7a53bb3b0096050bc58fcfe34441aa07686515e2d13d0c23ba0c2d5473abf9c1a0d9a3fe28b64
|
7
|
+
data.tar.gz: 76ce23fab388a66f0af279eccbd5b13eb496419baf0a523945c86fd82982fcf0483cd18e7953533ba965a21a3fb0ac367ebdb2d8cdc03b056f531aa748b78c85
|
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.58.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
|
@@ -6208,8 +6219,9 @@ module Aws::APIGateway
|
|
6208
6219
|
# @return [Integer]
|
6209
6220
|
#
|
6210
6221
|
# @!attribute [rw] offset
|
6211
|
-
# The
|
6212
|
-
#
|
6222
|
+
# The day that a time period starts. For example, with a time period
|
6223
|
+
# of `WEEK`, an offset of `0` starts on Sunday, and an offset of `1`
|
6224
|
+
# starts on Monday.
|
6213
6225
|
# @return [Integer]
|
6214
6226
|
#
|
6215
6227
|
# @!attribute [rw] period
|
@@ -6458,7 +6470,8 @@ module Aws::APIGateway
|
|
6458
6470
|
# @return [Types::EndpointConfiguration]
|
6459
6471
|
#
|
6460
6472
|
# @!attribute [rw] policy
|
6461
|
-
# A stringified JSON policy document that applies to this RestApi
|
6473
|
+
# A stringified JSON policy document that applies to this RestApi
|
6474
|
+
# regardless of the caller and Method configuration.
|
6462
6475
|
# @return [String]
|
6463
6476
|
#
|
6464
6477
|
# @!attribute [rw] tags
|
@@ -6466,6 +6479,15 @@ module Aws::APIGateway
|
|
6466
6479
|
# resource.
|
6467
6480
|
# @return [Hash<String,String>]
|
6468
6481
|
#
|
6482
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
6483
|
+
# Specifies whether clients can invoke your API by using the default
|
6484
|
+
# `execute-api` endpoint. By default, clients can invoke your API with
|
6485
|
+
# the default
|
6486
|
+
# https://\\\{api\_id\\}.execute-api.\\\{region\\}.amazonaws.com
|
6487
|
+
# endpoint. To require that clients use a custom domain name to invoke
|
6488
|
+
# your API, disable the default endpoint.
|
6489
|
+
# @return [Boolean]
|
6490
|
+
#
|
6469
6491
|
class RestApi < Struct.new(
|
6470
6492
|
:id,
|
6471
6493
|
:name,
|
@@ -6478,7 +6500,8 @@ module Aws::APIGateway
|
|
6478
6500
|
:api_key_source,
|
6479
6501
|
:endpoint_configuration,
|
6480
6502
|
:policy,
|
6481
|
-
:tags
|
6503
|
+
:tags,
|
6504
|
+
:disable_execute_api_endpoint)
|
6482
6505
|
SENSITIVE = []
|
6483
6506
|
include Aws::Structure
|
6484
6507
|
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.58.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-
|
11
|
+
date: 2020-12-21 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.
|
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.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|