aws-sdk-secretsmanager 1.146.0 → 1.147.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-secretsmanager/client.rb +460 -22
- data/lib/aws-sdk-secretsmanager/client_api.rb +112 -0
- data/lib/aws-sdk-secretsmanager/types.rb +379 -12
- data/lib/aws-sdk-secretsmanager.rb +2 -2
- data/sig/client.rbs +52 -3
- data/sig/types.rbs +70 -1
- metadata +1 -1
data/sig/types.rbs
CHANGED
|
@@ -15,6 +15,21 @@ module Aws::SecretsManager
|
|
|
15
15
|
SENSITIVE: []
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
+
class AssociateCrossAccountReplicaRequest
|
|
19
|
+
attr_accessor secret_id: ::String
|
|
20
|
+
attr_accessor cross_account_replica_arn: ::String
|
|
21
|
+
attr_accessor replica_restriction: ("SameOrg" | "NoRestriction")
|
|
22
|
+
attr_accessor replication_role_arn: ::String
|
|
23
|
+
SENSITIVE: []
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
class AssociateCrossAccountReplicaResponse
|
|
27
|
+
attr_accessor arn: ::String
|
|
28
|
+
attr_accessor cross_account_replica_arn: ::String
|
|
29
|
+
attr_accessor replication_status: ("InSync" | "Failed" | "InProgress" | "Pending" | "Detached")
|
|
30
|
+
SENSITIVE: []
|
|
31
|
+
end
|
|
32
|
+
|
|
18
33
|
class BatchGetSecretValueRequest
|
|
19
34
|
attr_accessor secret_id_list: ::Array[::String]
|
|
20
35
|
attr_accessor filters: ::Array[Types::Filter]
|
|
@@ -53,6 +68,7 @@ module Aws::SecretsManager
|
|
|
53
68
|
attr_accessor add_replica_regions: ::Array[Types::ReplicaRegionType]
|
|
54
69
|
attr_accessor force_overwrite_replica_secret: bool
|
|
55
70
|
attr_accessor type: ::String
|
|
71
|
+
attr_accessor cross_account_primary_arn: ::String
|
|
56
72
|
SENSITIVE: [:secret_binary, :secret_string]
|
|
57
73
|
end
|
|
58
74
|
|
|
@@ -64,6 +80,21 @@ module Aws::SecretsManager
|
|
|
64
80
|
SENSITIVE: []
|
|
65
81
|
end
|
|
66
82
|
|
|
83
|
+
class CrossAccountPrimaryType
|
|
84
|
+
attr_accessor primary_secret_arn: ::String
|
|
85
|
+
attr_accessor replication_status: ("InSync" | "Failed" | "InProgress" | "Pending" | "Detached")
|
|
86
|
+
attr_accessor status_message: ::String
|
|
87
|
+
SENSITIVE: []
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
class CrossAccountReplicaEntry
|
|
91
|
+
attr_accessor replica_secret_arn: ::String
|
|
92
|
+
attr_accessor replication_role_arn: ::String
|
|
93
|
+
attr_accessor replication_status: ("InSync" | "Failed" | "InProgress" | "Pending" | "Detached")
|
|
94
|
+
attr_accessor status_message: ::String
|
|
95
|
+
SENSITIVE: []
|
|
96
|
+
end
|
|
97
|
+
|
|
67
98
|
class DecryptionFailure
|
|
68
99
|
attr_accessor message: ::String
|
|
69
100
|
SENSITIVE: []
|
|
@@ -71,12 +102,14 @@ module Aws::SecretsManager
|
|
|
71
102
|
|
|
72
103
|
class DeleteResourcePolicyRequest
|
|
73
104
|
attr_accessor secret_id: ::String
|
|
105
|
+
attr_accessor policy_name: ::String
|
|
74
106
|
SENSITIVE: []
|
|
75
107
|
end
|
|
76
108
|
|
|
77
109
|
class DeleteResourcePolicyResponse
|
|
78
110
|
attr_accessor arn: ::String
|
|
79
111
|
attr_accessor name: ::String
|
|
112
|
+
attr_accessor policy_name: ::String
|
|
80
113
|
SENSITIVE: []
|
|
81
114
|
end
|
|
82
115
|
|
|
@@ -121,6 +154,20 @@ module Aws::SecretsManager
|
|
|
121
154
|
attr_accessor created_date: ::Time
|
|
122
155
|
attr_accessor primary_region: ::String
|
|
123
156
|
attr_accessor replication_status: ::Array[Types::ReplicationStatusType]
|
|
157
|
+
attr_accessor cross_account_primary: Types::CrossAccountPrimaryType
|
|
158
|
+
attr_accessor cross_account_replicas: ::Array[Types::CrossAccountReplicaEntry]
|
|
159
|
+
SENSITIVE: []
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
class DisassociateCrossAccountReplicaRequest
|
|
163
|
+
attr_accessor secret_id: ::String
|
|
164
|
+
attr_accessor cross_account_replica_arn: ::String
|
|
165
|
+
SENSITIVE: []
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
class DisassociateCrossAccountReplicaResponse
|
|
169
|
+
attr_accessor arn: ::String
|
|
170
|
+
attr_accessor cross_account_replica_arn: ::String
|
|
124
171
|
SENSITIVE: []
|
|
125
172
|
end
|
|
126
173
|
|
|
@@ -160,6 +207,7 @@ module Aws::SecretsManager
|
|
|
160
207
|
|
|
161
208
|
class GetResourcePolicyRequest
|
|
162
209
|
attr_accessor secret_id: ::String
|
|
210
|
+
attr_accessor policy_name: ::String
|
|
163
211
|
SENSITIVE: []
|
|
164
212
|
end
|
|
165
213
|
|
|
@@ -167,6 +215,7 @@ module Aws::SecretsManager
|
|
|
167
215
|
attr_accessor arn: ::String
|
|
168
216
|
attr_accessor name: ::String
|
|
169
217
|
attr_accessor resource_policy: ::String
|
|
218
|
+
attr_accessor policy_name: ::String
|
|
170
219
|
SENSITIVE: []
|
|
171
220
|
end
|
|
172
221
|
|
|
@@ -213,6 +262,19 @@ module Aws::SecretsManager
|
|
|
213
262
|
SENSITIVE: []
|
|
214
263
|
end
|
|
215
264
|
|
|
265
|
+
class ListResourcePoliciesRequest
|
|
266
|
+
attr_accessor secret_id: ::String
|
|
267
|
+
attr_accessor max_results: ::Integer
|
|
268
|
+
attr_accessor next_token: ::String
|
|
269
|
+
SENSITIVE: []
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
class ListResourcePoliciesResponse
|
|
273
|
+
attr_accessor resource_policies: ::Array[Types::ResourcePolicySummary]
|
|
274
|
+
attr_accessor next_token: ::String
|
|
275
|
+
SENSITIVE: []
|
|
276
|
+
end
|
|
277
|
+
|
|
216
278
|
class ListSecretVersionIdsRequest
|
|
217
279
|
attr_accessor secret_id: ::String
|
|
218
280
|
attr_accessor max_results: ::Integer
|
|
@@ -263,6 +325,7 @@ module Aws::SecretsManager
|
|
|
263
325
|
class PutResourcePolicyRequest
|
|
264
326
|
attr_accessor secret_id: ::String
|
|
265
327
|
attr_accessor resource_policy: ::String
|
|
328
|
+
attr_accessor policy_name: ::String
|
|
266
329
|
attr_accessor block_public_policy: bool
|
|
267
330
|
SENSITIVE: []
|
|
268
331
|
end
|
|
@@ -270,6 +333,7 @@ module Aws::SecretsManager
|
|
|
270
333
|
class PutResourcePolicyResponse
|
|
271
334
|
attr_accessor arn: ::String
|
|
272
335
|
attr_accessor name: ::String
|
|
336
|
+
attr_accessor policy_name: ::String
|
|
273
337
|
SENSITIVE: []
|
|
274
338
|
end
|
|
275
339
|
|
|
@@ -325,7 +389,7 @@ module Aws::SecretsManager
|
|
|
325
389
|
class ReplicationStatusType
|
|
326
390
|
attr_accessor region: ::String
|
|
327
391
|
attr_accessor kms_key_id: ::String
|
|
328
|
-
attr_accessor status: ("InSync" | "Failed" | "InProgress")
|
|
392
|
+
attr_accessor status: ("InSync" | "Failed" | "InProgress" | "Pending" | "Detached")
|
|
329
393
|
attr_accessor status_message: ::String
|
|
330
394
|
attr_accessor last_accessed_date: ::Time
|
|
331
395
|
SENSITIVE: []
|
|
@@ -341,6 +405,11 @@ module Aws::SecretsManager
|
|
|
341
405
|
SENSITIVE: []
|
|
342
406
|
end
|
|
343
407
|
|
|
408
|
+
class ResourcePolicySummary
|
|
409
|
+
attr_accessor policy_name: ::String
|
|
410
|
+
SENSITIVE: []
|
|
411
|
+
end
|
|
412
|
+
|
|
344
413
|
class RestoreSecretRequest
|
|
345
414
|
attr_accessor secret_id: ::String
|
|
346
415
|
SENSITIVE: []
|