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.
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-secretsmanager/customizations'
32
32
  # structure.
33
33
  #
34
34
  # secrets_manager = Aws::SecretsManager::Client.new
35
- # resp = secrets_manager.cancel_rotate_secret(params)
35
+ # resp = secrets_manager.batch_get_secret_value(params)
36
36
  #
37
37
  # See {Client} for more information.
38
38
  #
@@ -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.81.0'
55
+ GEM_VERSION = '1.95.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