@aws-sdk/client-secrets-manager 3.947.0 → 3.950.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/index.js +10 -2
- package/dist-es/models/enums.js +6 -0
- package/dist-es/schemas/schemas_0.js +3 -2
- package/dist-types/commands/ListSecretsCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +6 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -1
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -421,6 +421,7 @@ const _RWID = "RecoveryWindowInDays";
|
|
|
421
421
|
const _S = "Status";
|
|
422
422
|
const _SB = "SecretBinary";
|
|
423
423
|
const _SBT = "SecretBinaryType";
|
|
424
|
+
const _SBo = "SortBy";
|
|
424
425
|
const _SE = "ScheduleExpression";
|
|
425
426
|
const _SI = "SecretId";
|
|
426
427
|
const _SIL = "SecretIdList";
|
|
@@ -629,8 +630,8 @@ var ListSecretsRequest = [
|
|
|
629
630
|
n0,
|
|
630
631
|
_LSR,
|
|
631
632
|
0,
|
|
632
|
-
[_IPD, _MR, _NT, _F, _SO],
|
|
633
|
-
[2, 1, 0, () => FiltersListType, 0],
|
|
633
|
+
[_IPD, _MR, _NT, _F, _SO, _SBo],
|
|
634
|
+
[2, 1, 0, () => FiltersListType, 0, 0],
|
|
634
635
|
];
|
|
635
636
|
var ListSecretsResponse = [3, n0, _LSRi, 0, [_SL, _NT], [() => SecretListType, 0]];
|
|
636
637
|
var ListSecretVersionIdsRequest = [3, n0, _LSVIR, 0, [_SI, _MR, _NT, _ID], [0, 1, 0, 2]];
|
|
@@ -1267,6 +1268,12 @@ const StatusType = {
|
|
|
1267
1268
|
InProgress: "InProgress",
|
|
1268
1269
|
InSync: "InSync",
|
|
1269
1270
|
};
|
|
1271
|
+
const SortByType = {
|
|
1272
|
+
created_date: "created-date",
|
|
1273
|
+
last_accessed_date: "last-accessed-date",
|
|
1274
|
+
last_changed_date: "last-changed-date",
|
|
1275
|
+
name: "name",
|
|
1276
|
+
};
|
|
1270
1277
|
const SortOrderType = {
|
|
1271
1278
|
asc: "asc",
|
|
1272
1279
|
desc: "desc",
|
|
@@ -1313,6 +1320,7 @@ exports.RotateSecretCommand = RotateSecretCommand;
|
|
|
1313
1320
|
exports.SecretsManager = SecretsManager;
|
|
1314
1321
|
exports.SecretsManagerClient = SecretsManagerClient;
|
|
1315
1322
|
exports.SecretsManagerServiceException = SecretsManagerServiceException$1;
|
|
1323
|
+
exports.SortByType = SortByType;
|
|
1316
1324
|
exports.SortOrderType = SortOrderType;
|
|
1317
1325
|
exports.StatusType = StatusType;
|
|
1318
1326
|
exports.StopReplicationToReplicaCommand = StopReplicationToReplicaCommand;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -12,6 +12,12 @@ export const StatusType = {
|
|
|
12
12
|
InProgress: "InProgress",
|
|
13
13
|
InSync: "InSync",
|
|
14
14
|
};
|
|
15
|
+
export const SortByType = {
|
|
16
|
+
created_date: "created-date",
|
|
17
|
+
last_accessed_date: "last-accessed-date",
|
|
18
|
+
last_changed_date: "last-changed-date",
|
|
19
|
+
name: "name",
|
|
20
|
+
};
|
|
15
21
|
export const SortOrderType = {
|
|
16
22
|
asc: "asc",
|
|
17
23
|
desc: "desc",
|
|
@@ -133,6 +133,7 @@ const _RWID = "RecoveryWindowInDays";
|
|
|
133
133
|
const _S = "Status";
|
|
134
134
|
const _SB = "SecretBinary";
|
|
135
135
|
const _SBT = "SecretBinaryType";
|
|
136
|
+
const _SBo = "SortBy";
|
|
136
137
|
const _SE = "ScheduleExpression";
|
|
137
138
|
const _SI = "SecretId";
|
|
138
139
|
const _SIL = "SecretIdList";
|
|
@@ -344,8 +345,8 @@ export var ListSecretsRequest = [
|
|
|
344
345
|
n0,
|
|
345
346
|
_LSR,
|
|
346
347
|
0,
|
|
347
|
-
[_IPD, _MR, _NT, _F, _SO],
|
|
348
|
-
[2, 1, 0, () => FiltersListType, 0],
|
|
348
|
+
[_IPD, _MR, _NT, _F, _SO, _SBo],
|
|
349
|
+
[2, 1, 0, () => FiltersListType, 0, 0],
|
|
349
350
|
];
|
|
350
351
|
export var ListSecretsResponse = [3, n0, _LSRi, 0, [_SL, _NT], [() => SecretListType, 0]];
|
|
351
352
|
export var ListSecretVersionIdsRequest = [3, n0, _LSVIR, 0, [_SI, _MR, _NT, _ID], [0, 1, 0, 2]];
|
|
@@ -66,6 +66,7 @@ declare const ListSecretsCommand_base: {
|
|
|
66
66
|
* },
|
|
67
67
|
* ],
|
|
68
68
|
* SortOrder: "asc" || "desc",
|
|
69
|
+
* SortBy: "created-date" || "last-accessed-date" || "last-changed-date" || "name",
|
|
69
70
|
* };
|
|
70
71
|
* const command = new ListSecretsCommand(input);
|
|
71
72
|
* const response = await client.send(command);
|
|
@@ -28,6 +28,20 @@ export declare const StatusType: {
|
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
30
|
export type StatusType = (typeof StatusType)[keyof typeof StatusType];
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
* @enum
|
|
34
|
+
*/
|
|
35
|
+
export declare const SortByType: {
|
|
36
|
+
readonly created_date: "created-date";
|
|
37
|
+
readonly last_accessed_date: "last-accessed-date";
|
|
38
|
+
readonly last_changed_date: "last-changed-date";
|
|
39
|
+
readonly name: "name";
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export type SortByType = (typeof SortByType)[keyof typeof SortByType];
|
|
31
45
|
/**
|
|
32
46
|
* @public
|
|
33
47
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FilterNameStringType, SortOrderType, StatusType } from "./enums";
|
|
1
|
+
import { FilterNameStringType, SortByType, SortOrderType, StatusType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>A custom type that specifies a <code>Region</code> and the <code>KmsKeyId</code> for a
|
|
4
4
|
* replica secret.</p>
|
|
@@ -1042,6 +1042,11 @@ export interface ListSecretsRequest {
|
|
|
1042
1042
|
* @public
|
|
1043
1043
|
*/
|
|
1044
1044
|
SortOrder?: SortOrderType | undefined;
|
|
1045
|
+
/**
|
|
1046
|
+
* <p>If not specified, secrets are listed by <code>CreatedDate</code>.</p>
|
|
1047
|
+
* @public
|
|
1048
|
+
*/
|
|
1049
|
+
SortBy?: SortByType | undefined;
|
|
1045
1050
|
}
|
|
1046
1051
|
/**
|
|
1047
1052
|
* <p>A structure that contains the details about a secret. It does not include the
|
|
@@ -15,6 +15,13 @@ export declare const StatusType: {
|
|
|
15
15
|
readonly InSync: "InSync";
|
|
16
16
|
};
|
|
17
17
|
export type StatusType = (typeof StatusType)[keyof typeof StatusType];
|
|
18
|
+
export declare const SortByType: {
|
|
19
|
+
readonly created_date: "created-date";
|
|
20
|
+
readonly last_accessed_date: "last-accessed-date";
|
|
21
|
+
readonly last_changed_date: "last-changed-date";
|
|
22
|
+
readonly name: "name";
|
|
23
|
+
};
|
|
24
|
+
export type SortByType = (typeof SortByType)[keyof typeof SortByType];
|
|
18
25
|
export declare const SortOrderType: {
|
|
19
26
|
readonly asc: "asc";
|
|
20
27
|
readonly desc: "desc";
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
FilterNameStringType,
|
|
3
|
+
SortByType,
|
|
4
|
+
SortOrderType,
|
|
5
|
+
StatusType,
|
|
6
|
+
} from "./enums";
|
|
2
7
|
export interface ReplicaRegionType {
|
|
3
8
|
Region?: string | undefined;
|
|
4
9
|
KmsKeyId?: string | undefined;
|
|
@@ -164,6 +169,7 @@ export interface ListSecretsRequest {
|
|
|
164
169
|
NextToken?: string | undefined;
|
|
165
170
|
Filters?: Filter[] | undefined;
|
|
166
171
|
SortOrder?: SortOrderType | undefined;
|
|
172
|
+
SortBy?: SortByType | undefined;
|
|
167
173
|
}
|
|
168
174
|
export interface SecretListEntry {
|
|
169
175
|
ARN?: string | undefined;
|
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.950.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-secrets-manager",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.947.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.948.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.948.0",
|
|
29
29
|
"@aws-sdk/middleware-user-agent": "3.947.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
31
31
|
"@aws-sdk/types": "3.936.0",
|