@aws-sdk/client-secrets-manager 3.34.0 → 3.37.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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/SecretsManager.js +2 -68
- package/dist-cjs/SecretsManagerClient.js +35 -0
- package/dist-cjs/commands/CancelRotateSecretCommand.js +36 -0
- package/dist-cjs/commands/CreateSecretCommand.js +36 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/DeleteSecretCommand.js +36 -0
- package/dist-cjs/commands/DescribeSecretCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/GetRandomPasswordCommand.js +2 -39
- package/dist-cjs/commands/GetResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetSecretValueCommand.js +36 -0
- package/dist-cjs/commands/ListSecretVersionIdsCommand.js +36 -0
- package/dist-cjs/commands/ListSecretsCommand.js +36 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
- package/dist-cjs/commands/PutSecretValueCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/RemoveRegionsFromReplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ReplicateSecretToRegionsCommand.js +2 -28
- package/dist-cjs/commands/RestoreSecretCommand.js +36 -0
- package/dist-cjs/commands/RotateSecretCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/StopReplicationToReplicaCommand.js +2 -27
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateSecretCommand.js +36 -0
- package/dist-cjs/commands/UpdateSecretVersionStageCommand.js +36 -0
- package/dist-cjs/commands/ValidateResourcePolicyCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -187
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListSecretVersionIdsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListSecretsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/SecretsManager.js +2 -3
- package/{dist/es → dist-es}/SecretsManagerClient.js +1 -2
- package/{dist/es → dist-es}/commands/CancelRotateSecretCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateSecretCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteResourcePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteSecretCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeSecretCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetRandomPasswordCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetResourcePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSecretValueCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListSecretVersionIdsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListSecretsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutResourcePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutSecretValueCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RemoveRegionsFromReplicationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ReplicateSecretToRegionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RestoreSecretCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RotateSecretCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopReplicationToReplicaCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateSecretCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateSecretVersionStageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ValidateResourcePolicyCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListSecretVersionIdsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListSecretsPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/SecretsManager.d.ts +19 -13
- package/{dist/types → dist-types}/SecretsManagerClient.d.ts +9 -9
- package/{dist/types → dist-types}/commands/CancelRotateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/CreateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DescribeSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetRandomPasswordCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetSecretValueCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListSecretVersionIdsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ListSecretsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/PutResourcePolicyCommand.d.ts +3 -3
- package/{dist/types/ts3.4 → dist-types}/commands/PutSecretValueCommand.d.ts +123 -122
- package/{dist/types → dist-types}/commands/RemoveRegionsFromReplicationCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ReplicateSecretToRegionsCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RestoreSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/RotateSecretCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StopReplicationToReplicaCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
- package/{dist/types/ts3.4 → dist-types}/commands/UpdateSecretCommand.d.ts +124 -119
- package/{dist/types → dist-types}/commands/UpdateSecretVersionStageCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ValidateResourcePolicyCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +54 -268
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListSecretVersionIdsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListSecretsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/SecretsManager.d.ts +115 -0
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +89 -0
- package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +5 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +791 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListSecretVersionIdsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListSecretsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/SecretsManager.ts +0 -1642
- package/SecretsManagerClient.ts +0 -384
- package/commands/CancelRotateSecretCommand.ts +0 -146
- package/commands/CreateSecretCommand.ts +0 -181
- package/commands/DeleteResourcePolicyCommand.ts +0 -117
- package/commands/DeleteSecretCommand.ts +0 -139
- package/commands/DescribeSecretCommand.ts +0 -121
- package/commands/GetRandomPasswordCommand.ts +0 -106
- package/commands/GetResourcePolicyCommand.ts +0 -120
- package/commands/GetSecretValueCommand.ts +0 -121
- package/commands/ListSecretVersionIdsCommand.ts +0 -122
- package/commands/ListSecretsCommand.ts +0 -123
- package/commands/PutResourcePolicyCommand.ts +0 -125
- package/commands/PutSecretValueCommand.ts +0 -181
- package/commands/RemoveRegionsFromReplicationCommand.ts +0 -99
- package/commands/ReplicateSecretToRegionsCommand.ts +0 -95
- package/commands/RestoreSecretCommand.ts +0 -112
- package/commands/RotateSecretCommand.ts +0 -155
- package/commands/StopReplicationToReplicaCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -149
- package/commands/UntagResourceCommand.ts +0 -122
- package/commands/UpdateSecretCommand.ts +0 -178
- package/commands/UpdateSecretVersionStageCommand.ts +0 -130
- package/commands/ValidateResourcePolicyCommand.ts +0 -128
- package/dist/cjs/SecretsManager.js.map +0 -1
- package/dist/cjs/SecretsManagerClient.js +0 -106
- package/dist/cjs/SecretsManagerClient.js.map +0 -1
- package/dist/cjs/commands/CancelRotateSecretCommand.js +0 -113
- package/dist/cjs/commands/CancelRotateSecretCommand.js.map +0 -1
- package/dist/cjs/commands/CreateSecretCommand.js +0 -148
- package/dist/cjs/commands/CreateSecretCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js +0 -84
- package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteSecretCommand.js +0 -106
- package/dist/cjs/commands/DeleteSecretCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeSecretCommand.js +0 -88
- package/dist/cjs/commands/DescribeSecretCommand.js.map +0 -1
- package/dist/cjs/commands/GetRandomPasswordCommand.js.map +0 -1
- package/dist/cjs/commands/GetResourcePolicyCommand.js +0 -87
- package/dist/cjs/commands/GetResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/GetSecretValueCommand.js +0 -88
- package/dist/cjs/commands/GetSecretValueCommand.js.map +0 -1
- package/dist/cjs/commands/ListSecretVersionIdsCommand.js +0 -89
- package/dist/cjs/commands/ListSecretVersionIdsCommand.js.map +0 -1
- package/dist/cjs/commands/ListSecretsCommand.js +0 -90
- package/dist/cjs/commands/ListSecretsCommand.js.map +0 -1
- package/dist/cjs/commands/PutResourcePolicyCommand.js +0 -92
- package/dist/cjs/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/commands/PutSecretValueCommand.js +0 -148
- package/dist/cjs/commands/PutSecretValueCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveRegionsFromReplicationCommand.js.map +0 -1
- package/dist/cjs/commands/ReplicateSecretToRegionsCommand.js.map +0 -1
- package/dist/cjs/commands/RestoreSecretCommand.js +0 -79
- package/dist/cjs/commands/RestoreSecretCommand.js.map +0 -1
- package/dist/cjs/commands/RotateSecretCommand.js +0 -122
- package/dist/cjs/commands/RotateSecretCommand.js.map +0 -1
- package/dist/cjs/commands/StopReplicationToReplicaCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js +0 -116
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js +0 -89
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSecretCommand.js +0 -145
- package/dist/cjs/commands/UpdateSecretCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSecretVersionStageCommand.js +0 -97
- package/dist/cjs/commands/UpdateSecretVersionStageCommand.js.map +0 -1
- package/dist/cjs/commands/ValidateResourcePolicyCommand.js +0 -95
- package/dist/cjs/commands/ValidateResourcePolicyCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListSecretVersionIdsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListSecretsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/SecretsManager.js.map +0 -1
- package/dist/es/SecretsManagerClient.js.map +0 -1
- package/dist/es/commands/CancelRotateSecretCommand.js.map +0 -1
- package/dist/es/commands/CreateSecretCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/DeleteSecretCommand.js.map +0 -1
- package/dist/es/commands/DescribeSecretCommand.js.map +0 -1
- package/dist/es/commands/GetRandomPasswordCommand.js.map +0 -1
- package/dist/es/commands/GetResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/GetSecretValueCommand.js.map +0 -1
- package/dist/es/commands/ListSecretVersionIdsCommand.js.map +0 -1
- package/dist/es/commands/ListSecretsCommand.js.map +0 -1
- package/dist/es/commands/PutResourcePolicyCommand.js.map +0 -1
- package/dist/es/commands/PutSecretValueCommand.js.map +0 -1
- package/dist/es/commands/RemoveRegionsFromReplicationCommand.js.map +0 -1
- package/dist/es/commands/ReplicateSecretToRegionsCommand.js.map +0 -1
- package/dist/es/commands/RestoreSecretCommand.js.map +0 -1
- package/dist/es/commands/RotateSecretCommand.js.map +0 -1
- package/dist/es/commands/StopReplicationToReplicaCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateSecretCommand.js.map +0 -1
- package/dist/es/commands/UpdateSecretVersionStageCommand.js.map +0 -1
- package/dist/es/commands/ValidateResourcePolicyCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -29
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListSecretVersionIdsPaginator.js.map +0 -1
- package/dist/es/pagination/ListSecretsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/commands/PutSecretValueCommand.d.ts +0 -122
- package/dist/types/commands/UpdateSecretCommand.d.ts +0 -119
- package/dist/types/ts3.4/SecretsManager.d.ts +0 -1014
- package/dist/types/ts3.4/SecretsManagerClient.d.ts +0 -216
- package/dist/types/ts3.4/commands/CancelRotateSecretCommand.d.ts +0 -87
- package/dist/types/ts3.4/commands/CreateSecretCommand.d.ts +0 -122
- package/dist/types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -58
- package/dist/types/ts3.4/commands/DeleteSecretCommand.d.ts +0 -80
- package/dist/types/ts3.4/commands/DescribeSecretCommand.d.ts +0 -62
- package/dist/types/ts3.4/commands/GetRandomPasswordCommand.d.ts +0 -47
- package/dist/types/ts3.4/commands/GetResourcePolicyCommand.d.ts +0 -61
- package/dist/types/ts3.4/commands/GetSecretValueCommand.d.ts +0 -62
- package/dist/types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +0 -63
- package/dist/types/ts3.4/commands/ListSecretsCommand.d.ts +0 -64
- package/dist/types/ts3.4/commands/PutResourcePolicyCommand.d.ts +0 -66
- package/dist/types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/RestoreSecretCommand.d.ts +0 -53
- package/dist/types/ts3.4/commands/RotateSecretCommand.d.ts +0 -96
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -90
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -63
- package/dist/types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +0 -71
- package/dist/types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +0 -69
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2041
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2422
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListSecretVersionIdsPaginator.ts +0 -58
- package/pagination/ListSecretsPaginator.ts +0 -54
- package/protocols/Aws_json1_1.ts +0 -3421
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -0,0 +1,791 @@
|
|
|
1
|
+
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
|
|
3
|
+
export interface ReplicaRegionType {
|
|
4
|
+
|
|
5
|
+
Region?: string;
|
|
6
|
+
|
|
7
|
+
KmsKeyId?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace ReplicaRegionType {
|
|
10
|
+
|
|
11
|
+
const filterSensitiveLog: (obj: ReplicaRegionType) => any;
|
|
12
|
+
}
|
|
13
|
+
export interface CancelRotateSecretRequest {
|
|
14
|
+
|
|
15
|
+
SecretId: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace CancelRotateSecretRequest {
|
|
18
|
+
|
|
19
|
+
const filterSensitiveLog: (obj: CancelRotateSecretRequest) => any;
|
|
20
|
+
}
|
|
21
|
+
export interface CancelRotateSecretResponse {
|
|
22
|
+
|
|
23
|
+
ARN?: string;
|
|
24
|
+
|
|
25
|
+
Name?: string;
|
|
26
|
+
|
|
27
|
+
VersionId?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace CancelRotateSecretResponse {
|
|
30
|
+
|
|
31
|
+
const filterSensitiveLog: (obj: CancelRotateSecretResponse) => any;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface InternalServiceError extends __SmithyException, $MetadataBearer {
|
|
35
|
+
name: "InternalServiceError";
|
|
36
|
+
$fault: "server";
|
|
37
|
+
Message?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare namespace InternalServiceError {
|
|
40
|
+
|
|
41
|
+
const filterSensitiveLog: (obj: InternalServiceError) => any;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
45
|
+
name: "InvalidParameterException";
|
|
46
|
+
$fault: "client";
|
|
47
|
+
Message?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace InvalidParameterException {
|
|
50
|
+
|
|
51
|
+
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
|
|
55
|
+
name: "InvalidRequestException";
|
|
56
|
+
$fault: "client";
|
|
57
|
+
Message?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare namespace InvalidRequestException {
|
|
60
|
+
|
|
61
|
+
const filterSensitiveLog: (obj: InvalidRequestException) => any;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
65
|
+
name: "ResourceNotFoundException";
|
|
66
|
+
$fault: "client";
|
|
67
|
+
Message?: string;
|
|
68
|
+
}
|
|
69
|
+
export declare namespace ResourceNotFoundException {
|
|
70
|
+
|
|
71
|
+
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface Tag {
|
|
75
|
+
|
|
76
|
+
Key?: string;
|
|
77
|
+
|
|
78
|
+
Value?: string;
|
|
79
|
+
}
|
|
80
|
+
export declare namespace Tag {
|
|
81
|
+
|
|
82
|
+
const filterSensitiveLog: (obj: Tag) => any;
|
|
83
|
+
}
|
|
84
|
+
export interface CreateSecretRequest {
|
|
85
|
+
|
|
86
|
+
Name: string | undefined;
|
|
87
|
+
|
|
88
|
+
ClientRequestToken?: string;
|
|
89
|
+
|
|
90
|
+
Description?: string;
|
|
91
|
+
|
|
92
|
+
KmsKeyId?: string;
|
|
93
|
+
|
|
94
|
+
SecretBinary?: Uint8Array;
|
|
95
|
+
|
|
96
|
+
SecretString?: string;
|
|
97
|
+
|
|
98
|
+
Tags?: Tag[];
|
|
99
|
+
|
|
100
|
+
AddReplicaRegions?: ReplicaRegionType[];
|
|
101
|
+
|
|
102
|
+
ForceOverwriteReplicaSecret?: boolean;
|
|
103
|
+
}
|
|
104
|
+
export declare namespace CreateSecretRequest {
|
|
105
|
+
|
|
106
|
+
const filterSensitiveLog: (obj: CreateSecretRequest) => any;
|
|
107
|
+
}
|
|
108
|
+
export declare enum StatusType {
|
|
109
|
+
Failed = "Failed",
|
|
110
|
+
InProgress = "InProgress",
|
|
111
|
+
InSync = "InSync"
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface ReplicationStatusType {
|
|
115
|
+
|
|
116
|
+
Region?: string;
|
|
117
|
+
|
|
118
|
+
KmsKeyId?: string;
|
|
119
|
+
|
|
120
|
+
Status?: StatusType | string;
|
|
121
|
+
|
|
122
|
+
StatusMessage?: string;
|
|
123
|
+
|
|
124
|
+
LastAccessedDate?: Date;
|
|
125
|
+
}
|
|
126
|
+
export declare namespace ReplicationStatusType {
|
|
127
|
+
|
|
128
|
+
const filterSensitiveLog: (obj: ReplicationStatusType) => any;
|
|
129
|
+
}
|
|
130
|
+
export interface CreateSecretResponse {
|
|
131
|
+
|
|
132
|
+
ARN?: string;
|
|
133
|
+
|
|
134
|
+
Name?: string;
|
|
135
|
+
|
|
136
|
+
VersionId?: string;
|
|
137
|
+
|
|
138
|
+
ReplicationStatus?: ReplicationStatusType[];
|
|
139
|
+
}
|
|
140
|
+
export declare namespace CreateSecretResponse {
|
|
141
|
+
|
|
142
|
+
const filterSensitiveLog: (obj: CreateSecretResponse) => any;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export interface EncryptionFailure extends __SmithyException, $MetadataBearer {
|
|
146
|
+
name: "EncryptionFailure";
|
|
147
|
+
$fault: "client";
|
|
148
|
+
Message?: string;
|
|
149
|
+
}
|
|
150
|
+
export declare namespace EncryptionFailure {
|
|
151
|
+
|
|
152
|
+
const filterSensitiveLog: (obj: EncryptionFailure) => any;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
156
|
+
name: "LimitExceededException";
|
|
157
|
+
$fault: "client";
|
|
158
|
+
Message?: string;
|
|
159
|
+
}
|
|
160
|
+
export declare namespace LimitExceededException {
|
|
161
|
+
|
|
162
|
+
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface MalformedPolicyDocumentException extends __SmithyException, $MetadataBearer {
|
|
166
|
+
name: "MalformedPolicyDocumentException";
|
|
167
|
+
$fault: "client";
|
|
168
|
+
Message?: string;
|
|
169
|
+
}
|
|
170
|
+
export declare namespace MalformedPolicyDocumentException {
|
|
171
|
+
|
|
172
|
+
const filterSensitiveLog: (obj: MalformedPolicyDocumentException) => any;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export interface PreconditionNotMetException extends __SmithyException, $MetadataBearer {
|
|
176
|
+
name: "PreconditionNotMetException";
|
|
177
|
+
$fault: "client";
|
|
178
|
+
Message?: string;
|
|
179
|
+
}
|
|
180
|
+
export declare namespace PreconditionNotMetException {
|
|
181
|
+
|
|
182
|
+
const filterSensitiveLog: (obj: PreconditionNotMetException) => any;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export interface ResourceExistsException extends __SmithyException, $MetadataBearer {
|
|
186
|
+
name: "ResourceExistsException";
|
|
187
|
+
$fault: "client";
|
|
188
|
+
Message?: string;
|
|
189
|
+
}
|
|
190
|
+
export declare namespace ResourceExistsException {
|
|
191
|
+
|
|
192
|
+
const filterSensitiveLog: (obj: ResourceExistsException) => any;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface DecryptionFailure extends __SmithyException, $MetadataBearer {
|
|
196
|
+
name: "DecryptionFailure";
|
|
197
|
+
$fault: "client";
|
|
198
|
+
Message?: string;
|
|
199
|
+
}
|
|
200
|
+
export declare namespace DecryptionFailure {
|
|
201
|
+
|
|
202
|
+
const filterSensitiveLog: (obj: DecryptionFailure) => any;
|
|
203
|
+
}
|
|
204
|
+
export interface DeleteResourcePolicyRequest {
|
|
205
|
+
|
|
206
|
+
SecretId: string | undefined;
|
|
207
|
+
}
|
|
208
|
+
export declare namespace DeleteResourcePolicyRequest {
|
|
209
|
+
|
|
210
|
+
const filterSensitiveLog: (obj: DeleteResourcePolicyRequest) => any;
|
|
211
|
+
}
|
|
212
|
+
export interface DeleteResourcePolicyResponse {
|
|
213
|
+
|
|
214
|
+
ARN?: string;
|
|
215
|
+
|
|
216
|
+
Name?: string;
|
|
217
|
+
}
|
|
218
|
+
export declare namespace DeleteResourcePolicyResponse {
|
|
219
|
+
|
|
220
|
+
const filterSensitiveLog: (obj: DeleteResourcePolicyResponse) => any;
|
|
221
|
+
}
|
|
222
|
+
export interface DeleteSecretRequest {
|
|
223
|
+
|
|
224
|
+
SecretId: string | undefined;
|
|
225
|
+
|
|
226
|
+
RecoveryWindowInDays?: number;
|
|
227
|
+
|
|
228
|
+
ForceDeleteWithoutRecovery?: boolean;
|
|
229
|
+
}
|
|
230
|
+
export declare namespace DeleteSecretRequest {
|
|
231
|
+
|
|
232
|
+
const filterSensitiveLog: (obj: DeleteSecretRequest) => any;
|
|
233
|
+
}
|
|
234
|
+
export interface DeleteSecretResponse {
|
|
235
|
+
|
|
236
|
+
ARN?: string;
|
|
237
|
+
|
|
238
|
+
Name?: string;
|
|
239
|
+
|
|
240
|
+
DeletionDate?: Date;
|
|
241
|
+
}
|
|
242
|
+
export declare namespace DeleteSecretResponse {
|
|
243
|
+
|
|
244
|
+
const filterSensitiveLog: (obj: DeleteSecretResponse) => any;
|
|
245
|
+
}
|
|
246
|
+
export interface DescribeSecretRequest {
|
|
247
|
+
|
|
248
|
+
SecretId: string | undefined;
|
|
249
|
+
}
|
|
250
|
+
export declare namespace DescribeSecretRequest {
|
|
251
|
+
|
|
252
|
+
const filterSensitiveLog: (obj: DescribeSecretRequest) => any;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export interface RotationRulesType {
|
|
256
|
+
|
|
257
|
+
AutomaticallyAfterDays?: number;
|
|
258
|
+
}
|
|
259
|
+
export declare namespace RotationRulesType {
|
|
260
|
+
|
|
261
|
+
const filterSensitiveLog: (obj: RotationRulesType) => any;
|
|
262
|
+
}
|
|
263
|
+
export interface DescribeSecretResponse {
|
|
264
|
+
|
|
265
|
+
ARN?: string;
|
|
266
|
+
|
|
267
|
+
Name?: string;
|
|
268
|
+
|
|
269
|
+
Description?: string;
|
|
270
|
+
|
|
271
|
+
KmsKeyId?: string;
|
|
272
|
+
|
|
273
|
+
RotationEnabled?: boolean;
|
|
274
|
+
|
|
275
|
+
RotationLambdaARN?: string;
|
|
276
|
+
|
|
277
|
+
RotationRules?: RotationRulesType;
|
|
278
|
+
|
|
279
|
+
LastRotatedDate?: Date;
|
|
280
|
+
|
|
281
|
+
LastChangedDate?: Date;
|
|
282
|
+
|
|
283
|
+
LastAccessedDate?: Date;
|
|
284
|
+
|
|
285
|
+
DeletedDate?: Date;
|
|
286
|
+
|
|
287
|
+
Tags?: Tag[];
|
|
288
|
+
|
|
289
|
+
VersionIdsToStages?: {
|
|
290
|
+
[key: string]: string[];
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
OwningService?: string;
|
|
294
|
+
|
|
295
|
+
CreatedDate?: Date;
|
|
296
|
+
|
|
297
|
+
PrimaryRegion?: string;
|
|
298
|
+
|
|
299
|
+
ReplicationStatus?: ReplicationStatusType[];
|
|
300
|
+
}
|
|
301
|
+
export declare namespace DescribeSecretResponse {
|
|
302
|
+
|
|
303
|
+
const filterSensitiveLog: (obj: DescribeSecretResponse) => any;
|
|
304
|
+
}
|
|
305
|
+
export declare type FilterNameStringType = "all" | "description" | "name" | "primary-region" | "tag-key" | "tag-value";
|
|
306
|
+
|
|
307
|
+
export interface Filter {
|
|
308
|
+
|
|
309
|
+
Key?: FilterNameStringType | string;
|
|
310
|
+
|
|
311
|
+
Values?: string[];
|
|
312
|
+
}
|
|
313
|
+
export declare namespace Filter {
|
|
314
|
+
|
|
315
|
+
const filterSensitiveLog: (obj: Filter) => any;
|
|
316
|
+
}
|
|
317
|
+
export interface GetRandomPasswordRequest {
|
|
318
|
+
|
|
319
|
+
PasswordLength?: number;
|
|
320
|
+
|
|
321
|
+
ExcludeCharacters?: string;
|
|
322
|
+
|
|
323
|
+
ExcludeNumbers?: boolean;
|
|
324
|
+
|
|
325
|
+
ExcludePunctuation?: boolean;
|
|
326
|
+
|
|
327
|
+
ExcludeUppercase?: boolean;
|
|
328
|
+
|
|
329
|
+
ExcludeLowercase?: boolean;
|
|
330
|
+
|
|
331
|
+
IncludeSpace?: boolean;
|
|
332
|
+
|
|
333
|
+
RequireEachIncludedType?: boolean;
|
|
334
|
+
}
|
|
335
|
+
export declare namespace GetRandomPasswordRequest {
|
|
336
|
+
|
|
337
|
+
const filterSensitiveLog: (obj: GetRandomPasswordRequest) => any;
|
|
338
|
+
}
|
|
339
|
+
export interface GetRandomPasswordResponse {
|
|
340
|
+
|
|
341
|
+
RandomPassword?: string;
|
|
342
|
+
}
|
|
343
|
+
export declare namespace GetRandomPasswordResponse {
|
|
344
|
+
|
|
345
|
+
const filterSensitiveLog: (obj: GetRandomPasswordResponse) => any;
|
|
346
|
+
}
|
|
347
|
+
export interface GetResourcePolicyRequest {
|
|
348
|
+
|
|
349
|
+
SecretId: string | undefined;
|
|
350
|
+
}
|
|
351
|
+
export declare namespace GetResourcePolicyRequest {
|
|
352
|
+
|
|
353
|
+
const filterSensitiveLog: (obj: GetResourcePolicyRequest) => any;
|
|
354
|
+
}
|
|
355
|
+
export interface GetResourcePolicyResponse {
|
|
356
|
+
|
|
357
|
+
ARN?: string;
|
|
358
|
+
|
|
359
|
+
Name?: string;
|
|
360
|
+
|
|
361
|
+
ResourcePolicy?: string;
|
|
362
|
+
}
|
|
363
|
+
export declare namespace GetResourcePolicyResponse {
|
|
364
|
+
|
|
365
|
+
const filterSensitiveLog: (obj: GetResourcePolicyResponse) => any;
|
|
366
|
+
}
|
|
367
|
+
export interface GetSecretValueRequest {
|
|
368
|
+
|
|
369
|
+
SecretId: string | undefined;
|
|
370
|
+
|
|
371
|
+
VersionId?: string;
|
|
372
|
+
|
|
373
|
+
VersionStage?: string;
|
|
374
|
+
}
|
|
375
|
+
export declare namespace GetSecretValueRequest {
|
|
376
|
+
|
|
377
|
+
const filterSensitiveLog: (obj: GetSecretValueRequest) => any;
|
|
378
|
+
}
|
|
379
|
+
export interface GetSecretValueResponse {
|
|
380
|
+
|
|
381
|
+
ARN?: string;
|
|
382
|
+
|
|
383
|
+
Name?: string;
|
|
384
|
+
|
|
385
|
+
VersionId?: string;
|
|
386
|
+
|
|
387
|
+
SecretBinary?: Uint8Array;
|
|
388
|
+
|
|
389
|
+
SecretString?: string;
|
|
390
|
+
|
|
391
|
+
VersionStages?: string[];
|
|
392
|
+
|
|
393
|
+
CreatedDate?: Date;
|
|
394
|
+
}
|
|
395
|
+
export declare namespace GetSecretValueResponse {
|
|
396
|
+
|
|
397
|
+
const filterSensitiveLog: (obj: GetSecretValueResponse) => any;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export interface InvalidNextTokenException extends __SmithyException, $MetadataBearer {
|
|
401
|
+
name: "InvalidNextTokenException";
|
|
402
|
+
$fault: "client";
|
|
403
|
+
Message?: string;
|
|
404
|
+
}
|
|
405
|
+
export declare namespace InvalidNextTokenException {
|
|
406
|
+
|
|
407
|
+
const filterSensitiveLog: (obj: InvalidNextTokenException) => any;
|
|
408
|
+
}
|
|
409
|
+
export declare enum SortOrderType {
|
|
410
|
+
asc = "asc",
|
|
411
|
+
desc = "desc"
|
|
412
|
+
}
|
|
413
|
+
export interface ListSecretsRequest {
|
|
414
|
+
|
|
415
|
+
MaxResults?: number;
|
|
416
|
+
|
|
417
|
+
NextToken?: string;
|
|
418
|
+
|
|
419
|
+
Filters?: Filter[];
|
|
420
|
+
|
|
421
|
+
SortOrder?: SortOrderType | string;
|
|
422
|
+
}
|
|
423
|
+
export declare namespace ListSecretsRequest {
|
|
424
|
+
|
|
425
|
+
const filterSensitiveLog: (obj: ListSecretsRequest) => any;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export interface SecretListEntry {
|
|
429
|
+
|
|
430
|
+
ARN?: string;
|
|
431
|
+
|
|
432
|
+
Name?: string;
|
|
433
|
+
|
|
434
|
+
Description?: string;
|
|
435
|
+
|
|
436
|
+
KmsKeyId?: string;
|
|
437
|
+
|
|
438
|
+
RotationEnabled?: boolean;
|
|
439
|
+
|
|
440
|
+
RotationLambdaARN?: string;
|
|
441
|
+
|
|
442
|
+
RotationRules?: RotationRulesType;
|
|
443
|
+
|
|
444
|
+
LastRotatedDate?: Date;
|
|
445
|
+
|
|
446
|
+
LastChangedDate?: Date;
|
|
447
|
+
|
|
448
|
+
LastAccessedDate?: Date;
|
|
449
|
+
|
|
450
|
+
DeletedDate?: Date;
|
|
451
|
+
|
|
452
|
+
Tags?: Tag[];
|
|
453
|
+
|
|
454
|
+
SecretVersionsToStages?: {
|
|
455
|
+
[key: string]: string[];
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
OwningService?: string;
|
|
459
|
+
|
|
460
|
+
CreatedDate?: Date;
|
|
461
|
+
|
|
462
|
+
PrimaryRegion?: string;
|
|
463
|
+
}
|
|
464
|
+
export declare namespace SecretListEntry {
|
|
465
|
+
|
|
466
|
+
const filterSensitiveLog: (obj: SecretListEntry) => any;
|
|
467
|
+
}
|
|
468
|
+
export interface ListSecretsResponse {
|
|
469
|
+
|
|
470
|
+
SecretList?: SecretListEntry[];
|
|
471
|
+
|
|
472
|
+
NextToken?: string;
|
|
473
|
+
}
|
|
474
|
+
export declare namespace ListSecretsResponse {
|
|
475
|
+
|
|
476
|
+
const filterSensitiveLog: (obj: ListSecretsResponse) => any;
|
|
477
|
+
}
|
|
478
|
+
export interface ListSecretVersionIdsRequest {
|
|
479
|
+
|
|
480
|
+
SecretId: string | undefined;
|
|
481
|
+
|
|
482
|
+
MaxResults?: number;
|
|
483
|
+
|
|
484
|
+
NextToken?: string;
|
|
485
|
+
|
|
486
|
+
IncludeDeprecated?: boolean;
|
|
487
|
+
}
|
|
488
|
+
export declare namespace ListSecretVersionIdsRequest {
|
|
489
|
+
|
|
490
|
+
const filterSensitiveLog: (obj: ListSecretVersionIdsRequest) => any;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
export interface SecretVersionsListEntry {
|
|
494
|
+
|
|
495
|
+
VersionId?: string;
|
|
496
|
+
|
|
497
|
+
VersionStages?: string[];
|
|
498
|
+
|
|
499
|
+
LastAccessedDate?: Date;
|
|
500
|
+
|
|
501
|
+
CreatedDate?: Date;
|
|
502
|
+
|
|
503
|
+
KmsKeyIds?: string[];
|
|
504
|
+
}
|
|
505
|
+
export declare namespace SecretVersionsListEntry {
|
|
506
|
+
|
|
507
|
+
const filterSensitiveLog: (obj: SecretVersionsListEntry) => any;
|
|
508
|
+
}
|
|
509
|
+
export interface ListSecretVersionIdsResponse {
|
|
510
|
+
|
|
511
|
+
Versions?: SecretVersionsListEntry[];
|
|
512
|
+
|
|
513
|
+
NextToken?: string;
|
|
514
|
+
|
|
515
|
+
ARN?: string;
|
|
516
|
+
|
|
517
|
+
Name?: string;
|
|
518
|
+
}
|
|
519
|
+
export declare namespace ListSecretVersionIdsResponse {
|
|
520
|
+
|
|
521
|
+
const filterSensitiveLog: (obj: ListSecretVersionIdsResponse) => any;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export interface PublicPolicyException extends __SmithyException, $MetadataBearer {
|
|
525
|
+
name: "PublicPolicyException";
|
|
526
|
+
$fault: "client";
|
|
527
|
+
Message?: string;
|
|
528
|
+
}
|
|
529
|
+
export declare namespace PublicPolicyException {
|
|
530
|
+
|
|
531
|
+
const filterSensitiveLog: (obj: PublicPolicyException) => any;
|
|
532
|
+
}
|
|
533
|
+
export interface PutResourcePolicyRequest {
|
|
534
|
+
|
|
535
|
+
SecretId: string | undefined;
|
|
536
|
+
|
|
537
|
+
ResourcePolicy: string | undefined;
|
|
538
|
+
|
|
539
|
+
BlockPublicPolicy?: boolean;
|
|
540
|
+
}
|
|
541
|
+
export declare namespace PutResourcePolicyRequest {
|
|
542
|
+
|
|
543
|
+
const filterSensitiveLog: (obj: PutResourcePolicyRequest) => any;
|
|
544
|
+
}
|
|
545
|
+
export interface PutResourcePolicyResponse {
|
|
546
|
+
|
|
547
|
+
ARN?: string;
|
|
548
|
+
|
|
549
|
+
Name?: string;
|
|
550
|
+
}
|
|
551
|
+
export declare namespace PutResourcePolicyResponse {
|
|
552
|
+
|
|
553
|
+
const filterSensitiveLog: (obj: PutResourcePolicyResponse) => any;
|
|
554
|
+
}
|
|
555
|
+
export interface PutSecretValueRequest {
|
|
556
|
+
|
|
557
|
+
SecretId: string | undefined;
|
|
558
|
+
|
|
559
|
+
ClientRequestToken?: string;
|
|
560
|
+
|
|
561
|
+
SecretBinary?: Uint8Array;
|
|
562
|
+
|
|
563
|
+
SecretString?: string;
|
|
564
|
+
|
|
565
|
+
VersionStages?: string[];
|
|
566
|
+
}
|
|
567
|
+
export declare namespace PutSecretValueRequest {
|
|
568
|
+
|
|
569
|
+
const filterSensitiveLog: (obj: PutSecretValueRequest) => any;
|
|
570
|
+
}
|
|
571
|
+
export interface PutSecretValueResponse {
|
|
572
|
+
|
|
573
|
+
ARN?: string;
|
|
574
|
+
|
|
575
|
+
Name?: string;
|
|
576
|
+
|
|
577
|
+
VersionId?: string;
|
|
578
|
+
|
|
579
|
+
VersionStages?: string[];
|
|
580
|
+
}
|
|
581
|
+
export declare namespace PutSecretValueResponse {
|
|
582
|
+
|
|
583
|
+
const filterSensitiveLog: (obj: PutSecretValueResponse) => any;
|
|
584
|
+
}
|
|
585
|
+
export interface RemoveRegionsFromReplicationRequest {
|
|
586
|
+
|
|
587
|
+
SecretId: string | undefined;
|
|
588
|
+
|
|
589
|
+
RemoveReplicaRegions: string[] | undefined;
|
|
590
|
+
}
|
|
591
|
+
export declare namespace RemoveRegionsFromReplicationRequest {
|
|
592
|
+
|
|
593
|
+
const filterSensitiveLog: (obj: RemoveRegionsFromReplicationRequest) => any;
|
|
594
|
+
}
|
|
595
|
+
export interface RemoveRegionsFromReplicationResponse {
|
|
596
|
+
|
|
597
|
+
ARN?: string;
|
|
598
|
+
|
|
599
|
+
ReplicationStatus?: ReplicationStatusType[];
|
|
600
|
+
}
|
|
601
|
+
export declare namespace RemoveRegionsFromReplicationResponse {
|
|
602
|
+
|
|
603
|
+
const filterSensitiveLog: (obj: RemoveRegionsFromReplicationResponse) => any;
|
|
604
|
+
}
|
|
605
|
+
export interface ReplicateSecretToRegionsRequest {
|
|
606
|
+
|
|
607
|
+
SecretId: string | undefined;
|
|
608
|
+
|
|
609
|
+
AddReplicaRegions: ReplicaRegionType[] | undefined;
|
|
610
|
+
|
|
611
|
+
ForceOverwriteReplicaSecret?: boolean;
|
|
612
|
+
}
|
|
613
|
+
export declare namespace ReplicateSecretToRegionsRequest {
|
|
614
|
+
|
|
615
|
+
const filterSensitiveLog: (obj: ReplicateSecretToRegionsRequest) => any;
|
|
616
|
+
}
|
|
617
|
+
export interface ReplicateSecretToRegionsResponse {
|
|
618
|
+
|
|
619
|
+
ARN?: string;
|
|
620
|
+
|
|
621
|
+
ReplicationStatus?: ReplicationStatusType[];
|
|
622
|
+
}
|
|
623
|
+
export declare namespace ReplicateSecretToRegionsResponse {
|
|
624
|
+
|
|
625
|
+
const filterSensitiveLog: (obj: ReplicateSecretToRegionsResponse) => any;
|
|
626
|
+
}
|
|
627
|
+
export interface RestoreSecretRequest {
|
|
628
|
+
|
|
629
|
+
SecretId: string | undefined;
|
|
630
|
+
}
|
|
631
|
+
export declare namespace RestoreSecretRequest {
|
|
632
|
+
|
|
633
|
+
const filterSensitiveLog: (obj: RestoreSecretRequest) => any;
|
|
634
|
+
}
|
|
635
|
+
export interface RestoreSecretResponse {
|
|
636
|
+
|
|
637
|
+
ARN?: string;
|
|
638
|
+
|
|
639
|
+
Name?: string;
|
|
640
|
+
}
|
|
641
|
+
export declare namespace RestoreSecretResponse {
|
|
642
|
+
|
|
643
|
+
const filterSensitiveLog: (obj: RestoreSecretResponse) => any;
|
|
644
|
+
}
|
|
645
|
+
export interface RotateSecretRequest {
|
|
646
|
+
|
|
647
|
+
SecretId: string | undefined;
|
|
648
|
+
|
|
649
|
+
ClientRequestToken?: string;
|
|
650
|
+
|
|
651
|
+
RotationLambdaARN?: string;
|
|
652
|
+
|
|
653
|
+
RotationRules?: RotationRulesType;
|
|
654
|
+
}
|
|
655
|
+
export declare namespace RotateSecretRequest {
|
|
656
|
+
|
|
657
|
+
const filterSensitiveLog: (obj: RotateSecretRequest) => any;
|
|
658
|
+
}
|
|
659
|
+
export interface RotateSecretResponse {
|
|
660
|
+
|
|
661
|
+
ARN?: string;
|
|
662
|
+
|
|
663
|
+
Name?: string;
|
|
664
|
+
|
|
665
|
+
VersionId?: string;
|
|
666
|
+
}
|
|
667
|
+
export declare namespace RotateSecretResponse {
|
|
668
|
+
|
|
669
|
+
const filterSensitiveLog: (obj: RotateSecretResponse) => any;
|
|
670
|
+
}
|
|
671
|
+
export interface StopReplicationToReplicaRequest {
|
|
672
|
+
|
|
673
|
+
SecretId: string | undefined;
|
|
674
|
+
}
|
|
675
|
+
export declare namespace StopReplicationToReplicaRequest {
|
|
676
|
+
|
|
677
|
+
const filterSensitiveLog: (obj: StopReplicationToReplicaRequest) => any;
|
|
678
|
+
}
|
|
679
|
+
export interface StopReplicationToReplicaResponse {
|
|
680
|
+
|
|
681
|
+
ARN?: string;
|
|
682
|
+
}
|
|
683
|
+
export declare namespace StopReplicationToReplicaResponse {
|
|
684
|
+
|
|
685
|
+
const filterSensitiveLog: (obj: StopReplicationToReplicaResponse) => any;
|
|
686
|
+
}
|
|
687
|
+
export interface TagResourceRequest {
|
|
688
|
+
|
|
689
|
+
SecretId: string | undefined;
|
|
690
|
+
|
|
691
|
+
Tags: Tag[] | undefined;
|
|
692
|
+
}
|
|
693
|
+
export declare namespace TagResourceRequest {
|
|
694
|
+
|
|
695
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
696
|
+
}
|
|
697
|
+
export interface UntagResourceRequest {
|
|
698
|
+
|
|
699
|
+
SecretId: string | undefined;
|
|
700
|
+
|
|
701
|
+
TagKeys: string[] | undefined;
|
|
702
|
+
}
|
|
703
|
+
export declare namespace UntagResourceRequest {
|
|
704
|
+
|
|
705
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
706
|
+
}
|
|
707
|
+
export interface UpdateSecretRequest {
|
|
708
|
+
|
|
709
|
+
SecretId: string | undefined;
|
|
710
|
+
|
|
711
|
+
ClientRequestToken?: string;
|
|
712
|
+
|
|
713
|
+
Description?: string;
|
|
714
|
+
|
|
715
|
+
KmsKeyId?: string;
|
|
716
|
+
|
|
717
|
+
SecretBinary?: Uint8Array;
|
|
718
|
+
|
|
719
|
+
SecretString?: string;
|
|
720
|
+
}
|
|
721
|
+
export declare namespace UpdateSecretRequest {
|
|
722
|
+
|
|
723
|
+
const filterSensitiveLog: (obj: UpdateSecretRequest) => any;
|
|
724
|
+
}
|
|
725
|
+
export interface UpdateSecretResponse {
|
|
726
|
+
|
|
727
|
+
ARN?: string;
|
|
728
|
+
|
|
729
|
+
Name?: string;
|
|
730
|
+
|
|
731
|
+
VersionId?: string;
|
|
732
|
+
}
|
|
733
|
+
export declare namespace UpdateSecretResponse {
|
|
734
|
+
|
|
735
|
+
const filterSensitiveLog: (obj: UpdateSecretResponse) => any;
|
|
736
|
+
}
|
|
737
|
+
export interface UpdateSecretVersionStageRequest {
|
|
738
|
+
|
|
739
|
+
SecretId: string | undefined;
|
|
740
|
+
|
|
741
|
+
VersionStage: string | undefined;
|
|
742
|
+
|
|
743
|
+
RemoveFromVersionId?: string;
|
|
744
|
+
|
|
745
|
+
MoveToVersionId?: string;
|
|
746
|
+
}
|
|
747
|
+
export declare namespace UpdateSecretVersionStageRequest {
|
|
748
|
+
|
|
749
|
+
const filterSensitiveLog: (obj: UpdateSecretVersionStageRequest) => any;
|
|
750
|
+
}
|
|
751
|
+
export interface UpdateSecretVersionStageResponse {
|
|
752
|
+
|
|
753
|
+
ARN?: string;
|
|
754
|
+
|
|
755
|
+
Name?: string;
|
|
756
|
+
}
|
|
757
|
+
export declare namespace UpdateSecretVersionStageResponse {
|
|
758
|
+
|
|
759
|
+
const filterSensitiveLog: (obj: UpdateSecretVersionStageResponse) => any;
|
|
760
|
+
}
|
|
761
|
+
export interface ValidateResourcePolicyRequest {
|
|
762
|
+
|
|
763
|
+
SecretId?: string;
|
|
764
|
+
|
|
765
|
+
ResourcePolicy: string | undefined;
|
|
766
|
+
}
|
|
767
|
+
export declare namespace ValidateResourcePolicyRequest {
|
|
768
|
+
|
|
769
|
+
const filterSensitiveLog: (obj: ValidateResourcePolicyRequest) => any;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
export interface ValidationErrorsEntry {
|
|
773
|
+
|
|
774
|
+
CheckName?: string;
|
|
775
|
+
|
|
776
|
+
ErrorMessage?: string;
|
|
777
|
+
}
|
|
778
|
+
export declare namespace ValidationErrorsEntry {
|
|
779
|
+
|
|
780
|
+
const filterSensitiveLog: (obj: ValidationErrorsEntry) => any;
|
|
781
|
+
}
|
|
782
|
+
export interface ValidateResourcePolicyResponse {
|
|
783
|
+
|
|
784
|
+
PolicyValidationPassed?: boolean;
|
|
785
|
+
|
|
786
|
+
ValidationErrors?: ValidationErrorsEntry[];
|
|
787
|
+
}
|
|
788
|
+
export declare namespace ValidateResourcePolicyResponse {
|
|
789
|
+
|
|
790
|
+
const filterSensitiveLog: (obj: ValidateResourcePolicyResponse) => any;
|
|
791
|
+
}
|