aws-sdk-secretsmanager 1.33.0 → 1.38.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-secretsmanager.rb +9 -4
- data/lib/aws-sdk-secretsmanager/client.rb +76 -14
- data/lib/aws-sdk-secretsmanager/client_api.rb +2 -0
- data/lib/aws-sdk-secretsmanager/errors.rb +35 -11
- data/lib/aws-sdk-secretsmanager/resource.rb +3 -0
- data/lib/aws-sdk-secretsmanager/types.rb +51 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5a794ec6ce71b1386fab8c304e181865360e7ad1f2f7e65d556223fbd9e81600
|
4
|
+
data.tar.gz: d6e52d032ce218fad9d991e92caf4056150478c21f6e4cc7ede2c43af7536590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f8eaf03117be9ce488dcb237278e3c63338fba3fb1b2e7cb8895250b52ee340735c8744e64c4c38ac4da4e1b27a38edec6d2d61f23b7cb5d08bfb1b9326995e
|
7
|
+
data.tar.gz: 45e4fe9706fc3178cbdc5ad24055b25a844c64be7fa47f10fff6931a9669016e1917384ce7f7d257ef191836d7654be503a0916b6285cb4e5daf4fb2b3e6a498
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-secretsmanager/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# secrets_manager = Aws::SecretsManager::Client.new
|
30
|
+
# resp = secrets_manager.cancel_rotate_secret(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from AWS Secrets Manager
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from AWS Secrets Manager are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::SecretsManager::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all AWS Secrets Manager API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-secretsmanager/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::SecretsManager
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.38.0'
|
46
51
|
|
47
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:secretsmanager)
|
31
34
|
|
32
35
|
module Aws::SecretsManager
|
36
|
+
# An API client for SecretsManager. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::SecretsManager::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::SecretsManager
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::SecretsManager
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::SecretsManager
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::SecretsManager
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::SecretsManager
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::SecretsManager
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::SecretsManager
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::SecretsManager
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -219,16 +278,15 @@ module Aws::SecretsManager
|
|
219
278
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
279
|
#
|
221
280
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
281
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
282
|
# `Timeout::Error`.
|
224
283
|
#
|
225
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
285
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
229
287
|
#
|
230
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
289
|
+
# seconds a connection is allowed to sit idle before it is
|
232
290
|
# considered stale. Stale connections are closed and removed
|
233
291
|
# from the pool before making a request.
|
234
292
|
#
|
@@ -237,7 +295,7 @@ module Aws::SecretsManager
|
|
237
295
|
# request body. This option has no effect unless the request has
|
238
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
297
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
298
|
+
# request on the session.
|
241
299
|
#
|
242
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1452,6 +1510,8 @@ module Aws::SecretsManager
|
|
1452
1510
|
# * {Types::ListSecretVersionIdsResponse#arn #arn} => String
|
1453
1511
|
# * {Types::ListSecretVersionIdsResponse#name #name} => String
|
1454
1512
|
#
|
1513
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1514
|
+
#
|
1455
1515
|
#
|
1456
1516
|
# @example Example: To list all of the secret versions associated with a secret
|
1457
1517
|
#
|
@@ -1572,6 +1632,8 @@ module Aws::SecretsManager
|
|
1572
1632
|
# * {Types::ListSecretsResponse#secret_list #secret_list} => Array<Types::SecretListEntry>
|
1573
1633
|
# * {Types::ListSecretsResponse#next_token #next_token} => String
|
1574
1634
|
#
|
1635
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1636
|
+
#
|
1575
1637
|
#
|
1576
1638
|
# @example Example: To list the secrets in your account
|
1577
1639
|
#
|
@@ -2917,7 +2979,7 @@ module Aws::SecretsManager
|
|
2917
2979
|
params: params,
|
2918
2980
|
config: config)
|
2919
2981
|
context[:gem_name] = 'aws-sdk-secretsmanager'
|
2920
|
-
context[:gem_version] = '1.
|
2982
|
+
context[:gem_version] = '1.38.0'
|
2921
2983
|
Seahorse::Client::Request.new(handlers, context)
|
2922
2984
|
end
|
2923
2985
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,39 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SecretsManager
|
11
|
+
|
12
|
+
# When SecretsManager returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::SecretsManager::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all SecretsManager errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::SecretsManager::Errors::ServiceError
|
20
|
+
# # rescues all SecretsManager API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {DecryptionFailure}
|
31
|
+
# * {EncryptionFailure}
|
32
|
+
# * {InternalServiceError}
|
33
|
+
# * {InvalidNextTokenException}
|
34
|
+
# * {InvalidParameterException}
|
35
|
+
# * {InvalidRequestException}
|
36
|
+
# * {LimitExceededException}
|
37
|
+
# * {MalformedPolicyDocumentException}
|
38
|
+
# * {PreconditionNotMetException}
|
39
|
+
# * {ResourceExistsException}
|
40
|
+
# * {ResourceNotFoundException}
|
41
|
+
#
|
42
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
43
|
+
# if they are not defined above.
|
9
44
|
module Errors
|
10
45
|
|
11
46
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +58,6 @@ module Aws::SecretsManager
|
|
23
58
|
def message
|
24
59
|
@message || @data[:message]
|
25
60
|
end
|
26
|
-
|
27
61
|
end
|
28
62
|
|
29
63
|
class EncryptionFailure < ServiceError
|
@@ -39,7 +73,6 @@ module Aws::SecretsManager
|
|
39
73
|
def message
|
40
74
|
@message || @data[:message]
|
41
75
|
end
|
42
|
-
|
43
76
|
end
|
44
77
|
|
45
78
|
class InternalServiceError < ServiceError
|
@@ -55,7 +88,6 @@ module Aws::SecretsManager
|
|
55
88
|
def message
|
56
89
|
@message || @data[:message]
|
57
90
|
end
|
58
|
-
|
59
91
|
end
|
60
92
|
|
61
93
|
class InvalidNextTokenException < ServiceError
|
@@ -71,7 +103,6 @@ module Aws::SecretsManager
|
|
71
103
|
def message
|
72
104
|
@message || @data[:message]
|
73
105
|
end
|
74
|
-
|
75
106
|
end
|
76
107
|
|
77
108
|
class InvalidParameterException < ServiceError
|
@@ -87,7 +118,6 @@ module Aws::SecretsManager
|
|
87
118
|
def message
|
88
119
|
@message || @data[:message]
|
89
120
|
end
|
90
|
-
|
91
121
|
end
|
92
122
|
|
93
123
|
class InvalidRequestException < ServiceError
|
@@ -103,7 +133,6 @@ module Aws::SecretsManager
|
|
103
133
|
def message
|
104
134
|
@message || @data[:message]
|
105
135
|
end
|
106
|
-
|
107
136
|
end
|
108
137
|
|
109
138
|
class LimitExceededException < ServiceError
|
@@ -119,7 +148,6 @@ module Aws::SecretsManager
|
|
119
148
|
def message
|
120
149
|
@message || @data[:message]
|
121
150
|
end
|
122
|
-
|
123
151
|
end
|
124
152
|
|
125
153
|
class MalformedPolicyDocumentException < ServiceError
|
@@ -135,7 +163,6 @@ module Aws::SecretsManager
|
|
135
163
|
def message
|
136
164
|
@message || @data[:message]
|
137
165
|
end
|
138
|
-
|
139
166
|
end
|
140
167
|
|
141
168
|
class PreconditionNotMetException < ServiceError
|
@@ -151,7 +178,6 @@ module Aws::SecretsManager
|
|
151
178
|
def message
|
152
179
|
@message || @data[:message]
|
153
180
|
end
|
154
|
-
|
155
181
|
end
|
156
182
|
|
157
183
|
class ResourceExistsException < ServiceError
|
@@ -167,7 +193,6 @@ module Aws::SecretsManager
|
|
167
193
|
def message
|
168
194
|
@message || @data[:message]
|
169
195
|
end
|
170
|
-
|
171
196
|
end
|
172
197
|
|
173
198
|
class ResourceNotFoundException < ServiceError
|
@@ -183,7 +208,6 @@ module Aws::SecretsManager
|
|
183
208
|
def message
|
184
209
|
@message || @data[:message]
|
185
210
|
end
|
186
|
-
|
187
211
|
end
|
188
212
|
|
189
213
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::SecretsManager
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -41,6 +43,7 @@ module Aws::SecretsManager
|
|
41
43
|
#
|
42
44
|
class CancelRotateSecretRequest < Struct.new(
|
43
45
|
:secret_id)
|
46
|
+
SENSITIVE = []
|
44
47
|
include Aws::Structure
|
45
48
|
end
|
46
49
|
|
@@ -67,6 +70,7 @@ module Aws::SecretsManager
|
|
67
70
|
:arn,
|
68
71
|
:name,
|
69
72
|
:version_id)
|
73
|
+
SENSITIVE = []
|
70
74
|
include Aws::Structure
|
71
75
|
end
|
72
76
|
|
@@ -280,6 +284,7 @@ module Aws::SecretsManager
|
|
280
284
|
:secret_binary,
|
281
285
|
:secret_string,
|
282
286
|
:tags)
|
287
|
+
SENSITIVE = [:secret_binary, :secret_string]
|
283
288
|
include Aws::Structure
|
284
289
|
end
|
285
290
|
|
@@ -312,6 +317,7 @@ module Aws::SecretsManager
|
|
312
317
|
:arn,
|
313
318
|
:name,
|
314
319
|
:version_id)
|
320
|
+
SENSITIVE = []
|
315
321
|
include Aws::Structure
|
316
322
|
end
|
317
323
|
|
@@ -325,6 +331,7 @@ module Aws::SecretsManager
|
|
325
331
|
#
|
326
332
|
class DecryptionFailure < Struct.new(
|
327
333
|
:message)
|
334
|
+
SENSITIVE = []
|
328
335
|
include Aws::Structure
|
329
336
|
end
|
330
337
|
|
@@ -361,6 +368,7 @@ module Aws::SecretsManager
|
|
361
368
|
#
|
362
369
|
class DeleteResourcePolicyRequest < Struct.new(
|
363
370
|
:secret_id)
|
371
|
+
SENSITIVE = []
|
364
372
|
include Aws::Structure
|
365
373
|
end
|
366
374
|
|
@@ -379,6 +387,7 @@ module Aws::SecretsManager
|
|
379
387
|
class DeleteResourcePolicyResponse < Struct.new(
|
380
388
|
:arn,
|
381
389
|
:name)
|
390
|
+
SENSITIVE = []
|
382
391
|
include Aws::Structure
|
383
392
|
end
|
384
393
|
|
@@ -445,6 +454,7 @@ module Aws::SecretsManager
|
|
445
454
|
:secret_id,
|
446
455
|
:recovery_window_in_days,
|
447
456
|
:force_delete_without_recovery)
|
457
|
+
SENSITIVE = []
|
448
458
|
include Aws::Structure
|
449
459
|
end
|
450
460
|
|
@@ -469,6 +479,7 @@ module Aws::SecretsManager
|
|
469
479
|
:arn,
|
470
480
|
:name,
|
471
481
|
:deletion_date)
|
482
|
+
SENSITIVE = []
|
472
483
|
include Aws::Structure
|
473
484
|
end
|
474
485
|
|
@@ -505,6 +516,7 @@ module Aws::SecretsManager
|
|
505
516
|
#
|
506
517
|
class DescribeSecretRequest < Struct.new(
|
507
518
|
:secret_id)
|
519
|
+
SENSITIVE = []
|
508
520
|
include Aws::Structure
|
509
521
|
end
|
510
522
|
|
@@ -613,6 +625,7 @@ module Aws::SecretsManager
|
|
613
625
|
:tags,
|
614
626
|
:version_ids_to_stages,
|
615
627
|
:owning_service)
|
628
|
+
SENSITIVE = []
|
616
629
|
include Aws::Structure
|
617
630
|
end
|
618
631
|
|
@@ -632,6 +645,7 @@ module Aws::SecretsManager
|
|
632
645
|
#
|
633
646
|
class EncryptionFailure < Struct.new(
|
634
647
|
:message)
|
648
|
+
SENSITIVE = []
|
635
649
|
include Aws::Structure
|
636
650
|
end
|
637
651
|
|
@@ -715,6 +729,7 @@ module Aws::SecretsManager
|
|
715
729
|
:exclude_lowercase,
|
716
730
|
:include_space,
|
717
731
|
:require_each_included_type)
|
732
|
+
SENSITIVE = []
|
718
733
|
include Aws::Structure
|
719
734
|
end
|
720
735
|
|
@@ -726,6 +741,7 @@ module Aws::SecretsManager
|
|
726
741
|
#
|
727
742
|
class GetRandomPasswordResponse < Struct.new(
|
728
743
|
:random_password)
|
744
|
+
SENSITIVE = [:random_password]
|
729
745
|
include Aws::Structure
|
730
746
|
end
|
731
747
|
|
@@ -762,6 +778,7 @@ module Aws::SecretsManager
|
|
762
778
|
#
|
763
779
|
class GetResourcePolicyRequest < Struct.new(
|
764
780
|
:secret_id)
|
781
|
+
SENSITIVE = []
|
765
782
|
include Aws::Structure
|
766
783
|
end
|
767
784
|
|
@@ -795,6 +812,7 @@ module Aws::SecretsManager
|
|
795
812
|
:arn,
|
796
813
|
:name,
|
797
814
|
:resource_policy)
|
815
|
+
SENSITIVE = []
|
798
816
|
include Aws::Structure
|
799
817
|
end
|
800
818
|
|
@@ -862,6 +880,7 @@ module Aws::SecretsManager
|
|
862
880
|
:secret_id,
|
863
881
|
:version_id,
|
864
882
|
:version_stage)
|
883
|
+
SENSITIVE = []
|
865
884
|
include Aws::Structure
|
866
885
|
end
|
867
886
|
|
@@ -930,6 +949,7 @@ module Aws::SecretsManager
|
|
930
949
|
:secret_string,
|
931
950
|
:version_stages,
|
932
951
|
:created_date)
|
952
|
+
SENSITIVE = [:secret_binary, :secret_string]
|
933
953
|
include Aws::Structure
|
934
954
|
end
|
935
955
|
|
@@ -942,6 +962,7 @@ module Aws::SecretsManager
|
|
942
962
|
#
|
943
963
|
class InternalServiceError < Struct.new(
|
944
964
|
:message)
|
965
|
+
SENSITIVE = []
|
945
966
|
include Aws::Structure
|
946
967
|
end
|
947
968
|
|
@@ -954,6 +975,7 @@ module Aws::SecretsManager
|
|
954
975
|
#
|
955
976
|
class InvalidNextTokenException < Struct.new(
|
956
977
|
:message)
|
978
|
+
SENSITIVE = []
|
957
979
|
include Aws::Structure
|
958
980
|
end
|
959
981
|
|
@@ -966,6 +988,7 @@ module Aws::SecretsManager
|
|
966
988
|
#
|
967
989
|
class InvalidParameterException < Struct.new(
|
968
990
|
:message)
|
991
|
+
SENSITIVE = []
|
969
992
|
include Aws::Structure
|
970
993
|
end
|
971
994
|
|
@@ -988,6 +1011,7 @@ module Aws::SecretsManager
|
|
988
1011
|
#
|
989
1012
|
class InvalidRequestException < Struct.new(
|
990
1013
|
:message)
|
1014
|
+
SENSITIVE = []
|
991
1015
|
include Aws::Structure
|
992
1016
|
end
|
993
1017
|
|
@@ -1001,6 +1025,7 @@ module Aws::SecretsManager
|
|
1001
1025
|
#
|
1002
1026
|
class LimitExceededException < Struct.new(
|
1003
1027
|
:message)
|
1028
|
+
SENSITIVE = []
|
1004
1029
|
include Aws::Structure
|
1005
1030
|
end
|
1006
1031
|
|
@@ -1071,6 +1096,7 @@ module Aws::SecretsManager
|
|
1071
1096
|
:max_results,
|
1072
1097
|
:next_token,
|
1073
1098
|
:include_deprecated)
|
1099
|
+
SENSITIVE = []
|
1074
1100
|
include Aws::Structure
|
1075
1101
|
end
|
1076
1102
|
|
@@ -1115,6 +1141,7 @@ module Aws::SecretsManager
|
|
1115
1141
|
:next_token,
|
1116
1142
|
:arn,
|
1117
1143
|
:name)
|
1144
|
+
SENSITIVE = []
|
1118
1145
|
include Aws::Structure
|
1119
1146
|
end
|
1120
1147
|
|
@@ -1152,6 +1179,7 @@ module Aws::SecretsManager
|
|
1152
1179
|
class ListSecretsRequest < Struct.new(
|
1153
1180
|
:max_results,
|
1154
1181
|
:next_token)
|
1182
|
+
SENSITIVE = []
|
1155
1183
|
include Aws::Structure
|
1156
1184
|
end
|
1157
1185
|
|
@@ -1175,6 +1203,7 @@ module Aws::SecretsManager
|
|
1175
1203
|
class ListSecretsResponse < Struct.new(
|
1176
1204
|
:secret_list,
|
1177
1205
|
:next_token)
|
1206
|
+
SENSITIVE = []
|
1178
1207
|
include Aws::Structure
|
1179
1208
|
end
|
1180
1209
|
|
@@ -1187,6 +1216,7 @@ module Aws::SecretsManager
|
|
1187
1216
|
#
|
1188
1217
|
class MalformedPolicyDocumentException < Struct.new(
|
1189
1218
|
:message)
|
1219
|
+
SENSITIVE = []
|
1190
1220
|
include Aws::Structure
|
1191
1221
|
end
|
1192
1222
|
|
@@ -1200,6 +1230,7 @@ module Aws::SecretsManager
|
|
1200
1230
|
#
|
1201
1231
|
class PreconditionNotMetException < Struct.new(
|
1202
1232
|
:message)
|
1233
|
+
SENSITIVE = []
|
1203
1234
|
include Aws::Structure
|
1204
1235
|
end
|
1205
1236
|
|
@@ -1251,6 +1282,7 @@ module Aws::SecretsManager
|
|
1251
1282
|
class PutResourcePolicyRequest < Struct.new(
|
1252
1283
|
:secret_id,
|
1253
1284
|
:resource_policy)
|
1285
|
+
SENSITIVE = []
|
1254
1286
|
include Aws::Structure
|
1255
1287
|
end
|
1256
1288
|
|
@@ -1269,6 +1301,7 @@ module Aws::SecretsManager
|
|
1269
1301
|
class PutResourcePolicyResponse < Struct.new(
|
1270
1302
|
:arn,
|
1271
1303
|
:name)
|
1304
|
+
SENSITIVE = []
|
1272
1305
|
include Aws::Structure
|
1273
1306
|
end
|
1274
1307
|
|
@@ -1418,6 +1451,7 @@ module Aws::SecretsManager
|
|
1418
1451
|
:secret_binary,
|
1419
1452
|
:secret_string,
|
1420
1453
|
:version_stages)
|
1454
|
+
SENSITIVE = [:secret_binary, :secret_string]
|
1421
1455
|
include Aws::Structure
|
1422
1456
|
end
|
1423
1457
|
|
@@ -1449,6 +1483,7 @@ module Aws::SecretsManager
|
|
1449
1483
|
:name,
|
1450
1484
|
:version_id,
|
1451
1485
|
:version_stages)
|
1486
|
+
SENSITIVE = []
|
1452
1487
|
include Aws::Structure
|
1453
1488
|
end
|
1454
1489
|
|
@@ -1461,6 +1496,7 @@ module Aws::SecretsManager
|
|
1461
1496
|
#
|
1462
1497
|
class ResourceExistsException < Struct.new(
|
1463
1498
|
:message)
|
1499
|
+
SENSITIVE = []
|
1464
1500
|
include Aws::Structure
|
1465
1501
|
end
|
1466
1502
|
|
@@ -1473,6 +1509,7 @@ module Aws::SecretsManager
|
|
1473
1509
|
#
|
1474
1510
|
class ResourceNotFoundException < Struct.new(
|
1475
1511
|
:message)
|
1512
|
+
SENSITIVE = []
|
1476
1513
|
include Aws::Structure
|
1477
1514
|
end
|
1478
1515
|
|
@@ -1509,6 +1546,7 @@ module Aws::SecretsManager
|
|
1509
1546
|
#
|
1510
1547
|
class RestoreSecretRequest < Struct.new(
|
1511
1548
|
:secret_id)
|
1549
|
+
SENSITIVE = []
|
1512
1550
|
include Aws::Structure
|
1513
1551
|
end
|
1514
1552
|
|
@@ -1525,6 +1563,7 @@ module Aws::SecretsManager
|
|
1525
1563
|
class RestoreSecretResponse < Struct.new(
|
1526
1564
|
:arn,
|
1527
1565
|
:name)
|
1566
|
+
SENSITIVE = []
|
1528
1567
|
include Aws::Structure
|
1529
1568
|
end
|
1530
1569
|
|
@@ -1607,6 +1646,7 @@ module Aws::SecretsManager
|
|
1607
1646
|
:client_request_token,
|
1608
1647
|
:rotation_lambda_arn,
|
1609
1648
|
:rotation_rules)
|
1649
|
+
SENSITIVE = []
|
1610
1650
|
include Aws::Structure
|
1611
1651
|
end
|
1612
1652
|
|
@@ -1629,6 +1669,7 @@ module Aws::SecretsManager
|
|
1629
1669
|
:arn,
|
1630
1670
|
:name,
|
1631
1671
|
:version_id)
|
1672
|
+
SENSITIVE = []
|
1632
1673
|
include Aws::Structure
|
1633
1674
|
end
|
1634
1675
|
|
@@ -1658,6 +1699,7 @@ module Aws::SecretsManager
|
|
1658
1699
|
#
|
1659
1700
|
class RotationRulesType < Struct.new(
|
1660
1701
|
:automatically_after_days)
|
1702
|
+
SENSITIVE = []
|
1661
1703
|
include Aws::Structure
|
1662
1704
|
end
|
1663
1705
|
|
@@ -1772,6 +1814,7 @@ module Aws::SecretsManager
|
|
1772
1814
|
:tags,
|
1773
1815
|
:secret_versions_to_stages,
|
1774
1816
|
:owning_service)
|
1817
|
+
SENSITIVE = []
|
1775
1818
|
include Aws::Structure
|
1776
1819
|
end
|
1777
1820
|
|
@@ -1803,6 +1846,7 @@ module Aws::SecretsManager
|
|
1803
1846
|
:version_stages,
|
1804
1847
|
:last_accessed_date,
|
1805
1848
|
:created_date)
|
1849
|
+
SENSITIVE = []
|
1806
1850
|
include Aws::Structure
|
1807
1851
|
end
|
1808
1852
|
|
@@ -1829,6 +1873,7 @@ module Aws::SecretsManager
|
|
1829
1873
|
class Tag < Struct.new(
|
1830
1874
|
:key,
|
1831
1875
|
:value)
|
1876
|
+
SENSITIVE = []
|
1832
1877
|
include Aws::Structure
|
1833
1878
|
end
|
1834
1879
|
|
@@ -1888,6 +1933,7 @@ module Aws::SecretsManager
|
|
1888
1933
|
class TagResourceRequest < Struct.new(
|
1889
1934
|
:secret_id,
|
1890
1935
|
:tags)
|
1936
|
+
SENSITIVE = []
|
1891
1937
|
include Aws::Structure
|
1892
1938
|
end
|
1893
1939
|
|
@@ -1941,6 +1987,7 @@ module Aws::SecretsManager
|
|
1941
1987
|
class UntagResourceRequest < Struct.new(
|
1942
1988
|
:secret_id,
|
1943
1989
|
:tag_keys)
|
1990
|
+
SENSITIVE = []
|
1944
1991
|
include Aws::Structure
|
1945
1992
|
end
|
1946
1993
|
|
@@ -2096,6 +2143,7 @@ module Aws::SecretsManager
|
|
2096
2143
|
:kms_key_id,
|
2097
2144
|
:secret_binary,
|
2098
2145
|
:secret_string)
|
2146
|
+
SENSITIVE = [:secret_binary, :secret_string]
|
2099
2147
|
include Aws::Structure
|
2100
2148
|
end
|
2101
2149
|
|
@@ -2128,6 +2176,7 @@ module Aws::SecretsManager
|
|
2128
2176
|
:arn,
|
2129
2177
|
:name,
|
2130
2178
|
:version_id)
|
2179
|
+
SENSITIVE = []
|
2131
2180
|
include Aws::Structure
|
2132
2181
|
end
|
2133
2182
|
|
@@ -2194,6 +2243,7 @@ module Aws::SecretsManager
|
|
2194
2243
|
:version_stage,
|
2195
2244
|
:remove_from_version_id,
|
2196
2245
|
:move_to_version_id)
|
2246
|
+
SENSITIVE = []
|
2197
2247
|
include Aws::Structure
|
2198
2248
|
end
|
2199
2249
|
|
@@ -2211,6 +2261,7 @@ module Aws::SecretsManager
|
|
2211
2261
|
class UpdateSecretVersionStageResponse < Struct.new(
|
2212
2262
|
:arn,
|
2213
2263
|
:name)
|
2264
|
+
SENSITIVE = []
|
2214
2265
|
include Aws::Structure
|
2215
2266
|
end
|
2216
2267
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-secretsmanager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.38.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-23 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - AWS Secrets Manager
|