@aws-sdk/client-rbin 3.216.0 → 3.218.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-cjs/Rbin.js +30 -0
- package/dist-cjs/commands/LockRuleCommand.js +46 -0
- package/dist-cjs/commands/UnlockRuleCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +54 -1
- package/dist-cjs/protocols/Aws_restJson1.js +246 -2
- package/dist-es/Rbin.js +30 -0
- package/dist-es/commands/LockRuleCommand.js +42 -0
- package/dist-es/commands/UnlockRuleCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +46 -0
- package/dist-es/protocols/Aws_restJson1.js +243 -3
- package/dist-types/Rbin.d.ts +18 -1
- package/dist-types/RbinClient.d.ts +4 -2
- package/dist-types/commands/LockRuleCommand.d.ts +37 -0
- package/dist-types/commands/UnlockRuleCommand.d.ts +38 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +3 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +358 -3
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/Rbin.d.ts +34 -0
- package/dist-types/ts3.4/RbinClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/LockRuleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UnlockRuleCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +79 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +3 -3
|
@@ -63,10 +63,18 @@ import {
|
|
|
63
63
|
ListTagsForResourceCommandInput,
|
|
64
64
|
ListTagsForResourceCommandOutput,
|
|
65
65
|
} from "./commands/ListTagsForResourceCommand";
|
|
66
|
+
import {
|
|
67
|
+
LockRuleCommandInput,
|
|
68
|
+
LockRuleCommandOutput,
|
|
69
|
+
} from "./commands/LockRuleCommand";
|
|
66
70
|
import {
|
|
67
71
|
TagResourceCommandInput,
|
|
68
72
|
TagResourceCommandOutput,
|
|
69
73
|
} from "./commands/TagResourceCommand";
|
|
74
|
+
import {
|
|
75
|
+
UnlockRuleCommandInput,
|
|
76
|
+
UnlockRuleCommandOutput,
|
|
77
|
+
} from "./commands/UnlockRuleCommand";
|
|
70
78
|
import {
|
|
71
79
|
UntagResourceCommandInput,
|
|
72
80
|
UntagResourceCommandOutput,
|
|
@@ -86,7 +94,9 @@ export declare type ServiceInputTypes =
|
|
|
86
94
|
| GetRuleCommandInput
|
|
87
95
|
| ListRulesCommandInput
|
|
88
96
|
| ListTagsForResourceCommandInput
|
|
97
|
+
| LockRuleCommandInput
|
|
89
98
|
| TagResourceCommandInput
|
|
99
|
+
| UnlockRuleCommandInput
|
|
90
100
|
| UntagResourceCommandInput
|
|
91
101
|
| UpdateRuleCommandInput;
|
|
92
102
|
export declare type ServiceOutputTypes =
|
|
@@ -95,7 +105,9 @@ export declare type ServiceOutputTypes =
|
|
|
95
105
|
| GetRuleCommandOutput
|
|
96
106
|
| ListRulesCommandOutput
|
|
97
107
|
| ListTagsForResourceCommandOutput
|
|
108
|
+
| LockRuleCommandOutput
|
|
98
109
|
| TagResourceCommandOutput
|
|
110
|
+
| UnlockRuleCommandOutput
|
|
99
111
|
| UntagResourceCommandOutput
|
|
100
112
|
| UpdateRuleCommandOutput;
|
|
101
113
|
export interface ClientDefaults
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import { LockRuleRequest, LockRuleResponse } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
RbinClientResolvedConfig,
|
|
12
|
+
ServiceInputTypes,
|
|
13
|
+
ServiceOutputTypes,
|
|
14
|
+
} from "../RbinClient";
|
|
15
|
+
export interface LockRuleCommandInput extends LockRuleRequest {}
|
|
16
|
+
export interface LockRuleCommandOutput
|
|
17
|
+
extends LockRuleResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
export declare class LockRuleCommand extends $Command<
|
|
20
|
+
LockRuleCommandInput,
|
|
21
|
+
LockRuleCommandOutput,
|
|
22
|
+
RbinClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: LockRuleCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: LockRuleCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: RbinClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<LockRuleCommandInput, LockRuleCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import { UnlockRuleRequest, UnlockRuleResponse } from "../models/models_0";
|
|
10
|
+
import {
|
|
11
|
+
RbinClientResolvedConfig,
|
|
12
|
+
ServiceInputTypes,
|
|
13
|
+
ServiceOutputTypes,
|
|
14
|
+
} from "../RbinClient";
|
|
15
|
+
export interface UnlockRuleCommandInput extends UnlockRuleRequest {}
|
|
16
|
+
export interface UnlockRuleCommandOutput
|
|
17
|
+
extends UnlockRuleResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
export declare class UnlockRuleCommand extends $Command<
|
|
20
|
+
UnlockRuleCommandInput,
|
|
21
|
+
UnlockRuleCommandOutput,
|
|
22
|
+
RbinClientResolvedConfig
|
|
23
|
+
> {
|
|
24
|
+
readonly input: UnlockRuleCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
26
|
+
constructor(input: UnlockRuleCommandInput);
|
|
27
|
+
resolveMiddleware(
|
|
28
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
|
+
configuration: RbinClientResolvedConfig,
|
|
30
|
+
options?: __HttpHandlerOptions
|
|
31
|
+
): Handler<UnlockRuleCommandInput, UnlockRuleCommandOutput>;
|
|
32
|
+
private serialize;
|
|
33
|
+
private deserialize;
|
|
34
|
+
}
|
|
@@ -3,6 +3,8 @@ export * from "./DeleteRuleCommand";
|
|
|
3
3
|
export * from "./GetRuleCommand";
|
|
4
4
|
export * from "./ListRulesCommand";
|
|
5
5
|
export * from "./ListTagsForResourceCommand";
|
|
6
|
+
export * from "./LockRuleCommand";
|
|
6
7
|
export * from "./TagResourceCommand";
|
|
8
|
+
export * from "./UnlockRuleCommand";
|
|
7
9
|
export * from "./UntagResourceCommand";
|
|
8
10
|
export * from "./UpdateRuleCommand";
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { RbinServiceException as __BaseException } from "./RbinServiceException";
|
|
3
|
+
export declare enum UnlockDelayUnit {
|
|
4
|
+
DAYS = "DAYS",
|
|
5
|
+
}
|
|
6
|
+
export interface UnlockDelay {
|
|
7
|
+
UnlockDelayValue: number | undefined;
|
|
8
|
+
UnlockDelayUnit: UnlockDelayUnit | string | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface LockConfiguration {
|
|
11
|
+
UnlockDelay: UnlockDelay | undefined;
|
|
12
|
+
}
|
|
3
13
|
export interface ResourceTag {
|
|
4
14
|
ResourceTagKey: string | undefined;
|
|
5
15
|
ResourceTagValue?: string;
|
|
@@ -25,6 +35,12 @@ export interface CreateRuleRequest {
|
|
|
25
35
|
Tags?: Tag[];
|
|
26
36
|
ResourceType: ResourceType | string | undefined;
|
|
27
37
|
ResourceTags?: ResourceTag[];
|
|
38
|
+
LockConfiguration?: LockConfiguration;
|
|
39
|
+
}
|
|
40
|
+
export declare enum LockState {
|
|
41
|
+
LOCKED = "locked",
|
|
42
|
+
PENDING_UNLOCK = "pending_unlock",
|
|
43
|
+
UNLOCKED = "unlocked",
|
|
28
44
|
}
|
|
29
45
|
export declare enum RuleStatus {
|
|
30
46
|
AVAILABLE = "available",
|
|
@@ -38,6 +54,8 @@ export interface CreateRuleResponse {
|
|
|
38
54
|
ResourceType?: ResourceType | string;
|
|
39
55
|
ResourceTags?: ResourceTag[];
|
|
40
56
|
Status?: RuleStatus | string;
|
|
57
|
+
LockConfiguration?: LockConfiguration;
|
|
58
|
+
LockState?: LockState | string;
|
|
41
59
|
}
|
|
42
60
|
export declare class InternalServerException extends __BaseException {
|
|
43
61
|
readonly name: "InternalServerException";
|
|
@@ -72,6 +90,16 @@ export declare class ValidationException extends __BaseException {
|
|
|
72
90
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
73
91
|
);
|
|
74
92
|
}
|
|
93
|
+
export declare enum ConflictExceptionReason {
|
|
94
|
+
INVALID_RULE_STATE = "INVALID_RULE_STATE",
|
|
95
|
+
}
|
|
96
|
+
export declare class ConflictException extends __BaseException {
|
|
97
|
+
readonly name: "ConflictException";
|
|
98
|
+
readonly $fault: "client";
|
|
99
|
+
Message?: string;
|
|
100
|
+
Reason?: ConflictExceptionReason | string;
|
|
101
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
102
|
+
}
|
|
75
103
|
export interface DeleteRuleRequest {
|
|
76
104
|
Identifier: string | undefined;
|
|
77
105
|
}
|
|
@@ -98,17 +126,22 @@ export interface GetRuleResponse {
|
|
|
98
126
|
RetentionPeriod?: RetentionPeriod;
|
|
99
127
|
ResourceTags?: ResourceTag[];
|
|
100
128
|
Status?: RuleStatus | string;
|
|
129
|
+
LockConfiguration?: LockConfiguration;
|
|
130
|
+
LockState?: LockState | string;
|
|
131
|
+
LockEndTime?: Date;
|
|
101
132
|
}
|
|
102
133
|
export interface ListRulesRequest {
|
|
103
134
|
MaxResults?: number;
|
|
104
135
|
NextToken?: string;
|
|
105
136
|
ResourceType: ResourceType | string | undefined;
|
|
106
137
|
ResourceTags?: ResourceTag[];
|
|
138
|
+
LockState?: LockState | string;
|
|
107
139
|
}
|
|
108
140
|
export interface RuleSummary {
|
|
109
141
|
Identifier?: string;
|
|
110
142
|
Description?: string;
|
|
111
143
|
RetentionPeriod?: RetentionPeriod;
|
|
144
|
+
LockState?: LockState | string;
|
|
112
145
|
}
|
|
113
146
|
export interface ListRulesResponse {
|
|
114
147
|
Rules?: RuleSummary[];
|
|
@@ -120,11 +153,39 @@ export interface ListTagsForResourceRequest {
|
|
|
120
153
|
export interface ListTagsForResourceResponse {
|
|
121
154
|
Tags?: Tag[];
|
|
122
155
|
}
|
|
156
|
+
export interface LockRuleRequest {
|
|
157
|
+
Identifier: string | undefined;
|
|
158
|
+
LockConfiguration: LockConfiguration | undefined;
|
|
159
|
+
}
|
|
160
|
+
export interface LockRuleResponse {
|
|
161
|
+
Identifier?: string;
|
|
162
|
+
Description?: string;
|
|
163
|
+
ResourceType?: ResourceType | string;
|
|
164
|
+
RetentionPeriod?: RetentionPeriod;
|
|
165
|
+
ResourceTags?: ResourceTag[];
|
|
166
|
+
Status?: RuleStatus | string;
|
|
167
|
+
LockConfiguration?: LockConfiguration;
|
|
168
|
+
LockState?: LockState | string;
|
|
169
|
+
}
|
|
123
170
|
export interface TagResourceRequest {
|
|
124
171
|
ResourceArn: string | undefined;
|
|
125
172
|
Tags: Tag[] | undefined;
|
|
126
173
|
}
|
|
127
174
|
export interface TagResourceResponse {}
|
|
175
|
+
export interface UnlockRuleRequest {
|
|
176
|
+
Identifier: string | undefined;
|
|
177
|
+
}
|
|
178
|
+
export interface UnlockRuleResponse {
|
|
179
|
+
Identifier?: string;
|
|
180
|
+
Description?: string;
|
|
181
|
+
ResourceType?: ResourceType | string;
|
|
182
|
+
RetentionPeriod?: RetentionPeriod;
|
|
183
|
+
ResourceTags?: ResourceTag[];
|
|
184
|
+
Status?: RuleStatus | string;
|
|
185
|
+
LockConfiguration?: LockConfiguration;
|
|
186
|
+
LockState?: LockState | string;
|
|
187
|
+
LockEndTime?: Date;
|
|
188
|
+
}
|
|
128
189
|
export interface UntagResourceRequest {
|
|
129
190
|
ResourceArn: string | undefined;
|
|
130
191
|
TagKeys: string[] | undefined;
|
|
@@ -144,7 +205,13 @@ export interface UpdateRuleResponse {
|
|
|
144
205
|
ResourceType?: ResourceType | string;
|
|
145
206
|
ResourceTags?: ResourceTag[];
|
|
146
207
|
Status?: RuleStatus | string;
|
|
208
|
+
LockState?: LockState | string;
|
|
209
|
+
LockEndTime?: Date;
|
|
147
210
|
}
|
|
211
|
+
export declare const UnlockDelayFilterSensitiveLog: (obj: UnlockDelay) => any;
|
|
212
|
+
export declare const LockConfigurationFilterSensitiveLog: (
|
|
213
|
+
obj: LockConfiguration
|
|
214
|
+
) => any;
|
|
148
215
|
export declare const ResourceTagFilterSensitiveLog: (obj: ResourceTag) => any;
|
|
149
216
|
export declare const RetentionPeriodFilterSensitiveLog: (
|
|
150
217
|
obj: RetentionPeriod
|
|
@@ -181,12 +248,24 @@ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
|
181
248
|
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
182
249
|
obj: ListTagsForResourceResponse
|
|
183
250
|
) => any;
|
|
251
|
+
export declare const LockRuleRequestFilterSensitiveLog: (
|
|
252
|
+
obj: LockRuleRequest
|
|
253
|
+
) => any;
|
|
254
|
+
export declare const LockRuleResponseFilterSensitiveLog: (
|
|
255
|
+
obj: LockRuleResponse
|
|
256
|
+
) => any;
|
|
184
257
|
export declare const TagResourceRequestFilterSensitiveLog: (
|
|
185
258
|
obj: TagResourceRequest
|
|
186
259
|
) => any;
|
|
187
260
|
export declare const TagResourceResponseFilterSensitiveLog: (
|
|
188
261
|
obj: TagResourceResponse
|
|
189
262
|
) => any;
|
|
263
|
+
export declare const UnlockRuleRequestFilterSensitiveLog: (
|
|
264
|
+
obj: UnlockRuleRequest
|
|
265
|
+
) => any;
|
|
266
|
+
export declare const UnlockRuleResponseFilterSensitiveLog: (
|
|
267
|
+
obj: UnlockRuleResponse
|
|
268
|
+
) => any;
|
|
190
269
|
export declare const UntagResourceRequestFilterSensitiveLog: (
|
|
191
270
|
obj: UntagResourceRequest
|
|
192
271
|
) => any;
|
|
@@ -23,10 +23,18 @@ import {
|
|
|
23
23
|
ListTagsForResourceCommandInput,
|
|
24
24
|
ListTagsForResourceCommandOutput,
|
|
25
25
|
} from "../commands/ListTagsForResourceCommand";
|
|
26
|
+
import {
|
|
27
|
+
LockRuleCommandInput,
|
|
28
|
+
LockRuleCommandOutput,
|
|
29
|
+
} from "../commands/LockRuleCommand";
|
|
26
30
|
import {
|
|
27
31
|
TagResourceCommandInput,
|
|
28
32
|
TagResourceCommandOutput,
|
|
29
33
|
} from "../commands/TagResourceCommand";
|
|
34
|
+
import {
|
|
35
|
+
UnlockRuleCommandInput,
|
|
36
|
+
UnlockRuleCommandOutput,
|
|
37
|
+
} from "../commands/UnlockRuleCommand";
|
|
30
38
|
import {
|
|
31
39
|
UntagResourceCommandInput,
|
|
32
40
|
UntagResourceCommandOutput,
|
|
@@ -55,10 +63,18 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (
|
|
|
55
63
|
input: ListTagsForResourceCommandInput,
|
|
56
64
|
context: __SerdeContext
|
|
57
65
|
) => Promise<__HttpRequest>;
|
|
66
|
+
export declare const serializeAws_restJson1LockRuleCommand: (
|
|
67
|
+
input: LockRuleCommandInput,
|
|
68
|
+
context: __SerdeContext
|
|
69
|
+
) => Promise<__HttpRequest>;
|
|
58
70
|
export declare const serializeAws_restJson1TagResourceCommand: (
|
|
59
71
|
input: TagResourceCommandInput,
|
|
60
72
|
context: __SerdeContext
|
|
61
73
|
) => Promise<__HttpRequest>;
|
|
74
|
+
export declare const serializeAws_restJson1UnlockRuleCommand: (
|
|
75
|
+
input: UnlockRuleCommandInput,
|
|
76
|
+
context: __SerdeContext
|
|
77
|
+
) => Promise<__HttpRequest>;
|
|
62
78
|
export declare const serializeAws_restJson1UntagResourceCommand: (
|
|
63
79
|
input: UntagResourceCommandInput,
|
|
64
80
|
context: __SerdeContext
|
|
@@ -87,10 +103,18 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (
|
|
|
87
103
|
output: __HttpResponse,
|
|
88
104
|
context: __SerdeContext
|
|
89
105
|
) => Promise<ListTagsForResourceCommandOutput>;
|
|
106
|
+
export declare const deserializeAws_restJson1LockRuleCommand: (
|
|
107
|
+
output: __HttpResponse,
|
|
108
|
+
context: __SerdeContext
|
|
109
|
+
) => Promise<LockRuleCommandOutput>;
|
|
90
110
|
export declare const deserializeAws_restJson1TagResourceCommand: (
|
|
91
111
|
output: __HttpResponse,
|
|
92
112
|
context: __SerdeContext
|
|
93
113
|
) => Promise<TagResourceCommandOutput>;
|
|
114
|
+
export declare const deserializeAws_restJson1UnlockRuleCommand: (
|
|
115
|
+
output: __HttpResponse,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<UnlockRuleCommandOutput>;
|
|
94
118
|
export declare const deserializeAws_restJson1UntagResourceCommand: (
|
|
95
119
|
output: __HttpResponse,
|
|
96
120
|
context: __SerdeContext
|
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.218.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|