@aws-sdk/client-rbin 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/Rbin.d.ts +11 -0
- package/dist-types/RbinClient.d.ts +24 -4
- package/dist-types/commands/CreateRuleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +16 -0
- package/dist-types/commands/GetRuleCommand.d.ts +16 -0
- package/dist-types/commands/ListRulesCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/LockRuleCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UnlockRuleCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +16 -0
- package/dist-types/models/RbinServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +98 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListRulesPaginator.d.ts +3 -0
- package/package.json +3 -3
package/dist-types/Rbin.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
11
11
|
import { UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
|
|
12
12
|
import { RbinClient } from "./RbinClient";
|
|
13
13
|
/**
|
|
14
|
+
* @public
|
|
14
15
|
* <p>This is the <i>Recycle Bin API Reference</i>. This documentation provides
|
|
15
16
|
* descriptions and syntax for each of the actions and data types in Recycle Bin.</p>
|
|
16
17
|
*
|
|
@@ -28,6 +29,7 @@ import { RbinClient } from "./RbinClient";
|
|
|
28
29
|
*/
|
|
29
30
|
export declare class Rbin extends RbinClient {
|
|
30
31
|
/**
|
|
32
|
+
* @public
|
|
31
33
|
* <p>Creates a Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-create-rule">
|
|
32
34
|
* Create Recycle Bin retention rules</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
33
35
|
*/
|
|
@@ -35,6 +37,7 @@ export declare class Rbin extends RbinClient {
|
|
|
35
37
|
createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
36
38
|
createRule(args: CreateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
|
|
37
39
|
/**
|
|
40
|
+
* @public
|
|
38
41
|
* <p>Deletes a Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-delete-rule">
|
|
39
42
|
* Delete Recycle Bin retention rules</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
40
43
|
*/
|
|
@@ -42,36 +45,42 @@ export declare class Rbin extends RbinClient {
|
|
|
42
45
|
deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
43
46
|
deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
44
47
|
/**
|
|
48
|
+
* @public
|
|
45
49
|
* <p>Gets information about a Recycle Bin retention rule.</p>
|
|
46
50
|
*/
|
|
47
51
|
getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
|
|
48
52
|
getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
|
|
49
53
|
getRule(args: GetRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
|
|
50
54
|
/**
|
|
55
|
+
* @public
|
|
51
56
|
* <p>Lists the Recycle Bin retention rules in the Region.</p>
|
|
52
57
|
*/
|
|
53
58
|
listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
|
|
54
59
|
listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
|
|
55
60
|
listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
|
|
56
61
|
/**
|
|
62
|
+
* @public
|
|
57
63
|
* <p>Lists the tags assigned to a retention rule.</p>
|
|
58
64
|
*/
|
|
59
65
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
60
66
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
61
67
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
62
68
|
/**
|
|
69
|
+
* @public
|
|
63
70
|
* <p>Locks a retention rule. A locked retention rule can't be modified or deleted.</p>
|
|
64
71
|
*/
|
|
65
72
|
lockRule(args: LockRuleCommandInput, options?: __HttpHandlerOptions): Promise<LockRuleCommandOutput>;
|
|
66
73
|
lockRule(args: LockRuleCommandInput, cb: (err: any, data?: LockRuleCommandOutput) => void): void;
|
|
67
74
|
lockRule(args: LockRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LockRuleCommandOutput) => void): void;
|
|
68
75
|
/**
|
|
76
|
+
* @public
|
|
69
77
|
* <p>Assigns tags to the specified retention rule.</p>
|
|
70
78
|
*/
|
|
71
79
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
72
80
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
73
81
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
74
82
|
/**
|
|
83
|
+
* @public
|
|
75
84
|
* <p>Unlocks a retention rule. After a retention rule is unlocked, it can be modified or deleted
|
|
76
85
|
* only after the unlock delay period expires.</p>
|
|
77
86
|
*/
|
|
@@ -79,12 +88,14 @@ export declare class Rbin extends RbinClient {
|
|
|
79
88
|
unlockRule(args: UnlockRuleCommandInput, cb: (err: any, data?: UnlockRuleCommandOutput) => void): void;
|
|
80
89
|
unlockRule(args: UnlockRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnlockRuleCommandOutput) => void): void;
|
|
81
90
|
/**
|
|
91
|
+
* @public
|
|
82
92
|
* <p>Unassigns a tag from a retention rule.</p>
|
|
83
93
|
*/
|
|
84
94
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
85
95
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
86
96
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
87
97
|
/**
|
|
98
|
+
* @public
|
|
88
99
|
* <p>Updates an existing Recycle Bin retention rule. You can update a retention rule's description,
|
|
89
100
|
* resource tags, and retention period at any time after creation. You can't update a retention rule's
|
|
90
101
|
* resource type after creation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-update-rule">
|
|
@@ -18,15 +18,24 @@ import { UnlockRuleCommandInput, UnlockRuleCommandOutput } from "./commands/Unlo
|
|
|
18
18
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
19
19
|
import { UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
|
|
20
20
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
21
24
|
export type ServiceInputTypes = CreateRuleCommandInput | DeleteRuleCommandInput | GetRuleCommandInput | ListRulesCommandInput | ListTagsForResourceCommandInput | LockRuleCommandInput | TagResourceCommandInput | UnlockRuleCommandInput | UntagResourceCommandInput | UpdateRuleCommandInput;
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
22
28
|
export type ServiceOutputTypes = CreateRuleCommandOutput | DeleteRuleCommandOutput | GetRuleCommandOutput | ListRulesCommandOutput | ListTagsForResourceCommandOutput | LockRuleCommandOutput | TagResourceCommandOutput | UnlockRuleCommandOutput | UntagResourceCommandOutput | UpdateRuleCommandOutput;
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
23
32
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
24
33
|
/**
|
|
25
34
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
26
35
|
*/
|
|
27
36
|
requestHandler?: __HttpHandler;
|
|
28
37
|
/**
|
|
29
|
-
* A constructor for a class implementing the {@link
|
|
38
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
30
39
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
31
40
|
* @internal
|
|
32
41
|
*/
|
|
@@ -116,23 +125,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
116
125
|
*/
|
|
117
126
|
logger?: __Logger;
|
|
118
127
|
/**
|
|
119
|
-
* The {@link
|
|
128
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
120
129
|
*/
|
|
121
130
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
122
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
123
135
|
type RbinClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
124
136
|
/**
|
|
125
|
-
*
|
|
137
|
+
* @public
|
|
138
|
+
*
|
|
139
|
+
* The configuration interface of RbinClient class constructor that set the region, credentials and other options.
|
|
126
140
|
*/
|
|
127
141
|
export interface RbinClientConfig extends RbinClientConfigType {
|
|
128
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
129
146
|
type RbinClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
130
147
|
/**
|
|
131
|
-
*
|
|
148
|
+
* @public
|
|
149
|
+
*
|
|
150
|
+
* The resolved configuration interface of RbinClient class. This is resolved and normalized from the {@link RbinClientConfig | constructor configuration interface}.
|
|
132
151
|
*/
|
|
133
152
|
export interface RbinClientResolvedConfig extends RbinClientResolvedConfigType {
|
|
134
153
|
}
|
|
135
154
|
/**
|
|
155
|
+
* @public
|
|
136
156
|
* <p>This is the <i>Recycle Bin API Reference</i>. This documentation provides
|
|
137
157
|
* descriptions and syntax for each of the actions and data types in Recycle Bin.</p>
|
|
138
158
|
*
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateRuleRequest, CreateRuleResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateRuleCommandInput extends CreateRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-create-rule">
|
|
18
23
|
* Create Recycle Bin retention rules</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param CreateRuleCommandInput - {@link CreateRuleCommandInput}
|
|
35
|
+
* @returns {@link CreateRuleCommandOutput}
|
|
29
36
|
* @see {@link CreateRuleCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link CreateRuleCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -44,11 +51,20 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
44
51
|
export declare class CreateRuleCommand extends $Command<CreateRuleCommandInput, CreateRuleCommandOutput, RbinClientResolvedConfig> {
|
|
45
52
|
readonly input: CreateRuleCommandInput;
|
|
46
53
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
54
|
+
/**
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
47
57
|
constructor(input: CreateRuleCommandInput);
|
|
48
58
|
/**
|
|
49
59
|
* @internal
|
|
50
60
|
*/
|
|
51
61
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRuleCommandInput, CreateRuleCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
52
65
|
private serialize;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
53
69
|
private deserialize;
|
|
54
70
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DeleteRuleRequest, DeleteRuleResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteRuleCommandInput extends DeleteRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes a Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-delete-rule">
|
|
18
23
|
* Delete Recycle Bin retention rules</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param DeleteRuleCommandInput - {@link DeleteRuleCommandInput}
|
|
35
|
+
* @returns {@link DeleteRuleCommandOutput}
|
|
29
36
|
* @see {@link DeleteRuleCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link DeleteRuleCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
|
|
|
47
54
|
export declare class DeleteRuleCommand extends $Command<DeleteRuleCommandInput, DeleteRuleCommandOutput, RbinClientResolvedConfig> {
|
|
48
55
|
readonly input: DeleteRuleCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: DeleteRuleCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRuleCommandInput, DeleteRuleCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { GetRuleRequest, GetRuleResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link GetRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface GetRuleCommandInput extends GetRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link GetRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Gets information about a Recycle Bin retention rule.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param GetRuleCommandInput - {@link GetRuleCommandInput}
|
|
34
|
+
* @returns {@link GetRuleCommandOutput}
|
|
28
35
|
* @see {@link GetRuleCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link GetRuleCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
|
|
|
43
50
|
export declare class GetRuleCommand extends $Command<GetRuleCommandInput, GetRuleCommandOutput, RbinClientResolvedConfig> {
|
|
44
51
|
readonly input: GetRuleCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: GetRuleCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRuleCommandInput, GetRuleCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListRulesRequest, ListRulesResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListRulesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListRulesCommandInput extends ListRulesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListRulesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists the Recycle Bin retention rules in the Region.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListRulesCommandInput - {@link ListRulesCommandInput}
|
|
34
|
+
* @returns {@link ListRulesCommandOutput}
|
|
28
35
|
* @see {@link ListRulesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListRulesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
|
|
|
40
47
|
export declare class ListRulesCommand extends $Command<ListRulesCommandInput, ListRulesCommandOutput, RbinClientResolvedConfig> {
|
|
41
48
|
readonly input: ListRulesCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: ListRulesCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRulesCommandInput, ListRulesCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists the tags assigned to a retention rule.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
34
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
28
35
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
43
50
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RbinClientResolvedConfig> {
|
|
44
51
|
readonly input: ListTagsForResourceCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: ListTagsForResourceCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { LockRuleRequest, LockRuleResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link LockRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface LockRuleCommandInput extends LockRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link LockRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface LockRuleCommandOutput extends LockRuleResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Locks a retention rule. A locked retention rule can't be modified or deleted.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface LockRuleCommandOutput extends LockRuleResponse, __MetadataBeare
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param LockRuleCommandInput - {@link LockRuleCommandInput}
|
|
34
|
+
* @returns {@link LockRuleCommandOutput}
|
|
28
35
|
* @see {@link LockRuleCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link LockRuleCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface LockRuleCommandOutput extends LockRuleResponse, __MetadataBeare
|
|
|
46
53
|
export declare class LockRuleCommand extends $Command<LockRuleCommandInput, LockRuleCommandOutput, RbinClientResolvedConfig> {
|
|
47
54
|
readonly input: LockRuleCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: LockRuleCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<LockRuleCommandInput, LockRuleCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
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 TagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Assigns tags to the specified retention rule.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
34
|
+
* @returns {@link TagResourceCommandOutput}
|
|
28
35
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
46
53
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RbinClientResolvedConfig> {
|
|
47
54
|
readonly input: TagResourceCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: TagResourceCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UnlockRuleRequest, UnlockRuleResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UnlockRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UnlockRuleCommandInput extends UnlockRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UnlockRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UnlockRuleCommandOutput extends UnlockRuleResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Unlocks a retention rule. After a retention rule is unlocked, it can be modified or deleted
|
|
18
23
|
* only after the unlock delay period expires.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface UnlockRuleCommandOutput extends UnlockRuleResponse, __MetadataB
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param UnlockRuleCommandInput - {@link UnlockRuleCommandInput}
|
|
35
|
+
* @returns {@link UnlockRuleCommandOutput}
|
|
29
36
|
* @see {@link UnlockRuleCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link UnlockRuleCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -47,11 +54,20 @@ export interface UnlockRuleCommandOutput extends UnlockRuleResponse, __MetadataB
|
|
|
47
54
|
export declare class UnlockRuleCommand extends $Command<UnlockRuleCommandInput, UnlockRuleCommandOutput, RbinClientResolvedConfig> {
|
|
48
55
|
readonly input: UnlockRuleCommandInput;
|
|
49
56
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
50
60
|
constructor(input: UnlockRuleCommandInput);
|
|
51
61
|
/**
|
|
52
62
|
* @internal
|
|
53
63
|
*/
|
|
54
64
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnlockRuleCommandInput, UnlockRuleCommandOutput>;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
55
68
|
private serialize;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
56
72
|
private deserialize;
|
|
57
73
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
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 UntagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Unassigns a tag from a retention rule.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
34
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
28
35
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
43
50
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RbinClientResolvedConfig> {
|
|
44
51
|
readonly input: UntagResourceCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: UntagResourceCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateRuleRequest, UpdateRuleResponse } from "../models/models_0";
|
|
5
5
|
import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateRuleCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateRuleCommandInput extends UpdateRuleRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateRuleCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates an existing Recycle Bin retention rule. You can update a retention rule's description,
|
|
18
23
|
* resource tags, and retention period at any time after creation. You can't update a retention rule's
|
|
19
24
|
* resource type after creation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-update-rule">
|
|
@@ -28,6 +33,8 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param UpdateRuleCommandInput - {@link UpdateRuleCommandInput}
|
|
37
|
+
* @returns {@link UpdateRuleCommandOutput}
|
|
31
38
|
* @see {@link UpdateRuleCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link UpdateRuleCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
|
|
|
49
56
|
export declare class UpdateRuleCommand extends $Command<UpdateRuleCommandInput, UpdateRuleCommandOutput, RbinClientResolvedConfig> {
|
|
50
57
|
readonly input: UpdateRuleCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: UpdateRuleCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRuleCommandInput, UpdateRuleCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Rbin service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class RbinServiceException extends __ServiceException {
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { RbinServiceException as __BaseException } from "./RbinServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export declare enum UnlockDelayUnit {
|
|
4
7
|
DAYS = "DAYS"
|
|
5
8
|
}
|
|
6
9
|
/**
|
|
10
|
+
* @public
|
|
7
11
|
* <p>Information about the retention rule unlock delay. The unlock delay is the period after which
|
|
8
12
|
* a retention rule can be modified or edited after it has been unlocked by a user with the required
|
|
9
13
|
* permissions. The retention rule can't be modified or deleted during the unlock delay.</p>
|
|
@@ -21,6 +25,7 @@ export interface UnlockDelay {
|
|
|
21
25
|
UnlockDelayUnit: UnlockDelayUnit | string | undefined;
|
|
22
26
|
}
|
|
23
27
|
/**
|
|
28
|
+
* @public
|
|
24
29
|
* <p>Information about a retention rule lock configuration.</p>
|
|
25
30
|
*/
|
|
26
31
|
export interface LockConfiguration {
|
|
@@ -30,6 +35,7 @@ export interface LockConfiguration {
|
|
|
30
35
|
UnlockDelay: UnlockDelay | undefined;
|
|
31
36
|
}
|
|
32
37
|
/**
|
|
38
|
+
* @public
|
|
33
39
|
* <p>Information about the resource tags used to identify resources that are retained by the retention
|
|
34
40
|
* rule.</p>
|
|
35
41
|
*/
|
|
@@ -43,14 +49,21 @@ export interface ResourceTag {
|
|
|
43
49
|
*/
|
|
44
50
|
ResourceTagValue?: string;
|
|
45
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
46
55
|
export declare enum ResourceType {
|
|
47
56
|
EBS_SNAPSHOT = "EBS_SNAPSHOT",
|
|
48
57
|
EC2_IMAGE = "EC2_IMAGE"
|
|
49
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
50
62
|
export declare enum RetentionPeriodUnit {
|
|
51
63
|
DAYS = "DAYS"
|
|
52
64
|
}
|
|
53
65
|
/**
|
|
66
|
+
* @public
|
|
54
67
|
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
55
68
|
*/
|
|
56
69
|
export interface RetentionPeriod {
|
|
@@ -66,6 +79,7 @@ export interface RetentionPeriod {
|
|
|
66
79
|
RetentionPeriodUnit: RetentionPeriodUnit | string | undefined;
|
|
67
80
|
}
|
|
68
81
|
/**
|
|
82
|
+
* @public
|
|
69
83
|
* <p>Information about the tags to assign to the retention rule.</p>
|
|
70
84
|
*/
|
|
71
85
|
export interface Tag {
|
|
@@ -78,6 +92,9 @@ export interface Tag {
|
|
|
78
92
|
*/
|
|
79
93
|
Value: string | undefined;
|
|
80
94
|
}
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
81
98
|
export interface CreateRuleRequest {
|
|
82
99
|
/**
|
|
83
100
|
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
@@ -113,15 +130,24 @@ export interface CreateRuleRequest {
|
|
|
113
130
|
*/
|
|
114
131
|
LockConfiguration?: LockConfiguration;
|
|
115
132
|
}
|
|
133
|
+
/**
|
|
134
|
+
* @public
|
|
135
|
+
*/
|
|
116
136
|
export declare enum LockState {
|
|
117
137
|
LOCKED = "locked",
|
|
118
138
|
PENDING_UNLOCK = "pending_unlock",
|
|
119
139
|
UNLOCKED = "unlocked"
|
|
120
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
121
144
|
export declare enum RuleStatus {
|
|
122
145
|
AVAILABLE = "available",
|
|
123
146
|
PENDING = "pending"
|
|
124
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
125
151
|
export interface CreateRuleResponse {
|
|
126
152
|
/**
|
|
127
153
|
* <p>The unique ID of the retention rule.</p>
|
|
@@ -186,6 +212,7 @@ export interface CreateRuleResponse {
|
|
|
186
212
|
LockState?: LockState | string;
|
|
187
213
|
}
|
|
188
214
|
/**
|
|
215
|
+
* @public
|
|
189
216
|
* <p>The service could not respond to the request due to an internal problem.</p>
|
|
190
217
|
*/
|
|
191
218
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -197,10 +224,14 @@ export declare class InternalServerException extends __BaseException {
|
|
|
197
224
|
*/
|
|
198
225
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
199
226
|
}
|
|
227
|
+
/**
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
200
230
|
export declare enum ServiceQuotaExceededExceptionReason {
|
|
201
231
|
SERVICE_QUOTA_EXCEEDED = "SERVICE_QUOTA_EXCEEDED"
|
|
202
232
|
}
|
|
203
233
|
/**
|
|
234
|
+
* @public
|
|
204
235
|
* <p>The request would cause a service quota for the number of tags per resource to be exceeded.</p>
|
|
205
236
|
*/
|
|
206
237
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -216,11 +247,15 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
216
247
|
*/
|
|
217
248
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
218
249
|
}
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
219
253
|
export declare enum ValidationExceptionReason {
|
|
220
254
|
INVALID_PAGE_TOKEN = "INVALID_PAGE_TOKEN",
|
|
221
255
|
INVALID_PARAMETER_VALUE = "INVALID_PARAMETER_VALUE"
|
|
222
256
|
}
|
|
223
257
|
/**
|
|
258
|
+
* @public
|
|
224
259
|
* <p>One or more of the parameters in the request is not valid.</p>
|
|
225
260
|
*/
|
|
226
261
|
export declare class ValidationException extends __BaseException {
|
|
@@ -236,10 +271,14 @@ export declare class ValidationException extends __BaseException {
|
|
|
236
271
|
*/
|
|
237
272
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
238
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
239
277
|
export declare enum ConflictExceptionReason {
|
|
240
278
|
INVALID_RULE_STATE = "INVALID_RULE_STATE"
|
|
241
279
|
}
|
|
242
280
|
/**
|
|
281
|
+
* @public
|
|
243
282
|
* <p>The specified retention rule lock request can't be completed.</p>
|
|
244
283
|
*/
|
|
245
284
|
export declare class ConflictException extends __BaseException {
|
|
@@ -255,18 +294,28 @@ export declare class ConflictException extends __BaseException {
|
|
|
255
294
|
*/
|
|
256
295
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
257
296
|
}
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
258
300
|
export interface DeleteRuleRequest {
|
|
259
301
|
/**
|
|
260
302
|
* <p>The unique ID of the retention rule.</p>
|
|
261
303
|
*/
|
|
262
304
|
Identifier: string | undefined;
|
|
263
305
|
}
|
|
306
|
+
/**
|
|
307
|
+
* @public
|
|
308
|
+
*/
|
|
264
309
|
export interface DeleteRuleResponse {
|
|
265
310
|
}
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
*/
|
|
266
314
|
export declare enum ResourceNotFoundExceptionReason {
|
|
267
315
|
RULE_NOT_FOUND = "RULE_NOT_FOUND"
|
|
268
316
|
}
|
|
269
317
|
/**
|
|
318
|
+
* @public
|
|
270
319
|
* <p>The specified resource was not found.</p>
|
|
271
320
|
*/
|
|
272
321
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -282,12 +331,18 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
282
331
|
*/
|
|
283
332
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
284
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
285
337
|
export interface GetRuleRequest {
|
|
286
338
|
/**
|
|
287
339
|
* <p>The unique ID of the retention rule.</p>
|
|
288
340
|
*/
|
|
289
341
|
Identifier: string | undefined;
|
|
290
342
|
}
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
291
346
|
export interface GetRuleResponse {
|
|
292
347
|
/**
|
|
293
348
|
* <p>The unique ID of the retention rule.</p>
|
|
@@ -353,6 +408,9 @@ export interface GetRuleResponse {
|
|
|
353
408
|
*/
|
|
354
409
|
LockEndTime?: Date;
|
|
355
410
|
}
|
|
411
|
+
/**
|
|
412
|
+
* @public
|
|
413
|
+
*/
|
|
356
414
|
export interface ListRulesRequest {
|
|
357
415
|
/**
|
|
358
416
|
* <p>The maximum number of results to return with a single call.
|
|
@@ -383,6 +441,7 @@ export interface ListRulesRequest {
|
|
|
383
441
|
LockState?: LockState | string;
|
|
384
442
|
}
|
|
385
443
|
/**
|
|
444
|
+
* @public
|
|
386
445
|
* <p>Information about a Recycle Bin retention rule.</p>
|
|
387
446
|
*/
|
|
388
447
|
export interface RuleSummary {
|
|
@@ -426,6 +485,9 @@ export interface RuleSummary {
|
|
|
426
485
|
*/
|
|
427
486
|
LockState?: LockState | string;
|
|
428
487
|
}
|
|
488
|
+
/**
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
429
491
|
export interface ListRulesResponse {
|
|
430
492
|
/**
|
|
431
493
|
* <p>Information about the retention rules.</p>
|
|
@@ -436,18 +498,27 @@ export interface ListRulesResponse {
|
|
|
436
498
|
*/
|
|
437
499
|
NextToken?: string;
|
|
438
500
|
}
|
|
501
|
+
/**
|
|
502
|
+
* @public
|
|
503
|
+
*/
|
|
439
504
|
export interface ListTagsForResourceRequest {
|
|
440
505
|
/**
|
|
441
506
|
* <p>The Amazon Resource Name (ARN) of the retention rule.</p>
|
|
442
507
|
*/
|
|
443
508
|
ResourceArn: string | undefined;
|
|
444
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
* @public
|
|
512
|
+
*/
|
|
445
513
|
export interface ListTagsForResourceResponse {
|
|
446
514
|
/**
|
|
447
515
|
* <p>Information about the tags assigned to the retention rule.</p>
|
|
448
516
|
*/
|
|
449
517
|
Tags?: Tag[];
|
|
450
518
|
}
|
|
519
|
+
/**
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
451
522
|
export interface LockRuleRequest {
|
|
452
523
|
/**
|
|
453
524
|
* <p>The unique ID of the retention rule.</p>
|
|
@@ -458,6 +529,9 @@ export interface LockRuleRequest {
|
|
|
458
529
|
*/
|
|
459
530
|
LockConfiguration: LockConfiguration | undefined;
|
|
460
531
|
}
|
|
532
|
+
/**
|
|
533
|
+
* @public
|
|
534
|
+
*/
|
|
461
535
|
export interface LockRuleResponse {
|
|
462
536
|
/**
|
|
463
537
|
* <p>The unique ID of the retention rule.</p>
|
|
@@ -517,6 +591,9 @@ export interface LockRuleResponse {
|
|
|
517
591
|
*/
|
|
518
592
|
LockState?: LockState | string;
|
|
519
593
|
}
|
|
594
|
+
/**
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
520
597
|
export interface TagResourceRequest {
|
|
521
598
|
/**
|
|
522
599
|
* <p>The Amazon Resource Name (ARN) of the retention rule.</p>
|
|
@@ -527,14 +604,23 @@ export interface TagResourceRequest {
|
|
|
527
604
|
*/
|
|
528
605
|
Tags: Tag[] | undefined;
|
|
529
606
|
}
|
|
607
|
+
/**
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
530
610
|
export interface TagResourceResponse {
|
|
531
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* @public
|
|
614
|
+
*/
|
|
532
615
|
export interface UnlockRuleRequest {
|
|
533
616
|
/**
|
|
534
617
|
* <p>The unique ID of the retention rule.</p>
|
|
535
618
|
*/
|
|
536
619
|
Identifier: string | undefined;
|
|
537
620
|
}
|
|
621
|
+
/**
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
538
624
|
export interface UnlockRuleResponse {
|
|
539
625
|
/**
|
|
540
626
|
* <p>The unique ID of the retention rule.</p>
|
|
@@ -600,6 +686,9 @@ export interface UnlockRuleResponse {
|
|
|
600
686
|
*/
|
|
601
687
|
LockEndTime?: Date;
|
|
602
688
|
}
|
|
689
|
+
/**
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
603
692
|
export interface UntagResourceRequest {
|
|
604
693
|
/**
|
|
605
694
|
* <p>The Amazon Resource Name (ARN) of the retention rule.</p>
|
|
@@ -610,8 +699,14 @@ export interface UntagResourceRequest {
|
|
|
610
699
|
*/
|
|
611
700
|
TagKeys: string[] | undefined;
|
|
612
701
|
}
|
|
702
|
+
/**
|
|
703
|
+
* @public
|
|
704
|
+
*/
|
|
613
705
|
export interface UntagResourceResponse {
|
|
614
706
|
}
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
*/
|
|
615
710
|
export interface UpdateRuleRequest {
|
|
616
711
|
/**
|
|
617
712
|
* <p>The unique ID of the retention rule.</p>
|
|
@@ -644,6 +739,9 @@ export interface UpdateRuleRequest {
|
|
|
644
739
|
*/
|
|
645
740
|
ResourceTags?: ResourceTag[];
|
|
646
741
|
}
|
|
742
|
+
/**
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
647
745
|
export interface UpdateRuleResponse {
|
|
648
746
|
/**
|
|
649
747
|
* <p>The unique ID of the retention rule.</p>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Paginator } from "@aws-sdk/types";
|
|
2
2
|
import { ListRulesCommandInput, ListRulesCommandOutput } from "../commands/ListRulesCommand";
|
|
3
3
|
import { RbinPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
4
7
|
export declare function paginateListRules(config: RbinPaginationConfiguration, input: ListRulesCommandInput, ...additionalArguments: any): Paginator<ListRulesCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rbin",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.297.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.296.0",
|