@aws-sdk/client-secrets-manager 3.296.0 → 3.297.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/SecretsManager.d.ts +23 -0
- package/dist-types/SecretsManagerClient.d.ts +24 -4
- package/dist-types/commands/CancelRotateSecretCommand.d.ts +16 -0
- package/dist-types/commands/CreateSecretCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSecretCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSecretCommand.d.ts +16 -0
- package/dist-types/commands/GetRandomPasswordCommand.d.ts +16 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetSecretValueCommand.d.ts +16 -0
- package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +16 -0
- package/dist-types/commands/ListSecretsCommand.d.ts +16 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/PutSecretValueCommand.d.ts +16 -0
- package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +16 -0
- package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +16 -0
- package/dist-types/commands/RestoreSecretCommand.d.ts +16 -0
- package/dist-types/commands/RotateSecretCommand.d.ts +16 -0
- package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateSecretCommand.d.ts +16 -0
- package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +16 -0
- package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +16 -0
- package/dist-types/models/SecretsManagerServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +157 -2
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListSecretVersionIdsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSecretsPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetSecretValueRequest, GetSecretValueResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetSecretValueCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetSecretValueCommandInput extends GetSecretValueRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetSecretValueCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetSecretValueCommandOutput extends GetSecretValueResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Retrieves the contents of the encrypted fields <code>SecretString</code> or
|
|
18
23
|
* <code>SecretBinary</code> from the specified version of a secret, whichever contains
|
|
19
24
|
* content.</p>
|
|
@@ -41,6 +46,8 @@ export interface GetSecretValueCommandOutput extends GetSecretValueResponse, __M
|
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
43
48
|
*
|
|
49
|
+
* @param GetSecretValueCommandInput - {@link GetSecretValueCommandInput}
|
|
50
|
+
* @returns {@link GetSecretValueCommandOutput}
|
|
44
51
|
* @see {@link GetSecretValueCommandInput} for command's `input` shape.
|
|
45
52
|
* @see {@link GetSecretValueCommandOutput} for command's `response` shape.
|
|
46
53
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -103,11 +110,20 @@ export interface GetSecretValueCommandOutput extends GetSecretValueResponse, __M
|
|
|
103
110
|
export declare class GetSecretValueCommand extends $Command<GetSecretValueCommandInput, GetSecretValueCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
104
111
|
readonly input: GetSecretValueCommandInput;
|
|
105
112
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
106
116
|
constructor(input: GetSecretValueCommandInput);
|
|
107
117
|
/**
|
|
108
118
|
* @internal
|
|
109
119
|
*/
|
|
110
120
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSecretValueCommandInput, GetSecretValueCommandOutput>;
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
111
124
|
private serialize;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
112
128
|
private deserialize;
|
|
113
129
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListSecretVersionIdsRequest, ListSecretVersionIdsResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListSecretVersionIdsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListSecretVersionIdsCommandInput extends ListSecretVersionIdsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListSecretVersionIdsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListSecretVersionIdsCommandOutput extends ListSecretVersionIdsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists the versions of a secret. Secrets Manager uses staging labels to indicate the different versions
|
|
18
23
|
* of a secret. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version">
|
|
19
24
|
* Secrets Manager concepts: Versions</a>.</p>
|
|
@@ -35,6 +40,8 @@ export interface ListSecretVersionIdsCommandOutput extends ListSecretVersionIdsR
|
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
37
42
|
*
|
|
43
|
+
* @param ListSecretVersionIdsCommandInput - {@link ListSecretVersionIdsCommandInput}
|
|
44
|
+
* @returns {@link ListSecretVersionIdsCommandOutput}
|
|
38
45
|
* @see {@link ListSecretVersionIdsCommandInput} for command's `input` shape.
|
|
39
46
|
* @see {@link ListSecretVersionIdsCommandOutput} for command's `response` shape.
|
|
40
47
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -94,11 +101,20 @@ export interface ListSecretVersionIdsCommandOutput extends ListSecretVersionIdsR
|
|
|
94
101
|
export declare class ListSecretVersionIdsCommand extends $Command<ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
95
102
|
readonly input: ListSecretVersionIdsCommandInput;
|
|
96
103
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
97
107
|
constructor(input: ListSecretVersionIdsCommandInput);
|
|
98
108
|
/**
|
|
99
109
|
* @internal
|
|
100
110
|
*/
|
|
101
111
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSecretVersionIdsCommandInput, ListSecretVersionIdsCommandOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
102
115
|
private serialize;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
103
119
|
private deserialize;
|
|
104
120
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListSecretsRequest, ListSecretsResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListSecretsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListSecretsCommandInput extends ListSecretsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListSecretsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListSecretsCommandOutput extends ListSecretsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets
|
|
18
23
|
* that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.</p>
|
|
19
24
|
* <p>ListSecrets is eventually consistent, however it might not reflect changes from the last five minutes.
|
|
@@ -39,6 +44,8 @@ export interface ListSecretsCommandOutput extends ListSecretsResponse, __Metadat
|
|
|
39
44
|
* const response = await client.send(command);
|
|
40
45
|
* ```
|
|
41
46
|
*
|
|
47
|
+
* @param ListSecretsCommandInput - {@link ListSecretsCommandInput}
|
|
48
|
+
* @returns {@link ListSecretsCommandOutput}
|
|
42
49
|
* @see {@link ListSecretsCommandInput} for command's `input` shape.
|
|
43
50
|
* @see {@link ListSecretsCommandOutput} for command's `response` shape.
|
|
44
51
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -94,11 +101,20 @@ export interface ListSecretsCommandOutput extends ListSecretsResponse, __Metadat
|
|
|
94
101
|
export declare class ListSecretsCommand extends $Command<ListSecretsCommandInput, ListSecretsCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
95
102
|
readonly input: ListSecretsCommandInput;
|
|
96
103
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
97
107
|
constructor(input: ListSecretsCommandInput);
|
|
98
108
|
/**
|
|
99
109
|
* @internal
|
|
100
110
|
*/
|
|
101
111
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSecretsCommandInput, ListSecretsCommandOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
102
115
|
private serialize;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
103
119
|
private deserialize;
|
|
104
120
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutResourcePolicyCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutResourcePolicyCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Attaches a resource-based permission policy to a secret. A resource-based policy is
|
|
18
23
|
* optional. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html">Authentication and access control for Secrets Manager</a>
|
|
19
24
|
* </p>
|
|
@@ -36,6 +41,8 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
38
43
|
*
|
|
44
|
+
* @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput}
|
|
45
|
+
* @returns {@link PutResourcePolicyCommandOutput}
|
|
39
46
|
* @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
|
|
40
47
|
* @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
|
|
41
48
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -96,11 +103,20 @@ export interface PutResourcePolicyCommandOutput extends PutResourcePolicyRespons
|
|
|
96
103
|
export declare class PutResourcePolicyCommand extends $Command<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
97
104
|
readonly input: PutResourcePolicyCommandInput;
|
|
98
105
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
99
109
|
constructor(input: PutResourcePolicyCommandInput);
|
|
100
110
|
/**
|
|
101
111
|
* @internal
|
|
102
112
|
*/
|
|
103
113
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput>;
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
104
117
|
private serialize;
|
|
118
|
+
/**
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
105
121
|
private deserialize;
|
|
106
122
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { PutSecretValueRequest, PutSecretValueResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link PutSecretValueCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface PutSecretValueCommandInput extends PutSecretValueRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link PutSecretValueCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a new version with a new encrypted secret value and attaches it to the secret. The
|
|
18
23
|
* version can contain a new <code>SecretString</code> value or a new <code>SecretBinary</code> value. </p>
|
|
19
24
|
* <p>We recommend you avoid calling <code>PutSecretValue</code> at a sustained rate of more than
|
|
@@ -52,6 +57,8 @@ export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __M
|
|
|
52
57
|
* const response = await client.send(command);
|
|
53
58
|
* ```
|
|
54
59
|
*
|
|
60
|
+
* @param PutSecretValueCommandInput - {@link PutSecretValueCommandInput}
|
|
61
|
+
* @returns {@link PutSecretValueCommandOutput}
|
|
55
62
|
* @see {@link PutSecretValueCommandInput} for command's `input` shape.
|
|
56
63
|
* @see {@link PutSecretValueCommandOutput} for command's `response` shape.
|
|
57
64
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -125,11 +132,20 @@ export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __M
|
|
|
125
132
|
export declare class PutSecretValueCommand extends $Command<PutSecretValueCommandInput, PutSecretValueCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
126
133
|
readonly input: PutSecretValueCommandInput;
|
|
127
134
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
135
|
+
/**
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
128
138
|
constructor(input: PutSecretValueCommandInput);
|
|
129
139
|
/**
|
|
130
140
|
* @internal
|
|
131
141
|
*/
|
|
132
142
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutSecretValueCommandInput, PutSecretValueCommandOutput>;
|
|
143
|
+
/**
|
|
144
|
+
* @internal
|
|
145
|
+
*/
|
|
133
146
|
private serialize;
|
|
147
|
+
/**
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
134
150
|
private deserialize;
|
|
135
151
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { RemoveRegionsFromReplicationRequest, RemoveRegionsFromReplicationResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link RemoveRegionsFromReplicationCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface RemoveRegionsFromReplicationCommandInput extends RemoveRegionsFromReplicationRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link RemoveRegionsFromReplicationCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface RemoveRegionsFromReplicationCommandOutput extends RemoveRegionsFromReplicationResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.</p>
|
|
18
23
|
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html">Logging Secrets Manager events with CloudTrail</a>.</p>
|
|
19
24
|
* <p>
|
|
@@ -32,6 +37,8 @@ export interface RemoveRegionsFromReplicationCommandOutput extends RemoveRegions
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param RemoveRegionsFromReplicationCommandInput - {@link RemoveRegionsFromReplicationCommandInput}
|
|
41
|
+
* @returns {@link RemoveRegionsFromReplicationCommandOutput}
|
|
35
42
|
* @see {@link RemoveRegionsFromReplicationCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link RemoveRegionsFromReplicationCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -68,11 +75,20 @@ export interface RemoveRegionsFromReplicationCommandOutput extends RemoveRegions
|
|
|
68
75
|
export declare class RemoveRegionsFromReplicationCommand extends $Command<RemoveRegionsFromReplicationCommandInput, RemoveRegionsFromReplicationCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
69
76
|
readonly input: RemoveRegionsFromReplicationCommandInput;
|
|
70
77
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
71
81
|
constructor(input: RemoveRegionsFromReplicationCommandInput);
|
|
72
82
|
/**
|
|
73
83
|
* @internal
|
|
74
84
|
*/
|
|
75
85
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveRegionsFromReplicationCommandInput, RemoveRegionsFromReplicationCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
76
89
|
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
77
93
|
private deserialize;
|
|
78
94
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ReplicateSecretToRegionsRequest, ReplicateSecretToRegionsResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ReplicateSecretToRegionsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ReplicateSecretToRegionsCommandInput extends ReplicateSecretToRegionsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ReplicateSecretToRegionsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ReplicateSecretToRegionsCommandOutput extends ReplicateSecretToRegionsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Replicates the secret to a new Regions. See <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/create-manage-multi-region-secrets.html">Multi-Region secrets</a>.</p>
|
|
18
23
|
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html">Logging Secrets Manager events with CloudTrail</a>.</p>
|
|
19
24
|
* <p>
|
|
@@ -32,6 +37,8 @@ export interface ReplicateSecretToRegionsCommandOutput extends ReplicateSecretTo
|
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
34
39
|
*
|
|
40
|
+
* @param ReplicateSecretToRegionsCommandInput - {@link ReplicateSecretToRegionsCommandInput}
|
|
41
|
+
* @returns {@link ReplicateSecretToRegionsCommandOutput}
|
|
35
42
|
* @see {@link ReplicateSecretToRegionsCommandInput} for command's `input` shape.
|
|
36
43
|
* @see {@link ReplicateSecretToRegionsCommandOutput} for command's `response` shape.
|
|
37
44
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -68,11 +75,20 @@ export interface ReplicateSecretToRegionsCommandOutput extends ReplicateSecretTo
|
|
|
68
75
|
export declare class ReplicateSecretToRegionsCommand extends $Command<ReplicateSecretToRegionsCommandInput, ReplicateSecretToRegionsCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
69
76
|
readonly input: ReplicateSecretToRegionsCommandInput;
|
|
70
77
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
71
81
|
constructor(input: ReplicateSecretToRegionsCommandInput);
|
|
72
82
|
/**
|
|
73
83
|
* @internal
|
|
74
84
|
*/
|
|
75
85
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ReplicateSecretToRegionsCommandInput, ReplicateSecretToRegionsCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
76
89
|
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
77
93
|
private deserialize;
|
|
78
94
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { RestoreSecretRequest, RestoreSecretResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link RestoreSecretCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface RestoreSecretCommandInput extends RestoreSecretRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link RestoreSecretCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface RestoreSecretCommandOutput extends RestoreSecretResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Cancels the scheduled deletion of a secret by removing the <code>DeletedDate</code> time
|
|
18
23
|
* stamp. You can access a secret again after it has been restored.</p>
|
|
19
24
|
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html">Logging Secrets Manager events with CloudTrail</a>.</p>
|
|
@@ -33,6 +38,8 @@ export interface RestoreSecretCommandOutput extends RestoreSecretResponse, __Met
|
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
35
40
|
*
|
|
41
|
+
* @param RestoreSecretCommandInput - {@link RestoreSecretCommandInput}
|
|
42
|
+
* @returns {@link RestoreSecretCommandOutput}
|
|
36
43
|
* @see {@link RestoreSecretCommandInput} for command's `input` shape.
|
|
37
44
|
* @see {@link RestoreSecretCommandOutput} for command's `response` shape.
|
|
38
45
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -86,11 +93,20 @@ export interface RestoreSecretCommandOutput extends RestoreSecretResponse, __Met
|
|
|
86
93
|
export declare class RestoreSecretCommand extends $Command<RestoreSecretCommandInput, RestoreSecretCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
87
94
|
readonly input: RestoreSecretCommandInput;
|
|
88
95
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
89
99
|
constructor(input: RestoreSecretCommandInput);
|
|
90
100
|
/**
|
|
91
101
|
* @internal
|
|
92
102
|
*/
|
|
93
103
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreSecretCommandInput, RestoreSecretCommandOutput>;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
94
107
|
private serialize;
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
95
111
|
private deserialize;
|
|
96
112
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { RotateSecretRequest, RotateSecretResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link RotateSecretCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface RotateSecretCommandInput extends RotateSecretRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link RotateSecretCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface RotateSecretCommandOutput extends RotateSecretResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Configures and starts the asynchronous process of rotating the secret. For information about rotation,
|
|
18
23
|
* see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html">Rotate secrets</a> in the <i>Secrets Manager User Guide</i>. If you include the configuration parameters, the operation sets the values for the secret and then immediately starts a rotation. If you don't include the configuration parameters, the operation starts a rotation with the values already stored in the secret. </p>
|
|
19
24
|
* <p>When rotation is successful, the <code>AWSPENDING</code> staging label might be attached
|
|
@@ -40,6 +45,8 @@ export interface RotateSecretCommandOutput extends RotateSecretResponse, __Metad
|
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
42
47
|
*
|
|
48
|
+
* @param RotateSecretCommandInput - {@link RotateSecretCommandInput}
|
|
49
|
+
* @returns {@link RotateSecretCommandOutput}
|
|
43
50
|
* @see {@link RotateSecretCommandInput} for command's `input` shape.
|
|
44
51
|
* @see {@link RotateSecretCommandOutput} for command's `response` shape.
|
|
45
52
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -117,11 +124,20 @@ export interface RotateSecretCommandOutput extends RotateSecretResponse, __Metad
|
|
|
117
124
|
export declare class RotateSecretCommand extends $Command<RotateSecretCommandInput, RotateSecretCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
118
125
|
readonly input: RotateSecretCommandInput;
|
|
119
126
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
127
|
+
/**
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
120
130
|
constructor(input: RotateSecretCommandInput);
|
|
121
131
|
/**
|
|
122
132
|
* @internal
|
|
123
133
|
*/
|
|
124
134
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RotateSecretCommandInput, RotateSecretCommandOutput>;
|
|
135
|
+
/**
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
125
138
|
private serialize;
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
*/
|
|
126
142
|
private deserialize;
|
|
127
143
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StopReplicationToReplicaRequest, StopReplicationToReplicaResponse } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StopReplicationToReplicaCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StopReplicationToReplicaCommandInput extends StopReplicationToReplicaRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StopReplicationToReplicaCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StopReplicationToReplicaCommandOutput extends StopReplicationToReplicaResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region.</p>
|
|
18
23
|
* <p>You must call this operation from the Region in which you want to promote the replica to a primary secret.</p>
|
|
19
24
|
* <p>Secrets Manager generates a CloudTrail log entry when you call this action. Do not include sensitive information in request parameters because it might be logged. For more information, see <a href="https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieve-ct-entries.html">Logging Secrets Manager events with CloudTrail</a>.</p>
|
|
@@ -33,6 +38,8 @@ export interface StopReplicationToReplicaCommandOutput extends StopReplicationTo
|
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
35
40
|
*
|
|
41
|
+
* @param StopReplicationToReplicaCommandInput - {@link StopReplicationToReplicaCommandInput}
|
|
42
|
+
* @returns {@link StopReplicationToReplicaCommandOutput}
|
|
36
43
|
* @see {@link StopReplicationToReplicaCommandInput} for command's `input` shape.
|
|
37
44
|
* @see {@link StopReplicationToReplicaCommandOutput} for command's `response` shape.
|
|
38
45
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -69,11 +76,20 @@ export interface StopReplicationToReplicaCommandOutput extends StopReplicationTo
|
|
|
69
76
|
export declare class StopReplicationToReplicaCommand extends $Command<StopReplicationToReplicaCommandInput, StopReplicationToReplicaCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
70
77
|
readonly input: StopReplicationToReplicaCommandInput;
|
|
71
78
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
79
|
+
/**
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
72
82
|
constructor(input: StopReplicationToReplicaCommandInput);
|
|
73
83
|
/**
|
|
74
84
|
* @internal
|
|
75
85
|
*/
|
|
76
86
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopReplicationToReplicaCommandInput, StopReplicationToReplicaCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
77
90
|
private serialize;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
78
94
|
private deserialize;
|
|
79
95
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { TagResourceRequest } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the
|
|
18
23
|
* secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags.</p>
|
|
19
24
|
* <p>The following restrictions apply to tags:</p>
|
|
@@ -65,6 +70,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
65
70
|
* const response = await client.send(command);
|
|
66
71
|
* ```
|
|
67
72
|
*
|
|
73
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
74
|
+
* @returns {@link TagResourceCommandOutput}
|
|
68
75
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
69
76
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
70
77
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -122,11 +129,20 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
122
129
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
123
130
|
readonly input: TagResourceCommandInput;
|
|
124
131
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
125
135
|
constructor(input: TagResourceCommandInput);
|
|
126
136
|
/**
|
|
127
137
|
* @internal
|
|
128
138
|
*/
|
|
129
139
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
130
143
|
private serialize;
|
|
144
|
+
/**
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
131
147
|
private deserialize;
|
|
132
148
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UntagResourceRequest } from "../models/models_0";
|
|
5
5
|
import { SecretsManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecretsManagerClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes specific tags from a secret.</p>
|
|
18
23
|
* <p>This operation is idempotent. If a requested tag is not attached to the secret, no error
|
|
19
24
|
* is returned and the secret metadata is unchanged.</p>
|
|
@@ -40,6 +45,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
42
47
|
*
|
|
48
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
49
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
43
50
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
44
51
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
45
52
|
* @see {@link SecretsManagerClientResolvedConfig | config} for SecretsManagerClient's `config` shape.
|
|
@@ -91,11 +98,20 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
91
98
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SecretsManagerClientResolvedConfig> {
|
|
92
99
|
readonly input: UntagResourceCommandInput;
|
|
93
100
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
94
104
|
constructor(input: UntagResourceCommandInput);
|
|
95
105
|
/**
|
|
96
106
|
* @internal
|
|
97
107
|
*/
|
|
98
108
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecretsManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
99
112
|
private serialize;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
100
116
|
private deserialize;
|
|
101
117
|
}
|