@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
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
2
|
-
import { ValidateResourcePolicyRequest, ValidateResourcePolicyResponse } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ValidateResourcePolicyCommand,
|
|
5
|
-
serializeAws_json1_1ValidateResourcePolicyCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface ValidateResourcePolicyCommandInput extends ValidateResourcePolicyRequest {}
|
|
21
|
-
export interface ValidateResourcePolicyCommandOutput extends ValidateResourcePolicyResponse, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Validates that the resource policy does not grant a wide range of IAM principals access to
|
|
25
|
-
* your secret. The JSON request string input and response output displays formatted code
|
|
26
|
-
* with white space and line breaks for better readability. Submit your input as a single line
|
|
27
|
-
* JSON string. A resource-based policy is optional for secrets.</p>
|
|
28
|
-
* <p>The API performs three checks when validating the secret:</p>
|
|
29
|
-
* <ul>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>Sends a call to <a href="https://aws.amazon.com/blogs/security/protect-sensitive-data-in-the-cloud-with-automated-reasoning-zelkova/">Zelkova</a>, an automated reasoning engine, to ensure your Resource Policy does not
|
|
32
|
-
* allow broad access to your secret.</p>
|
|
33
|
-
* </li>
|
|
34
|
-
* <li>
|
|
35
|
-
* <p>Checks for correct syntax in a policy.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Verifies the policy does not lock out a caller.</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* <p>
|
|
44
|
-
* <b>Minimum Permissions</b>
|
|
45
|
-
* </p>
|
|
46
|
-
* <p>You must have the permissions required to access the following APIs:</p>
|
|
47
|
-
* <ul>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>
|
|
50
|
-
* <code>secretsmanager:PutResourcePolicy</code>
|
|
51
|
-
* </p>
|
|
52
|
-
* </li>
|
|
53
|
-
* <li>
|
|
54
|
-
* <p>
|
|
55
|
-
* <code>secretsmanager:ValidateResourcePolicy</code>
|
|
56
|
-
* </p>
|
|
57
|
-
* </li>
|
|
58
|
-
* </ul>
|
|
59
|
-
* @example
|
|
60
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
61
|
-
* ```javascript
|
|
62
|
-
* import { SecretsManagerClient, ValidateResourcePolicyCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
63
|
-
* // const { SecretsManagerClient, ValidateResourcePolicyCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
64
|
-
* const client = new SecretsManagerClient(config);
|
|
65
|
-
* const command = new ValidateResourcePolicyCommand(input);
|
|
66
|
-
* const response = await client.send(command);
|
|
67
|
-
* ```
|
|
68
|
-
*
|
|
69
|
-
* @see {@link ValidateResourcePolicyCommandInput} for command's `input` shape.
|
|
70
|
-
* @see {@link ValidateResourcePolicyCommandOutput} for command's `response` shape.
|
|
71
|
-
* @see {@link SecretsManagerClientResolvedConfig | config} for command's `input` shape.
|
|
72
|
-
*
|
|
73
|
-
*/
|
|
74
|
-
export class ValidateResourcePolicyCommand extends $Command<
|
|
75
|
-
ValidateResourcePolicyCommandInput,
|
|
76
|
-
ValidateResourcePolicyCommandOutput,
|
|
77
|
-
SecretsManagerClientResolvedConfig
|
|
78
|
-
> {
|
|
79
|
-
// Start section: command_properties
|
|
80
|
-
// End section: command_properties
|
|
81
|
-
|
|
82
|
-
constructor(readonly input: ValidateResourcePolicyCommandInput) {
|
|
83
|
-
// Start section: command_constructor
|
|
84
|
-
super();
|
|
85
|
-
// End section: command_constructor
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* @internal
|
|
90
|
-
*/
|
|
91
|
-
resolveMiddleware(
|
|
92
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
93
|
-
configuration: SecretsManagerClientResolvedConfig,
|
|
94
|
-
options?: __HttpHandlerOptions
|
|
95
|
-
): Handler<ValidateResourcePolicyCommandInput, ValidateResourcePolicyCommandOutput> {
|
|
96
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
97
|
-
|
|
98
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
99
|
-
|
|
100
|
-
const { logger } = configuration;
|
|
101
|
-
const clientName = "SecretsManagerClient";
|
|
102
|
-
const commandName = "ValidateResourcePolicyCommand";
|
|
103
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
104
|
-
logger,
|
|
105
|
-
clientName,
|
|
106
|
-
commandName,
|
|
107
|
-
inputFilterSensitiveLog: ValidateResourcePolicyRequest.filterSensitiveLog,
|
|
108
|
-
outputFilterSensitiveLog: ValidateResourcePolicyResponse.filterSensitiveLog,
|
|
109
|
-
};
|
|
110
|
-
const { requestHandler } = configuration;
|
|
111
|
-
return stack.resolve(
|
|
112
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
113
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
114
|
-
handlerExecutionContext
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
private serialize(input: ValidateResourcePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
119
|
-
return serializeAws_json1_1ValidateResourcePolicyCommand(input, context);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ValidateResourcePolicyCommandOutput> {
|
|
123
|
-
return deserializeAws_json1_1ValidateResourcePolicyCommand(output, context);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Start section: command_body_extra
|
|
127
|
-
// End section: command_body_extra
|
|
128
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsManager.js","sourceRoot":"","sources":["../../SecretsManager.ts"],"names":[],"mappings":";;;AAAA,iEAA8D;AAC9D,oFAI8C;AAC9C,wEAIwC;AACxC,wFAIgD;AAChD,wEAIwC;AACxC,4EAI0C;AAC1C,kFAI6C;AAC7C,kFAI6C;AAC7C,4EAI0C;AAC1C,wFAIgD;AAChD,sEAAsH;AACtH,kFAI6C;AAC7C,4EAI0C;AAC1C,wGAIwD;AACxD,gGAIoD;AACpD,0EAIyC;AACzC,wEAIwC;AACxC,gGAIoD;AACpD,sEAAsH;AACtH,0EAIyC;AACzC,wEAIwC;AACxC,gGAIoD;AACpD,4FAIkD;AAGlD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,cAAe,SAAQ,2CAAoB;IAqE/C,kBAAkB,CACvB,IAAoC,EACpC,WAAiG,EACjG,EAA+D;QAE/D,MAAM,OAAO,GAAG,IAAI,qDAAyB,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,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O,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,WAAW,EAAE,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;IAoDM,sBAAsB,CAC3B,IAAwC,EACxC,WAAqG,EACrG,EAAmE;QAEnE,MAAM,OAAO,GAAG,IAAI,6DAA6B,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,OAAO,WAAW,KAAK,UAAU,EAAE;YACrC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACjC;aAAM,IAAI,OAAO,EAAE,KAAK,UAAU,EAAE;YACnC,IAAI,OAAO,WAAW,KAAK,QAAQ;gBAAE,MAAM,IAAI,KAAK,CAAC,+BAA+B,OAAO,WAAW,EAAE,CAAC,CAAC;YAC1G,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;SAC3C;aAAM;YACL,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACxC;IACH,CAAC;CACF;AA/7CD,wCA+7CC"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SecretsManagerClient = void 0;
|
|
4
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
6
|
-
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
7
|
-
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
8
|
-
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
9
|
-
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
10
|
-
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
11
|
-
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
12
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>Amazon Web Services Secrets Manager</fullname>
|
|
15
|
-
* <p>Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>This guide provides descriptions of the Secrets Manager API. For more information about using this
|
|
18
|
-
* service, see the <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/introduction.html">Amazon Web Services Secrets Manager User Guide</a>.</p>
|
|
19
|
-
*
|
|
20
|
-
* <p>
|
|
21
|
-
* <b>API Version</b>
|
|
22
|
-
* </p>
|
|
23
|
-
*
|
|
24
|
-
* <p>This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>As an alternative to using the API, you can use one of the Amazon Web Services SDKs, which consist of
|
|
27
|
-
* libraries and sample code for various programming languages and platforms such as Java,
|
|
28
|
-
* Ruby, .NET, iOS, and Android. The SDKs provide a convenient way to create programmatic
|
|
29
|
-
* access to Amazon Web Services Secrets Manager. For example, the SDKs provide cryptographically signing requests,
|
|
30
|
-
* managing errors, and retrying requests automatically. For more information about the Amazon Web Services
|
|
31
|
-
* SDKs, including downloading and installing them, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>.</p>
|
|
32
|
-
* </note>
|
|
33
|
-
* <p>We recommend you use the Amazon Web Services SDKs to make programmatic API calls to Secrets Manager. However, you
|
|
34
|
-
* also can use the Secrets Manager HTTP Query API to make direct calls to the Secrets Manager web service. To learn
|
|
35
|
-
* more about the Secrets Manager HTTP Query API, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/query-requests.html">Making Query Requests</a> in the
|
|
36
|
-
* <i>Amazon Web Services Secrets Manager User Guide</i>. </p>
|
|
37
|
-
* <p>Secrets Manager API supports GET and POST requests for all actions, and doesn't require you to use
|
|
38
|
-
* GET for some actions and POST for others. However, GET requests are subject to the limitation
|
|
39
|
-
* size of a URL. Therefore, for operations that require larger sizes, use a POST request.</p>
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* <p>
|
|
48
|
-
* <b>Support and Feedback for Amazon Web Services Secrets Manager</b>
|
|
49
|
-
* </p>
|
|
50
|
-
*
|
|
51
|
-
* <p>We welcome your feedback. Send your comments to <a href="mailto:awssecretsmanager-feedback@amazon.com">awssecretsmanager-feedback@amazon.com</a>, or post your feedback and questions in the <a href="http://forums.aws.amazon.com/forum.jspa?forumID=296">Amazon Web Services Secrets Manager Discussion Forum</a>. For more
|
|
52
|
-
* information about the Amazon Web Services Discussion Forums, see <a href="http://forums.aws.amazon.com/help.jspa">Forums
|
|
53
|
-
* Help</a>.</p>
|
|
54
|
-
*
|
|
55
|
-
* <p>
|
|
56
|
-
* <b>How examples are presented</b>
|
|
57
|
-
* </p>
|
|
58
|
-
*
|
|
59
|
-
* <p>The JSON that Amazon Web Services Secrets Manager expects as your request parameters and the service returns as a
|
|
60
|
-
* response to HTTP query requests contain single, long strings without line breaks or white
|
|
61
|
-
* space formatting. The JSON shown in the examples displays the code formatted with both line
|
|
62
|
-
* breaks and white space to improve readability. When example input parameters can also cause
|
|
63
|
-
* long strings extending beyond the screen, you can insert line breaks to enhance readability.
|
|
64
|
-
* You should always submit the input as a single JSON text string.</p>
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* <p>
|
|
68
|
-
* <b>Logging API Requests</b>
|
|
69
|
-
* </p>
|
|
70
|
-
* <p>Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services
|
|
71
|
-
* account and delivers log files to an Amazon S3 bucket. By using information that's collected
|
|
72
|
-
* by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the
|
|
73
|
-
* request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services
|
|
74
|
-
* CloudTrail, see <a href="http://docs.aws.amazon.com/secretsmanager/latest/userguide/monitoring.html#monitoring_cloudtrail">Logging
|
|
75
|
-
* Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Secrets Manager User Guide</i>.
|
|
76
|
-
* To learn more about CloudTrail, including enabling it and find your log files, see the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html">Amazon Web Services CloudTrail User Guide</a>.</p>
|
|
77
|
-
*/
|
|
78
|
-
class SecretsManagerClient extends smithy_client_1.Client {
|
|
79
|
-
constructor(configuration) {
|
|
80
|
-
let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
81
|
-
let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
82
|
-
let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
83
|
-
let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
84
|
-
let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
85
|
-
let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
86
|
-
let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
87
|
-
super(_config_6);
|
|
88
|
-
this.config = _config_6;
|
|
89
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
90
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
91
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
92
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
93
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
94
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
98
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
99
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
100
|
-
*/
|
|
101
|
-
destroy() {
|
|
102
|
-
super.destroy();
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
exports.SecretsManagerClient = SecretsManagerClient;
|
|
106
|
-
//# sourceMappingURL=SecretsManagerClient.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SecretsManagerClient.js","sourceRoot":"","sources":["../../SecretsManagerClient.ts"],"names":[],"mappings":";;;AA2CA,mDAAyE;AACzE,8DAOkC;AAClC,kFAA4E;AAC5E,4EAKyC;AACzC,kEAA6D;AAC7D,gEAAsH;AACtH,oEAKqC;AACrC,0EAKwC;AAExC,0DAIgC;AA2MhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,oBAAqB,SAAQ,sBAKzC;IAMC,YAAY,aAAyC;QACnD,IAAI,SAAS,GAAG,gCAAkB,CAAC,aAAa,CAAC,CAAC;QAClD,IAAI,SAAS,GAAG,qCAAmB,CAAC,SAAS,CAAC,CAAC;QAC/C,IAAI,SAAS,GAAG,wCAAsB,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,SAAS,GAAG,qCAAkB,CAAC,SAAS,CAAC,CAAC;QAC9C,IAAI,SAAS,GAAG,gDAAuB,CAAC,SAAS,CAAC,CAAC;QACnD,IAAI,SAAS,GAAG,yCAAoB,CAAC,SAAS,CAAC,CAAC;QAChD,IAAI,SAAS,GAAG,8CAAsB,CAAC,SAAS,CAAC,CAAC;QAClD,KAAK,CAAC,SAAS,CAAC,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QACxB,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtD,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,kDAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9D,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,4CAAmB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3D,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,mCAAe,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACvD,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,qCAAgB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACxD,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,0CAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5D,CAAC;IAED;;;;OAIG;IACH,OAAO;QACL,KAAK,CAAC,OAAO,EAAE,CAAC;IAClB,CAAC;CACF;AArCD,oDAqCC"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CancelRotateSecretCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Disables automatic scheduled rotation and cancels the rotation of a secret if currently in
|
|
10
|
-
* progress.</p>
|
|
11
|
-
* <p>To re-enable scheduled rotation, call <a>RotateSecret</a> with
|
|
12
|
-
* <code>AutomaticallyRotateAfterDays</code> set to a value greater than 0. This immediately
|
|
13
|
-
* rotates your secret and then enables the automatic schedule.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>If you cancel a rotation while in progress, it can leave the <code>VersionStage</code>
|
|
16
|
-
* labels in an unexpected state. Depending on the step of the rotation in progress, you might
|
|
17
|
-
* need to remove the staging label <code>AWSPENDING</code> from the partially created version, specified
|
|
18
|
-
* by the <code>VersionId</code> response value. You should also evaluate the partially rotated
|
|
19
|
-
* new version to see if it should be deleted, which you can do by removing all staging labels
|
|
20
|
-
* from the new version <code>VersionStage</code> field.</p>
|
|
21
|
-
* </note>
|
|
22
|
-
* <p>To successfully start a rotation, the staging label <code>AWSPENDING</code> must be in one of the
|
|
23
|
-
* following states:</p>
|
|
24
|
-
* <ul>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Not attached to any version at all</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Attached to the same version as the staging label <code>AWSCURRENT</code>
|
|
30
|
-
* </p>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* <p>If the staging label <code>AWSPENDING</code> attached to a different version than the version with
|
|
34
|
-
* <code>AWSCURRENT</code> then the attempt to rotate fails.</p>
|
|
35
|
-
*
|
|
36
|
-
* <p>
|
|
37
|
-
* <b>Minimum permissions</b>
|
|
38
|
-
* </p>
|
|
39
|
-
* <p>To run this command, you must have the following permissions:</p>
|
|
40
|
-
* <ul>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>secretsmanager:CancelRotateSecret</p>
|
|
43
|
-
* </li>
|
|
44
|
-
* </ul>
|
|
45
|
-
* <p>
|
|
46
|
-
* <b>Related operations</b>
|
|
47
|
-
* </p>
|
|
48
|
-
* <ul>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>To configure rotation for a secret or to manually trigger a rotation, use <a>RotateSecret</a>.</p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>To get the rotation configuration details for a secret, use <a>DescribeSecret</a>.</p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>To list all of the currently available secrets, use <a>ListSecrets</a>.</p>
|
|
57
|
-
* </li>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>To list all of the versions currently associated with a secret, use <a>ListSecretVersionIds</a>.</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* </ul>
|
|
62
|
-
* @example
|
|
63
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
64
|
-
* ```javascript
|
|
65
|
-
* import { SecretsManagerClient, CancelRotateSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
66
|
-
* // const { SecretsManagerClient, CancelRotateSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
67
|
-
* const client = new SecretsManagerClient(config);
|
|
68
|
-
* const command = new CancelRotateSecretCommand(input);
|
|
69
|
-
* const response = await client.send(command);
|
|
70
|
-
* ```
|
|
71
|
-
*
|
|
72
|
-
* @see {@link CancelRotateSecretCommandInput} for command's `input` shape.
|
|
73
|
-
* @see {@link CancelRotateSecretCommandOutput} for command's `response` shape.
|
|
74
|
-
* @see {@link SecretsManagerClientResolvedConfig | config} for command's `input` shape.
|
|
75
|
-
*
|
|
76
|
-
*/
|
|
77
|
-
class CancelRotateSecretCommand extends smithy_client_1.Command {
|
|
78
|
-
// Start section: command_properties
|
|
79
|
-
// End section: command_properties
|
|
80
|
-
constructor(input) {
|
|
81
|
-
// Start section: command_constructor
|
|
82
|
-
super();
|
|
83
|
-
this.input = input;
|
|
84
|
-
// End section: command_constructor
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
90
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
91
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
92
|
-
const { logger } = configuration;
|
|
93
|
-
const clientName = "SecretsManagerClient";
|
|
94
|
-
const commandName = "CancelRotateSecretCommand";
|
|
95
|
-
const handlerExecutionContext = {
|
|
96
|
-
logger,
|
|
97
|
-
clientName,
|
|
98
|
-
commandName,
|
|
99
|
-
inputFilterSensitiveLog: models_0_1.CancelRotateSecretRequest.filterSensitiveLog,
|
|
100
|
-
outputFilterSensitiveLog: models_0_1.CancelRotateSecretResponse.filterSensitiveLog,
|
|
101
|
-
};
|
|
102
|
-
const { requestHandler } = configuration;
|
|
103
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
104
|
-
}
|
|
105
|
-
serialize(input, context) {
|
|
106
|
-
return Aws_json1_1_1.serializeAws_json1_1CancelRotateSecretCommand(input, context);
|
|
107
|
-
}
|
|
108
|
-
deserialize(output, context) {
|
|
109
|
-
return Aws_json1_1_1.deserializeAws_json1_1CancelRotateSecretCommand(output, context);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
exports.CancelRotateSecretCommand = CancelRotateSecretCommand;
|
|
113
|
-
//# sourceMappingURL=CancelRotateSecretCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CancelRotateSecretCommand.js","sourceRoot":"","sources":["../../../commands/CancelRotateSecretCommand.ts"],"names":[],"mappings":";;;AACA,iDAA2F;AAC3F,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,yBAA0B,SAAQ,uBAI9C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAqC;QACxD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAgC;QAGxD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAiD,EACjD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,sBAAsB,CAAC;QAC1C,MAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,oCAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,qCAA0B,CAAC,kBAAkB;SACxE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAqC,EAAE,OAAuB;QAC9E,OAAO,2DAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,6DAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CAIF;AAtDD,8DAsDC"}
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateSecretCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Creates a new secret. A secret in Secrets Manager consists of both the protected secret data and the
|
|
10
|
-
* important information needed to manage the secret.</p>
|
|
11
|
-
* <p>Secrets Manager stores the encrypted secret data in one of a collection of "versions"
|
|
12
|
-
* associated with the secret. Each version contains a copy of the encrypted secret data. Each
|
|
13
|
-
* version is associated with one or more "staging labels" that identify where the version is in
|
|
14
|
-
* the rotation cycle. The <code>SecretVersionsToStages</code> field of the secret contains the
|
|
15
|
-
* mapping of staging labels to the active versions of the secret. Versions without a staging
|
|
16
|
-
* label are considered deprecated and not included in the list.</p>
|
|
17
|
-
* <p>You provide the secret data to be encrypted by putting text in either the
|
|
18
|
-
* <code>SecretString</code> parameter or binary data in the <code>SecretBinary</code>
|
|
19
|
-
* parameter, but not both. If you include <code>SecretString</code> or <code>SecretBinary</code>
|
|
20
|
-
* then Secrets Manager also creates an initial secret version and automatically attaches the staging
|
|
21
|
-
* label <code>AWSCURRENT</code> to the new version.</p>
|
|
22
|
-
* <note>
|
|
23
|
-
* <ul>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>If you call an operation to encrypt or decrypt the <code>SecretString</code>
|
|
26
|
-
* or <code>SecretBinary</code> for a secret in the same account as the calling user and that
|
|
27
|
-
* secret doesn't specify a Amazon Web Services KMS encryption key, Secrets Manager uses the account's default
|
|
28
|
-
* Amazon Web Services managed customer master key (CMK) with the alias <code>aws/secretsmanager</code>. If this key
|
|
29
|
-
* doesn't already exist in your account then Secrets Manager creates it for you automatically. All
|
|
30
|
-
* users and roles in the same Amazon Web Services account automatically have access to use the default CMK.
|
|
31
|
-
* Note that if an Secrets Manager API call results in Amazon Web Services creating the account's
|
|
32
|
-
* Amazon Web Services-managed CMK, it can result in a one-time significant delay in returning the
|
|
33
|
-
* result.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>If the secret resides in a different Amazon Web Services account from the credentials calling an API that
|
|
37
|
-
* requires encryption or decryption of the secret value then you must create and use a custom
|
|
38
|
-
* Amazon Web Services KMS CMK because you can't access the default CMK for the account using credentials
|
|
39
|
-
* from a different Amazon Web Services account. Store the ARN of the CMK in the secret when you create the
|
|
40
|
-
* secret or when you update it by including it in the <code>KMSKeyId</code>. If you call an
|
|
41
|
-
* API that must encrypt or decrypt <code>SecretString</code> or <code>SecretBinary</code>
|
|
42
|
-
* using credentials from a different account then the Amazon Web Services KMS key policy must grant cross-account
|
|
43
|
-
* access to that other account's user or role for both the kms:GenerateDataKey and
|
|
44
|
-
* kms:Decrypt operations.</p>
|
|
45
|
-
* </li>
|
|
46
|
-
* </ul>
|
|
47
|
-
* </note>
|
|
48
|
-
* <p> </p>
|
|
49
|
-
* <p>
|
|
50
|
-
* <b>Minimum permissions</b>
|
|
51
|
-
* </p>
|
|
52
|
-
* <p>To run this command, you must have the following permissions:</p>
|
|
53
|
-
* <ul>
|
|
54
|
-
* <li>
|
|
55
|
-
* <p>secretsmanager:CreateSecret</p>
|
|
56
|
-
* </li>
|
|
57
|
-
* <li>
|
|
58
|
-
* <p>kms:GenerateDataKey - needed only if you use a customer-managed Amazon Web Services KMS key to encrypt
|
|
59
|
-
* the secret. You do not need this permission to use the account default Amazon Web Services managed CMK
|
|
60
|
-
* for Secrets Manager.</p>
|
|
61
|
-
* </li>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>kms:Decrypt - needed only if you use a customer-managed Amazon Web Services KMS key to encrypt the
|
|
64
|
-
* secret. You do not need this permission to use the account default Amazon Web Services managed CMK for
|
|
65
|
-
* Secrets Manager.</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>secretsmanager:TagResource - needed only if you include the <code>Tags</code>
|
|
69
|
-
* parameter. </p>
|
|
70
|
-
* </li>
|
|
71
|
-
* </ul>
|
|
72
|
-
* <p>
|
|
73
|
-
* <b>Related operations</b>
|
|
74
|
-
* </p>
|
|
75
|
-
* <ul>
|
|
76
|
-
* <li>
|
|
77
|
-
* <p>To delete a secret, use <a>DeleteSecret</a>.</p>
|
|
78
|
-
* </li>
|
|
79
|
-
* <li>
|
|
80
|
-
* <p>To modify an existing secret, use <a>UpdateSecret</a>.</p>
|
|
81
|
-
* </li>
|
|
82
|
-
* <li>
|
|
83
|
-
* <p>To create a new version of a secret, use <a>PutSecretValue</a>.</p>
|
|
84
|
-
* </li>
|
|
85
|
-
* <li>
|
|
86
|
-
* <p>To retrieve the encrypted secure string and secure binary values, use <a>GetSecretValue</a>.</p>
|
|
87
|
-
* </li>
|
|
88
|
-
* <li>
|
|
89
|
-
* <p>To retrieve all other details for a secret, use <a>DescribeSecret</a>. This
|
|
90
|
-
* does not include the encrypted secure string and secure binary values.</p>
|
|
91
|
-
* </li>
|
|
92
|
-
* <li>
|
|
93
|
-
* <p>To retrieve the list of secret versions associated with the current secret, use <a>DescribeSecret</a> and examine the <code>SecretVersionsToStages</code> response
|
|
94
|
-
* value.</p>
|
|
95
|
-
* </li>
|
|
96
|
-
* </ul>
|
|
97
|
-
* @example
|
|
98
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
99
|
-
* ```javascript
|
|
100
|
-
* import { SecretsManagerClient, CreateSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
101
|
-
* // const { SecretsManagerClient, CreateSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
102
|
-
* const client = new SecretsManagerClient(config);
|
|
103
|
-
* const command = new CreateSecretCommand(input);
|
|
104
|
-
* const response = await client.send(command);
|
|
105
|
-
* ```
|
|
106
|
-
*
|
|
107
|
-
* @see {@link CreateSecretCommandInput} for command's `input` shape.
|
|
108
|
-
* @see {@link CreateSecretCommandOutput} for command's `response` shape.
|
|
109
|
-
* @see {@link SecretsManagerClientResolvedConfig | config} for command's `input` shape.
|
|
110
|
-
*
|
|
111
|
-
*/
|
|
112
|
-
class CreateSecretCommand extends smithy_client_1.Command {
|
|
113
|
-
// Start section: command_properties
|
|
114
|
-
// End section: command_properties
|
|
115
|
-
constructor(input) {
|
|
116
|
-
// Start section: command_constructor
|
|
117
|
-
super();
|
|
118
|
-
this.input = input;
|
|
119
|
-
// End section: command_constructor
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
125
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
126
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
127
|
-
const { logger } = configuration;
|
|
128
|
-
const clientName = "SecretsManagerClient";
|
|
129
|
-
const commandName = "CreateSecretCommand";
|
|
130
|
-
const handlerExecutionContext = {
|
|
131
|
-
logger,
|
|
132
|
-
clientName,
|
|
133
|
-
commandName,
|
|
134
|
-
inputFilterSensitiveLog: models_0_1.CreateSecretRequest.filterSensitiveLog,
|
|
135
|
-
outputFilterSensitiveLog: models_0_1.CreateSecretResponse.filterSensitiveLog,
|
|
136
|
-
};
|
|
137
|
-
const { requestHandler } = configuration;
|
|
138
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
139
|
-
}
|
|
140
|
-
serialize(input, context) {
|
|
141
|
-
return Aws_json1_1_1.serializeAws_json1_1CreateSecretCommand(input, context);
|
|
142
|
-
}
|
|
143
|
-
deserialize(output, context) {
|
|
144
|
-
return Aws_json1_1_1.deserializeAws_json1_1CreateSecretCommand(output, context);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
exports.CreateSecretCommand = CreateSecretCommand;
|
|
148
|
-
//# sourceMappingURL=CreateSecretCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateSecretCommand.js","sourceRoot":"","sources":["../../../commands/CreateSecretCommand.ts"],"names":[],"mappings":";;;AACA,iDAA+E;AAC/E,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AIF;AAtDD,kDAsDC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteResourcePolicyCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Deletes the resource-based permission policy attached to the secret.</p>
|
|
10
|
-
* <p>
|
|
11
|
-
* <b>Minimum permissions</b>
|
|
12
|
-
* </p>
|
|
13
|
-
* <p>To run this command, you must have the following permissions:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>secretsmanager:DeleteResourcePolicy</p>
|
|
17
|
-
* </li>
|
|
18
|
-
* </ul>
|
|
19
|
-
* <p>
|
|
20
|
-
* <b>Related operations</b>
|
|
21
|
-
* </p>
|
|
22
|
-
* <ul>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>To attach a resource policy to a secret, use <a>PutResourcePolicy</a>.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>To retrieve the current resource-based policy attached to a secret, use <a>GetResourcePolicy</a>.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>To list all of the currently available secrets, use <a>ListSecrets</a>.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { SecretsManagerClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
37
|
-
* // const { SecretsManagerClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
38
|
-
* const client = new SecretsManagerClient(config);
|
|
39
|
-
* const command = new DeleteResourcePolicyCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link SecretsManagerClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
constructor(input) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
this.input = input;
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
61
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
62
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
63
|
-
const { logger } = configuration;
|
|
64
|
-
const clientName = "SecretsManagerClient";
|
|
65
|
-
const commandName = "DeleteResourcePolicyCommand";
|
|
66
|
-
const handlerExecutionContext = {
|
|
67
|
-
logger,
|
|
68
|
-
clientName,
|
|
69
|
-
commandName,
|
|
70
|
-
inputFilterSensitiveLog: models_0_1.DeleteResourcePolicyRequest.filterSensitiveLog,
|
|
71
|
-
outputFilterSensitiveLog: models_0_1.DeleteResourcePolicyResponse.filterSensitiveLog,
|
|
72
|
-
};
|
|
73
|
-
const { requestHandler } = configuration;
|
|
74
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
75
|
-
}
|
|
76
|
-
serialize(input, context) {
|
|
77
|
-
return Aws_json1_1_1.serializeAws_json1_1DeleteResourcePolicyCommand(input, context);
|
|
78
|
-
}
|
|
79
|
-
deserialize(output, context) {
|
|
80
|
-
return Aws_json1_1_1.deserializeAws_json1_1DeleteResourcePolicyCommand(output, context);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
84
|
-
//# sourceMappingURL=DeleteResourcePolicyCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteResourcePolicyCommand.js","sourceRoot":"","sources":["../../../commands/DeleteResourcePolicyCommand.ts"],"names":[],"mappings":";;;AACA,iDAA+F;AAC/F,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,2BAA4B,SAAQ,uBAIhD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAuC;QAC1D,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAkC;QAG1D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAAiD,EACjD,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,sBAAsB,CAAC;QAC1C,MAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,sCAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,uCAA4B,CAAC,kBAAkB;SAC1E,CAAC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