@aws-sdk/client-secrets-manager 3.1167.0 → 3.1169.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/README.md +21 -0
- package/dist-cjs/index.js +187 -65
- package/dist-es/SecretsManager.js +8 -0
- package/dist-es/commands/AssociateCrossAccountReplicaCommand.js +4 -0
- package/dist-es/commands/DisassociateCrossAccountReplicaCommand.js +4 -0
- package/dist-es/commands/ListResourcePoliciesCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +11 -5
- package/dist-es/models/errors.js +40 -40
- package/dist-es/pagination/ListResourcePoliciesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +103 -19
- package/dist-types/SecretsManager.d.ts +28 -0
- package/dist-types/SecretsManagerClient.d.ts +5 -2
- package/dist-types/commands/AssociateCrossAccountReplicaCommand.d.ts +148 -0
- package/dist-types/commands/CancelRotateSecretCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecretCommand.d.ts +33 -9
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -1
- package/dist-types/commands/DeleteSecretCommand.d.ts +6 -0
- package/dist-types/commands/DescribeSecretCommand.d.ts +21 -1
- package/dist-types/commands/DisassociateCrossAccountReplicaCommand.d.ts +135 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -0
- package/dist-types/commands/ListResourcePoliciesCommand.d.ts +138 -0
- package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +7 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +4 -1
- package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +1 -1
- package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +1 -1
- package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +36 -5
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +23 -9
- package/dist-types/models/errors.d.ts +38 -38
- package/dist-types/models/models_0.d.ts +351 -5
- package/dist-types/pagination/ListResourcePoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +12 -0
- package/dist-types/ts3.4/SecretsManager.d.ts +58 -0
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateCrossAccountReplicaCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DisassociateCrossAccountReplicaCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListResourcePoliciesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +14 -6
- package/dist-types/ts3.4/models/errors.d.ts +20 -20
- package/dist-types/ts3.4/models/models_0.d.ts +58 -1
- package/dist-types/ts3.4/pagination/ListResourcePoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +1 -1
|
@@ -33,6 +33,10 @@ import {
|
|
|
33
33
|
HttpAuthSchemeInputConfig,
|
|
34
34
|
HttpAuthSchemeResolvedConfig,
|
|
35
35
|
} from "./auth/httpAuthSchemeProvider";
|
|
36
|
+
import {
|
|
37
|
+
AssociateCrossAccountReplicaCommandInput,
|
|
38
|
+
AssociateCrossAccountReplicaCommandOutput,
|
|
39
|
+
} from "./commands/AssociateCrossAccountReplicaCommand";
|
|
36
40
|
import {
|
|
37
41
|
BatchGetSecretValueCommandInput,
|
|
38
42
|
BatchGetSecretValueCommandOutput,
|
|
@@ -57,6 +61,10 @@ import {
|
|
|
57
61
|
DescribeSecretCommandInput,
|
|
58
62
|
DescribeSecretCommandOutput,
|
|
59
63
|
} from "./commands/DescribeSecretCommand";
|
|
64
|
+
import {
|
|
65
|
+
DisassociateCrossAccountReplicaCommandInput,
|
|
66
|
+
DisassociateCrossAccountReplicaCommandOutput,
|
|
67
|
+
} from "./commands/DisassociateCrossAccountReplicaCommand";
|
|
60
68
|
import {
|
|
61
69
|
GetRandomPasswordCommandInput,
|
|
62
70
|
GetRandomPasswordCommandOutput,
|
|
@@ -69,6 +77,10 @@ import {
|
|
|
69
77
|
GetSecretValueCommandInput,
|
|
70
78
|
GetSecretValueCommandOutput,
|
|
71
79
|
} from "./commands/GetSecretValueCommand";
|
|
80
|
+
import {
|
|
81
|
+
ListResourcePoliciesCommandInput,
|
|
82
|
+
ListResourcePoliciesCommandOutput,
|
|
83
|
+
} from "./commands/ListResourcePoliciesCommand";
|
|
72
84
|
import { ListSecretsCommandInput, ListSecretsCommandOutput } from "./commands/ListSecretsCommand";
|
|
73
85
|
import {
|
|
74
86
|
ListSecretVersionIdsCommandInput,
|
|
@@ -127,15 +139,18 @@ import {
|
|
|
127
139
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
128
140
|
export { __Client };
|
|
129
141
|
export type ServiceInputTypes =
|
|
142
|
+
| AssociateCrossAccountReplicaCommandInput
|
|
130
143
|
| BatchGetSecretValueCommandInput
|
|
131
144
|
| CancelRotateSecretCommandInput
|
|
132
145
|
| CreateSecretCommandInput
|
|
133
146
|
| DeleteResourcePolicyCommandInput
|
|
134
147
|
| DeleteSecretCommandInput
|
|
135
148
|
| DescribeSecretCommandInput
|
|
149
|
+
| DisassociateCrossAccountReplicaCommandInput
|
|
136
150
|
| GetRandomPasswordCommandInput
|
|
137
151
|
| GetResourcePolicyCommandInput
|
|
138
152
|
| GetSecretValueCommandInput
|
|
153
|
+
| ListResourcePoliciesCommandInput
|
|
139
154
|
| ListSecretVersionIdsCommandInput
|
|
140
155
|
| ListSecretsCommandInput
|
|
141
156
|
| PutResourcePolicyCommandInput
|
|
@@ -151,15 +166,18 @@ export type ServiceInputTypes =
|
|
|
151
166
|
| UpdateSecretVersionStageCommandInput
|
|
152
167
|
| ValidateResourcePolicyCommandInput;
|
|
153
168
|
export type ServiceOutputTypes =
|
|
169
|
+
| AssociateCrossAccountReplicaCommandOutput
|
|
154
170
|
| BatchGetSecretValueCommandOutput
|
|
155
171
|
| CancelRotateSecretCommandOutput
|
|
156
172
|
| CreateSecretCommandOutput
|
|
157
173
|
| DeleteResourcePolicyCommandOutput
|
|
158
174
|
| DeleteSecretCommandOutput
|
|
159
175
|
| DescribeSecretCommandOutput
|
|
176
|
+
| DisassociateCrossAccountReplicaCommandOutput
|
|
160
177
|
| GetRandomPasswordCommandOutput
|
|
161
178
|
| GetResourcePolicyCommandOutput
|
|
162
179
|
| GetSecretValueCommandOutput
|
|
180
|
+
| ListResourcePoliciesCommandOutput
|
|
163
181
|
| ListSecretVersionIdsCommandOutput
|
|
164
182
|
| ListSecretsCommandOutput
|
|
165
183
|
| PutResourcePolicyCommandOutput
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
AssociateCrossAccountReplicaRequest,
|
|
4
|
+
AssociateCrossAccountReplicaResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface AssociateCrossAccountReplicaCommandInput extends AssociateCrossAccountReplicaRequest {}
|
|
8
|
+
export interface AssociateCrossAccountReplicaCommandOutput
|
|
9
|
+
extends AssociateCrossAccountReplicaResponse, __MetadataBearer {}
|
|
10
|
+
declare const AssociateCrossAccountReplicaCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: AssociateCrossAccountReplicaCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
AssociateCrossAccountReplicaCommandInput,
|
|
15
|
+
AssociateCrossAccountReplicaCommandOutput,
|
|
16
|
+
import("..").SecretsManagerClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: AssociateCrossAccountReplicaCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
AssociateCrossAccountReplicaCommandInput,
|
|
24
|
+
AssociateCrossAccountReplicaCommandOutput,
|
|
25
|
+
import("..").SecretsManagerClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class AssociateCrossAccountReplicaCommand extends AssociateCrossAccountReplicaCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: AssociateCrossAccountReplicaRequest;
|
|
35
|
+
output: AssociateCrossAccountReplicaResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: AssociateCrossAccountReplicaCommandInput;
|
|
39
|
+
output: AssociateCrossAccountReplicaCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
DisassociateCrossAccountReplicaRequest,
|
|
4
|
+
DisassociateCrossAccountReplicaResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface DisassociateCrossAccountReplicaCommandInput extends DisassociateCrossAccountReplicaRequest {}
|
|
8
|
+
export interface DisassociateCrossAccountReplicaCommandOutput
|
|
9
|
+
extends DisassociateCrossAccountReplicaResponse, __MetadataBearer {}
|
|
10
|
+
declare const DisassociateCrossAccountReplicaCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: DisassociateCrossAccountReplicaCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
DisassociateCrossAccountReplicaCommandInput,
|
|
15
|
+
DisassociateCrossAccountReplicaCommandOutput,
|
|
16
|
+
import("..").SecretsManagerClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: DisassociateCrossAccountReplicaCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
DisassociateCrossAccountReplicaCommandInput,
|
|
24
|
+
DisassociateCrossAccountReplicaCommandOutput,
|
|
25
|
+
import("..").SecretsManagerClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class DisassociateCrossAccountReplicaCommand extends DisassociateCrossAccountReplicaCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: DisassociateCrossAccountReplicaRequest;
|
|
35
|
+
output: DisassociateCrossAccountReplicaResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: DisassociateCrossAccountReplicaCommandInput;
|
|
39
|
+
output: DisassociateCrossAccountReplicaCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { ListResourcePoliciesRequest, ListResourcePoliciesResponse } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface ListResourcePoliciesCommandInput extends ListResourcePoliciesRequest {}
|
|
5
|
+
export interface ListResourcePoliciesCommandOutput
|
|
6
|
+
extends ListResourcePoliciesResponse, __MetadataBearer {}
|
|
7
|
+
declare const ListResourcePoliciesCommand_base: {
|
|
8
|
+
new (
|
|
9
|
+
input: ListResourcePoliciesCommandInput,
|
|
10
|
+
): import("@smithy/core/client").CommandImpl<
|
|
11
|
+
ListResourcePoliciesCommandInput,
|
|
12
|
+
ListResourcePoliciesCommandOutput,
|
|
13
|
+
import("..").SecretsManagerClientResolvedConfig,
|
|
14
|
+
import("..").ServiceInputTypes,
|
|
15
|
+
import("..").ServiceOutputTypes
|
|
16
|
+
>;
|
|
17
|
+
new (
|
|
18
|
+
input: ListResourcePoliciesCommandInput,
|
|
19
|
+
): import("@smithy/core/client").CommandImpl<
|
|
20
|
+
ListResourcePoliciesCommandInput,
|
|
21
|
+
ListResourcePoliciesCommandOutput,
|
|
22
|
+
import("..").SecretsManagerClientResolvedConfig,
|
|
23
|
+
import("..").ServiceInputTypes,
|
|
24
|
+
import("..").ServiceOutputTypes
|
|
25
|
+
>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
export declare class ListResourcePoliciesCommand extends ListResourcePoliciesCommand_base {
|
|
29
|
+
protected static __types: {
|
|
30
|
+
api: {
|
|
31
|
+
input: ListResourcePoliciesRequest;
|
|
32
|
+
output: ListResourcePoliciesResponse;
|
|
33
|
+
};
|
|
34
|
+
sdk: {
|
|
35
|
+
input: ListResourcePoliciesCommandInput;
|
|
36
|
+
output: ListResourcePoliciesCommandOutput;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
+
export * from "./AssociateCrossAccountReplicaCommand";
|
|
1
2
|
export * from "./BatchGetSecretValueCommand";
|
|
2
3
|
export * from "./CancelRotateSecretCommand";
|
|
3
4
|
export * from "./CreateSecretCommand";
|
|
4
5
|
export * from "./DeleteResourcePolicyCommand";
|
|
5
6
|
export * from "./DeleteSecretCommand";
|
|
6
7
|
export * from "./DescribeSecretCommand";
|
|
8
|
+
export * from "./DisassociateCrossAccountReplicaCommand";
|
|
7
9
|
export * from "./GetRandomPasswordCommand";
|
|
8
10
|
export * from "./GetResourcePolicyCommand";
|
|
9
11
|
export * from "./GetSecretValueCommand";
|
|
12
|
+
export * from "./ListResourcePoliciesCommand";
|
|
10
13
|
export * from "./ListSecretVersionIdsCommand";
|
|
11
14
|
export * from "./ListSecretsCommand";
|
|
12
15
|
export * from "./PutResourcePolicyCommand";
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
export declare const ReplicaRestrictionType: {
|
|
2
|
+
readonly NoRestriction: "NoRestriction";
|
|
3
|
+
readonly SameOrg: "SameOrg";
|
|
4
|
+
};
|
|
5
|
+
export type ReplicaRestrictionType =
|
|
6
|
+
(typeof ReplicaRestrictionType)[keyof typeof ReplicaRestrictionType];
|
|
7
|
+
export declare const StatusType: {
|
|
8
|
+
readonly Detached: "Detached";
|
|
9
|
+
readonly Failed: "Failed";
|
|
10
|
+
readonly InProgress: "InProgress";
|
|
11
|
+
readonly InSync: "InSync";
|
|
12
|
+
readonly Pending: "Pending";
|
|
13
|
+
};
|
|
14
|
+
export type StatusType = (typeof StatusType)[keyof typeof StatusType];
|
|
1
15
|
export declare const FilterNameStringType: {
|
|
2
16
|
readonly all: "all";
|
|
3
17
|
readonly description: "description";
|
|
@@ -8,12 +22,6 @@ export declare const FilterNameStringType: {
|
|
|
8
22
|
readonly tag_value: "tag-value";
|
|
9
23
|
};
|
|
10
24
|
export type FilterNameStringType = (typeof FilterNameStringType)[keyof typeof FilterNameStringType];
|
|
11
|
-
export declare const StatusType: {
|
|
12
|
-
readonly Failed: "Failed";
|
|
13
|
-
readonly InProgress: "InProgress";
|
|
14
|
-
readonly InSync: "InSync";
|
|
15
|
-
};
|
|
16
|
-
export type StatusType = (typeof StatusType)[keyof typeof StatusType];
|
|
17
25
|
export declare const SortByType: {
|
|
18
26
|
readonly created_date: "created-date";
|
|
19
27
|
readonly last_accessed_date: "last-accessed-date";
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SecretsManagerServiceException as __BaseException } from "./SecretsManagerServiceException";
|
|
3
|
-
export declare class DecryptionFailure extends __BaseException {
|
|
4
|
-
static readonly shapeId: string;
|
|
5
|
-
readonly name: "DecryptionFailure";
|
|
6
|
-
readonly $fault: "client";
|
|
7
|
-
Message?: string | undefined;
|
|
8
|
-
constructor(opts: __ExceptionOptionType<DecryptionFailure, __BaseException>);
|
|
9
|
-
}
|
|
10
3
|
export declare class InternalServiceError extends __BaseException {
|
|
11
4
|
static readonly shapeId: string;
|
|
12
5
|
readonly name: "InternalServiceError";
|
|
@@ -14,13 +7,6 @@ export declare class InternalServiceError extends __BaseException {
|
|
|
14
7
|
Message?: string | undefined;
|
|
15
8
|
constructor(opts: __ExceptionOptionType<InternalServiceError, __BaseException>);
|
|
16
9
|
}
|
|
17
|
-
export declare class InvalidNextTokenException extends __BaseException {
|
|
18
|
-
static readonly shapeId: string;
|
|
19
|
-
readonly name: "InvalidNextTokenException";
|
|
20
|
-
readonly $fault: "client";
|
|
21
|
-
Message?: string | undefined;
|
|
22
|
-
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
23
|
-
}
|
|
24
10
|
export declare class InvalidParameterException extends __BaseException {
|
|
25
11
|
static readonly shapeId: string;
|
|
26
12
|
readonly name: "InvalidParameterException";
|
|
@@ -35,6 +21,13 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
35
21
|
Message?: string | undefined;
|
|
36
22
|
constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
|
|
37
23
|
}
|
|
24
|
+
export declare class LimitExceededException extends __BaseException {
|
|
25
|
+
static readonly shapeId: string;
|
|
26
|
+
readonly name: "LimitExceededException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
Message?: string | undefined;
|
|
29
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
30
|
+
}
|
|
38
31
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
39
32
|
static readonly shapeId: string;
|
|
40
33
|
readonly name: "ResourceNotFoundException";
|
|
@@ -42,19 +35,26 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
42
35
|
Message?: string | undefined;
|
|
43
36
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
44
37
|
}
|
|
45
|
-
export declare class
|
|
38
|
+
export declare class DecryptionFailure extends __BaseException {
|
|
46
39
|
static readonly shapeId: string;
|
|
47
|
-
readonly name: "
|
|
40
|
+
readonly name: "DecryptionFailure";
|
|
48
41
|
readonly $fault: "client";
|
|
49
42
|
Message?: string | undefined;
|
|
50
|
-
constructor(opts: __ExceptionOptionType<
|
|
43
|
+
constructor(opts: __ExceptionOptionType<DecryptionFailure, __BaseException>);
|
|
51
44
|
}
|
|
52
|
-
export declare class
|
|
45
|
+
export declare class InvalidNextTokenException extends __BaseException {
|
|
53
46
|
static readonly shapeId: string;
|
|
54
|
-
readonly name: "
|
|
47
|
+
readonly name: "InvalidNextTokenException";
|
|
55
48
|
readonly $fault: "client";
|
|
56
49
|
Message?: string | undefined;
|
|
57
|
-
constructor(opts: __ExceptionOptionType<
|
|
50
|
+
constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
|
|
51
|
+
}
|
|
52
|
+
export declare class EncryptionFailure extends __BaseException {
|
|
53
|
+
static readonly shapeId: string;
|
|
54
|
+
readonly name: "EncryptionFailure";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
Message?: string | undefined;
|
|
57
|
+
constructor(opts: __ExceptionOptionType<EncryptionFailure, __BaseException>);
|
|
58
58
|
}
|
|
59
59
|
export declare class MalformedPolicyDocumentException extends __BaseException {
|
|
60
60
|
static readonly shapeId: string;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
FilterNameStringType,
|
|
3
|
+
ReplicaRestrictionType,
|
|
4
|
+
SortByType,
|
|
5
|
+
SortOrderType,
|
|
6
|
+
StatusType,
|
|
7
|
+
} from "./enums";
|
|
2
8
|
export interface ReplicaRegionType {
|
|
3
9
|
Region?: string | undefined;
|
|
4
10
|
KmsKeyId?: string | undefined;
|
|
@@ -8,6 +14,17 @@ export interface APIErrorType {
|
|
|
8
14
|
ErrorCode?: string | undefined;
|
|
9
15
|
Message?: string | undefined;
|
|
10
16
|
}
|
|
17
|
+
export interface AssociateCrossAccountReplicaRequest {
|
|
18
|
+
SecretId: string | undefined;
|
|
19
|
+
CrossAccountReplicaARN: string | undefined;
|
|
20
|
+
ReplicaRestriction?: ReplicaRestrictionType | undefined;
|
|
21
|
+
ReplicationRoleARN?: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
export interface AssociateCrossAccountReplicaResponse {
|
|
24
|
+
ARN?: string | undefined;
|
|
25
|
+
CrossAccountReplicaARN?: string | undefined;
|
|
26
|
+
ReplicationStatus?: StatusType | undefined;
|
|
27
|
+
}
|
|
11
28
|
export interface Filter {
|
|
12
29
|
Key?: FilterNameStringType | undefined;
|
|
13
30
|
Values?: string[] | undefined;
|
|
@@ -55,6 +72,7 @@ export interface CreateSecretRequest {
|
|
|
55
72
|
AddReplicaRegions?: ReplicaRegionType[] | undefined;
|
|
56
73
|
ForceOverwriteReplicaSecret?: boolean | undefined;
|
|
57
74
|
Type?: string | undefined;
|
|
75
|
+
CrossAccountPrimaryARN?: string | undefined;
|
|
58
76
|
}
|
|
59
77
|
export interface ReplicationStatusType {
|
|
60
78
|
Region?: string | undefined;
|
|
@@ -69,12 +87,25 @@ export interface CreateSecretResponse {
|
|
|
69
87
|
VersionId?: string | undefined;
|
|
70
88
|
ReplicationStatus?: ReplicationStatusType[] | undefined;
|
|
71
89
|
}
|
|
90
|
+
export interface CrossAccountPrimaryType {
|
|
91
|
+
PrimarySecretARN?: string | undefined;
|
|
92
|
+
ReplicationStatus?: StatusType | undefined;
|
|
93
|
+
StatusMessage?: string | undefined;
|
|
94
|
+
}
|
|
95
|
+
export interface CrossAccountReplicaEntry {
|
|
96
|
+
ReplicaSecretARN?: string | undefined;
|
|
97
|
+
ReplicationRoleARN?: string | undefined;
|
|
98
|
+
ReplicationStatus?: StatusType | undefined;
|
|
99
|
+
StatusMessage?: string | undefined;
|
|
100
|
+
}
|
|
72
101
|
export interface DeleteResourcePolicyRequest {
|
|
73
102
|
SecretId: string | undefined;
|
|
103
|
+
PolicyName?: string | undefined;
|
|
74
104
|
}
|
|
75
105
|
export interface DeleteResourcePolicyResponse {
|
|
76
106
|
ARN?: string | undefined;
|
|
77
107
|
Name?: string | undefined;
|
|
108
|
+
PolicyName?: string | undefined;
|
|
78
109
|
}
|
|
79
110
|
export interface DeleteSecretRequest {
|
|
80
111
|
SecretId: string | undefined;
|
|
@@ -120,6 +151,16 @@ export interface DescribeSecretResponse {
|
|
|
120
151
|
CreatedDate?: Date | undefined;
|
|
121
152
|
PrimaryRegion?: string | undefined;
|
|
122
153
|
ReplicationStatus?: ReplicationStatusType[] | undefined;
|
|
154
|
+
CrossAccountPrimary?: CrossAccountPrimaryType | undefined;
|
|
155
|
+
CrossAccountReplicas?: CrossAccountReplicaEntry[] | undefined;
|
|
156
|
+
}
|
|
157
|
+
export interface DisassociateCrossAccountReplicaRequest {
|
|
158
|
+
SecretId: string | undefined;
|
|
159
|
+
CrossAccountReplicaARN: string | undefined;
|
|
160
|
+
}
|
|
161
|
+
export interface DisassociateCrossAccountReplicaResponse {
|
|
162
|
+
ARN?: string | undefined;
|
|
163
|
+
CrossAccountReplicaARN?: string | undefined;
|
|
123
164
|
}
|
|
124
165
|
export interface GetRandomPasswordRequest {
|
|
125
166
|
PasswordLength?: number | undefined;
|
|
@@ -136,11 +177,13 @@ export interface GetRandomPasswordResponse {
|
|
|
136
177
|
}
|
|
137
178
|
export interface GetResourcePolicyRequest {
|
|
138
179
|
SecretId: string | undefined;
|
|
180
|
+
PolicyName?: string | undefined;
|
|
139
181
|
}
|
|
140
182
|
export interface GetResourcePolicyResponse {
|
|
141
183
|
ARN?: string | undefined;
|
|
142
184
|
Name?: string | undefined;
|
|
143
185
|
ResourcePolicy?: string | undefined;
|
|
186
|
+
PolicyName?: string | undefined;
|
|
144
187
|
}
|
|
145
188
|
export interface GetSecretValueRequest {
|
|
146
189
|
SecretId: string | undefined;
|
|
@@ -156,6 +199,18 @@ export interface GetSecretValueResponse {
|
|
|
156
199
|
VersionStages?: string[] | undefined;
|
|
157
200
|
CreatedDate?: Date | undefined;
|
|
158
201
|
}
|
|
202
|
+
export interface ListResourcePoliciesRequest {
|
|
203
|
+
SecretId: string | undefined;
|
|
204
|
+
MaxResults?: number | undefined;
|
|
205
|
+
NextToken?: string | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface ResourcePolicySummary {
|
|
208
|
+
PolicyName?: string | undefined;
|
|
209
|
+
}
|
|
210
|
+
export interface ListResourcePoliciesResponse {
|
|
211
|
+
ResourcePolicies: ResourcePolicySummary[] | undefined;
|
|
212
|
+
NextToken?: string | undefined;
|
|
213
|
+
}
|
|
159
214
|
export interface ListSecretsRequest {
|
|
160
215
|
IncludePlannedDeletion?: boolean | undefined;
|
|
161
216
|
MaxResults?: number | undefined;
|
|
@@ -212,11 +267,13 @@ export interface ListSecretVersionIdsResponse {
|
|
|
212
267
|
export interface PutResourcePolicyRequest {
|
|
213
268
|
SecretId: string | undefined;
|
|
214
269
|
ResourcePolicy: string | undefined;
|
|
270
|
+
PolicyName?: string | undefined;
|
|
215
271
|
BlockPublicPolicy?: boolean | undefined;
|
|
216
272
|
}
|
|
217
273
|
export interface PutResourcePolicyResponse {
|
|
218
274
|
ARN?: string | undefined;
|
|
219
275
|
Name?: string | undefined;
|
|
276
|
+
PolicyName?: string | undefined;
|
|
220
277
|
}
|
|
221
278
|
export interface PutSecretValueRequest {
|
|
222
279
|
SecretId: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListResourcePoliciesCommandInput,
|
|
4
|
+
ListResourcePoliciesCommandOutput,
|
|
5
|
+
} from "../commands/ListResourcePoliciesCommand";
|
|
6
|
+
import { SecretsManagerPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListResourcePolicies: (
|
|
8
|
+
config: SecretsManagerPaginationConfiguration,
|
|
9
|
+
input: ListResourcePoliciesCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListResourcePoliciesCommandOutput>;
|
|
@@ -15,18 +15,24 @@ export declare var ResourceExistsException$: StaticErrorSchema;
|
|
|
15
15
|
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
16
16
|
export declare const errorTypeRegistries: TypeRegistry[];
|
|
17
17
|
export declare var APIErrorType$: StaticStructureSchema;
|
|
18
|
+
export declare var AssociateCrossAccountReplicaRequest$: StaticStructureSchema;
|
|
19
|
+
export declare var AssociateCrossAccountReplicaResponse$: StaticStructureSchema;
|
|
18
20
|
export declare var BatchGetSecretValueRequest$: StaticStructureSchema;
|
|
19
21
|
export declare var BatchGetSecretValueResponse$: StaticStructureSchema;
|
|
20
22
|
export declare var CancelRotateSecretRequest$: StaticStructureSchema;
|
|
21
23
|
export declare var CancelRotateSecretResponse$: StaticStructureSchema;
|
|
22
24
|
export declare var CreateSecretRequest$: StaticStructureSchema;
|
|
23
25
|
export declare var CreateSecretResponse$: StaticStructureSchema;
|
|
26
|
+
export declare var CrossAccountPrimaryType$: StaticStructureSchema;
|
|
27
|
+
export declare var CrossAccountReplicaEntry$: StaticStructureSchema;
|
|
24
28
|
export declare var DeleteResourcePolicyRequest$: StaticStructureSchema;
|
|
25
29
|
export declare var DeleteResourcePolicyResponse$: StaticStructureSchema;
|
|
26
30
|
export declare var DeleteSecretRequest$: StaticStructureSchema;
|
|
27
31
|
export declare var DeleteSecretResponse$: StaticStructureSchema;
|
|
28
32
|
export declare var DescribeSecretRequest$: StaticStructureSchema;
|
|
29
33
|
export declare var DescribeSecretResponse$: StaticStructureSchema;
|
|
34
|
+
export declare var DisassociateCrossAccountReplicaRequest$: StaticStructureSchema;
|
|
35
|
+
export declare var DisassociateCrossAccountReplicaResponse$: StaticStructureSchema;
|
|
30
36
|
export declare var ExternalSecretRotationMetadataItem$: StaticStructureSchema;
|
|
31
37
|
export declare var Filter$: StaticStructureSchema;
|
|
32
38
|
export declare var GetRandomPasswordRequest$: StaticStructureSchema;
|
|
@@ -35,6 +41,8 @@ export declare var GetResourcePolicyRequest$: StaticStructureSchema;
|
|
|
35
41
|
export declare var GetResourcePolicyResponse$: StaticStructureSchema;
|
|
36
42
|
export declare var GetSecretValueRequest$: StaticStructureSchema;
|
|
37
43
|
export declare var GetSecretValueResponse$: StaticStructureSchema;
|
|
44
|
+
export declare var ListResourcePoliciesRequest$: StaticStructureSchema;
|
|
45
|
+
export declare var ListResourcePoliciesResponse$: StaticStructureSchema;
|
|
38
46
|
export declare var ListSecretsRequest$: StaticStructureSchema;
|
|
39
47
|
export declare var ListSecretsResponse$: StaticStructureSchema;
|
|
40
48
|
export declare var ListSecretVersionIdsRequest$: StaticStructureSchema;
|
|
@@ -49,6 +57,7 @@ export declare var ReplicaRegionType$: StaticStructureSchema;
|
|
|
49
57
|
export declare var ReplicateSecretToRegionsRequest$: StaticStructureSchema;
|
|
50
58
|
export declare var ReplicateSecretToRegionsResponse$: StaticStructureSchema;
|
|
51
59
|
export declare var ReplicationStatusType$: StaticStructureSchema;
|
|
60
|
+
export declare var ResourcePolicySummary$: StaticStructureSchema;
|
|
52
61
|
export declare var RestoreSecretRequest$: StaticStructureSchema;
|
|
53
62
|
export declare var RestoreSecretResponse$: StaticStructureSchema;
|
|
54
63
|
export declare var RotateSecretRequest$: StaticStructureSchema;
|
|
@@ -69,15 +78,18 @@ export declare var UpdateSecretVersionStageResponse$: StaticStructureSchema;
|
|
|
69
78
|
export declare var ValidateResourcePolicyRequest$: StaticStructureSchema;
|
|
70
79
|
export declare var ValidateResourcePolicyResponse$: StaticStructureSchema;
|
|
71
80
|
export declare var ValidationErrorsEntry$: StaticStructureSchema;
|
|
81
|
+
export declare var AssociateCrossAccountReplica$: StaticOperationSchema;
|
|
72
82
|
export declare var BatchGetSecretValue$: StaticOperationSchema;
|
|
73
83
|
export declare var CancelRotateSecret$: StaticOperationSchema;
|
|
74
84
|
export declare var CreateSecret$: StaticOperationSchema;
|
|
75
85
|
export declare var DeleteResourcePolicy$: StaticOperationSchema;
|
|
76
86
|
export declare var DeleteSecret$: StaticOperationSchema;
|
|
77
87
|
export declare var DescribeSecret$: StaticOperationSchema;
|
|
88
|
+
export declare var DisassociateCrossAccountReplica$: StaticOperationSchema;
|
|
78
89
|
export declare var GetRandomPassword$: StaticOperationSchema;
|
|
79
90
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
80
91
|
export declare var GetSecretValue$: StaticOperationSchema;
|
|
92
|
+
export declare var ListResourcePolicies$: StaticOperationSchema;
|
|
81
93
|
export declare var ListSecrets$: StaticOperationSchema;
|
|
82
94
|
export declare var ListSecretVersionIds$: StaticOperationSchema;
|
|
83
95
|
export declare var PutResourcePolicy$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-secrets-manager",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1169.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-secrets-manager",
|
|
6
6
|
"license": "Apache-2.0",
|