aws-sdk-apigateway 1.101.0 → 1.107.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apigateway/client.rb +35 -8
- data/lib/aws-sdk-apigateway/client_api.rb +1 -0
- data/lib/aws-sdk-apigateway/endpoints.rb +120 -480
- data/lib/aws-sdk-apigateway/plugins/endpoints.rb +18 -6
- data/lib/aws-sdk-apigateway/types.rb +3 -1
- data/lib/aws-sdk-apigateway.rb +15 -11
- data/sig/client.rbs +2 -0
- data/sig/resource.rbs +2 -0
- 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: dfb537cee6dfe0a259c801d38a85a859ecaba7628bc79449414cf6f2f113191a
|
4
|
+
data.tar.gz: d928b0d95e0084e4c76dd9b33141fbce0a7c10ab3dcdbd0fc446581d606629f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 348c11ba461495f1f4631d6dc95efdef4c154d4d471a662388066cba5c8b3da32105d09684af67e5a12c53c71a9936e378e1ee18712dda48697e5a088bb1cf6b
|
7
|
+
data.tar.gz: b3d6697a629e4c90925d5123da74773e262d177175c35ad867a5e0c23ac2e8121afe89de3dde496e58c77c9c06b98e353a60f8d6a2e4d03fd19a99f3d06a1ece
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,36 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.107.0 (2024-09-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.106.0 (2024-09-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon API Gateway
|
13
|
+
|
14
|
+
1.105.0 (2024-09-20)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.104.0 (2024-09-11)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.103.0 (2024-09-10)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.102.0 (2024-09-03)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
4
34
|
1.101.0 (2024-07-02)
|
5
35
|
------------------
|
6
36
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.107.0
|
@@ -32,12 +32,11 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
require 'aws-sdk-apigateway/plugins/apply_content_type_header.rb'
|
38
39
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:apigateway)
|
40
|
-
|
41
40
|
module Aws::APIGateway
|
42
41
|
# An API client for APIGateway. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
42
|
#
|
@@ -84,6 +83,7 @@ module Aws::APIGateway
|
|
84
83
|
add_plugin(Aws::Plugins::RequestCompression)
|
85
84
|
add_plugin(Aws::Plugins::DefaultsMode)
|
86
85
|
add_plugin(Aws::Plugins::RecursionDetection)
|
86
|
+
add_plugin(Aws::Plugins::Telemetry)
|
87
87
|
add_plugin(Aws::Plugins::Sign)
|
88
88
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
89
89
|
add_plugin(Aws::APIGateway::Plugins::ApplyContentTypeHeader)
|
@@ -130,13 +130,15 @@ module Aws::APIGateway
|
|
130
130
|
# locations will be searched for credentials:
|
131
131
|
#
|
132
132
|
# * `Aws.config[:credentials]`
|
133
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
134
|
-
#
|
133
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
134
|
+
# `:account_id` options.
|
135
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
136
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
135
137
|
# * `~/.aws/credentials`
|
136
138
|
# * `~/.aws/config`
|
137
139
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
140
|
# are very aggressive. Construct and pass an instance of
|
139
|
-
# `Aws::
|
141
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
142
|
# enable retries and extended timeouts. Instance profile credential
|
141
143
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
144
|
# to true.
|
@@ -155,6 +157,8 @@ module Aws::APIGateway
|
|
155
157
|
#
|
156
158
|
# @option options [String] :access_key_id
|
157
159
|
#
|
160
|
+
# @option options [String] :account_id
|
161
|
+
#
|
158
162
|
# @option options [Boolean] :active_endpoint_cache (false)
|
159
163
|
# When set to `true`, a thread polling for endpoints will be running in
|
160
164
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -332,6 +336,16 @@ module Aws::APIGateway
|
|
332
336
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
333
337
|
# requests are made, and retries are disabled.
|
334
338
|
#
|
339
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
340
|
+
# Allows you to provide a telemetry provider, which is used to
|
341
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
342
|
+
# will not record or emit any telemetry data. The SDK supports the
|
343
|
+
# following telemetry providers:
|
344
|
+
#
|
345
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
346
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
347
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
348
|
+
#
|
335
349
|
# @option options [Aws::TokenProvider] :token_provider
|
336
350
|
# A Bearer Token Provider. This can be an instance of any one of the
|
337
351
|
# following classes:
|
@@ -359,7 +373,9 @@ module Aws::APIGateway
|
|
359
373
|
# sending the request.
|
360
374
|
#
|
361
375
|
# @option options [Aws::APIGateway::EndpointProvider] :endpoint_provider
|
362
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
376
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
377
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
378
|
+
# `Aws::APIGateway::EndpointParameters`.
|
363
379
|
#
|
364
380
|
# @option options [Float] :http_continue_timeout (1)
|
365
381
|
# The number of seconds to wait for a 100-continue response before sending the
|
@@ -415,6 +431,12 @@ module Aws::APIGateway
|
|
415
431
|
# @option options [String] :ssl_ca_store
|
416
432
|
# Sets the X509::Store to verify peer certificate.
|
417
433
|
#
|
434
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
435
|
+
# Sets a client certificate when creating http connections.
|
436
|
+
#
|
437
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
438
|
+
# Sets a client key when creating http connections.
|
439
|
+
#
|
418
440
|
# @option options [Float] :ssl_timeout
|
419
441
|
# Sets the SSL timeout in seconds
|
420
442
|
#
|
@@ -7091,14 +7113,19 @@ module Aws::APIGateway
|
|
7091
7113
|
# @api private
|
7092
7114
|
def build_request(operation_name, params = {})
|
7093
7115
|
handlers = @handlers.for(operation_name)
|
7116
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
7117
|
+
Aws::Telemetry.module_to_tracer_name('Aws::APIGateway')
|
7118
|
+
)
|
7094
7119
|
context = Seahorse::Client::RequestContext.new(
|
7095
7120
|
operation_name: operation_name,
|
7096
7121
|
operation: config.api.operation(operation_name),
|
7097
7122
|
client: self,
|
7098
7123
|
params: params,
|
7099
|
-
config: config
|
7124
|
+
config: config,
|
7125
|
+
tracer: tracer
|
7126
|
+
)
|
7100
7127
|
context[:gem_name] = 'aws-sdk-apigateway'
|
7101
|
-
context[:gem_version] = '1.
|
7128
|
+
context[:gem_version] = '1.107.0'
|
7102
7129
|
Seahorse::Client::Request.new(handlers, context)
|
7103
7130
|
end
|
7104
7131
|
|