@aws-sdk/client-rbin 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +216 -0
- package/dist-cjs/Rbin.js +127 -0
- package/dist-cjs/RbinClient.js +35 -0
- package/dist-cjs/commands/CreateRuleCommand.js +36 -0
- package/dist-cjs/commands/DeleteRuleCommand.js +36 -0
- package/dist-cjs/commands/GetRuleCommand.js +36 -0
- package/dist-cjs/commands/ListRulesCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateRuleCommand.js +36 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/endpoints.js +130 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +173 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListRulesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1020 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Rbin.js +130 -0
- package/dist-es/RbinClient.js +37 -0
- package/dist-es/commands/CreateRuleCommand.js +39 -0
- package/dist-es/commands/DeleteRuleCommand.js +39 -0
- package/dist-es/commands/GetRuleCommand.js +39 -0
- package/dist-es/commands/ListRulesCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateRuleCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +126 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +123 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRulesPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1154 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Rbin.d.ts +79 -0
- package/dist-types/RbinClient.d.ts +161 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +36 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +36 -0
- package/dist-types/commands/GetRuleCommand.d.ts +35 -0
- package/dist-types/commands/ListRulesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +485 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +26 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Rbin.d.ts +45 -0
- package/dist-types/ts3.4/RbinClient.d.ts +79 -0
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +295 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +26 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +94 -0
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
/**
|
|
3
|
+
* <p>Information about a resource tag used to identify resources that are to be retained by a Recycle Bin retention rule.</p>
|
|
4
|
+
*/
|
|
5
|
+
export interface ResourceTag {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The tag key.</p>
|
|
8
|
+
*/
|
|
9
|
+
ResourceTagKey: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* <p>The tag value.</p>
|
|
12
|
+
*/
|
|
13
|
+
ResourceTagValue?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace ResourceTag {
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
const filterSensitiveLog: (obj: ResourceTag) => any;
|
|
20
|
+
}
|
|
21
|
+
export declare enum ResourceType {
|
|
22
|
+
EBS_SNAPSHOT = "EBS_SNAPSHOT"
|
|
23
|
+
}
|
|
24
|
+
export declare enum RetentionPeriodUnit {
|
|
25
|
+
DAYS = "DAYS"
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* <p>Information about the retention period for which a retention rule is to retain resources.</p>
|
|
29
|
+
*/
|
|
30
|
+
export interface RetentionPeriod {
|
|
31
|
+
/**
|
|
32
|
+
* <p>The period value for which the retention rule is to retain resources. The period is measured using
|
|
33
|
+
* the unit specified for <b>RetentionPeriodUnit</b>.</p>
|
|
34
|
+
*/
|
|
35
|
+
RetentionPeriodValue: number | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* <p>The unit of time in which the retention period is measured. Currently, only <code>DAYS</code>
|
|
38
|
+
* is supported.</p>
|
|
39
|
+
*/
|
|
40
|
+
RetentionPeriodUnit: RetentionPeriodUnit | string | undefined;
|
|
41
|
+
}
|
|
42
|
+
export declare namespace RetentionPeriod {
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
const filterSensitiveLog: (obj: RetentionPeriod) => any;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* <p>Information about the tags assigned to a Recycle Bin retention rule.</p>
|
|
50
|
+
*/
|
|
51
|
+
export interface Tag {
|
|
52
|
+
/**
|
|
53
|
+
* <p>The tag key.</p>
|
|
54
|
+
*/
|
|
55
|
+
Key: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The tag value.</p>
|
|
58
|
+
*/
|
|
59
|
+
Value: string | undefined;
|
|
60
|
+
}
|
|
61
|
+
export declare namespace Tag {
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
const filterSensitiveLog: (obj: Tag) => any;
|
|
66
|
+
}
|
|
67
|
+
export interface CreateRuleRequest {
|
|
68
|
+
/**
|
|
69
|
+
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
70
|
+
*/
|
|
71
|
+
RetentionPeriod: RetentionPeriod | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* <p>A brief description for the retention rule.</p>
|
|
74
|
+
*/
|
|
75
|
+
Description?: string;
|
|
76
|
+
/**
|
|
77
|
+
* <p>Information about the tags to assign to the retention rule.</p>
|
|
78
|
+
*/
|
|
79
|
+
Tags?: Tag[];
|
|
80
|
+
/**
|
|
81
|
+
* <p>The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots are
|
|
82
|
+
* supported.</p>
|
|
83
|
+
*/
|
|
84
|
+
ResourceType: ResourceType | string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>Information about the resource tags to use to identify resources that are to be retained
|
|
87
|
+
* by the retention rule. The retention rule retains only deleted snapshots that have one or more
|
|
88
|
+
* of the specified tag key and value pairs. If a snapshot is deleted, but it does not have
|
|
89
|
+
* any of the specified tag key and value pairs, it is immediately deleted without being retained
|
|
90
|
+
* by the retention rule.</p>
|
|
91
|
+
* <p>You can add the same tag key and value pair to a maximum or five retention rules.</p>
|
|
92
|
+
*/
|
|
93
|
+
ResourceTags?: ResourceTag[];
|
|
94
|
+
}
|
|
95
|
+
export declare namespace CreateRuleRequest {
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
const filterSensitiveLog: (obj: CreateRuleRequest) => any;
|
|
100
|
+
}
|
|
101
|
+
export declare enum RuleStatus {
|
|
102
|
+
AVAILABLE = "available",
|
|
103
|
+
PENDING = "pending"
|
|
104
|
+
}
|
|
105
|
+
export interface CreateRuleResponse {
|
|
106
|
+
/**
|
|
107
|
+
* <p>The unique identifier of the retention rule.</p>
|
|
108
|
+
*/
|
|
109
|
+
Identifier?: string;
|
|
110
|
+
/**
|
|
111
|
+
* <p>Information about the retention period for which a retention rule is to retain resources.</p>
|
|
112
|
+
*/
|
|
113
|
+
RetentionPeriod?: RetentionPeriod;
|
|
114
|
+
/**
|
|
115
|
+
* <p>The retention rule description.</p>
|
|
116
|
+
*/
|
|
117
|
+
Description?: string;
|
|
118
|
+
/**
|
|
119
|
+
* <p>The tags assigned to the retention rule.</p>
|
|
120
|
+
*/
|
|
121
|
+
Tags?: Tag[];
|
|
122
|
+
/**
|
|
123
|
+
* <p>The resource type retained by the retention rule.</p>
|
|
124
|
+
*/
|
|
125
|
+
ResourceType?: ResourceType | string;
|
|
126
|
+
/**
|
|
127
|
+
* <p>Information about the resource tags used to identify resources that are retained by the retention
|
|
128
|
+
* rule.</p>
|
|
129
|
+
*/
|
|
130
|
+
ResourceTags?: ResourceTag[];
|
|
131
|
+
/**
|
|
132
|
+
* <p>The state of the retention rule. Only retention rules that are in the <code>available</code> state retain snapshots.</p>
|
|
133
|
+
*/
|
|
134
|
+
Status?: RuleStatus | string;
|
|
135
|
+
}
|
|
136
|
+
export declare namespace CreateRuleResponse {
|
|
137
|
+
/**
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
const filterSensitiveLog: (obj: CreateRuleResponse) => any;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* <p>The service could not respond to the request due to an internal problem.</p>
|
|
144
|
+
*/
|
|
145
|
+
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
146
|
+
name: "InternalServerException";
|
|
147
|
+
$fault: "server";
|
|
148
|
+
Message?: string;
|
|
149
|
+
}
|
|
150
|
+
export declare namespace InternalServerException {
|
|
151
|
+
/**
|
|
152
|
+
* @internal
|
|
153
|
+
*/
|
|
154
|
+
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
155
|
+
}
|
|
156
|
+
export declare enum ServiceQuotaExceededExceptionReason {
|
|
157
|
+
SERVICE_QUOTA_EXCEEDED = "SERVICE_QUOTA_EXCEEDED"
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* <p>The request would cause a service quota for the number of tags per resource to be exceeded.</p>
|
|
161
|
+
*/
|
|
162
|
+
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
163
|
+
name: "ServiceQuotaExceededException";
|
|
164
|
+
$fault: "client";
|
|
165
|
+
Message?: string;
|
|
166
|
+
/**
|
|
167
|
+
* <p>The reason for the exception.</p>
|
|
168
|
+
*/
|
|
169
|
+
Reason?: ServiceQuotaExceededExceptionReason | string;
|
|
170
|
+
}
|
|
171
|
+
export declare namespace ServiceQuotaExceededException {
|
|
172
|
+
/**
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
176
|
+
}
|
|
177
|
+
export declare enum ValidationExceptionReason {
|
|
178
|
+
INVALID_PAGE_TOKEN = "INVALID_PAGE_TOKEN",
|
|
179
|
+
INVALID_PARAMETER_VALUE = "INVALID_PARAMETER_VALUE"
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* <p>One or more of the parameters in the request is not valid.</p>
|
|
183
|
+
*/
|
|
184
|
+
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
185
|
+
name: "ValidationException";
|
|
186
|
+
$fault: "client";
|
|
187
|
+
Message?: string;
|
|
188
|
+
/**
|
|
189
|
+
* <p>The reason for the exception.</p>
|
|
190
|
+
*/
|
|
191
|
+
Reason?: ValidationExceptionReason | string;
|
|
192
|
+
}
|
|
193
|
+
export declare namespace ValidationException {
|
|
194
|
+
/**
|
|
195
|
+
* @internal
|
|
196
|
+
*/
|
|
197
|
+
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
198
|
+
}
|
|
199
|
+
export interface DeleteRuleRequest {
|
|
200
|
+
/**
|
|
201
|
+
* <p>The unique ID of the retention rule to delete.</p>
|
|
202
|
+
*/
|
|
203
|
+
Identifier: string | undefined;
|
|
204
|
+
}
|
|
205
|
+
export declare namespace DeleteRuleRequest {
|
|
206
|
+
/**
|
|
207
|
+
* @internal
|
|
208
|
+
*/
|
|
209
|
+
const filterSensitiveLog: (obj: DeleteRuleRequest) => any;
|
|
210
|
+
}
|
|
211
|
+
export interface DeleteRuleResponse {
|
|
212
|
+
}
|
|
213
|
+
export declare namespace DeleteRuleResponse {
|
|
214
|
+
/**
|
|
215
|
+
* @internal
|
|
216
|
+
*/
|
|
217
|
+
const filterSensitiveLog: (obj: DeleteRuleResponse) => any;
|
|
218
|
+
}
|
|
219
|
+
export declare enum ResourceNotFoundExceptionReason {
|
|
220
|
+
RULE_NOT_FOUND = "RULE_NOT_FOUND"
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* <p>The specified resource was not found.</p>
|
|
224
|
+
*/
|
|
225
|
+
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
226
|
+
name: "ResourceNotFoundException";
|
|
227
|
+
$fault: "client";
|
|
228
|
+
Message?: string;
|
|
229
|
+
/**
|
|
230
|
+
* <p>The reason for the exception.</p>
|
|
231
|
+
*/
|
|
232
|
+
Reason?: ResourceNotFoundExceptionReason | string;
|
|
233
|
+
}
|
|
234
|
+
export declare namespace ResourceNotFoundException {
|
|
235
|
+
/**
|
|
236
|
+
* @internal
|
|
237
|
+
*/
|
|
238
|
+
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
239
|
+
}
|
|
240
|
+
export interface GetRuleRequest {
|
|
241
|
+
/**
|
|
242
|
+
* <p>The unique ID of the retention rule.</p>
|
|
243
|
+
*/
|
|
244
|
+
Identifier: string | undefined;
|
|
245
|
+
}
|
|
246
|
+
export declare namespace GetRuleRequest {
|
|
247
|
+
/**
|
|
248
|
+
* @internal
|
|
249
|
+
*/
|
|
250
|
+
const filterSensitiveLog: (obj: GetRuleRequest) => any;
|
|
251
|
+
}
|
|
252
|
+
export interface GetRuleResponse {
|
|
253
|
+
/**
|
|
254
|
+
* <p>The unique ID of the retention rule.</p>
|
|
255
|
+
*/
|
|
256
|
+
Identifier?: string;
|
|
257
|
+
/**
|
|
258
|
+
* <p>The description assigned to the retention rule.</p>
|
|
259
|
+
*/
|
|
260
|
+
Description?: string;
|
|
261
|
+
/**
|
|
262
|
+
* <p>The resource type retained by the retention rule. Currently, only Amazon EBS snapshots are supported.</p>
|
|
263
|
+
*/
|
|
264
|
+
ResourceType?: ResourceType | string;
|
|
265
|
+
/**
|
|
266
|
+
* <p>Information about the period for which the retention rule retains resources.</p>
|
|
267
|
+
*/
|
|
268
|
+
RetentionPeriod?: RetentionPeriod;
|
|
269
|
+
/**
|
|
270
|
+
* <p>The resource tags used to identify resources that are to be retained by the retention rule.</p>
|
|
271
|
+
*/
|
|
272
|
+
ResourceTags?: ResourceTag[];
|
|
273
|
+
/**
|
|
274
|
+
* <p>The state of the retention rule. Only retention rules that are in the <code>available</code> state retain snapshots.</p>
|
|
275
|
+
*/
|
|
276
|
+
Status?: RuleStatus | string;
|
|
277
|
+
}
|
|
278
|
+
export declare namespace GetRuleResponse {
|
|
279
|
+
/**
|
|
280
|
+
* @internal
|
|
281
|
+
*/
|
|
282
|
+
const filterSensitiveLog: (obj: GetRuleResponse) => any;
|
|
283
|
+
}
|
|
284
|
+
export interface ListRulesRequest {
|
|
285
|
+
/**
|
|
286
|
+
* <p>The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned <code>nextToken</code> value. This value can be between 5 and 500. If <code>maxResults</code> is given a larger value than 500, you receive an error.</p>
|
|
287
|
+
*/
|
|
288
|
+
MaxResults?: number;
|
|
289
|
+
/**
|
|
290
|
+
* <p>The token to use to retrieve the next page of results.</p>
|
|
291
|
+
*/
|
|
292
|
+
NextToken?: string;
|
|
293
|
+
/**
|
|
294
|
+
* <p>The resource type retained by the retention rule. Only retention rules that retain the specified resource type
|
|
295
|
+
* are listed.</p>
|
|
296
|
+
*/
|
|
297
|
+
ResourceType: ResourceType | string | undefined;
|
|
298
|
+
/**
|
|
299
|
+
* <p>The tags used to identify resources that are to be retained by the retention rule.</p>
|
|
300
|
+
*/
|
|
301
|
+
ResourceTags?: ResourceTag[];
|
|
302
|
+
}
|
|
303
|
+
export declare namespace ListRulesRequest {
|
|
304
|
+
/**
|
|
305
|
+
* @internal
|
|
306
|
+
*/
|
|
307
|
+
const filterSensitiveLog: (obj: ListRulesRequest) => any;
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* <p>Information about a Recycle Bin retention rule.</p>
|
|
311
|
+
*/
|
|
312
|
+
export interface RuleSummary {
|
|
313
|
+
/**
|
|
314
|
+
* <p>The unique ID of the retention rule.</p>
|
|
315
|
+
*/
|
|
316
|
+
Identifier?: string;
|
|
317
|
+
/**
|
|
318
|
+
* <p>The description for the retention rule.</p>
|
|
319
|
+
*/
|
|
320
|
+
Description?: string;
|
|
321
|
+
/**
|
|
322
|
+
* <p>Information about the retention period for which the retention rule retains resources</p>
|
|
323
|
+
*/
|
|
324
|
+
RetentionPeriod?: RetentionPeriod;
|
|
325
|
+
}
|
|
326
|
+
export declare namespace RuleSummary {
|
|
327
|
+
/**
|
|
328
|
+
* @internal
|
|
329
|
+
*/
|
|
330
|
+
const filterSensitiveLog: (obj: RuleSummary) => any;
|
|
331
|
+
}
|
|
332
|
+
export interface ListRulesResponse {
|
|
333
|
+
/**
|
|
334
|
+
* <p>Information about the retention rules.</p>
|
|
335
|
+
*/
|
|
336
|
+
Rules?: RuleSummary[];
|
|
337
|
+
/**
|
|
338
|
+
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
339
|
+
*/
|
|
340
|
+
NextToken?: string;
|
|
341
|
+
}
|
|
342
|
+
export declare namespace ListRulesResponse {
|
|
343
|
+
/**
|
|
344
|
+
* @internal
|
|
345
|
+
*/
|
|
346
|
+
const filterSensitiveLog: (obj: ListRulesResponse) => any;
|
|
347
|
+
}
|
|
348
|
+
export interface ListTagsForResourceRequest {
|
|
349
|
+
/**
|
|
350
|
+
* <p>The Amazon Resource Name (ARN) of the resource for which to list the tags.</p>
|
|
351
|
+
*/
|
|
352
|
+
ResourceArn: string | undefined;
|
|
353
|
+
}
|
|
354
|
+
export declare namespace ListTagsForResourceRequest {
|
|
355
|
+
/**
|
|
356
|
+
* @internal
|
|
357
|
+
*/
|
|
358
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
359
|
+
}
|
|
360
|
+
export interface ListTagsForResourceResponse {
|
|
361
|
+
/**
|
|
362
|
+
* <p>Information about the tags assigned to the resource.</p>
|
|
363
|
+
*/
|
|
364
|
+
Tags?: Tag[];
|
|
365
|
+
}
|
|
366
|
+
export declare namespace ListTagsForResourceResponse {
|
|
367
|
+
/**
|
|
368
|
+
* @internal
|
|
369
|
+
*/
|
|
370
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
371
|
+
}
|
|
372
|
+
export interface TagResourceRequest {
|
|
373
|
+
/**
|
|
374
|
+
* <p>The Amazon Resource Name (ARN) of the resource to which to assign the tags.</p>
|
|
375
|
+
*/
|
|
376
|
+
ResourceArn: string | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* <p>Information about the tags to assign to the resource.</p>
|
|
379
|
+
*/
|
|
380
|
+
Tags: Tag[] | undefined;
|
|
381
|
+
}
|
|
382
|
+
export declare namespace TagResourceRequest {
|
|
383
|
+
/**
|
|
384
|
+
* @internal
|
|
385
|
+
*/
|
|
386
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
387
|
+
}
|
|
388
|
+
export interface TagResourceResponse {
|
|
389
|
+
}
|
|
390
|
+
export declare namespace TagResourceResponse {
|
|
391
|
+
/**
|
|
392
|
+
* @internal
|
|
393
|
+
*/
|
|
394
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
395
|
+
}
|
|
396
|
+
export interface UntagResourceRequest {
|
|
397
|
+
/**
|
|
398
|
+
* <p>The Amazon Resource Name (ARN) of the resource from which to unassign the tags.</p>
|
|
399
|
+
*/
|
|
400
|
+
ResourceArn: string | undefined;
|
|
401
|
+
/**
|
|
402
|
+
* <p>Information about the tags to unassign from the resource.</p>
|
|
403
|
+
*/
|
|
404
|
+
TagKeys: string[] | undefined;
|
|
405
|
+
}
|
|
406
|
+
export declare namespace UntagResourceRequest {
|
|
407
|
+
/**
|
|
408
|
+
* @internal
|
|
409
|
+
*/
|
|
410
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
411
|
+
}
|
|
412
|
+
export interface UntagResourceResponse {
|
|
413
|
+
}
|
|
414
|
+
export declare namespace UntagResourceResponse {
|
|
415
|
+
/**
|
|
416
|
+
* @internal
|
|
417
|
+
*/
|
|
418
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
419
|
+
}
|
|
420
|
+
export interface UpdateRuleRequest {
|
|
421
|
+
/**
|
|
422
|
+
* <p>The unique ID of the retention rule to update.</p>
|
|
423
|
+
*/
|
|
424
|
+
Identifier: string | undefined;
|
|
425
|
+
/**
|
|
426
|
+
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
427
|
+
*/
|
|
428
|
+
RetentionPeriod?: RetentionPeriod;
|
|
429
|
+
/**
|
|
430
|
+
* <p>The retention rule description.</p>
|
|
431
|
+
*/
|
|
432
|
+
Description?: string;
|
|
433
|
+
/**
|
|
434
|
+
* <p>The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots are supported.</p>
|
|
435
|
+
*/
|
|
436
|
+
ResourceType?: ResourceType | string;
|
|
437
|
+
/**
|
|
438
|
+
* <p>Information about the resource tags to use to identify resources that are to be retained
|
|
439
|
+
* by the retention rule. The retention rule retains only deleted snapshots that have one or more
|
|
440
|
+
* of the specified tag key and value pairs. If a snapshot is deleted, but it does not have
|
|
441
|
+
* any of the specified tag key and value pairs, it is immediately deleted without being retained
|
|
442
|
+
* by the retention rule. </p>
|
|
443
|
+
* <p>You can add the same tag key and value pair to a maximum or five retention rules.</p>
|
|
444
|
+
*/
|
|
445
|
+
ResourceTags?: ResourceTag[];
|
|
446
|
+
}
|
|
447
|
+
export declare namespace UpdateRuleRequest {
|
|
448
|
+
/**
|
|
449
|
+
* @internal
|
|
450
|
+
*/
|
|
451
|
+
const filterSensitiveLog: (obj: UpdateRuleRequest) => any;
|
|
452
|
+
}
|
|
453
|
+
export interface UpdateRuleResponse {
|
|
454
|
+
/**
|
|
455
|
+
* <p>The unique ID of the retention rule.</p>
|
|
456
|
+
*/
|
|
457
|
+
Identifier?: string;
|
|
458
|
+
/**
|
|
459
|
+
* <p>Information about the retention period for which a retention rule is to retain resources.</p>
|
|
460
|
+
*/
|
|
461
|
+
RetentionPeriod?: RetentionPeriod;
|
|
462
|
+
/**
|
|
463
|
+
* <p>The retention rule description.</p>
|
|
464
|
+
*/
|
|
465
|
+
Description?: string;
|
|
466
|
+
/**
|
|
467
|
+
* <p>The resource type retained by the retention rule.</p>
|
|
468
|
+
*/
|
|
469
|
+
ResourceType?: ResourceType | string;
|
|
470
|
+
/**
|
|
471
|
+
* <p>Information about the resource tags used to identify resources that are retained by the retention
|
|
472
|
+
* rule.</p>
|
|
473
|
+
*/
|
|
474
|
+
ResourceTags?: ResourceTag[];
|
|
475
|
+
/**
|
|
476
|
+
* <p>The state of the retention rule. Only retention rules that are in the <code>available</code> state retain snapshots.</p>
|
|
477
|
+
*/
|
|
478
|
+
Status?: RuleStatus | string;
|
|
479
|
+
}
|
|
480
|
+
export declare namespace UpdateRuleResponse {
|
|
481
|
+
/**
|
|
482
|
+
* @internal
|
|
483
|
+
*/
|
|
484
|
+
const filterSensitiveLog: (obj: UpdateRuleResponse) => any;
|
|
485
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListRulesCommandInput, ListRulesCommandOutput } from "../commands/ListRulesCommand";
|
|
3
|
+
import { RbinPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListRules(config: RbinPaginationConfiguration, input: ListRulesCommandInput, ...additionalArguments: any): Paginator<ListRulesCommandOutput>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { CreateRuleCommandInput, CreateRuleCommandOutput } from "../commands/CreateRuleCommand";
|
|
4
|
+
import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "../commands/DeleteRuleCommand";
|
|
5
|
+
import { GetRuleCommandInput, GetRuleCommandOutput } from "../commands/GetRuleCommand";
|
|
6
|
+
import { ListRulesCommandInput, ListRulesCommandOutput } from "../commands/ListRulesCommand";
|
|
7
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
8
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
9
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
10
|
+
import { UpdateRuleCommandInput, UpdateRuleCommandOutput } from "../commands/UpdateRuleCommand";
|
|
11
|
+
export declare const serializeAws_restJson1CreateRuleCommand: (input: CreateRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_restJson1DeleteRuleCommand: (input: DeleteRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
+
export declare const serializeAws_restJson1GetRuleCommand: (input: GetRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const serializeAws_restJson1ListRulesCommand: (input: ListRulesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
|
+
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
|
+
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
+
export declare const serializeAws_restJson1UpdateRuleCommand: (input: UpdateRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
export declare const deserializeAws_restJson1CreateRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRuleCommandOutput>;
|
|
20
|
+
export declare const deserializeAws_restJson1DeleteRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRuleCommandOutput>;
|
|
21
|
+
export declare const deserializeAws_restJson1GetRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRuleCommandOutput>;
|
|
22
|
+
export declare const deserializeAws_restJson1ListRulesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRulesCommandOutput>;
|
|
23
|
+
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
24
|
+
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
25
|
+
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
26
|
+
export declare const deserializeAws_restJson1UpdateRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateRuleCommandOutput>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { RbinClientConfig } from "./RbinClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: RbinClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
|
|
16
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
22
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
23
|
+
apiVersion: string;
|
|
24
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
25
|
+
disableHostPrefix: boolean;
|
|
26
|
+
logger: import("@aws-sdk/types").Logger;
|
|
27
|
+
serviceId: string;
|
|
28
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
29
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
|
+
tls?: boolean | undefined;
|
|
31
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
32
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
33
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
34
|
+
signingEscapePath?: boolean | undefined;
|
|
35
|
+
systemClockOffset?: number | undefined;
|
|
36
|
+
signingRegion?: string | undefined;
|
|
37
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
38
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
39
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { RbinClientConfig } from "./RbinClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: RbinClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
22
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
23
|
+
apiVersion: string;
|
|
24
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
25
|
+
disableHostPrefix: boolean;
|
|
26
|
+
logger: import("@aws-sdk/types").Logger;
|
|
27
|
+
serviceId: string;
|
|
28
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
29
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
|
+
tls?: boolean | undefined;
|
|
31
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
32
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
33
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
34
|
+
signingEscapePath?: boolean | undefined;
|
|
35
|
+
systemClockOffset?: number | undefined;
|
|
36
|
+
signingRegion?: string | undefined;
|
|
37
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
38
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
39
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { RbinClientConfig } from "./RbinClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: RbinClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
8
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
|
+
apiVersion: string;
|
|
10
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
12
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
15
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
16
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
17
|
+
disableHostPrefix: boolean;
|
|
18
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
19
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
20
|
+
logger: import("@aws-sdk/types").Logger;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
|
+
serviceId: string;
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
|
|
25
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
|
+
tls?: boolean | undefined;
|
|
30
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
31
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
32
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
33
|
+
signingEscapePath?: boolean | undefined;
|
|
34
|
+
systemClockOffset?: number | undefined;
|
|
35
|
+
signingRegion?: string | undefined;
|
|
36
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
37
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { RbinClientConfig } from "./RbinClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: RbinClientConfig) => {
|
|
7
|
+
apiVersion: string;
|
|
8
|
+
disableHostPrefix: boolean;
|
|
9
|
+
logger: __Logger;
|
|
10
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
11
|
+
serviceId: string;
|
|
12
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
13
|
+
};
|