@aws-sdk/client-rbin 3.927.0 → 3.929.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/index.js +397 -505
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/RbinClient.js +2 -0
- package/dist-es/commands/CreateRuleCommand.js +3 -9
- package/dist-es/commands/DeleteRuleCommand.js +3 -9
- package/dist-es/commands/GetRuleCommand.js +3 -9
- package/dist-es/commands/ListRulesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/LockRuleCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UnlockRuleCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateRuleCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +364 -0
- package/dist-types/RbinClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +49 -0
- package/dist-types/ts3.4/RbinClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -423
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -92
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -125
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.rbin" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "rbin",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
package/dist-es/RbinClient.js
CHANGED
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class RbinClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "CreateRule", {})
|
|
17
13
|
.n("RbinClient", "CreateRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateRuleCommand)
|
|
20
|
-
.de(de_CreateRuleCommand)
|
|
14
|
+
.sc(CreateRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "DeleteRule", {})
|
|
17
13
|
.n("RbinClient", "DeleteRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteRuleCommand)
|
|
20
|
-
.de(de_DeleteRuleCommand)
|
|
14
|
+
.sc(DeleteRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "GetRule", {})
|
|
17
13
|
.n("RbinClient", "GetRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetRuleCommand)
|
|
20
|
-
.de(de_GetRuleCommand)
|
|
14
|
+
.sc(GetRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListRules } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListRulesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "ListRules", {})
|
|
17
13
|
.n("RbinClient", "ListRulesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListRulesCommand)
|
|
20
|
-
.de(de_ListRulesCommand)
|
|
14
|
+
.sc(ListRules)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "ListTagsForResource", {})
|
|
17
13
|
.n("RbinClient", "ListTagsForResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForResourceCommand)
|
|
20
|
-
.de(de_ListTagsForResourceCommand)
|
|
14
|
+
.sc(ListTagsForResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { LockRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class LockRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "LockRule", {})
|
|
17
13
|
.n("RbinClient", "LockRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_LockRuleCommand)
|
|
20
|
-
.de(de_LockRuleCommand)
|
|
14
|
+
.sc(LockRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "TagResource", {})
|
|
17
13
|
.n("RbinClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UnlockRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UnlockRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "UnlockRule", {})
|
|
17
13
|
.n("RbinClient", "UnlockRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UnlockRuleCommand)
|
|
20
|
-
.de(de_UnlockRuleCommand)
|
|
14
|
+
.sc(UnlockRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "UntagResource", {})
|
|
17
13
|
.n("RbinClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRule } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRuleCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AmazonRecycleBin", "UpdateRule", {})
|
|
17
13
|
.n("RbinClient", "UpdateRuleCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRuleCommand)
|
|
20
|
-
.de(de_UpdateRuleCommand)
|
|
14
|
+
.sc(UpdateRule)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.rbin" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "rbin",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
const _CE = "ConflictException";
|
|
2
|
+
const _CR = "CreateRule";
|
|
3
|
+
const _CRR = "CreateRuleRequest";
|
|
4
|
+
const _CRRr = "CreateRuleResponse";
|
|
5
|
+
const _D = "Description";
|
|
6
|
+
const _DR = "DeleteRule";
|
|
7
|
+
const _DRR = "DeleteRuleRequest";
|
|
8
|
+
const _DRRe = "DeleteRuleResponse";
|
|
9
|
+
const _ERT = "ExcludeResourceTags";
|
|
10
|
+
const _GR = "GetRule";
|
|
11
|
+
const _GRR = "GetRuleRequest";
|
|
12
|
+
const _GRRe = "GetRuleResponse";
|
|
13
|
+
const _I = "Identifier";
|
|
14
|
+
const _ISE = "InternalServerException";
|
|
15
|
+
const _K = "Key";
|
|
16
|
+
const _LC = "LockConfiguration";
|
|
17
|
+
const _LET = "LockEndTime";
|
|
18
|
+
const _LR = "ListRules";
|
|
19
|
+
const _LRR = "ListRulesRequest";
|
|
20
|
+
const _LRRi = "ListRulesResponse";
|
|
21
|
+
const _LRRo = "LockRuleRequest";
|
|
22
|
+
const _LRRoc = "LockRuleResponse";
|
|
23
|
+
const _LRo = "LockRule";
|
|
24
|
+
const _LS = "LockState";
|
|
25
|
+
const _LTFR = "ListTagsForResource";
|
|
26
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
27
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
28
|
+
const _M = "Message";
|
|
29
|
+
const _MR = "MaxResults";
|
|
30
|
+
const _NT = "NextToken";
|
|
31
|
+
const _R = "Reason";
|
|
32
|
+
const _RA = "RuleArn";
|
|
33
|
+
const _RAe = "ResourceArn";
|
|
34
|
+
const _RNFE = "ResourceNotFoundException";
|
|
35
|
+
const _RP = "RetentionPeriod";
|
|
36
|
+
const _RPU = "RetentionPeriodUnit";
|
|
37
|
+
const _RPV = "RetentionPeriodValue";
|
|
38
|
+
const _RS = "RuleSummary";
|
|
39
|
+
const _RSL = "RuleSummaryList";
|
|
40
|
+
const _RT = "ResourceType";
|
|
41
|
+
const _RTK = "ResourceTagKey";
|
|
42
|
+
const _RTV = "ResourceTagValue";
|
|
43
|
+
const _RTe = "ResourceTags";
|
|
44
|
+
const _RTes = "ResourceTag";
|
|
45
|
+
const _Ru = "Rules";
|
|
46
|
+
const _S = "Status";
|
|
47
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
48
|
+
const _T = "Tags";
|
|
49
|
+
const _TK = "TagKeys";
|
|
50
|
+
const _TL = "TagList";
|
|
51
|
+
const _TR = "TagResource";
|
|
52
|
+
const _TRR = "TagResourceRequest";
|
|
53
|
+
const _TRRa = "TagResourceResponse";
|
|
54
|
+
const _Ta = "Tag";
|
|
55
|
+
const _UD = "UnlockDelay";
|
|
56
|
+
const _UDU = "UnlockDelayUnit";
|
|
57
|
+
const _UDV = "UnlockDelayValue";
|
|
58
|
+
const _UR = "UnlockRule";
|
|
59
|
+
const _URR = "UnlockRuleRequest";
|
|
60
|
+
const _URRn = "UnlockRuleResponse";
|
|
61
|
+
const _URRnt = "UntagResourceRequest";
|
|
62
|
+
const _URRnta = "UntagResourceResponse";
|
|
63
|
+
const _URRp = "UpdateRuleRequest";
|
|
64
|
+
const _URRpd = "UpdateRuleResponse";
|
|
65
|
+
const _URn = "UntagResource";
|
|
66
|
+
const _URp = "UpdateRule";
|
|
67
|
+
const _V = "Value";
|
|
68
|
+
const _VE = "ValidationException";
|
|
69
|
+
const _c = "client";
|
|
70
|
+
const _e = "error";
|
|
71
|
+
const _h = "http";
|
|
72
|
+
const _hE = "httpError";
|
|
73
|
+
const _hQ = "httpQuery";
|
|
74
|
+
const _s = "server";
|
|
75
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.rbin";
|
|
76
|
+
const _tK = "tagKeys";
|
|
77
|
+
const n0 = "com.amazonaws.rbin";
|
|
78
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
79
|
+
import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
|
|
80
|
+
import { RbinServiceException as __RbinServiceException } from "../models/RbinServiceException";
|
|
81
|
+
export var ConflictException = [
|
|
82
|
+
-3,
|
|
83
|
+
n0,
|
|
84
|
+
_CE,
|
|
85
|
+
{
|
|
86
|
+
[_e]: _c,
|
|
87
|
+
[_hE]: 409,
|
|
88
|
+
},
|
|
89
|
+
[_M, _R],
|
|
90
|
+
[0, 0],
|
|
91
|
+
];
|
|
92
|
+
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
93
|
+
export var CreateRuleRequest = [
|
|
94
|
+
3,
|
|
95
|
+
n0,
|
|
96
|
+
_CRR,
|
|
97
|
+
0,
|
|
98
|
+
[_RP, _D, _T, _RT, _RTe, _LC, _ERT],
|
|
99
|
+
[() => RetentionPeriod, 0, () => TagList, 0, () => ResourceTags, () => LockConfiguration, () => ExcludeResourceTags],
|
|
100
|
+
];
|
|
101
|
+
export var CreateRuleResponse = [
|
|
102
|
+
3,
|
|
103
|
+
n0,
|
|
104
|
+
_CRRr,
|
|
105
|
+
0,
|
|
106
|
+
[_I, _RP, _D, _T, _RT, _RTe, _S, _LC, _LS, _RA, _ERT],
|
|
107
|
+
[
|
|
108
|
+
0,
|
|
109
|
+
() => RetentionPeriod,
|
|
110
|
+
0,
|
|
111
|
+
() => TagList,
|
|
112
|
+
0,
|
|
113
|
+
() => ResourceTags,
|
|
114
|
+
0,
|
|
115
|
+
() => LockConfiguration,
|
|
116
|
+
0,
|
|
117
|
+
0,
|
|
118
|
+
() => ExcludeResourceTags,
|
|
119
|
+
],
|
|
120
|
+
];
|
|
121
|
+
export var DeleteRuleRequest = [3, n0, _DRR, 0, [_I], [[0, 1]]];
|
|
122
|
+
export var DeleteRuleResponse = [3, n0, _DRRe, 0, [], []];
|
|
123
|
+
export var GetRuleRequest = [3, n0, _GRR, 0, [_I], [[0, 1]]];
|
|
124
|
+
export var GetRuleResponse = [
|
|
125
|
+
3,
|
|
126
|
+
n0,
|
|
127
|
+
_GRRe,
|
|
128
|
+
0,
|
|
129
|
+
[_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _LET, _RA, _ERT],
|
|
130
|
+
[0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 4, 0, () => ExcludeResourceTags],
|
|
131
|
+
];
|
|
132
|
+
export var InternalServerException = [
|
|
133
|
+
-3,
|
|
134
|
+
n0,
|
|
135
|
+
_ISE,
|
|
136
|
+
{
|
|
137
|
+
[_e]: _s,
|
|
138
|
+
[_hE]: 500,
|
|
139
|
+
},
|
|
140
|
+
[_M],
|
|
141
|
+
[0],
|
|
142
|
+
];
|
|
143
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
144
|
+
export var ListRulesRequest = [
|
|
145
|
+
3,
|
|
146
|
+
n0,
|
|
147
|
+
_LRR,
|
|
148
|
+
0,
|
|
149
|
+
[_MR, _NT, _RT, _RTe, _LS, _ERT],
|
|
150
|
+
[1, 0, 0, () => ResourceTags, 0, () => ExcludeResourceTags],
|
|
151
|
+
];
|
|
152
|
+
export var ListRulesResponse = [3, n0, _LRRi, 0, [_Ru, _NT], [() => RuleSummaryList, 0]];
|
|
153
|
+
export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RAe], [[0, 1]]];
|
|
154
|
+
export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [() => TagList]];
|
|
155
|
+
export var LockConfiguration = [3, n0, _LC, 0, [_UD], [() => UnlockDelay]];
|
|
156
|
+
export var LockRuleRequest = [3, n0, _LRRo, 0, [_I, _LC], [[0, 1], () => LockConfiguration]];
|
|
157
|
+
export var LockRuleResponse = [
|
|
158
|
+
3,
|
|
159
|
+
n0,
|
|
160
|
+
_LRRoc,
|
|
161
|
+
0,
|
|
162
|
+
[_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _RA, _ERT],
|
|
163
|
+
[0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 0, () => ExcludeResourceTags],
|
|
164
|
+
];
|
|
165
|
+
export var ResourceNotFoundException = [
|
|
166
|
+
-3,
|
|
167
|
+
n0,
|
|
168
|
+
_RNFE,
|
|
169
|
+
{
|
|
170
|
+
[_e]: _c,
|
|
171
|
+
[_hE]: 404,
|
|
172
|
+
},
|
|
173
|
+
[_M, _R],
|
|
174
|
+
[0, 0],
|
|
175
|
+
];
|
|
176
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
177
|
+
export var ResourceTag = [3, n0, _RTes, 0, [_RTK, _RTV], [0, 0]];
|
|
178
|
+
export var RetentionPeriod = [3, n0, _RP, 0, [_RPV, _RPU], [1, 0]];
|
|
179
|
+
export var RuleSummary = [
|
|
180
|
+
3,
|
|
181
|
+
n0,
|
|
182
|
+
_RS,
|
|
183
|
+
0,
|
|
184
|
+
[_I, _D, _RP, _LS, _RA],
|
|
185
|
+
[0, 0, () => RetentionPeriod, 0, 0],
|
|
186
|
+
];
|
|
187
|
+
export var ServiceQuotaExceededException = [
|
|
188
|
+
-3,
|
|
189
|
+
n0,
|
|
190
|
+
_SQEE,
|
|
191
|
+
{
|
|
192
|
+
[_e]: _c,
|
|
193
|
+
[_hE]: 402,
|
|
194
|
+
},
|
|
195
|
+
[_M, _R],
|
|
196
|
+
[0, 0],
|
|
197
|
+
];
|
|
198
|
+
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
199
|
+
export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
200
|
+
export var TagResourceRequest = [3, n0, _TRR, 0, [_RAe, _T], [[0, 1], () => TagList]];
|
|
201
|
+
export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
202
|
+
export var UnlockDelay = [3, n0, _UD, 0, [_UDV, _UDU], [1, 0]];
|
|
203
|
+
export var UnlockRuleRequest = [3, n0, _URR, 0, [_I], [[0, 1]]];
|
|
204
|
+
export var UnlockRuleResponse = [
|
|
205
|
+
3,
|
|
206
|
+
n0,
|
|
207
|
+
_URRn,
|
|
208
|
+
0,
|
|
209
|
+
[_I, _D, _RT, _RP, _RTe, _S, _LC, _LS, _LET, _RA, _ERT],
|
|
210
|
+
[0, 0, 0, () => RetentionPeriod, () => ResourceTags, 0, () => LockConfiguration, 0, 4, 0, () => ExcludeResourceTags],
|
|
211
|
+
];
|
|
212
|
+
export var UntagResourceRequest = [
|
|
213
|
+
3,
|
|
214
|
+
n0,
|
|
215
|
+
_URRnt,
|
|
216
|
+
0,
|
|
217
|
+
[_RAe, _TK],
|
|
218
|
+
[
|
|
219
|
+
[0, 1],
|
|
220
|
+
[
|
|
221
|
+
64 | 0,
|
|
222
|
+
{
|
|
223
|
+
[_hQ]: _tK,
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
],
|
|
227
|
+
];
|
|
228
|
+
export var UntagResourceResponse = [3, n0, _URRnta, 0, [], []];
|
|
229
|
+
export var UpdateRuleRequest = [
|
|
230
|
+
3,
|
|
231
|
+
n0,
|
|
232
|
+
_URRp,
|
|
233
|
+
0,
|
|
234
|
+
[_I, _RP, _D, _RT, _RTe, _ERT],
|
|
235
|
+
[[0, 1], () => RetentionPeriod, 0, 0, () => ResourceTags, () => ExcludeResourceTags],
|
|
236
|
+
];
|
|
237
|
+
export var UpdateRuleResponse = [
|
|
238
|
+
3,
|
|
239
|
+
n0,
|
|
240
|
+
_URRpd,
|
|
241
|
+
0,
|
|
242
|
+
[_I, _RP, _D, _RT, _RTe, _S, _LS, _LET, _RA, _ERT],
|
|
243
|
+
[0, () => RetentionPeriod, 0, 0, () => ResourceTags, 0, 0, 4, 0, () => ExcludeResourceTags],
|
|
244
|
+
];
|
|
245
|
+
export var ValidationException = [
|
|
246
|
+
-3,
|
|
247
|
+
n0,
|
|
248
|
+
_VE,
|
|
249
|
+
{
|
|
250
|
+
[_e]: _c,
|
|
251
|
+
[_hE]: 400,
|
|
252
|
+
},
|
|
253
|
+
[_M, _R],
|
|
254
|
+
[0, 0],
|
|
255
|
+
];
|
|
256
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
257
|
+
export var __Unit = "unit";
|
|
258
|
+
export var RbinServiceException = [-3, _sm, "RbinServiceException", 0, [], []];
|
|
259
|
+
TypeRegistry.for(_sm).registerError(RbinServiceException, __RbinServiceException);
|
|
260
|
+
export var ExcludeResourceTags = [1, n0, _ERT, 0, () => ResourceTag];
|
|
261
|
+
export var ResourceTags = [1, n0, _RTe, 0, () => ResourceTag];
|
|
262
|
+
export var RuleSummaryList = [1, n0, _RSL, 0, () => RuleSummary];
|
|
263
|
+
export var TagKeyList = 64 | 0;
|
|
264
|
+
export var TagList = [1, n0, _TL, 0, () => Tag];
|
|
265
|
+
export var CreateRule = [
|
|
266
|
+
9,
|
|
267
|
+
n0,
|
|
268
|
+
_CR,
|
|
269
|
+
{
|
|
270
|
+
[_h]: ["POST", "/rules", 201],
|
|
271
|
+
},
|
|
272
|
+
() => CreateRuleRequest,
|
|
273
|
+
() => CreateRuleResponse,
|
|
274
|
+
];
|
|
275
|
+
export var DeleteRule = [
|
|
276
|
+
9,
|
|
277
|
+
n0,
|
|
278
|
+
_DR,
|
|
279
|
+
{
|
|
280
|
+
[_h]: ["DELETE", "/rules/{Identifier}", 204],
|
|
281
|
+
},
|
|
282
|
+
() => DeleteRuleRequest,
|
|
283
|
+
() => DeleteRuleResponse,
|
|
284
|
+
];
|
|
285
|
+
export var GetRule = [
|
|
286
|
+
9,
|
|
287
|
+
n0,
|
|
288
|
+
_GR,
|
|
289
|
+
{
|
|
290
|
+
[_h]: ["GET", "/rules/{Identifier}", 200],
|
|
291
|
+
},
|
|
292
|
+
() => GetRuleRequest,
|
|
293
|
+
() => GetRuleResponse,
|
|
294
|
+
];
|
|
295
|
+
export var ListRules = [
|
|
296
|
+
9,
|
|
297
|
+
n0,
|
|
298
|
+
_LR,
|
|
299
|
+
{
|
|
300
|
+
[_h]: ["POST", "/list-rules", 200],
|
|
301
|
+
},
|
|
302
|
+
() => ListRulesRequest,
|
|
303
|
+
() => ListRulesResponse,
|
|
304
|
+
];
|
|
305
|
+
export var ListTagsForResource = [
|
|
306
|
+
9,
|
|
307
|
+
n0,
|
|
308
|
+
_LTFR,
|
|
309
|
+
{
|
|
310
|
+
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
311
|
+
},
|
|
312
|
+
() => ListTagsForResourceRequest,
|
|
313
|
+
() => ListTagsForResourceResponse,
|
|
314
|
+
];
|
|
315
|
+
export var LockRule = [
|
|
316
|
+
9,
|
|
317
|
+
n0,
|
|
318
|
+
_LRo,
|
|
319
|
+
{
|
|
320
|
+
[_h]: ["PATCH", "/rules/{Identifier}/lock", 200],
|
|
321
|
+
},
|
|
322
|
+
() => LockRuleRequest,
|
|
323
|
+
() => LockRuleResponse,
|
|
324
|
+
];
|
|
325
|
+
export var TagResource = [
|
|
326
|
+
9,
|
|
327
|
+
n0,
|
|
328
|
+
_TR,
|
|
329
|
+
{
|
|
330
|
+
[_h]: ["POST", "/tags/{ResourceArn}", 201],
|
|
331
|
+
},
|
|
332
|
+
() => TagResourceRequest,
|
|
333
|
+
() => TagResourceResponse,
|
|
334
|
+
];
|
|
335
|
+
export var UnlockRule = [
|
|
336
|
+
9,
|
|
337
|
+
n0,
|
|
338
|
+
_UR,
|
|
339
|
+
{
|
|
340
|
+
[_h]: ["PATCH", "/rules/{Identifier}/unlock", 200],
|
|
341
|
+
},
|
|
342
|
+
() => UnlockRuleRequest,
|
|
343
|
+
() => UnlockRuleResponse,
|
|
344
|
+
];
|
|
345
|
+
export var UntagResource = [
|
|
346
|
+
9,
|
|
347
|
+
n0,
|
|
348
|
+
_URn,
|
|
349
|
+
{
|
|
350
|
+
[_h]: ["DELETE", "/tags/{ResourceArn}", 204],
|
|
351
|
+
},
|
|
352
|
+
() => UntagResourceRequest,
|
|
353
|
+
() => UntagResourceResponse,
|
|
354
|
+
];
|
|
355
|
+
export var UpdateRule = [
|
|
356
|
+
9,
|
|
357
|
+
n0,
|
|
358
|
+
_URp,
|
|
359
|
+
{
|
|
360
|
+
[_h]: ["PATCH", "/rules/{Identifier}", 200],
|
|
361
|
+
},
|
|
362
|
+
() => UpdateRuleRequest,
|
|
363
|
+
() => UpdateRuleResponse,
|
|
364
|
+
];
|