@aws-sdk/client-rbin 3.168.0 → 3.170.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.
@@ -1,249 +1,271 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { RbinServiceException as __BaseException } from "./RbinServiceException";
3
-
4
- export interface ResourceTag {
5
-
6
- ResourceTagKey: string | undefined;
7
-
8
- ResourceTagValue?: string;
9
- }
10
- export declare enum ResourceType {
11
- EBS_SNAPSHOT = "EBS_SNAPSHOT",
12
- EC2_IMAGE = "EC2_IMAGE"
13
- }
14
- export declare enum RetentionPeriodUnit {
15
- DAYS = "DAYS"
16
- }
17
-
18
- export interface RetentionPeriod {
19
-
20
- RetentionPeriodValue: number | undefined;
21
-
22
- RetentionPeriodUnit: RetentionPeriodUnit | string | undefined;
23
- }
24
-
25
- export interface Tag {
26
-
27
- Key: string | undefined;
28
-
29
- Value: string | undefined;
30
- }
31
- export interface CreateRuleRequest {
32
-
33
- RetentionPeriod: RetentionPeriod | undefined;
34
-
35
- Description?: string;
36
-
37
- Tags?: Tag[];
38
-
39
- ResourceType: ResourceType | string | undefined;
40
-
41
- ResourceTags?: ResourceTag[];
42
- }
43
- export declare enum RuleStatus {
44
- AVAILABLE = "available",
45
- PENDING = "pending"
46
- }
47
- export interface CreateRuleResponse {
48
-
49
- Identifier?: string;
50
-
51
- RetentionPeriod?: RetentionPeriod;
52
-
53
- Description?: string;
54
-
55
- Tags?: Tag[];
56
-
57
- ResourceType?: ResourceType | string;
58
-
59
- ResourceTags?: ResourceTag[];
60
-
61
- Status?: RuleStatus | string;
62
- }
63
-
64
- export declare class InternalServerException extends __BaseException {
65
- readonly name: "InternalServerException";
66
- readonly $fault: "server";
67
- Message?: string;
68
-
69
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
70
- }
71
- export declare enum ServiceQuotaExceededExceptionReason {
72
- SERVICE_QUOTA_EXCEEDED = "SERVICE_QUOTA_EXCEEDED"
73
- }
74
-
75
- export declare class ServiceQuotaExceededException extends __BaseException {
76
- readonly name: "ServiceQuotaExceededException";
77
- readonly $fault: "client";
78
- Message?: string;
79
-
80
- Reason?: ServiceQuotaExceededExceptionReason | string;
81
-
82
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
83
- }
84
- export declare enum ValidationExceptionReason {
85
- INVALID_PAGE_TOKEN = "INVALID_PAGE_TOKEN",
86
- INVALID_PARAMETER_VALUE = "INVALID_PARAMETER_VALUE"
87
- }
88
-
89
- export declare class ValidationException extends __BaseException {
90
- readonly name: "ValidationException";
91
- readonly $fault: "client";
92
- Message?: string;
93
-
94
- Reason?: ValidationExceptionReason | string;
95
-
96
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
97
- }
98
- export interface DeleteRuleRequest {
99
-
100
- Identifier: string | undefined;
101
- }
102
- export interface DeleteRuleResponse {
103
- }
104
- export declare enum ResourceNotFoundExceptionReason {
105
- RULE_NOT_FOUND = "RULE_NOT_FOUND"
106
- }
107
-
108
- export declare class ResourceNotFoundException extends __BaseException {
109
- readonly name: "ResourceNotFoundException";
110
- readonly $fault: "client";
111
- Message?: string;
112
-
113
- Reason?: ResourceNotFoundExceptionReason | string;
114
-
115
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
116
- }
117
- export interface GetRuleRequest {
118
-
119
- Identifier: string | undefined;
120
- }
121
- export interface GetRuleResponse {
122
-
123
- Identifier?: string;
124
-
125
- Description?: string;
126
-
127
- ResourceType?: ResourceType | string;
128
-
129
- RetentionPeriod?: RetentionPeriod;
130
-
131
- ResourceTags?: ResourceTag[];
132
-
133
- Status?: RuleStatus | string;
134
- }
135
- export interface ListRulesRequest {
136
-
137
- MaxResults?: number;
138
-
139
- NextToken?: string;
140
-
141
- ResourceType: ResourceType | string | undefined;
142
-
143
- ResourceTags?: ResourceTag[];
144
- }
145
-
146
- export interface RuleSummary {
147
-
148
- Identifier?: string;
149
-
150
- Description?: string;
151
-
152
- RetentionPeriod?: RetentionPeriod;
153
- }
154
- export interface ListRulesResponse {
155
-
156
- Rules?: RuleSummary[];
157
-
158
- NextToken?: string;
159
- }
160
- export interface ListTagsForResourceRequest {
161
-
162
- ResourceArn: string | undefined;
163
- }
164
- export interface ListTagsForResourceResponse {
165
-
166
- Tags?: Tag[];
167
- }
168
- export interface TagResourceRequest {
169
-
170
- ResourceArn: string | undefined;
171
-
172
- Tags: Tag[] | undefined;
173
- }
174
- export interface TagResourceResponse {
175
- }
176
- export interface UntagResourceRequest {
177
-
178
- ResourceArn: string | undefined;
179
-
180
- TagKeys: string[] | undefined;
181
- }
182
- export interface UntagResourceResponse {
183
- }
184
- export interface UpdateRuleRequest {
185
-
186
- Identifier: string | undefined;
187
-
188
- RetentionPeriod?: RetentionPeriod;
189
-
190
- Description?: string;
191
-
192
- ResourceType?: ResourceType | string;
193
-
194
- ResourceTags?: ResourceTag[];
195
- }
196
- export interface UpdateRuleResponse {
197
-
198
- Identifier?: string;
199
-
200
- RetentionPeriod?: RetentionPeriod;
201
-
202
- Description?: string;
203
-
204
- ResourceType?: ResourceType | string;
205
-
206
- ResourceTags?: ResourceTag[];
207
-
208
- Status?: RuleStatus | string;
209
- }
210
-
211
- export declare const ResourceTagFilterSensitiveLog: (obj: ResourceTag) => any;
212
-
213
- export declare const RetentionPeriodFilterSensitiveLog: (obj: RetentionPeriod) => any;
214
-
215
- export declare const TagFilterSensitiveLog: (obj: Tag) => any;
216
-
217
- export declare const CreateRuleRequestFilterSensitiveLog: (obj: CreateRuleRequest) => any;
218
-
219
- export declare const CreateRuleResponseFilterSensitiveLog: (obj: CreateRuleResponse) => any;
220
-
221
- export declare const DeleteRuleRequestFilterSensitiveLog: (obj: DeleteRuleRequest) => any;
222
-
223
- export declare const DeleteRuleResponseFilterSensitiveLog: (obj: DeleteRuleResponse) => any;
224
-
225
- export declare const GetRuleRequestFilterSensitiveLog: (obj: GetRuleRequest) => any;
226
-
227
- export declare const GetRuleResponseFilterSensitiveLog: (obj: GetRuleResponse) => any;
228
-
229
- export declare const ListRulesRequestFilterSensitiveLog: (obj: ListRulesRequest) => any;
230
-
231
- export declare const RuleSummaryFilterSensitiveLog: (obj: RuleSummary) => any;
232
-
233
- export declare const ListRulesResponseFilterSensitiveLog: (obj: ListRulesResponse) => any;
234
-
235
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
236
-
237
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
238
-
239
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
240
-
241
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
242
-
243
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
244
-
245
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
246
-
247
- export declare const UpdateRuleRequestFilterSensitiveLog: (obj: UpdateRuleRequest) => any;
248
-
249
- export declare const UpdateRuleResponseFilterSensitiveLog: (obj: UpdateRuleResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { RbinServiceException as __BaseException } from "./RbinServiceException";
3
+
4
+ export interface ResourceTag {
5
+ ResourceTagKey: string | undefined;
6
+
7
+ ResourceTagValue?: string;
8
+ }
9
+ export declare enum ResourceType {
10
+ EBS_SNAPSHOT = "EBS_SNAPSHOT",
11
+ EC2_IMAGE = "EC2_IMAGE",
12
+ }
13
+ export declare enum RetentionPeriodUnit {
14
+ DAYS = "DAYS",
15
+ }
16
+
17
+ export interface RetentionPeriod {
18
+ RetentionPeriodValue: number | undefined;
19
+
20
+ RetentionPeriodUnit: RetentionPeriodUnit | string | undefined;
21
+ }
22
+
23
+ export interface Tag {
24
+ Key: string | undefined;
25
+
26
+ Value: string | undefined;
27
+ }
28
+ export interface CreateRuleRequest {
29
+ RetentionPeriod: RetentionPeriod | undefined;
30
+
31
+ Description?: string;
32
+
33
+ Tags?: Tag[];
34
+
35
+ ResourceType: ResourceType | string | undefined;
36
+
37
+ ResourceTags?: ResourceTag[];
38
+ }
39
+ export declare enum RuleStatus {
40
+ AVAILABLE = "available",
41
+ PENDING = "pending",
42
+ }
43
+ export interface CreateRuleResponse {
44
+ Identifier?: string;
45
+
46
+ RetentionPeriod?: RetentionPeriod;
47
+
48
+ Description?: string;
49
+
50
+ Tags?: Tag[];
51
+
52
+ ResourceType?: ResourceType | string;
53
+
54
+ ResourceTags?: ResourceTag[];
55
+
56
+ Status?: RuleStatus | string;
57
+ }
58
+
59
+ export declare class InternalServerException extends __BaseException {
60
+ readonly name: "InternalServerException";
61
+ readonly $fault: "server";
62
+ Message?: string;
63
+
64
+ constructor(
65
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
66
+ );
67
+ }
68
+ export declare enum ServiceQuotaExceededExceptionReason {
69
+ SERVICE_QUOTA_EXCEEDED = "SERVICE_QUOTA_EXCEEDED",
70
+ }
71
+
72
+ export declare class ServiceQuotaExceededException extends __BaseException {
73
+ readonly name: "ServiceQuotaExceededException";
74
+ readonly $fault: "client";
75
+ Message?: string;
76
+
77
+ Reason?: ServiceQuotaExceededExceptionReason | string;
78
+
79
+ constructor(
80
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
81
+ );
82
+ }
83
+ export declare enum ValidationExceptionReason {
84
+ INVALID_PAGE_TOKEN = "INVALID_PAGE_TOKEN",
85
+ INVALID_PARAMETER_VALUE = "INVALID_PARAMETER_VALUE",
86
+ }
87
+
88
+ export declare class ValidationException extends __BaseException {
89
+ readonly name: "ValidationException";
90
+ readonly $fault: "client";
91
+ Message?: string;
92
+
93
+ Reason?: ValidationExceptionReason | string;
94
+
95
+ constructor(
96
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
97
+ );
98
+ }
99
+ export interface DeleteRuleRequest {
100
+ Identifier: string | undefined;
101
+ }
102
+ export interface DeleteRuleResponse {}
103
+ export declare enum ResourceNotFoundExceptionReason {
104
+ RULE_NOT_FOUND = "RULE_NOT_FOUND",
105
+ }
106
+
107
+ export declare class ResourceNotFoundException extends __BaseException {
108
+ readonly name: "ResourceNotFoundException";
109
+ readonly $fault: "client";
110
+ Message?: string;
111
+
112
+ Reason?: ResourceNotFoundExceptionReason | string;
113
+
114
+ constructor(
115
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
116
+ );
117
+ }
118
+ export interface GetRuleRequest {
119
+ Identifier: string | undefined;
120
+ }
121
+ export interface GetRuleResponse {
122
+ Identifier?: string;
123
+
124
+ Description?: string;
125
+
126
+ ResourceType?: ResourceType | string;
127
+
128
+ RetentionPeriod?: RetentionPeriod;
129
+
130
+ ResourceTags?: ResourceTag[];
131
+
132
+ Status?: RuleStatus | string;
133
+ }
134
+ export interface ListRulesRequest {
135
+ MaxResults?: number;
136
+
137
+ NextToken?: string;
138
+
139
+ ResourceType: ResourceType | string | undefined;
140
+
141
+ ResourceTags?: ResourceTag[];
142
+ }
143
+
144
+ export interface RuleSummary {
145
+ Identifier?: string;
146
+
147
+ Description?: string;
148
+
149
+ RetentionPeriod?: RetentionPeriod;
150
+ }
151
+ export interface ListRulesResponse {
152
+ Rules?: RuleSummary[];
153
+
154
+ NextToken?: string;
155
+ }
156
+ export interface ListTagsForResourceRequest {
157
+ ResourceArn: string | undefined;
158
+ }
159
+ export interface ListTagsForResourceResponse {
160
+ Tags?: Tag[];
161
+ }
162
+ export interface TagResourceRequest {
163
+ ResourceArn: string | undefined;
164
+
165
+ Tags: Tag[] | undefined;
166
+ }
167
+ export interface TagResourceResponse {}
168
+ export interface UntagResourceRequest {
169
+ ResourceArn: string | undefined;
170
+
171
+ TagKeys: string[] | undefined;
172
+ }
173
+ export interface UntagResourceResponse {}
174
+ export interface UpdateRuleRequest {
175
+ Identifier: string | undefined;
176
+
177
+ RetentionPeriod?: RetentionPeriod;
178
+
179
+ Description?: string;
180
+
181
+ ResourceType?: ResourceType | string;
182
+
183
+ ResourceTags?: ResourceTag[];
184
+ }
185
+ export interface UpdateRuleResponse {
186
+ Identifier?: string;
187
+
188
+ RetentionPeriod?: RetentionPeriod;
189
+
190
+ Description?: string;
191
+
192
+ ResourceType?: ResourceType | string;
193
+
194
+ ResourceTags?: ResourceTag[];
195
+
196
+ Status?: RuleStatus | string;
197
+ }
198
+
199
+ export declare const ResourceTagFilterSensitiveLog: (obj: ResourceTag) => any;
200
+
201
+ export declare const RetentionPeriodFilterSensitiveLog: (
202
+ obj: RetentionPeriod
203
+ ) => any;
204
+
205
+ export declare const TagFilterSensitiveLog: (obj: Tag) => any;
206
+
207
+ export declare const CreateRuleRequestFilterSensitiveLog: (
208
+ obj: CreateRuleRequest
209
+ ) => any;
210
+
211
+ export declare const CreateRuleResponseFilterSensitiveLog: (
212
+ obj: CreateRuleResponse
213
+ ) => any;
214
+
215
+ export declare const DeleteRuleRequestFilterSensitiveLog: (
216
+ obj: DeleteRuleRequest
217
+ ) => any;
218
+
219
+ export declare const DeleteRuleResponseFilterSensitiveLog: (
220
+ obj: DeleteRuleResponse
221
+ ) => any;
222
+
223
+ export declare const GetRuleRequestFilterSensitiveLog: (
224
+ obj: GetRuleRequest
225
+ ) => any;
226
+
227
+ export declare const GetRuleResponseFilterSensitiveLog: (
228
+ obj: GetRuleResponse
229
+ ) => any;
230
+
231
+ export declare const ListRulesRequestFilterSensitiveLog: (
232
+ obj: ListRulesRequest
233
+ ) => any;
234
+
235
+ export declare const RuleSummaryFilterSensitiveLog: (obj: RuleSummary) => any;
236
+
237
+ export declare const ListRulesResponseFilterSensitiveLog: (
238
+ obj: ListRulesResponse
239
+ ) => any;
240
+
241
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
242
+ obj: ListTagsForResourceRequest
243
+ ) => any;
244
+
245
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
246
+ obj: ListTagsForResourceResponse
247
+ ) => any;
248
+
249
+ export declare const TagResourceRequestFilterSensitiveLog: (
250
+ obj: TagResourceRequest
251
+ ) => any;
252
+
253
+ export declare const TagResourceResponseFilterSensitiveLog: (
254
+ obj: TagResourceResponse
255
+ ) => any;
256
+
257
+ export declare const UntagResourceRequestFilterSensitiveLog: (
258
+ obj: UntagResourceRequest
259
+ ) => any;
260
+
261
+ export declare const UntagResourceResponseFilterSensitiveLog: (
262
+ obj: UntagResourceResponse
263
+ ) => any;
264
+
265
+ export declare const UpdateRuleRequestFilterSensitiveLog: (
266
+ obj: UpdateRuleRequest
267
+ ) => any;
268
+
269
+ export declare const UpdateRuleResponseFilterSensitiveLog: (
270
+ obj: UpdateRuleResponse
271
+ ) => any;
@@ -1,6 +1,6 @@
1
- import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { Rbin } from "../Rbin";
3
- import { RbinClient } from "../RbinClient";
4
- export interface RbinPaginationConfiguration extends PaginationConfiguration {
5
- client: Rbin | RbinClient;
6
- }
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { Rbin } from "../Rbin";
3
+ import { RbinClient } from "../RbinClient";
4
+ export interface RbinPaginationConfiguration extends PaginationConfiguration {
5
+ client: Rbin | RbinClient;
6
+ }
@@ -1,4 +1,11 @@
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>;
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListRulesCommandInput,
4
+ ListRulesCommandOutput,
5
+ } from "../commands/ListRulesCommand";
6
+ import { RbinPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListRules(
8
+ config: RbinPaginationConfiguration,
9
+ input: ListRulesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListRulesCommandOutput>;
@@ -1,2 +1,2 @@
1
- export * from "./Interfaces";
2
- export * from "./ListRulesPaginator";
1
+ export * from "./Interfaces";
2
+ export * from "./ListRulesPaginator";