aws-sdk-secretsmanager 1.89.0 → 1.90.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 923abb0f15dbf93c43bc9b78c4e717937965e006f9b7cdd06f62e6a7e7607ee0
4
- data.tar.gz: 646436ad1fb5ea3559377f2f42fcbfacc2d99ec543467f672d959bd22e60f03e
3
+ metadata.gz: 17c1cc751557ac38b7bcb25edf7774d62491244607c803422a3a622877aba429
4
+ data.tar.gz: e2bfd21bdfc5038b3e2b9c36772127ed82576f274eef9a105403eb5f75e62140
5
5
  SHA512:
6
- metadata.gz: c499c1ef98120af158f7d307087215836e635e5a5ca293c61def398cb2755d7768efd251feab4359cea0707d5b19599ccb93b365875db30de4e50439dc9a986d
7
- data.tar.gz: 90b78a72e59b3259536b84cb542cbb9acce5078ec239d180d0ad0782ff434ffa74d572e7c0b60d268b7f0979a71cfc4975310ac532704f490dedd4bfc972c41e
6
+ metadata.gz: ad251a70575b3b2547db4f485fd5e214eb8e3a36b05fef8bbd59864bed6665eb38c4b880c42cf41dd5cade6b72a5534bca5346d62113d81fb3f6900347922fb2
7
+ data.tar.gz: 3c814692e69783f50192d409094ec3b758a975c3ac24557ad3fdfb927ed5231a10c7d5873f60a76d39d9b79db0c80fb785c89f6684ddd62260d19766771d439a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.90.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.89.0 (2024-01-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.89.0
1
+ 1.90.0
@@ -3245,7 +3245,7 @@ module Aws::SecretsManager
3245
3245
  params: params,
3246
3246
  config: config)
3247
3247
  context[:gem_name] = 'aws-sdk-secretsmanager'
3248
- context[:gem_version] = '1.89.0'
3248
+ context[:gem_version] = '1.90.0'
3249
3249
  Seahorse::Client::Request.new(handlers, context)
3250
3250
  end
3251
3251
 
@@ -14,6 +14,7 @@ module Aws::SecretsManager
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::SecretsManager::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-secretsmanager/customizations'
52
52
  # @!group service
53
53
  module Aws::SecretsManager
54
54
 
55
- GEM_VERSION = '1.89.0'
55
+ GEM_VERSION = '1.90.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,439 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SecretsManager
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _BatchGetSecretValueResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetSecretValueResponse]
78
+ def secret_values: () -> ::Array[Types::SecretValueEntry]
79
+ def next_token: () -> ::String
80
+ def errors: () -> ::Array[Types::APIErrorType]
81
+ end
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#batch_get_secret_value-instance_method
83
+ def batch_get_secret_value: (
84
+ ?secret_id_list: Array[::String],
85
+ ?filters: Array[
86
+ {
87
+ key: ("description" | "name" | "tag-key" | "tag-value" | "primary-region" | "owning-service" | "all")?,
88
+ values: Array[::String]?
89
+ },
90
+ ],
91
+ ?max_results: ::Integer,
92
+ ?next_token: ::String
93
+ ) -> _BatchGetSecretValueResponseSuccess
94
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetSecretValueResponseSuccess
95
+
96
+ interface _CancelRotateSecretResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelRotateSecretResponse]
98
+ def arn: () -> ::String
99
+ def name: () -> ::String
100
+ def version_id: () -> ::String
101
+ end
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#cancel_rotate_secret-instance_method
103
+ def cancel_rotate_secret: (
104
+ secret_id: ::String
105
+ ) -> _CancelRotateSecretResponseSuccess
106
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelRotateSecretResponseSuccess
107
+
108
+ interface _CreateSecretResponseSuccess
109
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSecretResponse]
110
+ def arn: () -> ::String
111
+ def name: () -> ::String
112
+ def version_id: () -> ::String
113
+ def replication_status: () -> ::Array[Types::ReplicationStatusType]
114
+ end
115
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#create_secret-instance_method
116
+ def create_secret: (
117
+ name: ::String,
118
+ ?client_request_token: ::String,
119
+ ?description: ::String,
120
+ ?kms_key_id: ::String,
121
+ ?secret_binary: ::String,
122
+ ?secret_string: ::String,
123
+ ?tags: Array[
124
+ {
125
+ key: ::String?,
126
+ value: ::String?
127
+ },
128
+ ],
129
+ ?add_replica_regions: Array[
130
+ {
131
+ region: ::String?,
132
+ kms_key_id: ::String?
133
+ },
134
+ ],
135
+ ?force_overwrite_replica_secret: bool
136
+ ) -> _CreateSecretResponseSuccess
137
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecretResponseSuccess
138
+
139
+ interface _DeleteResourcePolicyResponseSuccess
140
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
141
+ def arn: () -> ::String
142
+ def name: () -> ::String
143
+ end
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#delete_resource_policy-instance_method
145
+ def delete_resource_policy: (
146
+ secret_id: ::String
147
+ ) -> _DeleteResourcePolicyResponseSuccess
148
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
149
+
150
+ interface _DeleteSecretResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSecretResponse]
152
+ def arn: () -> ::String
153
+ def name: () -> ::String
154
+ def deletion_date: () -> ::Time
155
+ end
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#delete_secret-instance_method
157
+ def delete_secret: (
158
+ secret_id: ::String,
159
+ ?recovery_window_in_days: ::Integer,
160
+ ?force_delete_without_recovery: bool
161
+ ) -> _DeleteSecretResponseSuccess
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecretResponseSuccess
163
+
164
+ interface _DescribeSecretResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecretResponse]
166
+ def arn: () -> ::String
167
+ def name: () -> ::String
168
+ def description: () -> ::String
169
+ def kms_key_id: () -> ::String
170
+ def rotation_enabled: () -> bool
171
+ def rotation_lambda_arn: () -> ::String
172
+ def rotation_rules: () -> Types::RotationRulesType
173
+ def last_rotated_date: () -> ::Time
174
+ def last_changed_date: () -> ::Time
175
+ def last_accessed_date: () -> ::Time
176
+ def deleted_date: () -> ::Time
177
+ def next_rotation_date: () -> ::Time
178
+ def tags: () -> ::Array[Types::Tag]
179
+ def version_ids_to_stages: () -> ::Hash[::String, ::Array[::String]]
180
+ def owning_service: () -> ::String
181
+ def created_date: () -> ::Time
182
+ def primary_region: () -> ::String
183
+ def replication_status: () -> ::Array[Types::ReplicationStatusType]
184
+ end
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#describe_secret-instance_method
186
+ def describe_secret: (
187
+ secret_id: ::String
188
+ ) -> _DescribeSecretResponseSuccess
189
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSecretResponseSuccess
190
+
191
+ interface _GetRandomPasswordResponseSuccess
192
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRandomPasswordResponse]
193
+ def random_password: () -> ::String
194
+ end
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#get_random_password-instance_method
196
+ def get_random_password: (
197
+ ?password_length: ::Integer,
198
+ ?exclude_characters: ::String,
199
+ ?exclude_numbers: bool,
200
+ ?exclude_punctuation: bool,
201
+ ?exclude_uppercase: bool,
202
+ ?exclude_lowercase: bool,
203
+ ?include_space: bool,
204
+ ?require_each_included_type: bool
205
+ ) -> _GetRandomPasswordResponseSuccess
206
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRandomPasswordResponseSuccess
207
+
208
+ interface _GetResourcePolicyResponseSuccess
209
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
210
+ def arn: () -> ::String
211
+ def name: () -> ::String
212
+ def resource_policy: () -> ::String
213
+ end
214
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#get_resource_policy-instance_method
215
+ def get_resource_policy: (
216
+ secret_id: ::String
217
+ ) -> _GetResourcePolicyResponseSuccess
218
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
219
+
220
+ interface _GetSecretValueResponseSuccess
221
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSecretValueResponse]
222
+ def arn: () -> ::String
223
+ def name: () -> ::String
224
+ def version_id: () -> ::String
225
+ def secret_binary: () -> ::String
226
+ def secret_string: () -> ::String
227
+ def version_stages: () -> ::Array[::String]
228
+ def created_date: () -> ::Time
229
+ end
230
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#get_secret_value-instance_method
231
+ def get_secret_value: (
232
+ secret_id: ::String,
233
+ ?version_id: ::String,
234
+ ?version_stage: ::String
235
+ ) -> _GetSecretValueResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSecretValueResponseSuccess
237
+
238
+ interface _ListSecretVersionIdsResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSecretVersionIdsResponse]
240
+ def versions: () -> ::Array[Types::SecretVersionsListEntry]
241
+ def next_token: () -> ::String
242
+ def arn: () -> ::String
243
+ def name: () -> ::String
244
+ end
245
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#list_secret_version_ids-instance_method
246
+ def list_secret_version_ids: (
247
+ secret_id: ::String,
248
+ ?max_results: ::Integer,
249
+ ?next_token: ::String,
250
+ ?include_deprecated: bool
251
+ ) -> _ListSecretVersionIdsResponseSuccess
252
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecretVersionIdsResponseSuccess
253
+
254
+ interface _ListSecretsResponseSuccess
255
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSecretsResponse]
256
+ def secret_list: () -> ::Array[Types::SecretListEntry]
257
+ def next_token: () -> ::String
258
+ end
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#list_secrets-instance_method
260
+ def list_secrets: (
261
+ ?include_planned_deletion: bool,
262
+ ?max_results: ::Integer,
263
+ ?next_token: ::String,
264
+ ?filters: Array[
265
+ {
266
+ key: ("description" | "name" | "tag-key" | "tag-value" | "primary-region" | "owning-service" | "all")?,
267
+ values: Array[::String]?
268
+ },
269
+ ],
270
+ ?sort_order: ("asc" | "desc")
271
+ ) -> _ListSecretsResponseSuccess
272
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecretsResponseSuccess
273
+
274
+ interface _PutResourcePolicyResponseSuccess
275
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
276
+ def arn: () -> ::String
277
+ def name: () -> ::String
278
+ end
279
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#put_resource_policy-instance_method
280
+ def put_resource_policy: (
281
+ secret_id: ::String,
282
+ resource_policy: ::String,
283
+ ?block_public_policy: bool
284
+ ) -> _PutResourcePolicyResponseSuccess
285
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
286
+
287
+ interface _PutSecretValueResponseSuccess
288
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSecretValueResponse]
289
+ def arn: () -> ::String
290
+ def name: () -> ::String
291
+ def version_id: () -> ::String
292
+ def version_stages: () -> ::Array[::String]
293
+ end
294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#put_secret_value-instance_method
295
+ def put_secret_value: (
296
+ secret_id: ::String,
297
+ ?client_request_token: ::String,
298
+ ?secret_binary: ::String,
299
+ ?secret_string: ::String,
300
+ ?version_stages: Array[::String]
301
+ ) -> _PutSecretValueResponseSuccess
302
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSecretValueResponseSuccess
303
+
304
+ interface _RemoveRegionsFromReplicationResponseSuccess
305
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveRegionsFromReplicationResponse]
306
+ def arn: () -> ::String
307
+ def replication_status: () -> ::Array[Types::ReplicationStatusType]
308
+ end
309
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#remove_regions_from_replication-instance_method
310
+ def remove_regions_from_replication: (
311
+ secret_id: ::String,
312
+ remove_replica_regions: Array[::String]
313
+ ) -> _RemoveRegionsFromReplicationResponseSuccess
314
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveRegionsFromReplicationResponseSuccess
315
+
316
+ interface _ReplicateSecretToRegionsResponseSuccess
317
+ include ::Seahorse::Client::_ResponseSuccess[Types::ReplicateSecretToRegionsResponse]
318
+ def arn: () -> ::String
319
+ def replication_status: () -> ::Array[Types::ReplicationStatusType]
320
+ end
321
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#replicate_secret_to_regions-instance_method
322
+ def replicate_secret_to_regions: (
323
+ secret_id: ::String,
324
+ add_replica_regions: Array[
325
+ {
326
+ region: ::String?,
327
+ kms_key_id: ::String?
328
+ },
329
+ ],
330
+ ?force_overwrite_replica_secret: bool
331
+ ) -> _ReplicateSecretToRegionsResponseSuccess
332
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReplicateSecretToRegionsResponseSuccess
333
+
334
+ interface _RestoreSecretResponseSuccess
335
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreSecretResponse]
336
+ def arn: () -> ::String
337
+ def name: () -> ::String
338
+ end
339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#restore_secret-instance_method
340
+ def restore_secret: (
341
+ secret_id: ::String
342
+ ) -> _RestoreSecretResponseSuccess
343
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreSecretResponseSuccess
344
+
345
+ interface _RotateSecretResponseSuccess
346
+ include ::Seahorse::Client::_ResponseSuccess[Types::RotateSecretResponse]
347
+ def arn: () -> ::String
348
+ def name: () -> ::String
349
+ def version_id: () -> ::String
350
+ end
351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#rotate_secret-instance_method
352
+ def rotate_secret: (
353
+ secret_id: ::String,
354
+ ?client_request_token: ::String,
355
+ ?rotation_lambda_arn: ::String,
356
+ ?rotation_rules: {
357
+ automatically_after_days: ::Integer?,
358
+ duration: ::String?,
359
+ schedule_expression: ::String?
360
+ },
361
+ ?rotate_immediately: bool
362
+ ) -> _RotateSecretResponseSuccess
363
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RotateSecretResponseSuccess
364
+
365
+ interface _StopReplicationToReplicaResponseSuccess
366
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopReplicationToReplicaResponse]
367
+ def arn: () -> ::String
368
+ end
369
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#stop_replication_to_replica-instance_method
370
+ def stop_replication_to_replica: (
371
+ secret_id: ::String
372
+ ) -> _StopReplicationToReplicaResponseSuccess
373
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopReplicationToReplicaResponseSuccess
374
+
375
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#tag_resource-instance_method
376
+ def tag_resource: (
377
+ secret_id: ::String,
378
+ tags: Array[
379
+ {
380
+ key: ::String?,
381
+ value: ::String?
382
+ },
383
+ ]
384
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
385
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
386
+
387
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#untag_resource-instance_method
388
+ def untag_resource: (
389
+ secret_id: ::String,
390
+ tag_keys: Array[::String]
391
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
392
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
393
+
394
+ interface _UpdateSecretResponseSuccess
395
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSecretResponse]
396
+ def arn: () -> ::String
397
+ def name: () -> ::String
398
+ def version_id: () -> ::String
399
+ end
400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#update_secret-instance_method
401
+ def update_secret: (
402
+ secret_id: ::String,
403
+ ?client_request_token: ::String,
404
+ ?description: ::String,
405
+ ?kms_key_id: ::String,
406
+ ?secret_binary: ::String,
407
+ ?secret_string: ::String
408
+ ) -> _UpdateSecretResponseSuccess
409
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecretResponseSuccess
410
+
411
+ interface _UpdateSecretVersionStageResponseSuccess
412
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSecretVersionStageResponse]
413
+ def arn: () -> ::String
414
+ def name: () -> ::String
415
+ end
416
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#update_secret_version_stage-instance_method
417
+ def update_secret_version_stage: (
418
+ secret_id: ::String,
419
+ version_stage: ::String,
420
+ ?remove_from_version_id: ::String,
421
+ ?move_to_version_id: ::String
422
+ ) -> _UpdateSecretVersionStageResponseSuccess
423
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecretVersionStageResponseSuccess
424
+
425
+ interface _ValidateResourcePolicyResponseSuccess
426
+ include ::Seahorse::Client::_ResponseSuccess[Types::ValidateResourcePolicyResponse]
427
+ def policy_validation_passed: () -> bool
428
+ def validation_errors: () -> ::Array[Types::ValidationErrorsEntry]
429
+ end
430
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#validate_resource_policy-instance_method
431
+ def validate_resource_policy: (
432
+ ?secret_id: ::String,
433
+ resource_policy: ::String
434
+ ) -> _ValidateResourcePolicyResponseSuccess
435
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateResourcePolicyResponseSuccess
436
+ end
437
+ end
438
+ end
439
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,52 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SecretsManager
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class DecryptionFailure < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class EncryptionFailure < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class InternalServiceError < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class InvalidNextTokenException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class InvalidParameterException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class InvalidRequestException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class LimitExceededException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ class MalformedPolicyDocumentException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ end
38
+ class PreconditionNotMetException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ end
41
+ class PublicPolicyException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ end
44
+ class ResourceExistsException < ::Aws::Errors::ServiceError
45
+ def message: () -> ::String
46
+ end
47
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
48
+ def message: () -> ::String
49
+ end
50
+ end
51
+ end
52
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SecretsManager
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,484 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::SecretsManager
9
+ module Types
10
+
11
+ class APIErrorType
12
+ attr_accessor secret_id: ::String
13
+ attr_accessor error_code: ::String
14
+ attr_accessor message: ::String
15
+ SENSITIVE: []
16
+ end
17
+
18
+ class BatchGetSecretValueRequest
19
+ attr_accessor secret_id_list: ::Array[::String]
20
+ attr_accessor filters: ::Array[Types::Filter]
21
+ attr_accessor max_results: ::Integer
22
+ attr_accessor next_token: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class BatchGetSecretValueResponse
27
+ attr_accessor secret_values: ::Array[Types::SecretValueEntry]
28
+ attr_accessor next_token: ::String
29
+ attr_accessor errors: ::Array[Types::APIErrorType]
30
+ SENSITIVE: []
31
+ end
32
+
33
+ class CancelRotateSecretRequest
34
+ attr_accessor secret_id: ::String
35
+ SENSITIVE: []
36
+ end
37
+
38
+ class CancelRotateSecretResponse
39
+ attr_accessor arn: ::String
40
+ attr_accessor name: ::String
41
+ attr_accessor version_id: ::String
42
+ SENSITIVE: []
43
+ end
44
+
45
+ class CreateSecretRequest
46
+ attr_accessor name: ::String
47
+ attr_accessor client_request_token: ::String
48
+ attr_accessor description: ::String
49
+ attr_accessor kms_key_id: ::String
50
+ attr_accessor secret_binary: ::String
51
+ attr_accessor secret_string: ::String
52
+ attr_accessor tags: ::Array[Types::Tag]
53
+ attr_accessor add_replica_regions: ::Array[Types::ReplicaRegionType]
54
+ attr_accessor force_overwrite_replica_secret: bool
55
+ SENSITIVE: [:secret_binary, :secret_string]
56
+ end
57
+
58
+ class CreateSecretResponse
59
+ attr_accessor arn: ::String
60
+ attr_accessor name: ::String
61
+ attr_accessor version_id: ::String
62
+ attr_accessor replication_status: ::Array[Types::ReplicationStatusType]
63
+ SENSITIVE: []
64
+ end
65
+
66
+ class DecryptionFailure
67
+ attr_accessor message: ::String
68
+ SENSITIVE: []
69
+ end
70
+
71
+ class DeleteResourcePolicyRequest
72
+ attr_accessor secret_id: ::String
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class DeleteResourcePolicyResponse
77
+ attr_accessor arn: ::String
78
+ attr_accessor name: ::String
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class DeleteSecretRequest
83
+ attr_accessor secret_id: ::String
84
+ attr_accessor recovery_window_in_days: ::Integer
85
+ attr_accessor force_delete_without_recovery: bool
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class DeleteSecretResponse
90
+ attr_accessor arn: ::String
91
+ attr_accessor name: ::String
92
+ attr_accessor deletion_date: ::Time
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class DescribeSecretRequest
97
+ attr_accessor secret_id: ::String
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class DescribeSecretResponse
102
+ attr_accessor arn: ::String
103
+ attr_accessor name: ::String
104
+ attr_accessor description: ::String
105
+ attr_accessor kms_key_id: ::String
106
+ attr_accessor rotation_enabled: bool
107
+ attr_accessor rotation_lambda_arn: ::String
108
+ attr_accessor rotation_rules: Types::RotationRulesType
109
+ attr_accessor last_rotated_date: ::Time
110
+ attr_accessor last_changed_date: ::Time
111
+ attr_accessor last_accessed_date: ::Time
112
+ attr_accessor deleted_date: ::Time
113
+ attr_accessor next_rotation_date: ::Time
114
+ attr_accessor tags: ::Array[Types::Tag]
115
+ attr_accessor version_ids_to_stages: ::Hash[::String, ::Array[::String]]
116
+ attr_accessor owning_service: ::String
117
+ attr_accessor created_date: ::Time
118
+ attr_accessor primary_region: ::String
119
+ attr_accessor replication_status: ::Array[Types::ReplicationStatusType]
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class EncryptionFailure
124
+ attr_accessor message: ::String
125
+ SENSITIVE: []
126
+ end
127
+
128
+ class Filter
129
+ attr_accessor key: ("description" | "name" | "tag-key" | "tag-value" | "primary-region" | "owning-service" | "all")
130
+ attr_accessor values: ::Array[::String]
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class GetRandomPasswordRequest
135
+ attr_accessor password_length: ::Integer
136
+ attr_accessor exclude_characters: ::String
137
+ attr_accessor exclude_numbers: bool
138
+ attr_accessor exclude_punctuation: bool
139
+ attr_accessor exclude_uppercase: bool
140
+ attr_accessor exclude_lowercase: bool
141
+ attr_accessor include_space: bool
142
+ attr_accessor require_each_included_type: bool
143
+ SENSITIVE: []
144
+ end
145
+
146
+ class GetRandomPasswordResponse
147
+ attr_accessor random_password: ::String
148
+ SENSITIVE: [:random_password]
149
+ end
150
+
151
+ class GetResourcePolicyRequest
152
+ attr_accessor secret_id: ::String
153
+ SENSITIVE: []
154
+ end
155
+
156
+ class GetResourcePolicyResponse
157
+ attr_accessor arn: ::String
158
+ attr_accessor name: ::String
159
+ attr_accessor resource_policy: ::String
160
+ SENSITIVE: []
161
+ end
162
+
163
+ class GetSecretValueRequest
164
+ attr_accessor secret_id: ::String
165
+ attr_accessor version_id: ::String
166
+ attr_accessor version_stage: ::String
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class GetSecretValueResponse
171
+ attr_accessor arn: ::String
172
+ attr_accessor name: ::String
173
+ attr_accessor version_id: ::String
174
+ attr_accessor secret_binary: ::String
175
+ attr_accessor secret_string: ::String
176
+ attr_accessor version_stages: ::Array[::String]
177
+ attr_accessor created_date: ::Time
178
+ SENSITIVE: [:secret_binary, :secret_string]
179
+ end
180
+
181
+ class InternalServiceError
182
+ attr_accessor message: ::String
183
+ SENSITIVE: []
184
+ end
185
+
186
+ class InvalidNextTokenException
187
+ attr_accessor message: ::String
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class InvalidParameterException
192
+ attr_accessor message: ::String
193
+ SENSITIVE: []
194
+ end
195
+
196
+ class InvalidRequestException
197
+ attr_accessor message: ::String
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class LimitExceededException
202
+ attr_accessor message: ::String
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class ListSecretVersionIdsRequest
207
+ attr_accessor secret_id: ::String
208
+ attr_accessor max_results: ::Integer
209
+ attr_accessor next_token: ::String
210
+ attr_accessor include_deprecated: bool
211
+ SENSITIVE: []
212
+ end
213
+
214
+ class ListSecretVersionIdsResponse
215
+ attr_accessor versions: ::Array[Types::SecretVersionsListEntry]
216
+ attr_accessor next_token: ::String
217
+ attr_accessor arn: ::String
218
+ attr_accessor name: ::String
219
+ SENSITIVE: []
220
+ end
221
+
222
+ class ListSecretsRequest
223
+ attr_accessor include_planned_deletion: bool
224
+ attr_accessor max_results: ::Integer
225
+ attr_accessor next_token: ::String
226
+ attr_accessor filters: ::Array[Types::Filter]
227
+ attr_accessor sort_order: ("asc" | "desc")
228
+ SENSITIVE: []
229
+ end
230
+
231
+ class ListSecretsResponse
232
+ attr_accessor secret_list: ::Array[Types::SecretListEntry]
233
+ attr_accessor next_token: ::String
234
+ SENSITIVE: []
235
+ end
236
+
237
+ class MalformedPolicyDocumentException
238
+ attr_accessor message: ::String
239
+ SENSITIVE: []
240
+ end
241
+
242
+ class PreconditionNotMetException
243
+ attr_accessor message: ::String
244
+ SENSITIVE: []
245
+ end
246
+
247
+ class PublicPolicyException
248
+ attr_accessor message: ::String
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class PutResourcePolicyRequest
253
+ attr_accessor secret_id: ::String
254
+ attr_accessor resource_policy: ::String
255
+ attr_accessor block_public_policy: bool
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class PutResourcePolicyResponse
260
+ attr_accessor arn: ::String
261
+ attr_accessor name: ::String
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class PutSecretValueRequest
266
+ attr_accessor secret_id: ::String
267
+ attr_accessor client_request_token: ::String
268
+ attr_accessor secret_binary: ::String
269
+ attr_accessor secret_string: ::String
270
+ attr_accessor version_stages: ::Array[::String]
271
+ SENSITIVE: [:secret_binary, :secret_string]
272
+ end
273
+
274
+ class PutSecretValueResponse
275
+ attr_accessor arn: ::String
276
+ attr_accessor name: ::String
277
+ attr_accessor version_id: ::String
278
+ attr_accessor version_stages: ::Array[::String]
279
+ SENSITIVE: []
280
+ end
281
+
282
+ class RemoveRegionsFromReplicationRequest
283
+ attr_accessor secret_id: ::String
284
+ attr_accessor remove_replica_regions: ::Array[::String]
285
+ SENSITIVE: []
286
+ end
287
+
288
+ class RemoveRegionsFromReplicationResponse
289
+ attr_accessor arn: ::String
290
+ attr_accessor replication_status: ::Array[Types::ReplicationStatusType]
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class ReplicaRegionType
295
+ attr_accessor region: ::String
296
+ attr_accessor kms_key_id: ::String
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class ReplicateSecretToRegionsRequest
301
+ attr_accessor secret_id: ::String
302
+ attr_accessor add_replica_regions: ::Array[Types::ReplicaRegionType]
303
+ attr_accessor force_overwrite_replica_secret: bool
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class ReplicateSecretToRegionsResponse
308
+ attr_accessor arn: ::String
309
+ attr_accessor replication_status: ::Array[Types::ReplicationStatusType]
310
+ SENSITIVE: []
311
+ end
312
+
313
+ class ReplicationStatusType
314
+ attr_accessor region: ::String
315
+ attr_accessor kms_key_id: ::String
316
+ attr_accessor status: ("InSync" | "Failed" | "InProgress")
317
+ attr_accessor status_message: ::String
318
+ attr_accessor last_accessed_date: ::Time
319
+ SENSITIVE: []
320
+ end
321
+
322
+ class ResourceExistsException
323
+ attr_accessor message: ::String
324
+ SENSITIVE: []
325
+ end
326
+
327
+ class ResourceNotFoundException
328
+ attr_accessor message: ::String
329
+ SENSITIVE: []
330
+ end
331
+
332
+ class RestoreSecretRequest
333
+ attr_accessor secret_id: ::String
334
+ SENSITIVE: []
335
+ end
336
+
337
+ class RestoreSecretResponse
338
+ attr_accessor arn: ::String
339
+ attr_accessor name: ::String
340
+ SENSITIVE: []
341
+ end
342
+
343
+ class RotateSecretRequest
344
+ attr_accessor secret_id: ::String
345
+ attr_accessor client_request_token: ::String
346
+ attr_accessor rotation_lambda_arn: ::String
347
+ attr_accessor rotation_rules: Types::RotationRulesType
348
+ attr_accessor rotate_immediately: bool
349
+ SENSITIVE: []
350
+ end
351
+
352
+ class RotateSecretResponse
353
+ attr_accessor arn: ::String
354
+ attr_accessor name: ::String
355
+ attr_accessor version_id: ::String
356
+ SENSITIVE: []
357
+ end
358
+
359
+ class RotationRulesType
360
+ attr_accessor automatically_after_days: ::Integer
361
+ attr_accessor duration: ::String
362
+ attr_accessor schedule_expression: ::String
363
+ SENSITIVE: []
364
+ end
365
+
366
+ class SecretListEntry
367
+ attr_accessor arn: ::String
368
+ attr_accessor name: ::String
369
+ attr_accessor description: ::String
370
+ attr_accessor kms_key_id: ::String
371
+ attr_accessor rotation_enabled: bool
372
+ attr_accessor rotation_lambda_arn: ::String
373
+ attr_accessor rotation_rules: Types::RotationRulesType
374
+ attr_accessor last_rotated_date: ::Time
375
+ attr_accessor last_changed_date: ::Time
376
+ attr_accessor last_accessed_date: ::Time
377
+ attr_accessor deleted_date: ::Time
378
+ attr_accessor next_rotation_date: ::Time
379
+ attr_accessor tags: ::Array[Types::Tag]
380
+ attr_accessor secret_versions_to_stages: ::Hash[::String, ::Array[::String]]
381
+ attr_accessor owning_service: ::String
382
+ attr_accessor created_date: ::Time
383
+ attr_accessor primary_region: ::String
384
+ SENSITIVE: []
385
+ end
386
+
387
+ class SecretValueEntry
388
+ attr_accessor arn: ::String
389
+ attr_accessor name: ::String
390
+ attr_accessor version_id: ::String
391
+ attr_accessor secret_binary: ::String
392
+ attr_accessor secret_string: ::String
393
+ attr_accessor version_stages: ::Array[::String]
394
+ attr_accessor created_date: ::Time
395
+ SENSITIVE: [:secret_binary, :secret_string]
396
+ end
397
+
398
+ class SecretVersionsListEntry
399
+ attr_accessor version_id: ::String
400
+ attr_accessor version_stages: ::Array[::String]
401
+ attr_accessor last_accessed_date: ::Time
402
+ attr_accessor created_date: ::Time
403
+ attr_accessor kms_key_ids: ::Array[::String]
404
+ SENSITIVE: []
405
+ end
406
+
407
+ class StopReplicationToReplicaRequest
408
+ attr_accessor secret_id: ::String
409
+ SENSITIVE: []
410
+ end
411
+
412
+ class StopReplicationToReplicaResponse
413
+ attr_accessor arn: ::String
414
+ SENSITIVE: []
415
+ end
416
+
417
+ class Tag
418
+ attr_accessor key: ::String
419
+ attr_accessor value: ::String
420
+ SENSITIVE: []
421
+ end
422
+
423
+ class TagResourceRequest
424
+ attr_accessor secret_id: ::String
425
+ attr_accessor tags: ::Array[Types::Tag]
426
+ SENSITIVE: []
427
+ end
428
+
429
+ class UntagResourceRequest
430
+ attr_accessor secret_id: ::String
431
+ attr_accessor tag_keys: ::Array[::String]
432
+ SENSITIVE: []
433
+ end
434
+
435
+ class UpdateSecretRequest
436
+ attr_accessor secret_id: ::String
437
+ attr_accessor client_request_token: ::String
438
+ attr_accessor description: ::String
439
+ attr_accessor kms_key_id: ::String
440
+ attr_accessor secret_binary: ::String
441
+ attr_accessor secret_string: ::String
442
+ SENSITIVE: [:secret_binary, :secret_string]
443
+ end
444
+
445
+ class UpdateSecretResponse
446
+ attr_accessor arn: ::String
447
+ attr_accessor name: ::String
448
+ attr_accessor version_id: ::String
449
+ SENSITIVE: []
450
+ end
451
+
452
+ class UpdateSecretVersionStageRequest
453
+ attr_accessor secret_id: ::String
454
+ attr_accessor version_stage: ::String
455
+ attr_accessor remove_from_version_id: ::String
456
+ attr_accessor move_to_version_id: ::String
457
+ SENSITIVE: []
458
+ end
459
+
460
+ class UpdateSecretVersionStageResponse
461
+ attr_accessor arn: ::String
462
+ attr_accessor name: ::String
463
+ SENSITIVE: []
464
+ end
465
+
466
+ class ValidateResourcePolicyRequest
467
+ attr_accessor secret_id: ::String
468
+ attr_accessor resource_policy: ::String
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class ValidateResourcePolicyResponse
473
+ attr_accessor policy_validation_passed: bool
474
+ attr_accessor validation_errors: ::Array[Types::ValidationErrorsEntry]
475
+ SENSITIVE: []
476
+ end
477
+
478
+ class ValidationErrorsEntry
479
+ attr_accessor check_name: ::String
480
+ attr_accessor error_message: ::String
481
+ SENSITIVE: []
482
+ end
483
+ end
484
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SecretsManager
10
+ module Waiters
11
+ end
12
+ end
13
+ end
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.89.0
4
+ version: 1.90.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: 2024-01-11 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,11 @@ files:
66
66
  - lib/aws-sdk-secretsmanager/plugins/endpoints.rb
67
67
  - lib/aws-sdk-secretsmanager/resource.rb
68
68
  - lib/aws-sdk-secretsmanager/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0