@aws-sdk/client-secrets-manager 3.300.0 → 3.301.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/CancelRotateSecretCommand.d.ts +1 -1
- package/dist-types/commands/CreateSecretCommand.d.ts +5 -5
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecretCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSecretCommand.d.ts +1 -1
- package/dist-types/commands/GetRandomPasswordCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetSecretValueCommand.d.ts +1 -1
- package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecretsCommand.d.ts +4 -4
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutSecretValueCommand.d.ts +2 -2
- package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +2 -2
- package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +3 -3
- package/dist-types/commands/RestoreSecretCommand.d.ts +1 -1
- package/dist-types/commands/RotateSecretCommand.d.ts +2 -2
- package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSecretCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +1 -1
- package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +1 -1
- package/package.json +3 -3
|
@@ -44,7 +44,7 @@ export interface CancelRotateSecretCommandOutput extends CancelRotateSecretRespo
|
|
|
44
44
|
* import { SecretsManagerClient, CancelRotateSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
45
45
|
* // const { SecretsManagerClient, CancelRotateSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
46
46
|
* const client = new SecretsManagerClient(config);
|
|
47
|
-
* const input = {
|
|
47
|
+
* const input = { // CancelRotateSecretRequest
|
|
48
48
|
* SecretId: "STRING_VALUE", // required
|
|
49
49
|
* };
|
|
50
50
|
* const command = new CancelRotateSecretCommand(input);
|
|
@@ -61,21 +61,21 @@ export interface CreateSecretCommandOutput extends CreateSecretResponse, __Metad
|
|
|
61
61
|
* import { SecretsManagerClient, CreateSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
62
62
|
* // const { SecretsManagerClient, CreateSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
63
63
|
* const client = new SecretsManagerClient(config);
|
|
64
|
-
* const input = {
|
|
64
|
+
* const input = { // CreateSecretRequest
|
|
65
65
|
* Name: "STRING_VALUE", // required
|
|
66
66
|
* ClientRequestToken: "STRING_VALUE",
|
|
67
67
|
* Description: "STRING_VALUE",
|
|
68
68
|
* KmsKeyId: "STRING_VALUE",
|
|
69
69
|
* SecretBinary: "BLOB_VALUE",
|
|
70
70
|
* SecretString: "STRING_VALUE",
|
|
71
|
-
* Tags: [
|
|
72
|
-
* {
|
|
71
|
+
* Tags: [ // TagListType
|
|
72
|
+
* { // Tag
|
|
73
73
|
* Key: "STRING_VALUE",
|
|
74
74
|
* Value: "STRING_VALUE",
|
|
75
75
|
* },
|
|
76
76
|
* ],
|
|
77
|
-
* AddReplicaRegions: [
|
|
78
|
-
* {
|
|
77
|
+
* AddReplicaRegions: [ // AddReplicaRegionListType
|
|
78
|
+
* { // ReplicaRegionType
|
|
79
79
|
* Region: "STRING_VALUE",
|
|
80
80
|
* KmsKeyId: "STRING_VALUE",
|
|
81
81
|
* },
|
|
@@ -34,7 +34,7 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
|
|
|
34
34
|
* import { SecretsManagerClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
35
35
|
* // const { SecretsManagerClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
36
36
|
* const client = new SecretsManagerClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // DeleteResourcePolicyRequest
|
|
38
38
|
* SecretId: "STRING_VALUE", // required
|
|
39
39
|
* };
|
|
40
40
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
@@ -54,7 +54,7 @@ export interface DeleteSecretCommandOutput extends DeleteSecretResponse, __Metad
|
|
|
54
54
|
* import { SecretsManagerClient, DeleteSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
55
55
|
* // const { SecretsManagerClient, DeleteSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
56
56
|
* const client = new SecretsManagerClient(config);
|
|
57
|
-
* const input = {
|
|
57
|
+
* const input = { // DeleteSecretRequest
|
|
58
58
|
* SecretId: "STRING_VALUE", // required
|
|
59
59
|
* RecoveryWindowInDays: Number("long"),
|
|
60
60
|
* ForceDeleteWithoutRecovery: true || false,
|
|
@@ -34,7 +34,7 @@ export interface DescribeSecretCommandOutput extends DescribeSecretResponse, __M
|
|
|
34
34
|
* import { SecretsManagerClient, DescribeSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
35
35
|
* // const { SecretsManagerClient, DescribeSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
36
36
|
* const client = new SecretsManagerClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // DescribeSecretRequest
|
|
38
38
|
* SecretId: "STRING_VALUE", // required
|
|
39
39
|
* };
|
|
40
40
|
* const command = new DescribeSecretCommand(input);
|
|
@@ -35,7 +35,7 @@ export interface GetRandomPasswordCommandOutput extends GetRandomPasswordRespons
|
|
|
35
35
|
* import { SecretsManagerClient, GetRandomPasswordCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
36
36
|
* // const { SecretsManagerClient, GetRandomPasswordCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
37
37
|
* const client = new SecretsManagerClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // GetRandomPasswordRequest
|
|
39
39
|
* PasswordLength: Number("long"),
|
|
40
40
|
* ExcludeCharacters: "STRING_VALUE",
|
|
41
41
|
* ExcludeNumbers: true || false,
|
|
@@ -36,7 +36,7 @@ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyRespons
|
|
|
36
36
|
* import { SecretsManagerClient, GetResourcePolicyCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
37
37
|
* // const { SecretsManagerClient, GetResourcePolicyCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
38
38
|
* const client = new SecretsManagerClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // GetResourcePolicyRequest
|
|
40
40
|
* SecretId: "STRING_VALUE", // required
|
|
41
41
|
* };
|
|
42
42
|
* const command = new GetResourcePolicyCommand(input);
|
|
@@ -42,7 +42,7 @@ export interface GetSecretValueCommandOutput extends GetSecretValueResponse, __M
|
|
|
42
42
|
* import { SecretsManagerClient, GetSecretValueCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
43
43
|
* // const { SecretsManagerClient, GetSecretValueCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
44
44
|
* const client = new SecretsManagerClient(config);
|
|
45
|
-
* const input = {
|
|
45
|
+
* const input = { // GetSecretValueRequest
|
|
46
46
|
* SecretId: "STRING_VALUE", // required
|
|
47
47
|
* VersionId: "STRING_VALUE",
|
|
48
48
|
* VersionStage: "STRING_VALUE",
|
|
@@ -36,7 +36,7 @@ export interface ListSecretVersionIdsCommandOutput extends ListSecretVersionIdsR
|
|
|
36
36
|
* import { SecretsManagerClient, ListSecretVersionIdsCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
37
37
|
* // const { SecretsManagerClient, ListSecretVersionIdsCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
38
38
|
* const client = new SecretsManagerClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // ListSecretVersionIdsRequest
|
|
40
40
|
* SecretId: "STRING_VALUE", // required
|
|
41
41
|
* MaxResults: Number("int"),
|
|
42
42
|
* NextToken: "STRING_VALUE",
|
|
@@ -40,14 +40,14 @@ export interface ListSecretsCommandOutput extends ListSecretsResponse, __Metadat
|
|
|
40
40
|
* import { SecretsManagerClient, ListSecretsCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
41
41
|
* // const { SecretsManagerClient, ListSecretsCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
42
42
|
* const client = new SecretsManagerClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // ListSecretsRequest
|
|
44
44
|
* IncludePlannedDeletion: true || false,
|
|
45
45
|
* MaxResults: Number("int"),
|
|
46
46
|
* NextToken: "STRING_VALUE",
|
|
47
|
-
* Filters: [
|
|
48
|
-
* {
|
|
47
|
+
* Filters: [ // FiltersListType
|
|
48
|
+
* { // Filter
|
|
49
49
|
* Key: "description" || "name" || "tag-key" || "tag-value" || "primary-region" || "owning-service" || "all",
|
|
50
|
-
* Values: [
|
|
50
|
+
* Values: [ // FilterValuesStringList
|
|
51
51
|
* "STRING_VALUE",
|
|
52
52
|
* ],
|
|
53
53
|
* },
|
|
@@ -37,7 +37,7 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
37
37
|
* import { SecretsManagerClient, PutResourcePolicyCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
38
38
|
* // const { SecretsManagerClient, PutResourcePolicyCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
39
39
|
* const client = new SecretsManagerClient(config);
|
|
40
|
-
* const input = {
|
|
40
|
+
* const input = { // PutResourcePolicyRequest
|
|
41
41
|
* SecretId: "STRING_VALUE", // required
|
|
42
42
|
* ResourcePolicy: "STRING_VALUE", // required
|
|
43
43
|
* BlockPublicPolicy: true || false,
|
|
@@ -53,12 +53,12 @@ export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __M
|
|
|
53
53
|
* import { SecretsManagerClient, PutSecretValueCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
54
54
|
* // const { SecretsManagerClient, PutSecretValueCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
55
55
|
* const client = new SecretsManagerClient(config);
|
|
56
|
-
* const input = {
|
|
56
|
+
* const input = { // PutSecretValueRequest
|
|
57
57
|
* SecretId: "STRING_VALUE", // required
|
|
58
58
|
* ClientRequestToken: "STRING_VALUE",
|
|
59
59
|
* SecretBinary: "BLOB_VALUE",
|
|
60
60
|
* SecretString: "STRING_VALUE",
|
|
61
|
-
* VersionStages: [
|
|
61
|
+
* VersionStages: [ // SecretVersionStagesType
|
|
62
62
|
* "STRING_VALUE",
|
|
63
63
|
* ],
|
|
64
64
|
* };
|
|
@@ -33,9 +33,9 @@ export interface RemoveRegionsFromReplicationCommandOutput extends RemoveRegions
|
|
|
33
33
|
* import { SecretsManagerClient, RemoveRegionsFromReplicationCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
34
34
|
* // const { SecretsManagerClient, RemoveRegionsFromReplicationCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
35
35
|
* const client = new SecretsManagerClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // RemoveRegionsFromReplicationRequest
|
|
37
37
|
* SecretId: "STRING_VALUE", // required
|
|
38
|
-
* RemoveReplicaRegions: [ // required
|
|
38
|
+
* RemoveReplicaRegions: [ // RemoveReplicaRegionListType // required
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* };
|
|
@@ -33,10 +33,10 @@ export interface ReplicateSecretToRegionsCommandOutput extends ReplicateSecretTo
|
|
|
33
33
|
* import { SecretsManagerClient, ReplicateSecretToRegionsCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
34
34
|
* // const { SecretsManagerClient, ReplicateSecretToRegionsCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
35
35
|
* const client = new SecretsManagerClient(config);
|
|
36
|
-
* const input = {
|
|
36
|
+
* const input = { // ReplicateSecretToRegionsRequest
|
|
37
37
|
* SecretId: "STRING_VALUE", // required
|
|
38
|
-
* AddReplicaRegions: [ // required
|
|
39
|
-
* {
|
|
38
|
+
* AddReplicaRegions: [ // AddReplicaRegionListType // required
|
|
39
|
+
* { // ReplicaRegionType
|
|
40
40
|
* Region: "STRING_VALUE",
|
|
41
41
|
* KmsKeyId: "STRING_VALUE",
|
|
42
42
|
* },
|
|
@@ -34,7 +34,7 @@ export interface RestoreSecretCommandOutput extends RestoreSecretResponse, __Met
|
|
|
34
34
|
* import { SecretsManagerClient, RestoreSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
35
35
|
* // const { SecretsManagerClient, RestoreSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
36
36
|
* const client = new SecretsManagerClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // RestoreSecretRequest
|
|
38
38
|
* SecretId: "STRING_VALUE", // required
|
|
39
39
|
* };
|
|
40
40
|
* const command = new RestoreSecretCommand(input);
|
|
@@ -41,11 +41,11 @@ export interface RotateSecretCommandOutput extends RotateSecretResponse, __Metad
|
|
|
41
41
|
* import { SecretsManagerClient, RotateSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
42
42
|
* // const { SecretsManagerClient, RotateSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
43
43
|
* const client = new SecretsManagerClient(config);
|
|
44
|
-
* const input = {
|
|
44
|
+
* const input = { // RotateSecretRequest
|
|
45
45
|
* SecretId: "STRING_VALUE", // required
|
|
46
46
|
* ClientRequestToken: "STRING_VALUE",
|
|
47
47
|
* RotationLambdaARN: "STRING_VALUE",
|
|
48
|
-
* RotationRules: {
|
|
48
|
+
* RotationRules: { // RotationRulesType
|
|
49
49
|
* AutomaticallyAfterDays: Number("long"),
|
|
50
50
|
* Duration: "STRING_VALUE",
|
|
51
51
|
* ScheduleExpression: "STRING_VALUE",
|
|
@@ -34,7 +34,7 @@ export interface StopReplicationToReplicaCommandOutput extends StopReplicationTo
|
|
|
34
34
|
* import { SecretsManagerClient, StopReplicationToReplicaCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
35
35
|
* // const { SecretsManagerClient, StopReplicationToReplicaCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
36
36
|
* const client = new SecretsManagerClient(config);
|
|
37
|
-
* const input = {
|
|
37
|
+
* const input = { // StopReplicationToReplicaRequest
|
|
38
38
|
* SecretId: "STRING_VALUE", // required
|
|
39
39
|
* };
|
|
40
40
|
* const command = new StopReplicationToReplicaCommand(input);
|
|
@@ -66,10 +66,10 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
66
66
|
* import { SecretsManagerClient, TagResourceCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
67
67
|
* // const { SecretsManagerClient, TagResourceCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
68
68
|
* const client = new SecretsManagerClient(config);
|
|
69
|
-
* const input = {
|
|
69
|
+
* const input = { // TagResourceRequest
|
|
70
70
|
* SecretId: "STRING_VALUE", // required
|
|
71
|
-
* Tags: [ // required
|
|
72
|
-
* {
|
|
71
|
+
* Tags: [ // TagListType // required
|
|
72
|
+
* { // Tag
|
|
73
73
|
* Key: "STRING_VALUE",
|
|
74
74
|
* Value: "STRING_VALUE",
|
|
75
75
|
* },
|
|
@@ -41,9 +41,9 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
41
41
|
* import { SecretsManagerClient, UntagResourceCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
42
42
|
* // const { SecretsManagerClient, UntagResourceCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
43
43
|
* const client = new SecretsManagerClient(config);
|
|
44
|
-
* const input = {
|
|
44
|
+
* const input = { // UntagResourceRequest
|
|
45
45
|
* SecretId: "STRING_VALUE", // required
|
|
46
|
-
* TagKeys: [ // required
|
|
46
|
+
* TagKeys: [ // TagKeyListType // required
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
49
|
* };
|
|
@@ -52,7 +52,7 @@ export interface UpdateSecretCommandOutput extends UpdateSecretResponse, __Metad
|
|
|
52
52
|
* import { SecretsManagerClient, UpdateSecretCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
53
53
|
* // const { SecretsManagerClient, UpdateSecretCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
54
54
|
* const client = new SecretsManagerClient(config);
|
|
55
|
-
* const input = {
|
|
55
|
+
* const input = { // UpdateSecretRequest
|
|
56
56
|
* SecretId: "STRING_VALUE", // required
|
|
57
57
|
* ClientRequestToken: "STRING_VALUE",
|
|
58
58
|
* Description: "STRING_VALUE",
|
|
@@ -47,7 +47,7 @@ export interface UpdateSecretVersionStageCommandOutput extends UpdateSecretVersi
|
|
|
47
47
|
* import { SecretsManagerClient, UpdateSecretVersionStageCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
48
48
|
* // const { SecretsManagerClient, UpdateSecretVersionStageCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
49
49
|
* const client = new SecretsManagerClient(config);
|
|
50
|
-
* const input = {
|
|
50
|
+
* const input = { // UpdateSecretVersionStageRequest
|
|
51
51
|
* SecretId: "STRING_VALUE", // required
|
|
52
52
|
* VersionStage: "STRING_VALUE", // required
|
|
53
53
|
* RemoveFromVersionId: "STRING_VALUE",
|
|
@@ -47,7 +47,7 @@ export interface ValidateResourcePolicyCommandOutput extends ValidateResourcePol
|
|
|
47
47
|
* import { SecretsManagerClient, ValidateResourcePolicyCommand } from "@aws-sdk/client-secrets-manager"; // ES Modules import
|
|
48
48
|
* // const { SecretsManagerClient, ValidateResourcePolicyCommand } = require("@aws-sdk/client-secrets-manager"); // CommonJS import
|
|
49
49
|
* const client = new SecretsManagerClient(config);
|
|
50
|
-
* const input = {
|
|
50
|
+
* const input = { // ValidateResourcePolicyRequest
|
|
51
51
|
* SecretId: "STRING_VALUE",
|
|
52
52
|
* ResourcePolicy: "STRING_VALUE", // required
|
|
53
53
|
* };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-secrets-manager",
|
|
3
3
|
"description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|