aws-sdk-secretsmanager 1.81.0 → 1.95.0

Sign up to get free protection for your applications and to get access to all the features.
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.81.0
4
+ version: 1.95.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: 2023-07-13 00:00:00.000000000 Z
11
+ date: 2024-05-20 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.177.0
22
+ version: 3.193.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.177.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ 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
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-secretsmanager
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-secretsmanager/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -80,15 +85,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
85
  requirements:
81
86
  - - ">="
82
87
  - !ruby/object:Gem::Version
83
- version: '2.3'
88
+ version: '2.5'
84
89
  required_rubygems_version: !ruby/object:Gem::Requirement
85
90
  requirements:
86
91
  - - ">="
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - AWS Secrets Manager
94
99
  test_files: []