aws-sdk-secretsmanager 1.31.0 → 1.113.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.
data/sig/types.rbs ADDED
@@ -0,0 +1,485 @@
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
+ attr_accessor rotation_token: ::String
272
+ SENSITIVE: [:secret_binary, :secret_string, :rotation_token]
273
+ end
274
+
275
+ class PutSecretValueResponse
276
+ attr_accessor arn: ::String
277
+ attr_accessor name: ::String
278
+ attr_accessor version_id: ::String
279
+ attr_accessor version_stages: ::Array[::String]
280
+ SENSITIVE: []
281
+ end
282
+
283
+ class RemoveRegionsFromReplicationRequest
284
+ attr_accessor secret_id: ::String
285
+ attr_accessor remove_replica_regions: ::Array[::String]
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class RemoveRegionsFromReplicationResponse
290
+ attr_accessor arn: ::String
291
+ attr_accessor replication_status: ::Array[Types::ReplicationStatusType]
292
+ SENSITIVE: []
293
+ end
294
+
295
+ class ReplicaRegionType
296
+ attr_accessor region: ::String
297
+ attr_accessor kms_key_id: ::String
298
+ SENSITIVE: []
299
+ end
300
+
301
+ class ReplicateSecretToRegionsRequest
302
+ attr_accessor secret_id: ::String
303
+ attr_accessor add_replica_regions: ::Array[Types::ReplicaRegionType]
304
+ attr_accessor force_overwrite_replica_secret: bool
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class ReplicateSecretToRegionsResponse
309
+ attr_accessor arn: ::String
310
+ attr_accessor replication_status: ::Array[Types::ReplicationStatusType]
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class ReplicationStatusType
315
+ attr_accessor region: ::String
316
+ attr_accessor kms_key_id: ::String
317
+ attr_accessor status: ("InSync" | "Failed" | "InProgress")
318
+ attr_accessor status_message: ::String
319
+ attr_accessor last_accessed_date: ::Time
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class ResourceExistsException
324
+ attr_accessor message: ::String
325
+ SENSITIVE: []
326
+ end
327
+
328
+ class ResourceNotFoundException
329
+ attr_accessor message: ::String
330
+ SENSITIVE: []
331
+ end
332
+
333
+ class RestoreSecretRequest
334
+ attr_accessor secret_id: ::String
335
+ SENSITIVE: []
336
+ end
337
+
338
+ class RestoreSecretResponse
339
+ attr_accessor arn: ::String
340
+ attr_accessor name: ::String
341
+ SENSITIVE: []
342
+ end
343
+
344
+ class RotateSecretRequest
345
+ attr_accessor secret_id: ::String
346
+ attr_accessor client_request_token: ::String
347
+ attr_accessor rotation_lambda_arn: ::String
348
+ attr_accessor rotation_rules: Types::RotationRulesType
349
+ attr_accessor rotate_immediately: bool
350
+ SENSITIVE: []
351
+ end
352
+
353
+ class RotateSecretResponse
354
+ attr_accessor arn: ::String
355
+ attr_accessor name: ::String
356
+ attr_accessor version_id: ::String
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class RotationRulesType
361
+ attr_accessor automatically_after_days: ::Integer
362
+ attr_accessor duration: ::String
363
+ attr_accessor schedule_expression: ::String
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class SecretListEntry
368
+ attr_accessor arn: ::String
369
+ attr_accessor name: ::String
370
+ attr_accessor description: ::String
371
+ attr_accessor kms_key_id: ::String
372
+ attr_accessor rotation_enabled: bool
373
+ attr_accessor rotation_lambda_arn: ::String
374
+ attr_accessor rotation_rules: Types::RotationRulesType
375
+ attr_accessor last_rotated_date: ::Time
376
+ attr_accessor last_changed_date: ::Time
377
+ attr_accessor last_accessed_date: ::Time
378
+ attr_accessor deleted_date: ::Time
379
+ attr_accessor next_rotation_date: ::Time
380
+ attr_accessor tags: ::Array[Types::Tag]
381
+ attr_accessor secret_versions_to_stages: ::Hash[::String, ::Array[::String]]
382
+ attr_accessor owning_service: ::String
383
+ attr_accessor created_date: ::Time
384
+ attr_accessor primary_region: ::String
385
+ SENSITIVE: []
386
+ end
387
+
388
+ class SecretValueEntry
389
+ attr_accessor arn: ::String
390
+ attr_accessor name: ::String
391
+ attr_accessor version_id: ::String
392
+ attr_accessor secret_binary: ::String
393
+ attr_accessor secret_string: ::String
394
+ attr_accessor version_stages: ::Array[::String]
395
+ attr_accessor created_date: ::Time
396
+ SENSITIVE: [:secret_binary, :secret_string]
397
+ end
398
+
399
+ class SecretVersionsListEntry
400
+ attr_accessor version_id: ::String
401
+ attr_accessor version_stages: ::Array[::String]
402
+ attr_accessor last_accessed_date: ::Time
403
+ attr_accessor created_date: ::Time
404
+ attr_accessor kms_key_ids: ::Array[::String]
405
+ SENSITIVE: []
406
+ end
407
+
408
+ class StopReplicationToReplicaRequest
409
+ attr_accessor secret_id: ::String
410
+ SENSITIVE: []
411
+ end
412
+
413
+ class StopReplicationToReplicaResponse
414
+ attr_accessor arn: ::String
415
+ SENSITIVE: []
416
+ end
417
+
418
+ class Tag
419
+ attr_accessor key: ::String
420
+ attr_accessor value: ::String
421
+ SENSITIVE: []
422
+ end
423
+
424
+ class TagResourceRequest
425
+ attr_accessor secret_id: ::String
426
+ attr_accessor tags: ::Array[Types::Tag]
427
+ SENSITIVE: []
428
+ end
429
+
430
+ class UntagResourceRequest
431
+ attr_accessor secret_id: ::String
432
+ attr_accessor tag_keys: ::Array[::String]
433
+ SENSITIVE: []
434
+ end
435
+
436
+ class UpdateSecretRequest
437
+ attr_accessor secret_id: ::String
438
+ attr_accessor client_request_token: ::String
439
+ attr_accessor description: ::String
440
+ attr_accessor kms_key_id: ::String
441
+ attr_accessor secret_binary: ::String
442
+ attr_accessor secret_string: ::String
443
+ SENSITIVE: [:secret_binary, :secret_string]
444
+ end
445
+
446
+ class UpdateSecretResponse
447
+ attr_accessor arn: ::String
448
+ attr_accessor name: ::String
449
+ attr_accessor version_id: ::String
450
+ SENSITIVE: []
451
+ end
452
+
453
+ class UpdateSecretVersionStageRequest
454
+ attr_accessor secret_id: ::String
455
+ attr_accessor version_stage: ::String
456
+ attr_accessor remove_from_version_id: ::String
457
+ attr_accessor move_to_version_id: ::String
458
+ SENSITIVE: []
459
+ end
460
+
461
+ class UpdateSecretVersionStageResponse
462
+ attr_accessor arn: ::String
463
+ attr_accessor name: ::String
464
+ SENSITIVE: []
465
+ end
466
+
467
+ class ValidateResourcePolicyRequest
468
+ attr_accessor secret_id: ::String
469
+ attr_accessor resource_policy: ::String
470
+ SENSITIVE: []
471
+ end
472
+
473
+ class ValidateResourcePolicyResponse
474
+ attr_accessor policy_validation_passed: bool
475
+ attr_accessor validation_errors: ::Array[Types::ValidationErrorsEntry]
476
+ SENSITIVE: []
477
+ end
478
+
479
+ class ValidationErrorsEntry
480
+ attr_accessor check_name: ::String
481
+ attr_accessor error_message: ::String
482
+ SENSITIVE: []
483
+ end
484
+ end
485
+ 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.31.0
4
+ version: 1.113.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-25 00:00:00.000000000 Z
11
+ date: 2025-02-18 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.61.1
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,43 +29,55 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.61.1
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for AWS Secrets Manager. This gem is part of the
48
48
  AWS SDK for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-secretsmanager.rb
56
59
  - lib/aws-sdk-secretsmanager/client.rb
57
60
  - lib/aws-sdk-secretsmanager/client_api.rb
58
61
  - lib/aws-sdk-secretsmanager/customizations.rb
62
+ - lib/aws-sdk-secretsmanager/endpoint_parameters.rb
63
+ - lib/aws-sdk-secretsmanager/endpoint_provider.rb
64
+ - lib/aws-sdk-secretsmanager/endpoints.rb
59
65
  - lib/aws-sdk-secretsmanager/errors.rb
66
+ - lib/aws-sdk-secretsmanager/plugins/endpoints.rb
60
67
  - lib/aws-sdk-secretsmanager/resource.rb
61
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
62
74
  homepage: https://github.com/aws/aws-sdk-ruby
63
75
  licenses:
64
76
  - Apache-2.0
65
77
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-secretsmanager
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-secretsmanager/CHANGELOG.md
68
- post_install_message:
78
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-secretsmanager
79
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-secretsmanager/CHANGELOG.md
80
+ post_install_message:
69
81
  rdoc_options: []
70
82
  require_paths:
71
83
  - lib
@@ -73,16 +85,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
85
  requirements:
74
86
  - - ">="
75
87
  - !ruby/object:Gem::Version
76
- version: '0'
88
+ version: '2.5'
77
89
  required_rubygems_version: !ruby/object:Gem::Requirement
78
90
  requirements:
79
91
  - - ">="
80
92
  - !ruby/object:Gem::Version
81
93
  version: '0'
82
94
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.5.2.3
85
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
86
97
  specification_version: 4
87
98
  summary: AWS SDK for Ruby - AWS Secrets Manager
88
99
  test_files: []