aws-sdk-apigateway 1.20.0 → 1.21.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 +89 -87
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71064f4c8b4e5c6e3816db7b6a4c8312072c2a8e
|
4
|
+
data.tar.gz: 3fce2db709a833cdba39444e84575721d60dbd42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1443b5bf7f31b65ad612d37c776f97d360df9a9a214ef74e621fca7459b733d8f708093e7e77c6716d35d0e18443d013c5b4b36f62d673aba0ce4dbc20a90b38
|
7
|
+
data.tar.gz: 1417258ae99382f1a3e669635a3a8eef455fbeafa12349c4b178a1c867522d168f81a088c2310e231c8a4b60aeb084cb47afff534f0dc655b3e652219a5e902f
|
data/lib/aws-sdk-apigateway.rb
CHANGED
@@ -56,121 +56,123 @@ module Aws::APIGateway
|
|
56
56
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
57
57
|
add_plugin(Aws::APIGateway::Plugins::ApplyContentTypeHeader)
|
58
58
|
|
59
|
-
# @
|
60
|
-
#
|
61
|
-
#
|
59
|
+
# @overload initialize(options)
|
60
|
+
# @param [Hash] options
|
61
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
62
|
+
# Your AWS credentials. This can be an instance of any one of the
|
63
|
+
# following classes:
|
62
64
|
#
|
63
|
-
#
|
64
|
-
#
|
65
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
66
|
+
# credentials.
|
65
67
|
#
|
66
|
-
#
|
67
|
-
#
|
68
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
69
|
+
# from an EC2 IMDS on an EC2 instance.
|
68
70
|
#
|
69
|
-
#
|
70
|
-
#
|
71
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
72
|
+
# shared file, such as `~/.aws/config`.
|
71
73
|
#
|
72
|
-
#
|
74
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
73
75
|
#
|
74
|
-
#
|
75
|
-
#
|
76
|
+
# When `:credentials` are not configured directly, the following
|
77
|
+
# locations will be searched for credentials:
|
76
78
|
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
79
|
+
# * `Aws.config[:credentials]`
|
80
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
81
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
82
|
+
# * `~/.aws/credentials`
|
83
|
+
# * `~/.aws/config`
|
84
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
85
|
+
# very aggressive. Construct and pass an instance of
|
86
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
87
|
+
# timeouts.
|
86
88
|
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
89
|
+
# @option options [required, String] :region
|
90
|
+
# The AWS region to connect to. The configured `:region` is
|
91
|
+
# used to determine the service `:endpoint`. When not passed,
|
92
|
+
# a default `:region` is search for in the following locations:
|
91
93
|
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
94
|
+
# * `Aws.config[:region]`
|
95
|
+
# * `ENV['AWS_REGION']`
|
96
|
+
# * `ENV['AMAZON_REGION']`
|
97
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
98
|
+
# * `~/.aws/credentials`
|
99
|
+
# * `~/.aws/config`
|
98
100
|
#
|
99
|
-
#
|
101
|
+
# @option options [String] :access_key_id
|
100
102
|
#
|
101
|
-
#
|
102
|
-
#
|
103
|
-
#
|
103
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
104
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
105
|
+
# this client.
|
104
106
|
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
107
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
108
|
+
# Allows you to provide an identifier for this client which will be attached to
|
109
|
+
# all generated client side metrics. Defaults to an empty string.
|
108
110
|
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
111
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
112
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
113
|
+
# agent is running on, where client metrics will be published via UDP.
|
112
114
|
#
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
115
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
116
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
117
|
+
# will use the Client Side Monitoring Agent Publisher.
|
116
118
|
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
119
|
+
# @option options [Boolean] :convert_params (true)
|
120
|
+
# When `true`, an attempt is made to coerce request parameters into
|
121
|
+
# the required types.
|
120
122
|
#
|
121
|
-
#
|
122
|
-
#
|
123
|
-
#
|
124
|
-
#
|
123
|
+
# @option options [String] :endpoint
|
124
|
+
# The client endpoint is normally constructed from the `:region`
|
125
|
+
# option. You should only configure an `:endpoint` when connecting
|
126
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
125
127
|
#
|
126
|
-
#
|
127
|
-
#
|
128
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
129
|
+
# The log formatter.
|
128
130
|
#
|
129
|
-
#
|
130
|
-
#
|
131
|
+
# @option options [Symbol] :log_level (:info)
|
132
|
+
# The log level to send messages to the `:logger` at.
|
131
133
|
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
134
|
+
# @option options [Logger] :logger
|
135
|
+
# The Logger instance to send log messages to. If this option
|
136
|
+
# is not set, logging will be disabled.
|
135
137
|
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
138
|
+
# @option options [String] :profile ("default")
|
139
|
+
# Used when loading credentials from the shared credentials file
|
140
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
139
141
|
#
|
140
|
-
#
|
141
|
-
#
|
142
|
+
# @option options [Float] :retry_base_delay (0.3)
|
143
|
+
# The base delay in seconds used by the default backoff function.
|
142
144
|
#
|
143
|
-
#
|
144
|
-
#
|
145
|
+
# @option options [Symbol] :retry_jitter (:none)
|
146
|
+
# A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
|
145
147
|
#
|
146
|
-
#
|
148
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
147
149
|
#
|
148
|
-
#
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
150
|
+
# @option options [Integer] :retry_limit (3)
|
151
|
+
# The maximum number of times to retry failed requests. Only
|
152
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
153
|
+
# are retried. Generally, these are throttling errors, data
|
154
|
+
# checksum errors, networking errors, timeout errors and auth
|
155
|
+
# errors from expired credentials.
|
154
156
|
#
|
155
|
-
#
|
156
|
-
#
|
157
|
+
# @option options [Integer] :retry_max_delay (0)
|
158
|
+
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
157
159
|
#
|
158
|
-
#
|
160
|
+
# @option options [String] :secret_access_key
|
159
161
|
#
|
160
|
-
#
|
162
|
+
# @option options [String] :session_token
|
161
163
|
#
|
162
|
-
#
|
163
|
-
#
|
164
|
-
#
|
165
|
-
#
|
166
|
-
#
|
164
|
+
# @option options [Boolean] :stub_responses (false)
|
165
|
+
# Causes the client to return stubbed responses. By default
|
166
|
+
# fake responses are generated and returned. You can specify
|
167
|
+
# the response data to return or errors to raise by calling
|
168
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
167
169
|
#
|
168
|
-
#
|
169
|
-
#
|
170
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
171
|
+
# requests are made, and retries are disabled.
|
170
172
|
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
173
|
+
# @option options [Boolean] :validate_params (true)
|
174
|
+
# When `true`, request parameters are validated before
|
175
|
+
# sending the request.
|
174
176
|
#
|
175
177
|
def initialize(*args)
|
176
178
|
super
|
@@ -6660,7 +6662,7 @@ module Aws::APIGateway
|
|
6660
6662
|
params: params,
|
6661
6663
|
config: config)
|
6662
6664
|
context[:gem_name] = 'aws-sdk-apigateway'
|
6663
|
-
context[:gem_version] = '1.
|
6665
|
+
context[:gem_version] = '1.21.0'
|
6664
6666
|
Seahorse::Client::Request.new(handlers, context)
|
6665
6667
|
end
|
6666
6668
|
|
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.21.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: 2018-10-
|
11
|
+
date: 2018-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|