aws-sdk-secretsmanager 1.84.0 → 1.110.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,443 @@
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
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?client_side_monitoring: bool,
22
+ ?client_side_monitoring_client_id: String,
23
+ ?client_side_monitoring_host: String,
24
+ ?client_side_monitoring_port: Integer,
25
+ ?client_side_monitoring_publisher: untyped,
26
+ ?convert_params: bool,
27
+ ?correct_clock_skew: bool,
28
+ ?defaults_mode: String,
29
+ ?disable_host_prefix_injection: bool,
30
+ ?disable_request_compression: bool,
31
+ ?endpoint: String,
32
+ ?endpoint_cache_max_entries: Integer,
33
+ ?endpoint_cache_max_threads: Integer,
34
+ ?endpoint_cache_poll_interval: Integer,
35
+ ?endpoint_discovery: bool,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?log_formatter: untyped,
38
+ ?log_level: Symbol,
39
+ ?logger: untyped,
40
+ ?max_attempts: Integer,
41
+ ?profile: String,
42
+ ?request_min_compression_size_bytes: Integer,
43
+ ?retry_backoff: Proc,
44
+ ?retry_base_delay: Float,
45
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
46
+ ?retry_limit: Integer,
47
+ ?retry_max_delay: Integer,
48
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
49
+ ?sdk_ua_app_id: String,
50
+ ?secret_access_key: String,
51
+ ?session_token: String,
52
+ ?sigv4a_signing_region_set: Array[String],
53
+ ?simple_json: bool,
54
+ ?stub_responses: untyped,
55
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
56
+ ?token_provider: untyped,
57
+ ?use_dualstack_endpoint: bool,
58
+ ?use_fips_endpoint: bool,
59
+ ?validate_params: bool,
60
+ ?endpoint_provider: untyped,
61
+ ?http_proxy: String,
62
+ ?http_open_timeout: (Float | Integer),
63
+ ?http_read_timeout: (Float | Integer),
64
+ ?http_idle_timeout: (Float | Integer),
65
+ ?http_continue_timeout: (Float | Integer),
66
+ ?ssl_timeout: (Float | Integer | nil),
67
+ ?http_wire_trace: bool,
68
+ ?ssl_verify_peer: bool,
69
+ ?ssl_ca_bundle: String,
70
+ ?ssl_ca_directory: String,
71
+ ?ssl_ca_store: String,
72
+ ?on_chunk_received: Proc,
73
+ ?on_chunk_sent: Proc,
74
+ ?raise_response_errors: bool
75
+ ) -> instance
76
+ | (?Hash[Symbol, untyped]) -> instance
77
+
78
+
79
+ interface _BatchGetSecretValueResponseSuccess
80
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetSecretValueResponse]
81
+ def secret_values: () -> ::Array[Types::SecretValueEntry]
82
+ def next_token: () -> ::String
83
+ def errors: () -> ::Array[Types::APIErrorType]
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#batch_get_secret_value-instance_method
86
+ def batch_get_secret_value: (
87
+ ?secret_id_list: Array[::String],
88
+ ?filters: Array[
89
+ {
90
+ key: ("description" | "name" | "tag-key" | "tag-value" | "primary-region" | "owning-service" | "all")?,
91
+ values: Array[::String]?
92
+ },
93
+ ],
94
+ ?max_results: ::Integer,
95
+ ?next_token: ::String
96
+ ) -> _BatchGetSecretValueResponseSuccess
97
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetSecretValueResponseSuccess
98
+
99
+ interface _CancelRotateSecretResponseSuccess
100
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelRotateSecretResponse]
101
+ def arn: () -> ::String
102
+ def name: () -> ::String
103
+ def version_id: () -> ::String
104
+ end
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#cancel_rotate_secret-instance_method
106
+ def cancel_rotate_secret: (
107
+ secret_id: ::String
108
+ ) -> _CancelRotateSecretResponseSuccess
109
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelRotateSecretResponseSuccess
110
+
111
+ interface _CreateSecretResponseSuccess
112
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSecretResponse]
113
+ def arn: () -> ::String
114
+ def name: () -> ::String
115
+ def version_id: () -> ::String
116
+ def replication_status: () -> ::Array[Types::ReplicationStatusType]
117
+ end
118
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#create_secret-instance_method
119
+ def create_secret: (
120
+ name: ::String,
121
+ ?client_request_token: ::String,
122
+ ?description: ::String,
123
+ ?kms_key_id: ::String,
124
+ ?secret_binary: ::String,
125
+ ?secret_string: ::String,
126
+ ?tags: Array[
127
+ {
128
+ key: ::String?,
129
+ value: ::String?
130
+ },
131
+ ],
132
+ ?add_replica_regions: Array[
133
+ {
134
+ region: ::String?,
135
+ kms_key_id: ::String?
136
+ },
137
+ ],
138
+ ?force_overwrite_replica_secret: bool
139
+ ) -> _CreateSecretResponseSuccess
140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecretResponseSuccess
141
+
142
+ interface _DeleteResourcePolicyResponseSuccess
143
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourcePolicyResponse]
144
+ def arn: () -> ::String
145
+ def name: () -> ::String
146
+ end
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#delete_resource_policy-instance_method
148
+ def delete_resource_policy: (
149
+ secret_id: ::String
150
+ ) -> _DeleteResourcePolicyResponseSuccess
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourcePolicyResponseSuccess
152
+
153
+ interface _DeleteSecretResponseSuccess
154
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSecretResponse]
155
+ def arn: () -> ::String
156
+ def name: () -> ::String
157
+ def deletion_date: () -> ::Time
158
+ end
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#delete_secret-instance_method
160
+ def delete_secret: (
161
+ secret_id: ::String,
162
+ ?recovery_window_in_days: ::Integer,
163
+ ?force_delete_without_recovery: bool
164
+ ) -> _DeleteSecretResponseSuccess
165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecretResponseSuccess
166
+
167
+ interface _DescribeSecretResponseSuccess
168
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecretResponse]
169
+ def arn: () -> ::String
170
+ def name: () -> ::String
171
+ def description: () -> ::String
172
+ def kms_key_id: () -> ::String
173
+ def rotation_enabled: () -> bool
174
+ def rotation_lambda_arn: () -> ::String
175
+ def rotation_rules: () -> Types::RotationRulesType
176
+ def last_rotated_date: () -> ::Time
177
+ def last_changed_date: () -> ::Time
178
+ def last_accessed_date: () -> ::Time
179
+ def deleted_date: () -> ::Time
180
+ def next_rotation_date: () -> ::Time
181
+ def tags: () -> ::Array[Types::Tag]
182
+ def version_ids_to_stages: () -> ::Hash[::String, ::Array[::String]]
183
+ def owning_service: () -> ::String
184
+ def created_date: () -> ::Time
185
+ def primary_region: () -> ::String
186
+ def replication_status: () -> ::Array[Types::ReplicationStatusType]
187
+ end
188
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#describe_secret-instance_method
189
+ def describe_secret: (
190
+ secret_id: ::String
191
+ ) -> _DescribeSecretResponseSuccess
192
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSecretResponseSuccess
193
+
194
+ interface _GetRandomPasswordResponseSuccess
195
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRandomPasswordResponse]
196
+ def random_password: () -> ::String
197
+ end
198
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#get_random_password-instance_method
199
+ def get_random_password: (
200
+ ?password_length: ::Integer,
201
+ ?exclude_characters: ::String,
202
+ ?exclude_numbers: bool,
203
+ ?exclude_punctuation: bool,
204
+ ?exclude_uppercase: bool,
205
+ ?exclude_lowercase: bool,
206
+ ?include_space: bool,
207
+ ?require_each_included_type: bool
208
+ ) -> _GetRandomPasswordResponseSuccess
209
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRandomPasswordResponseSuccess
210
+
211
+ interface _GetResourcePolicyResponseSuccess
212
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
213
+ def arn: () -> ::String
214
+ def name: () -> ::String
215
+ def resource_policy: () -> ::String
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#get_resource_policy-instance_method
218
+ def get_resource_policy: (
219
+ secret_id: ::String
220
+ ) -> _GetResourcePolicyResponseSuccess
221
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
222
+
223
+ interface _GetSecretValueResponseSuccess
224
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSecretValueResponse]
225
+ def arn: () -> ::String
226
+ def name: () -> ::String
227
+ def version_id: () -> ::String
228
+ def secret_binary: () -> ::String
229
+ def secret_string: () -> ::String
230
+ def version_stages: () -> ::Array[::String]
231
+ def created_date: () -> ::Time
232
+ end
233
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#get_secret_value-instance_method
234
+ def get_secret_value: (
235
+ secret_id: ::String,
236
+ ?version_id: ::String,
237
+ ?version_stage: ::String
238
+ ) -> _GetSecretValueResponseSuccess
239
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSecretValueResponseSuccess
240
+
241
+ interface _ListSecretVersionIdsResponseSuccess
242
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSecretVersionIdsResponse]
243
+ def versions: () -> ::Array[Types::SecretVersionsListEntry]
244
+ def next_token: () -> ::String
245
+ def arn: () -> ::String
246
+ def name: () -> ::String
247
+ end
248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#list_secret_version_ids-instance_method
249
+ def list_secret_version_ids: (
250
+ secret_id: ::String,
251
+ ?max_results: ::Integer,
252
+ ?next_token: ::String,
253
+ ?include_deprecated: bool
254
+ ) -> _ListSecretVersionIdsResponseSuccess
255
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecretVersionIdsResponseSuccess
256
+
257
+ interface _ListSecretsResponseSuccess
258
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSecretsResponse]
259
+ def secret_list: () -> ::Array[Types::SecretListEntry]
260
+ def next_token: () -> ::String
261
+ end
262
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#list_secrets-instance_method
263
+ def list_secrets: (
264
+ ?include_planned_deletion: bool,
265
+ ?max_results: ::Integer,
266
+ ?next_token: ::String,
267
+ ?filters: Array[
268
+ {
269
+ key: ("description" | "name" | "tag-key" | "tag-value" | "primary-region" | "owning-service" | "all")?,
270
+ values: Array[::String]?
271
+ },
272
+ ],
273
+ ?sort_order: ("asc" | "desc")
274
+ ) -> _ListSecretsResponseSuccess
275
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecretsResponseSuccess
276
+
277
+ interface _PutResourcePolicyResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
279
+ def arn: () -> ::String
280
+ def name: () -> ::String
281
+ end
282
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#put_resource_policy-instance_method
283
+ def put_resource_policy: (
284
+ secret_id: ::String,
285
+ resource_policy: ::String,
286
+ ?block_public_policy: bool
287
+ ) -> _PutResourcePolicyResponseSuccess
288
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
289
+
290
+ interface _PutSecretValueResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSecretValueResponse]
292
+ def arn: () -> ::String
293
+ def name: () -> ::String
294
+ def version_id: () -> ::String
295
+ def version_stages: () -> ::Array[::String]
296
+ end
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#put_secret_value-instance_method
298
+ def put_secret_value: (
299
+ secret_id: ::String,
300
+ ?client_request_token: ::String,
301
+ ?secret_binary: ::String,
302
+ ?secret_string: ::String,
303
+ ?version_stages: Array[::String],
304
+ ?rotation_token: ::String
305
+ ) -> _PutSecretValueResponseSuccess
306
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSecretValueResponseSuccess
307
+
308
+ interface _RemoveRegionsFromReplicationResponseSuccess
309
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveRegionsFromReplicationResponse]
310
+ def arn: () -> ::String
311
+ def replication_status: () -> ::Array[Types::ReplicationStatusType]
312
+ end
313
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#remove_regions_from_replication-instance_method
314
+ def remove_regions_from_replication: (
315
+ secret_id: ::String,
316
+ remove_replica_regions: Array[::String]
317
+ ) -> _RemoveRegionsFromReplicationResponseSuccess
318
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveRegionsFromReplicationResponseSuccess
319
+
320
+ interface _ReplicateSecretToRegionsResponseSuccess
321
+ include ::Seahorse::Client::_ResponseSuccess[Types::ReplicateSecretToRegionsResponse]
322
+ def arn: () -> ::String
323
+ def replication_status: () -> ::Array[Types::ReplicationStatusType]
324
+ end
325
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#replicate_secret_to_regions-instance_method
326
+ def replicate_secret_to_regions: (
327
+ secret_id: ::String,
328
+ add_replica_regions: Array[
329
+ {
330
+ region: ::String?,
331
+ kms_key_id: ::String?
332
+ },
333
+ ],
334
+ ?force_overwrite_replica_secret: bool
335
+ ) -> _ReplicateSecretToRegionsResponseSuccess
336
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ReplicateSecretToRegionsResponseSuccess
337
+
338
+ interface _RestoreSecretResponseSuccess
339
+ include ::Seahorse::Client::_ResponseSuccess[Types::RestoreSecretResponse]
340
+ def arn: () -> ::String
341
+ def name: () -> ::String
342
+ end
343
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#restore_secret-instance_method
344
+ def restore_secret: (
345
+ secret_id: ::String
346
+ ) -> _RestoreSecretResponseSuccess
347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreSecretResponseSuccess
348
+
349
+ interface _RotateSecretResponseSuccess
350
+ include ::Seahorse::Client::_ResponseSuccess[Types::RotateSecretResponse]
351
+ def arn: () -> ::String
352
+ def name: () -> ::String
353
+ def version_id: () -> ::String
354
+ end
355
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#rotate_secret-instance_method
356
+ def rotate_secret: (
357
+ secret_id: ::String,
358
+ ?client_request_token: ::String,
359
+ ?rotation_lambda_arn: ::String,
360
+ ?rotation_rules: {
361
+ automatically_after_days: ::Integer?,
362
+ duration: ::String?,
363
+ schedule_expression: ::String?
364
+ },
365
+ ?rotate_immediately: bool
366
+ ) -> _RotateSecretResponseSuccess
367
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RotateSecretResponseSuccess
368
+
369
+ interface _StopReplicationToReplicaResponseSuccess
370
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopReplicationToReplicaResponse]
371
+ def arn: () -> ::String
372
+ end
373
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#stop_replication_to_replica-instance_method
374
+ def stop_replication_to_replica: (
375
+ secret_id: ::String
376
+ ) -> _StopReplicationToReplicaResponseSuccess
377
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopReplicationToReplicaResponseSuccess
378
+
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#tag_resource-instance_method
380
+ def tag_resource: (
381
+ secret_id: ::String,
382
+ tags: Array[
383
+ {
384
+ key: ::String?,
385
+ value: ::String?
386
+ },
387
+ ]
388
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
389
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
390
+
391
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#untag_resource-instance_method
392
+ def untag_resource: (
393
+ secret_id: ::String,
394
+ tag_keys: Array[::String]
395
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
397
+
398
+ interface _UpdateSecretResponseSuccess
399
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSecretResponse]
400
+ def arn: () -> ::String
401
+ def name: () -> ::String
402
+ def version_id: () -> ::String
403
+ end
404
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#update_secret-instance_method
405
+ def update_secret: (
406
+ secret_id: ::String,
407
+ ?client_request_token: ::String,
408
+ ?description: ::String,
409
+ ?kms_key_id: ::String,
410
+ ?secret_binary: ::String,
411
+ ?secret_string: ::String
412
+ ) -> _UpdateSecretResponseSuccess
413
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecretResponseSuccess
414
+
415
+ interface _UpdateSecretVersionStageResponseSuccess
416
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSecretVersionStageResponse]
417
+ def arn: () -> ::String
418
+ def name: () -> ::String
419
+ end
420
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#update_secret_version_stage-instance_method
421
+ def update_secret_version_stage: (
422
+ secret_id: ::String,
423
+ version_stage: ::String,
424
+ ?remove_from_version_id: ::String,
425
+ ?move_to_version_id: ::String
426
+ ) -> _UpdateSecretVersionStageResponseSuccess
427
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecretVersionStageResponseSuccess
428
+
429
+ interface _ValidateResourcePolicyResponseSuccess
430
+ include ::Seahorse::Client::_ResponseSuccess[Types::ValidateResourcePolicyResponse]
431
+ def policy_validation_passed: () -> bool
432
+ def validation_errors: () -> ::Array[Types::ValidationErrorsEntry]
433
+ end
434
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecretsManager/Client.html#validate_resource_policy-instance_method
435
+ def validate_resource_policy: (
436
+ ?secret_id: ::String,
437
+ resource_policy: ::String
438
+ ) -> _ValidateResourcePolicyResponseSuccess
439
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateResourcePolicyResponseSuccess
440
+ end
441
+ end
442
+ end
443
+
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,83 @@
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
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?client_side_monitoring: bool,
22
+ ?client_side_monitoring_client_id: String,
23
+ ?client_side_monitoring_host: String,
24
+ ?client_side_monitoring_port: Integer,
25
+ ?client_side_monitoring_publisher: untyped,
26
+ ?convert_params: bool,
27
+ ?correct_clock_skew: bool,
28
+ ?defaults_mode: String,
29
+ ?disable_host_prefix_injection: bool,
30
+ ?disable_request_compression: bool,
31
+ ?endpoint: String,
32
+ ?endpoint_cache_max_entries: Integer,
33
+ ?endpoint_cache_max_threads: Integer,
34
+ ?endpoint_cache_poll_interval: Integer,
35
+ ?endpoint_discovery: bool,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?log_formatter: untyped,
38
+ ?log_level: Symbol,
39
+ ?logger: untyped,
40
+ ?max_attempts: Integer,
41
+ ?profile: String,
42
+ ?request_min_compression_size_bytes: Integer,
43
+ ?retry_backoff: Proc,
44
+ ?retry_base_delay: Float,
45
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
46
+ ?retry_limit: Integer,
47
+ ?retry_max_delay: Integer,
48
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
49
+ ?sdk_ua_app_id: String,
50
+ ?secret_access_key: String,
51
+ ?session_token: String,
52
+ ?sigv4a_signing_region_set: Array[String],
53
+ ?simple_json: bool,
54
+ ?stub_responses: untyped,
55
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
56
+ ?token_provider: untyped,
57
+ ?use_dualstack_endpoint: bool,
58
+ ?use_fips_endpoint: bool,
59
+ ?validate_params: bool,
60
+ ?endpoint_provider: untyped,
61
+ ?http_proxy: String,
62
+ ?http_open_timeout: (Float | Integer),
63
+ ?http_read_timeout: (Float | Integer),
64
+ ?http_idle_timeout: (Float | Integer),
65
+ ?http_continue_timeout: (Float | Integer),
66
+ ?ssl_timeout: (Float | Integer | nil),
67
+ ?http_wire_trace: bool,
68
+ ?ssl_verify_peer: bool,
69
+ ?ssl_ca_bundle: String,
70
+ ?ssl_ca_directory: String,
71
+ ?ssl_ca_store: String,
72
+ ?on_chunk_received: Proc,
73
+ ?on_chunk_sent: Proc,
74
+ ?raise_response_errors: bool
75
+ ) -> void
76
+ | (?Hash[Symbol, untyped]) -> void
77
+
78
+ def client: () -> Client
79
+
80
+
81
+ end
82
+ end
83
+ end