@aws-sdk/client-secrets-manager 3.301.0 → 3.306.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.
- package/dist-cjs/models/models_0.js +18 -21
- package/dist-es/models/models_0.js +18 -21
- package/dist-types/models/models_0.d.ts +33 -18
- package/dist-types/ts3.4/models/models_0.d.ts +22 -18
- package/package.json +34 -34
|
@@ -59,12 +59,11 @@ class ResourceNotFoundException extends SecretsManagerServiceException_1.Secrets
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
})(StatusType = exports.StatusType || (exports.StatusType = {}));
|
|
62
|
+
exports.StatusType = {
|
|
63
|
+
Failed: "Failed",
|
|
64
|
+
InProgress: "InProgress",
|
|
65
|
+
InSync: "InSync",
|
|
66
|
+
};
|
|
68
67
|
class DecryptionFailure extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
69
68
|
constructor(opts) {
|
|
70
69
|
super({
|
|
@@ -149,16 +148,15 @@ class ResourceExistsException extends SecretsManagerServiceException_1.SecretsMa
|
|
|
149
148
|
}
|
|
150
149
|
}
|
|
151
150
|
exports.ResourceExistsException = ResourceExistsException;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
})(FilterNameStringType = exports.FilterNameStringType || (exports.FilterNameStringType = {}));
|
|
151
|
+
exports.FilterNameStringType = {
|
|
152
|
+
all: "all",
|
|
153
|
+
description: "description",
|
|
154
|
+
name: "name",
|
|
155
|
+
owning_service: "owning-service",
|
|
156
|
+
primary_region: "primary-region",
|
|
157
|
+
tag_key: "tag-key",
|
|
158
|
+
tag_value: "tag-value",
|
|
159
|
+
};
|
|
162
160
|
class InvalidNextTokenException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
163
161
|
constructor(opts) {
|
|
164
162
|
super({
|
|
@@ -173,11 +171,10 @@ class InvalidNextTokenException extends SecretsManagerServiceException_1.Secrets
|
|
|
173
171
|
}
|
|
174
172
|
}
|
|
175
173
|
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
})(SortOrderType = exports.SortOrderType || (exports.SortOrderType = {}));
|
|
174
|
+
exports.SortOrderType = {
|
|
175
|
+
asc: "asc",
|
|
176
|
+
desc: "desc",
|
|
177
|
+
};
|
|
181
178
|
class PublicPolicyException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
182
179
|
constructor(opts) {
|
|
183
180
|
super({
|
|
@@ -52,12 +52,11 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
52
52
|
this.Message = opts.Message;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
export
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
})(StatusType || (StatusType = {}));
|
|
55
|
+
export const StatusType = {
|
|
56
|
+
Failed: "Failed",
|
|
57
|
+
InProgress: "InProgress",
|
|
58
|
+
InSync: "InSync",
|
|
59
|
+
};
|
|
61
60
|
export class DecryptionFailure extends __BaseException {
|
|
62
61
|
constructor(opts) {
|
|
63
62
|
super({
|
|
@@ -136,16 +135,15 @@ export class ResourceExistsException extends __BaseException {
|
|
|
136
135
|
this.Message = opts.Message;
|
|
137
136
|
}
|
|
138
137
|
}
|
|
139
|
-
export
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
})(FilterNameStringType || (FilterNameStringType = {}));
|
|
138
|
+
export const FilterNameStringType = {
|
|
139
|
+
all: "all",
|
|
140
|
+
description: "description",
|
|
141
|
+
name: "name",
|
|
142
|
+
owning_service: "owning-service",
|
|
143
|
+
primary_region: "primary-region",
|
|
144
|
+
tag_key: "tag-key",
|
|
145
|
+
tag_value: "tag-value",
|
|
146
|
+
};
|
|
149
147
|
export class InvalidNextTokenException extends __BaseException {
|
|
150
148
|
constructor(opts) {
|
|
151
149
|
super({
|
|
@@ -159,11 +157,10 @@ export class InvalidNextTokenException extends __BaseException {
|
|
|
159
157
|
this.Message = opts.Message;
|
|
160
158
|
}
|
|
161
159
|
}
|
|
162
|
-
export
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
})(SortOrderType || (SortOrderType = {}));
|
|
160
|
+
export const SortOrderType = {
|
|
161
|
+
asc: "asc",
|
|
162
|
+
desc: "desc",
|
|
163
|
+
};
|
|
167
164
|
export class PublicPolicyException extends __BaseException {
|
|
168
165
|
constructor(opts) {
|
|
169
166
|
super({
|
|
@@ -270,12 +270,17 @@ export interface CreateSecretRequest {
|
|
|
270
270
|
}
|
|
271
271
|
/**
|
|
272
272
|
* @public
|
|
273
|
+
* @enum
|
|
273
274
|
*/
|
|
274
|
-
export declare
|
|
275
|
-
Failed
|
|
276
|
-
InProgress
|
|
277
|
-
InSync
|
|
278
|
-
}
|
|
275
|
+
export declare const StatusType: {
|
|
276
|
+
readonly Failed: "Failed";
|
|
277
|
+
readonly InProgress: "InProgress";
|
|
278
|
+
readonly InSync: "InSync";
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
export type StatusType = (typeof StatusType)[keyof typeof StatusType];
|
|
279
284
|
/**
|
|
280
285
|
* @public
|
|
281
286
|
* <p>A replication object consisting of a <code>RegionReplicationStatus</code> object and includes a Region, KMSKeyId, status, and status message.</p>
|
|
@@ -690,16 +695,21 @@ export interface DescribeSecretResponse {
|
|
|
690
695
|
}
|
|
691
696
|
/**
|
|
692
697
|
* @public
|
|
698
|
+
* @enum
|
|
693
699
|
*/
|
|
694
|
-
export declare
|
|
695
|
-
all
|
|
696
|
-
description
|
|
697
|
-
name
|
|
698
|
-
owning_service
|
|
699
|
-
primary_region
|
|
700
|
-
tag_key
|
|
701
|
-
tag_value
|
|
702
|
-
}
|
|
700
|
+
export declare const FilterNameStringType: {
|
|
701
|
+
readonly all: "all";
|
|
702
|
+
readonly description: "description";
|
|
703
|
+
readonly name: "name";
|
|
704
|
+
readonly owning_service: "owning-service";
|
|
705
|
+
readonly primary_region: "primary-region";
|
|
706
|
+
readonly tag_key: "tag-key";
|
|
707
|
+
readonly tag_value: "tag-value";
|
|
708
|
+
};
|
|
709
|
+
/**
|
|
710
|
+
* @public
|
|
711
|
+
*/
|
|
712
|
+
export type FilterNameStringType = (typeof FilterNameStringType)[keyof typeof FilterNameStringType];
|
|
703
713
|
/**
|
|
704
714
|
* @public
|
|
705
715
|
* <p>Allows you to add filters when you use the search function in Secrets Manager. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html">Find secrets in Secrets Manager</a>.</p>
|
|
@@ -917,11 +927,16 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
917
927
|
}
|
|
918
928
|
/**
|
|
919
929
|
* @public
|
|
930
|
+
* @enum
|
|
920
931
|
*/
|
|
921
|
-
export declare
|
|
922
|
-
asc
|
|
923
|
-
desc
|
|
924
|
-
}
|
|
932
|
+
export declare const SortOrderType: {
|
|
933
|
+
readonly asc: "asc";
|
|
934
|
+
readonly desc: "desc";
|
|
935
|
+
};
|
|
936
|
+
/**
|
|
937
|
+
* @public
|
|
938
|
+
*/
|
|
939
|
+
export type SortOrderType = (typeof SortOrderType)[keyof typeof SortOrderType];
|
|
925
940
|
/**
|
|
926
941
|
* @public
|
|
927
942
|
*/
|
|
@@ -59,11 +59,12 @@ export interface CreateSecretRequest {
|
|
|
59
59
|
AddReplicaRegions?: ReplicaRegionType[];
|
|
60
60
|
ForceOverwriteReplicaSecret?: boolean;
|
|
61
61
|
}
|
|
62
|
-
export declare
|
|
63
|
-
Failed
|
|
64
|
-
InProgress
|
|
65
|
-
InSync
|
|
66
|
-
}
|
|
62
|
+
export declare const StatusType: {
|
|
63
|
+
readonly Failed: "Failed";
|
|
64
|
+
readonly InProgress: "InProgress";
|
|
65
|
+
readonly InSync: "InSync";
|
|
66
|
+
};
|
|
67
|
+
export type StatusType = (typeof StatusType)[keyof typeof StatusType];
|
|
67
68
|
export interface ReplicationStatusType {
|
|
68
69
|
Region?: string;
|
|
69
70
|
KmsKeyId?: string;
|
|
@@ -169,15 +170,17 @@ export interface DescribeSecretResponse {
|
|
|
169
170
|
PrimaryRegion?: string;
|
|
170
171
|
ReplicationStatus?: ReplicationStatusType[];
|
|
171
172
|
}
|
|
172
|
-
export declare
|
|
173
|
-
all
|
|
174
|
-
description
|
|
175
|
-
name
|
|
176
|
-
owning_service
|
|
177
|
-
primary_region
|
|
178
|
-
tag_key
|
|
179
|
-
tag_value
|
|
180
|
-
}
|
|
173
|
+
export declare const FilterNameStringType: {
|
|
174
|
+
readonly all: "all";
|
|
175
|
+
readonly description: "description";
|
|
176
|
+
readonly name: "name";
|
|
177
|
+
readonly owning_service: "owning-service";
|
|
178
|
+
readonly primary_region: "primary-region";
|
|
179
|
+
readonly tag_key: "tag-key";
|
|
180
|
+
readonly tag_value: "tag-value";
|
|
181
|
+
};
|
|
182
|
+
export type FilterNameStringType =
|
|
183
|
+
(typeof FilterNameStringType)[keyof typeof FilterNameStringType];
|
|
181
184
|
export interface Filter {
|
|
182
185
|
Key?: FilterNameStringType | string;
|
|
183
186
|
Values?: string[];
|
|
@@ -225,10 +228,11 @@ export declare class InvalidNextTokenException extends __BaseException {
|
|
|
225
228
|
opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
|
|
226
229
|
);
|
|
227
230
|
}
|
|
228
|
-
export declare
|
|
229
|
-
asc
|
|
230
|
-
desc
|
|
231
|
-
}
|
|
231
|
+
export declare const SortOrderType: {
|
|
232
|
+
readonly asc: "asc";
|
|
233
|
+
readonly desc: "desc";
|
|
234
|
+
};
|
|
235
|
+
export type SortOrderType = (typeof SortOrderType)[keyof typeof SortOrderType];
|
|
232
236
|
export interface ListSecretsRequest {
|
|
233
237
|
IncludePlannedDeletion?: boolean;
|
|
234
238
|
MaxResults?: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-secrets-manager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.306.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.306.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.306.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.306.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.306.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.306.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.306.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.306.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.306.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.306.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.306.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.306.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.306.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.306.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.306.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.306.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.306.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.306.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.306.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.306.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.306.0",
|
|
44
|
+
"@aws-sdk/types": "3.306.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.306.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.306.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.306.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.306.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.306.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.306.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.306.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|