aws-sdk-apigateway 1.37.0 → 1.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-apigateway.rb +1 -1
- data/lib/aws-sdk-apigateway/client.rb +76 -33
- data/lib/aws-sdk-apigateway/client_api.rb +6 -0
- data/lib/aws-sdk-apigateway/resource.rb +1 -7
- data/lib/aws-sdk-apigateway/types.rb +63 -20
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 02d6786949913c0005f8ed39d9ed9ae96c4674e7a0f1ddc90a49f5d8e2e137dc
|
4
|
+
data.tar.gz: 80254a27b045223cf9a9276f612f29503effe343de129dd63f9efa1928db98f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44f32f1c15b42f49e2ee4ab26c8401b4ed4b5ba483bee95ae3f7d6b03d2988c854b9ed7c797f0c96ebf010526dfb83c6e58d9e5f060469321d77b15c8c241f41
|
7
|
+
data.tar.gz: 91543f735fd65a2255226cfb92598cea8cfb4b84f8dfa272bf31c6c9f2519e919a4344a852598028b8b512640a83c7e6daaf29b321491a5886b6f6f434e7b606
|
data/lib/aws-sdk-apigateway.rb
CHANGED
@@ -33,11 +33,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:apigateway)
|
|
33
33
|
module Aws::APIGateway
|
34
34
|
# An API client for APIGateway. To construct a client, you need to configure a `:region` and `:credentials`.
|
35
35
|
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
36
|
+
# client = Aws::APIGateway::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
41
41
|
#
|
42
42
|
# For details on configuring region and credentials see
|
43
43
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -107,7 +107,7 @@ module Aws::APIGateway
|
|
107
107
|
# @option options [required, String] :region
|
108
108
|
# The AWS region to connect to. The configured `:region` is
|
109
109
|
# used to determine the service `:endpoint`. When not passed,
|
110
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
111
111
|
#
|
112
112
|
# * `Aws.config[:region]`
|
113
113
|
# * `ENV['AWS_REGION']`
|
@@ -163,7 +163,7 @@ module Aws::APIGateway
|
|
163
163
|
# @option options [String] :endpoint
|
164
164
|
# The client endpoint is normally constructed from the `:region`
|
165
165
|
# option. You should only configure an `:endpoint` when connecting
|
166
|
-
# to test endpoints. This should be
|
166
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
167
167
|
#
|
168
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
169
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -178,7 +178,7 @@ module Aws::APIGateway
|
|
178
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
179
179
|
#
|
180
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
181
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
182
182
|
#
|
183
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
184
184
|
# The log formatter.
|
@@ -231,15 +231,19 @@ module Aws::APIGateway
|
|
231
231
|
#
|
232
232
|
# @option options [String] :retry_mode ("legacy")
|
233
233
|
# Specifies which retry algorithm to use. Values are:
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
243
247
|
#
|
244
248
|
# @option options [String] :secret_access_key
|
245
249
|
#
|
@@ -267,8 +271,7 @@ module Aws::APIGateway
|
|
267
271
|
#
|
268
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
269
273
|
# number of seconds to wait for response data. This value can
|
270
|
-
# safely be set
|
271
|
-
# per-request on the session yielded by {#session_for}.
|
274
|
+
# safely be set per-request on the session.
|
272
275
|
#
|
273
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
274
277
|
# seconds a connection is allowed to sit idle before it is
|
@@ -280,7 +283,7 @@ module Aws::APIGateway
|
|
280
283
|
# request body. This option has no effect unless the request has
|
281
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
282
285
|
# disables this behaviour. This value can safely be set per
|
283
|
-
# request on the session
|
286
|
+
# request on the session.
|
284
287
|
#
|
285
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
286
289
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -328,7 +331,8 @@ module Aws::APIGateway
|
|
328
331
|
#
|
329
332
|
# @option params [Boolean] :generate_distinct_id
|
330
333
|
# Specifies whether (`true`) or not (`false`) the key identifier is
|
331
|
-
# distinct from the created API key value.
|
334
|
+
# distinct from the created API key value. This parameter is deprecated
|
335
|
+
# and should not be used.
|
332
336
|
#
|
333
337
|
# @option params [String] :value
|
334
338
|
# Specifies a value of the API key.
|
@@ -558,8 +562,8 @@ module Aws::APIGateway
|
|
558
562
|
#
|
559
563
|
# @option params [String] :stage
|
560
564
|
# The name of the API's stage that you want to use for this mapping.
|
561
|
-
# Specify '(none)' if you
|
562
|
-
#
|
565
|
+
# Specify '(none)' if you want callers to explicitly specify the stage
|
566
|
+
# name after any base path name.
|
563
567
|
#
|
564
568
|
# @return [Types::BasePathMapping] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
565
569
|
#
|
@@ -1060,6 +1064,7 @@ module Aws::APIGateway
|
|
1060
1064
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
|
1061
1065
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
|
1062
1066
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
1067
|
+
# resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
|
1063
1068
|
# resp.resource_methods["String"].authorization_scopes #=> Array
|
1064
1069
|
# resp.resource_methods["String"].authorization_scopes[0] #=> String
|
1065
1070
|
#
|
@@ -1461,9 +1466,9 @@ module Aws::APIGateway
|
|
1461
1466
|
# The description of the VPC link.
|
1462
1467
|
#
|
1463
1468
|
# @option params [required, Array<String>] :target_arns
|
1464
|
-
# \[Required\] The
|
1465
|
-
# the VPC link. The network load
|
1466
|
-
# account of the API owner.
|
1469
|
+
# \[Required\] The ARN of the network load balancer of the VPC targeted
|
1470
|
+
# by the VPC link. The network load balancer must be owned by the same
|
1471
|
+
# AWS account of the API owner.
|
1467
1472
|
#
|
1468
1473
|
# @option params [Hash<String,String>] :tags
|
1469
1474
|
# The key-value map of strings. The valid character set is
|
@@ -2251,6 +2256,8 @@ module Aws::APIGateway
|
|
2251
2256
|
# * {Types::ApiKeys#position #position} => String
|
2252
2257
|
# * {Types::ApiKeys#items #items} => Array<Types::ApiKey>
|
2253
2258
|
#
|
2259
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2260
|
+
#
|
2254
2261
|
# @example Request syntax with placeholder values
|
2255
2262
|
#
|
2256
2263
|
# resp = client.get_api_keys({
|
@@ -2456,6 +2463,8 @@ module Aws::APIGateway
|
|
2456
2463
|
# * {Types::BasePathMappings#position #position} => String
|
2457
2464
|
# * {Types::BasePathMappings#items #items} => Array<Types::BasePathMapping>
|
2458
2465
|
#
|
2466
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2467
|
+
#
|
2459
2468
|
# @example Request syntax with placeholder values
|
2460
2469
|
#
|
2461
2470
|
# resp = client.get_base_path_mappings({
|
@@ -2531,6 +2540,8 @@ module Aws::APIGateway
|
|
2531
2540
|
# * {Types::ClientCertificates#position #position} => String
|
2532
2541
|
# * {Types::ClientCertificates#items #items} => Array<Types::ClientCertificate>
|
2533
2542
|
#
|
2543
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2544
|
+
#
|
2534
2545
|
# @example Request syntax with placeholder values
|
2535
2546
|
#
|
2536
2547
|
# resp = client.get_client_certificates({
|
@@ -2628,6 +2639,8 @@ module Aws::APIGateway
|
|
2628
2639
|
# * {Types::Deployments#position #position} => String
|
2629
2640
|
# * {Types::Deployments#items #items} => Array<Types::Deployment>
|
2630
2641
|
#
|
2642
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2643
|
+
#
|
2631
2644
|
# @example Request syntax with placeholder values
|
2632
2645
|
#
|
2633
2646
|
# resp = client.get_deployments({
|
@@ -2896,6 +2909,8 @@ module Aws::APIGateway
|
|
2896
2909
|
# * {Types::DomainNames#position #position} => String
|
2897
2910
|
# * {Types::DomainNames#items #items} => Array<Types::DomainName>
|
2898
2911
|
#
|
2912
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2913
|
+
#
|
2899
2914
|
# @example Request syntax with placeholder values
|
2900
2915
|
#
|
2901
2916
|
# resp = client.get_domain_names({
|
@@ -3133,6 +3148,7 @@ module Aws::APIGateway
|
|
3133
3148
|
# * {Types::Integration#cache_namespace #cache_namespace} => String
|
3134
3149
|
# * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
|
3135
3150
|
# * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
|
3151
|
+
# * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
|
3136
3152
|
#
|
3137
3153
|
# @example Request syntax with placeholder values
|
3138
3154
|
#
|
@@ -3168,6 +3184,7 @@ module Aws::APIGateway
|
|
3168
3184
|
# resp.integration_responses["String"].response_templates #=> Hash
|
3169
3185
|
# resp.integration_responses["String"].response_templates["String"] #=> String
|
3170
3186
|
# resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
3187
|
+
# resp.tls_config.insecure_skip_verification #=> Boolean
|
3171
3188
|
#
|
3172
3189
|
# @overload get_integration(params = {})
|
3173
3190
|
# @param [Hash] params ({})
|
@@ -3302,6 +3319,7 @@ module Aws::APIGateway
|
|
3302
3319
|
# resp.method_integration.integration_responses["String"].response_templates #=> Hash
|
3303
3320
|
# resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
|
3304
3321
|
# resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
3322
|
+
# resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
|
3305
3323
|
# resp.authorization_scopes #=> Array
|
3306
3324
|
# resp.authorization_scopes[0] #=> String
|
3307
3325
|
#
|
@@ -3448,6 +3466,8 @@ module Aws::APIGateway
|
|
3448
3466
|
# * {Types::Models#position #position} => String
|
3449
3467
|
# * {Types::Models#items #items} => Array<Types::Model>
|
3450
3468
|
#
|
3469
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3470
|
+
#
|
3451
3471
|
# @example Request syntax with placeholder values
|
3452
3472
|
#
|
3453
3473
|
# resp = client.get_models({
|
@@ -3630,6 +3650,7 @@ module Aws::APIGateway
|
|
3630
3650
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
|
3631
3651
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
|
3632
3652
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
3653
|
+
# resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
|
3633
3654
|
# resp.resource_methods["String"].authorization_scopes #=> Array
|
3634
3655
|
# resp.resource_methods["String"].authorization_scopes[0] #=> String
|
3635
3656
|
#
|
@@ -3666,6 +3687,8 @@ module Aws::APIGateway
|
|
3666
3687
|
# * {Types::Resources#position #position} => String
|
3667
3688
|
# * {Types::Resources#items #items} => Array<Types::Resource>
|
3668
3689
|
#
|
3690
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3691
|
+
#
|
3669
3692
|
# @example Request syntax with placeholder values
|
3670
3693
|
#
|
3671
3694
|
# resp = client.get_resources({
|
@@ -3724,6 +3747,7 @@ module Aws::APIGateway
|
|
3724
3747
|
# resp.items[0].resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
|
3725
3748
|
# resp.items[0].resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
|
3726
3749
|
# resp.items[0].resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
3750
|
+
# resp.items[0].resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
|
3727
3751
|
# resp.items[0].resource_methods["String"].authorization_scopes #=> Array
|
3728
3752
|
# resp.items[0].resource_methods["String"].authorization_scopes[0] #=> String
|
3729
3753
|
#
|
@@ -3802,6 +3826,8 @@ module Aws::APIGateway
|
|
3802
3826
|
# * {Types::RestApis#position #position} => String
|
3803
3827
|
# * {Types::RestApis#items #items} => Array<Types::RestApi>
|
3804
3828
|
#
|
3829
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3830
|
+
#
|
3805
3831
|
# @example Request syntax with placeholder values
|
3806
3832
|
#
|
3807
3833
|
# resp = client.get_rest_apis({
|
@@ -4112,8 +4138,7 @@ module Aws::APIGateway
|
|
4112
4138
|
# Gets the Tags collection for a given resource.
|
4113
4139
|
#
|
4114
4140
|
# @option params [required, String] :resource_arn
|
4115
|
-
# \[Required\] The ARN of a resource that can be tagged.
|
4116
|
-
# ARN must be URL-encoded.
|
4141
|
+
# \[Required\] The ARN of a resource that can be tagged.
|
4117
4142
|
#
|
4118
4143
|
# @option params [String] :position
|
4119
4144
|
# (Not currently supported) The current pagination position in the paged
|
@@ -4176,6 +4201,8 @@ module Aws::APIGateway
|
|
4176
4201
|
# * {Types::Usage#position #position} => String
|
4177
4202
|
# * {Types::Usage#items #items} => Hash<String,Array<Array<Integer>>>
|
4178
4203
|
#
|
4204
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4205
|
+
#
|
4179
4206
|
# @example Request syntax with placeholder values
|
4180
4207
|
#
|
4181
4208
|
# resp = client.get_usage({
|
@@ -4317,6 +4344,8 @@ module Aws::APIGateway
|
|
4317
4344
|
# * {Types::UsagePlanKeys#position #position} => String
|
4318
4345
|
# * {Types::UsagePlanKeys#items #items} => Array<Types::UsagePlanKey>
|
4319
4346
|
#
|
4347
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4348
|
+
#
|
4320
4349
|
# @example Request syntax with placeholder values
|
4321
4350
|
#
|
4322
4351
|
# resp = client.get_usage_plan_keys({
|
@@ -4359,6 +4388,8 @@ module Aws::APIGateway
|
|
4359
4388
|
# * {Types::UsagePlans#position #position} => String
|
4360
4389
|
# * {Types::UsagePlans#items #items} => Array<Types::UsagePlan>
|
4361
4390
|
#
|
4391
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4392
|
+
#
|
4362
4393
|
# @example Request syntax with placeholder values
|
4363
4394
|
#
|
4364
4395
|
# resp = client.get_usage_plans({
|
@@ -4452,6 +4483,8 @@ module Aws::APIGateway
|
|
4452
4483
|
# * {Types::VpcLinks#position #position} => String
|
4453
4484
|
# * {Types::VpcLinks#items #items} => Array<Types::VpcLink>
|
4454
4485
|
#
|
4486
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4487
|
+
#
|
4455
4488
|
# @example Request syntax with placeholder values
|
4456
4489
|
#
|
4457
4490
|
# resp = client.get_vpc_links({
|
@@ -4872,6 +4905,8 @@ module Aws::APIGateway
|
|
4872
4905
|
# Custom timeout between 50 and 29,000 milliseconds. The default value
|
4873
4906
|
# is 29,000 milliseconds or 29 seconds.
|
4874
4907
|
#
|
4908
|
+
# @option params [Types::TlsConfig] :tls_config
|
4909
|
+
#
|
4875
4910
|
# @return [Types::Integration] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4876
4911
|
#
|
4877
4912
|
# * {Types::Integration#type #type} => String
|
@@ -4888,6 +4923,7 @@ module Aws::APIGateway
|
|
4888
4923
|
# * {Types::Integration#cache_namespace #cache_namespace} => String
|
4889
4924
|
# * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
|
4890
4925
|
# * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
|
4926
|
+
# * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
|
4891
4927
|
#
|
4892
4928
|
# @example Request syntax with placeholder values
|
4893
4929
|
#
|
@@ -4912,6 +4948,9 @@ module Aws::APIGateway
|
|
4912
4948
|
# cache_key_parameters: ["String"],
|
4913
4949
|
# content_handling: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
|
4914
4950
|
# timeout_in_millis: 1,
|
4951
|
+
# tls_config: {
|
4952
|
+
# insecure_skip_verification: false,
|
4953
|
+
# },
|
4915
4954
|
# })
|
4916
4955
|
#
|
4917
4956
|
# @example Response structure
|
@@ -4940,6 +4979,7 @@ module Aws::APIGateway
|
|
4940
4979
|
# resp.integration_responses["String"].response_templates #=> Hash
|
4941
4980
|
# resp.integration_responses["String"].response_templates["String"] #=> String
|
4942
4981
|
# resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
4982
|
+
# resp.tls_config.insecure_skip_verification #=> Boolean
|
4943
4983
|
#
|
4944
4984
|
# @overload put_integration(params = {})
|
4945
4985
|
# @param [Hash] params ({})
|
@@ -5179,6 +5219,7 @@ module Aws::APIGateway
|
|
5179
5219
|
# resp.method_integration.integration_responses["String"].response_templates #=> Hash
|
5180
5220
|
# resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
|
5181
5221
|
# resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
5222
|
+
# resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
|
5182
5223
|
# resp.authorization_scopes #=> Array
|
5183
5224
|
# resp.authorization_scopes[0] #=> String
|
5184
5225
|
#
|
@@ -5348,8 +5389,7 @@ module Aws::APIGateway
|
|
5348
5389
|
# Adds or updates a tag on a given resource.
|
5349
5390
|
#
|
5350
5391
|
# @option params [required, String] :resource_arn
|
5351
|
-
# \[Required\] The ARN of a resource that can be tagged.
|
5352
|
-
# ARN must be URL-encoded.
|
5392
|
+
# \[Required\] The ARN of a resource that can be tagged.
|
5353
5393
|
#
|
5354
5394
|
# @option params [required, Hash<String,String>] :tags
|
5355
5395
|
# \[Required\] The key-value map of strings. The valid character set is
|
@@ -5558,8 +5598,7 @@ module Aws::APIGateway
|
|
5558
5598
|
# Removes a tag from a given resource.
|
5559
5599
|
#
|
5560
5600
|
# @option params [required, String] :resource_arn
|
5561
|
-
# \[Required\] The ARN of a resource that can be tagged.
|
5562
|
-
# ARN must be URL-encoded.
|
5601
|
+
# \[Required\] The ARN of a resource that can be tagged.
|
5563
5602
|
#
|
5564
5603
|
# @option params [required, Array<String>] :tag_keys
|
5565
5604
|
# \[Required\] The Tag keys to delete.
|
@@ -6169,6 +6208,7 @@ module Aws::APIGateway
|
|
6169
6208
|
# * {Types::Integration#cache_namespace #cache_namespace} => String
|
6170
6209
|
# * {Types::Integration#cache_key_parameters #cache_key_parameters} => Array<String>
|
6171
6210
|
# * {Types::Integration#integration_responses #integration_responses} => Hash<String,Types::IntegrationResponse>
|
6211
|
+
# * {Types::Integration#tls_config #tls_config} => Types::TlsConfig
|
6172
6212
|
#
|
6173
6213
|
# @example Request syntax with placeholder values
|
6174
6214
|
#
|
@@ -6212,6 +6252,7 @@ module Aws::APIGateway
|
|
6212
6252
|
# resp.integration_responses["String"].response_templates #=> Hash
|
6213
6253
|
# resp.integration_responses["String"].response_templates["String"] #=> String
|
6214
6254
|
# resp.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
6255
|
+
# resp.tls_config.insecure_skip_verification #=> Boolean
|
6215
6256
|
#
|
6216
6257
|
# @overload update_integration(params = {})
|
6217
6258
|
# @param [Hash] params ({})
|
@@ -6370,6 +6411,7 @@ module Aws::APIGateway
|
|
6370
6411
|
# resp.method_integration.integration_responses["String"].response_templates #=> Hash
|
6371
6412
|
# resp.method_integration.integration_responses["String"].response_templates["String"] #=> String
|
6372
6413
|
# resp.method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
6414
|
+
# resp.method_integration.tls_config.insecure_skip_verification #=> Boolean
|
6373
6415
|
# resp.authorization_scopes #=> Array
|
6374
6416
|
# resp.authorization_scopes[0] #=> String
|
6375
6417
|
#
|
@@ -6616,6 +6658,7 @@ module Aws::APIGateway
|
|
6616
6658
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates #=> Hash
|
6617
6659
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].response_templates["String"] #=> String
|
6618
6660
|
# resp.resource_methods["String"].method_integration.integration_responses["String"].content_handling #=> String, one of "CONVERT_TO_BINARY", "CONVERT_TO_TEXT"
|
6661
|
+
# resp.resource_methods["String"].method_integration.tls_config.insecure_skip_verification #=> Boolean
|
6619
6662
|
# resp.resource_methods["String"].authorization_scopes #=> Array
|
6620
6663
|
# resp.resource_methods["String"].authorization_scopes[0] #=> String
|
6621
6664
|
#
|
@@ -6966,7 +7009,7 @@ module Aws::APIGateway
|
|
6966
7009
|
params: params,
|
6967
7010
|
config: config)
|
6968
7011
|
context[:gem_name] = 'aws-sdk-apigateway'
|
6969
|
-
context[:gem_version] = '1.
|
7012
|
+
context[:gem_version] = '1.42.0'
|
6970
7013
|
Seahorse::Client::Request.new(handlers, context)
|
6971
7014
|
end
|
6972
7015
|
|
@@ -236,6 +236,7 @@ module Aws::APIGateway
|
|
236
236
|
TestInvokeMethodResponse = Shapes::StructureShape.new(name: 'TestInvokeMethodResponse')
|
237
237
|
ThrottleSettings = Shapes::StructureShape.new(name: 'ThrottleSettings')
|
238
238
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
239
|
+
TlsConfig = Shapes::StructureShape.new(name: 'TlsConfig')
|
239
240
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
240
241
|
UnauthorizedCacheControlHeaderStrategy = Shapes::StringShape.new(name: 'UnauthorizedCacheControlHeaderStrategy')
|
241
242
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
@@ -915,6 +916,7 @@ module Aws::APIGateway
|
|
915
916
|
Integration.add_member(:cache_namespace, Shapes::ShapeRef.new(shape: String, location_name: "cacheNamespace"))
|
916
917
|
Integration.add_member(:cache_key_parameters, Shapes::ShapeRef.new(shape: ListOfString, location_name: "cacheKeyParameters"))
|
917
918
|
Integration.add_member(:integration_responses, Shapes::ShapeRef.new(shape: MapOfIntegrationResponse, location_name: "integrationResponses"))
|
919
|
+
Integration.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
918
920
|
Integration.struct_class = Types::Integration
|
919
921
|
|
920
922
|
IntegrationResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: StatusCode, location_name: "statusCode"))
|
@@ -1092,6 +1094,7 @@ module Aws::APIGateway
|
|
1092
1094
|
PutIntegrationRequest.add_member(:cache_key_parameters, Shapes::ShapeRef.new(shape: ListOfString, location_name: "cacheKeyParameters"))
|
1093
1095
|
PutIntegrationRequest.add_member(:content_handling, Shapes::ShapeRef.new(shape: ContentHandlingStrategy, location_name: "contentHandling"))
|
1094
1096
|
PutIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "timeoutInMillis"))
|
1097
|
+
PutIntegrationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
|
1095
1098
|
PutIntegrationRequest.struct_class = Types::PutIntegrationRequest
|
1096
1099
|
|
1097
1100
|
PutIntegrationResponseRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
|
@@ -1284,6 +1287,9 @@ module Aws::APIGateway
|
|
1284
1287
|
ThrottleSettings.add_member(:rate_limit, Shapes::ShapeRef.new(shape: Double, location_name: "rateLimit"))
|
1285
1288
|
ThrottleSettings.struct_class = Types::ThrottleSettings
|
1286
1289
|
|
1290
|
+
TlsConfig.add_member(:insecure_skip_verification, Shapes::ShapeRef.new(shape: Boolean, location_name: "insecureSkipVerification"))
|
1291
|
+
TlsConfig.struct_class = Types::TlsConfig
|
1292
|
+
|
1287
1293
|
TooManyRequestsException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
|
1288
1294
|
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
1289
1295
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::APIGateway
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::APIGateway::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::APIGateway::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::APIGateway::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -22,7 +22,10 @@ module Aws::APIGateway
|
|
22
22
|
# @return [String]
|
23
23
|
#
|
24
24
|
# @!attribute [rw] destination_arn
|
25
|
-
# The ARN of the CloudWatch Logs log group
|
25
|
+
# The Amazon Resource Name (ARN) of the CloudWatch Logs log group or
|
26
|
+
# Kinesis Data Firehose delivery stream to receive access logs. If you
|
27
|
+
# specify a Kinesis Data Firehose delivery stream, the stream name
|
28
|
+
# must begin with `amazon-apigateway-`.
|
26
29
|
# @return [String]
|
27
30
|
#
|
28
31
|
class AccessLogSettings < Struct.new(
|
@@ -634,7 +637,8 @@ module Aws::APIGateway
|
|
634
637
|
#
|
635
638
|
# @!attribute [rw] generate_distinct_id
|
636
639
|
# Specifies whether (`true`) or not (`false`) the key identifier is
|
637
|
-
# distinct from the created API key value.
|
640
|
+
# distinct from the created API key value. This parameter is
|
641
|
+
# deprecated and should not be used.
|
638
642
|
# @return [Boolean]
|
639
643
|
#
|
640
644
|
# @!attribute [rw] value
|
@@ -822,8 +826,8 @@ module Aws::APIGateway
|
|
822
826
|
#
|
823
827
|
# @!attribute [rw] stage
|
824
828
|
# The name of the API's stage that you want to use for this mapping.
|
825
|
-
# Specify '(none)' if you
|
826
|
-
#
|
829
|
+
# Specify '(none)' if you want callers to explicitly specify the
|
830
|
+
# stage name after any base path name.
|
827
831
|
# @return [String]
|
828
832
|
#
|
829
833
|
class CreateBasePathMappingRequest < Struct.new(
|
@@ -1534,9 +1538,9 @@ module Aws::APIGateway
|
|
1534
1538
|
# @return [String]
|
1535
1539
|
#
|
1536
1540
|
# @!attribute [rw] target_arns
|
1537
|
-
# \[Required\] The
|
1538
|
-
# by the VPC link. The network load
|
1539
|
-
# same AWS account of the API owner.
|
1541
|
+
# \[Required\] The ARN of the network load balancer of the VPC
|
1542
|
+
# targeted by the VPC link. The network load balancer must be owned by
|
1543
|
+
# the same AWS account of the API owner.
|
1540
1544
|
# @return [Array<String>]
|
1541
1545
|
#
|
1542
1546
|
# @!attribute [rw] tags
|
@@ -4100,8 +4104,7 @@ module Aws::APIGateway
|
|
4100
4104
|
# }
|
4101
4105
|
#
|
4102
4106
|
# @!attribute [rw] resource_arn
|
4103
|
-
# \[Required\] The ARN of a resource that can be tagged.
|
4104
|
-
# ARN must be URL-encoded.
|
4107
|
+
# \[Required\] The ARN of a resource that can be tagged.
|
4105
4108
|
# @return [String]
|
4106
4109
|
#
|
4107
4110
|
# @!attribute [rw] position
|
@@ -4704,6 +4707,10 @@ module Aws::APIGateway
|
|
4704
4707
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-create-api.html
|
4705
4708
|
# @return [Hash<String,Types::IntegrationResponse>]
|
4706
4709
|
#
|
4710
|
+
# @!attribute [rw] tls_config
|
4711
|
+
# Specifies the TLS configuration for an integration.
|
4712
|
+
# @return [Types::TlsConfig]
|
4713
|
+
#
|
4707
4714
|
class Integration < Struct.new(
|
4708
4715
|
:type,
|
4709
4716
|
:http_method,
|
@@ -4718,7 +4725,8 @@ module Aws::APIGateway
|
|
4718
4725
|
:timeout_in_millis,
|
4719
4726
|
:cache_namespace,
|
4720
4727
|
:cache_key_parameters,
|
4721
|
-
:integration_responses
|
4728
|
+
:integration_responses,
|
4729
|
+
:tls_config)
|
4722
4730
|
include Aws::Structure
|
4723
4731
|
end
|
4724
4732
|
|
@@ -5097,7 +5105,9 @@ module Aws::APIGateway
|
|
5097
5105
|
# Specifies the logging level for this method, which affects the log
|
5098
5106
|
# entries pushed to Amazon CloudWatch Logs. The PATCH path for this
|
5099
5107
|
# setting is `/\{method_setting_key\}/logging/loglevel`, and the
|
5100
|
-
# available levels are `OFF`, `ERROR`, and `INFO`.
|
5108
|
+
# available levels are `OFF`, `ERROR`, and `INFO`. Choose `ERROR` to
|
5109
|
+
# write only error-level entries to CloudWatch Logs, or choose `INFO`
|
5110
|
+
# to include all `ERROR` events as well as extra informational events.
|
5101
5111
|
# @return [String]
|
5102
5112
|
#
|
5103
5113
|
# @!attribute [rw] data_trace_enabled
|
@@ -5452,6 +5462,9 @@ module Aws::APIGateway
|
|
5452
5462
|
# cache_key_parameters: ["String"],
|
5453
5463
|
# content_handling: "CONVERT_TO_BINARY", # accepts CONVERT_TO_BINARY, CONVERT_TO_TEXT
|
5454
5464
|
# timeout_in_millis: 1,
|
5465
|
+
# tls_config: {
|
5466
|
+
# insecure_skip_verification: false,
|
5467
|
+
# },
|
5455
5468
|
# }
|
5456
5469
|
#
|
5457
5470
|
# @!attribute [rw] rest_api_id
|
@@ -5598,6 +5611,9 @@ module Aws::APIGateway
|
|
5598
5611
|
# is 29,000 milliseconds or 29 seconds.
|
5599
5612
|
# @return [Integer]
|
5600
5613
|
#
|
5614
|
+
# @!attribute [rw] tls_config
|
5615
|
+
# @return [Types::TlsConfig]
|
5616
|
+
#
|
5601
5617
|
class PutIntegrationRequest < Struct.new(
|
5602
5618
|
:rest_api_id,
|
5603
5619
|
:resource_id,
|
@@ -5614,7 +5630,8 @@ module Aws::APIGateway
|
|
5614
5630
|
:cache_namespace,
|
5615
5631
|
:cache_key_parameters,
|
5616
5632
|
:content_handling,
|
5617
|
-
:timeout_in_millis
|
5633
|
+
:timeout_in_millis,
|
5634
|
+
:tls_config)
|
5618
5635
|
include Aws::Structure
|
5619
5636
|
end
|
5620
5637
|
|
@@ -6533,8 +6550,7 @@ module Aws::APIGateway
|
|
6533
6550
|
# }
|
6534
6551
|
#
|
6535
6552
|
# @!attribute [rw] resource_arn
|
6536
|
-
# \[Required\] The ARN of a resource that can be tagged.
|
6537
|
-
# ARN must be URL-encoded.
|
6553
|
+
# \[Required\] The ARN of a resource that can be tagged.
|
6538
6554
|
# @return [String]
|
6539
6555
|
#
|
6540
6556
|
# @!attribute [rw] tags
|
@@ -6579,7 +6595,7 @@ module Aws::APIGateway
|
|
6579
6595
|
#
|
6580
6596
|
#
|
6581
6597
|
#
|
6582
|
-
# [1]: https://velocity.apache.org/engine/devel/vtl-reference
|
6598
|
+
# [1]: https://velocity.apache.org/engine/devel/vtl-reference.html
|
6583
6599
|
# @return [String]
|
6584
6600
|
#
|
6585
6601
|
class Template < Struct.new(
|
@@ -6861,6 +6877,34 @@ module Aws::APIGateway
|
|
6861
6877
|
include Aws::Structure
|
6862
6878
|
end
|
6863
6879
|
|
6880
|
+
# @note When making an API call, you may pass TlsConfig
|
6881
|
+
# data as a hash:
|
6882
|
+
#
|
6883
|
+
# {
|
6884
|
+
# insecure_skip_verification: false,
|
6885
|
+
# }
|
6886
|
+
#
|
6887
|
+
# @!attribute [rw] insecure_skip_verification
|
6888
|
+
# Specifies whether API Gateway skips trust chain validation of the
|
6889
|
+
# server certificate during the TLS handshake. Supported only for
|
6890
|
+
# `HTTP` and `HTTP_PROXY` integrations. By default, API Gateway
|
6891
|
+
# validates that certificates for integration endpoints are issued by
|
6892
|
+
# a [supported Certificate Authority][1]. If enabled, API Gateway
|
6893
|
+
# skips trust chain validation of the server certificate. This is not
|
6894
|
+
# recommended, but it enables you to use certificates that are signed
|
6895
|
+
# by private Certificate Authorities, or certificates that are
|
6896
|
+
# self-signed.
|
6897
|
+
#
|
6898
|
+
#
|
6899
|
+
#
|
6900
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-supported-certificate-authorities-for-http-endpoints.html
|
6901
|
+
# @return [Boolean]
|
6902
|
+
#
|
6903
|
+
class TlsConfig < Struct.new(
|
6904
|
+
:insecure_skip_verification)
|
6905
|
+
include Aws::Structure
|
6906
|
+
end
|
6907
|
+
|
6864
6908
|
# The request has reached its throttling limit. Retry after the
|
6865
6909
|
# specified time period.
|
6866
6910
|
#
|
@@ -6897,8 +6941,7 @@ module Aws::APIGateway
|
|
6897
6941
|
# }
|
6898
6942
|
#
|
6899
6943
|
# @!attribute [rw] resource_arn
|
6900
|
-
# \[Required\] The ARN of a resource that can be tagged.
|
6901
|
-
# ARN must be URL-encoded.
|
6944
|
+
# \[Required\] The ARN of a resource that can be tagged.
|
6902
6945
|
# @return [String]
|
6903
6946
|
#
|
6904
6947
|
# @!attribute [rw] tag_keys
|
@@ -7977,7 +8020,7 @@ module Aws::APIGateway
|
|
7977
8020
|
include Aws::Structure
|
7978
8021
|
end
|
7979
8022
|
|
7980
|
-
#
|
8023
|
+
# An API Gateway VPC link for a RestApi to access resources in an Amazon
|
7981
8024
|
# Virtual Private Cloud (VPC).
|
7982
8025
|
#
|
7983
8026
|
# <div class="remarks" markdown="1">
|
@@ -8006,8 +8049,8 @@ module Aws::APIGateway
|
|
8006
8049
|
# @return [String]
|
8007
8050
|
#
|
8008
8051
|
# @!attribute [rw] target_arns
|
8009
|
-
# The
|
8010
|
-
# link. The network load
|
8052
|
+
# The ARN of the network load balancer of the VPC targeted by the VPC
|
8053
|
+
# link. The network load balancer must be owned by the same AWS
|
8011
8054
|
# account of the API owner.
|
8012
8055
|
# @return [Array<String>]
|
8013
8056
|
#
|
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.42.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-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.7.6.2
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: AWS SDK for Ruby - Amazon API Gateway
|