@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.
Files changed (96) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +216 -0
  4. package/dist-cjs/Rbin.js +127 -0
  5. package/dist-cjs/RbinClient.js +35 -0
  6. package/dist-cjs/commands/CreateRuleCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteRuleCommand.js +36 -0
  8. package/dist-cjs/commands/GetRuleCommand.js +36 -0
  9. package/dist-cjs/commands/ListRulesCommand.js +36 -0
  10. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  11. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  12. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateRuleCommand.js +36 -0
  14. package/dist-cjs/commands/index.js +11 -0
  15. package/dist-cjs/endpoints.js +130 -0
  16. package/dist-cjs/index.js +8 -0
  17. package/dist-cjs/models/index.js +4 -0
  18. package/dist-cjs/models/models_0.js +173 -0
  19. package/dist-cjs/pagination/Interfaces.js +2 -0
  20. package/dist-cjs/pagination/ListRulesPaginator.js +35 -0
  21. package/dist-cjs/pagination/index.js +5 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +1020 -0
  23. package/dist-cjs/runtimeConfig.browser.js +40 -0
  24. package/dist-cjs/runtimeConfig.js +44 -0
  25. package/dist-cjs/runtimeConfig.native.js +16 -0
  26. package/dist-cjs/runtimeConfig.shared.js +17 -0
  27. package/dist-es/Rbin.js +130 -0
  28. package/dist-es/RbinClient.js +37 -0
  29. package/dist-es/commands/CreateRuleCommand.js +39 -0
  30. package/dist-es/commands/DeleteRuleCommand.js +39 -0
  31. package/dist-es/commands/GetRuleCommand.js +39 -0
  32. package/dist-es/commands/ListRulesCommand.js +39 -0
  33. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  34. package/dist-es/commands/TagResourceCommand.js +39 -0
  35. package/dist-es/commands/UntagResourceCommand.js +39 -0
  36. package/dist-es/commands/UpdateRuleCommand.js +39 -0
  37. package/dist-es/commands/index.js +8 -0
  38. package/dist-es/endpoints.js +126 -0
  39. package/dist-es/index.js +5 -0
  40. package/dist-es/models/index.js +1 -0
  41. package/dist-es/models/models_0.js +123 -0
  42. package/dist-es/pagination/Interfaces.js +1 -0
  43. package/dist-es/pagination/ListRulesPaginator.js +74 -0
  44. package/dist-es/pagination/index.js +2 -0
  45. package/dist-es/protocols/Aws_restJson1.js +1154 -0
  46. package/dist-es/runtimeConfig.browser.js +17 -0
  47. package/dist-es/runtimeConfig.js +21 -0
  48. package/dist-es/runtimeConfig.native.js +8 -0
  49. package/dist-es/runtimeConfig.shared.js +13 -0
  50. package/dist-types/Rbin.d.ts +79 -0
  51. package/dist-types/RbinClient.d.ts +161 -0
  52. package/dist-types/commands/CreateRuleCommand.d.ts +36 -0
  53. package/dist-types/commands/DeleteRuleCommand.d.ts +36 -0
  54. package/dist-types/commands/GetRuleCommand.d.ts +35 -0
  55. package/dist-types/commands/ListRulesCommand.d.ts +35 -0
  56. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  57. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  58. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  59. package/dist-types/commands/UpdateRuleCommand.d.ts +36 -0
  60. package/dist-types/commands/index.d.ts +8 -0
  61. package/dist-types/endpoints.d.ts +2 -0
  62. package/dist-types/index.d.ts +5 -0
  63. package/dist-types/models/index.d.ts +1 -0
  64. package/dist-types/models/models_0.d.ts +485 -0
  65. package/dist-types/pagination/Interfaces.d.ts +6 -0
  66. package/dist-types/pagination/ListRulesPaginator.d.ts +4 -0
  67. package/dist-types/pagination/index.d.ts +2 -0
  68. package/dist-types/protocols/Aws_restJson1.d.ts +26 -0
  69. package/dist-types/runtimeConfig.browser.d.ts +39 -0
  70. package/dist-types/runtimeConfig.d.ts +39 -0
  71. package/dist-types/runtimeConfig.native.d.ts +38 -0
  72. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  73. package/dist-types/ts3.4/Rbin.d.ts +45 -0
  74. package/dist-types/ts3.4/RbinClient.d.ts +79 -0
  75. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  84. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  85. package/dist-types/ts3.4/index.d.ts +5 -0
  86. package/dist-types/ts3.4/models/index.d.ts +1 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +295 -0
  88. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  89. package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +4 -0
  90. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  91. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +26 -0
  92. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  93. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  94. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  95. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  96. package/package.json +94 -0
@@ -0,0 +1,17 @@
1
+ import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
+ import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ export var getRuntimeConfig = function (config) {
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
15
+ var clientSharedValues = getSharedRuntimeConfig(config);
16
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
+ };
@@ -0,0 +1,21 @@
1
+ import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
+ import { Hash } from "@aws-sdk/hash-node";
7
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
+ import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
+ export var getRuntimeConfig = function (config) {
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
+ emitWarningIfUnsupportedVersion(process.version);
19
+ var clientSharedValues = getSharedRuntimeConfig(config);
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
+ };
@@ -0,0 +1,8 @@
1
+ import { __assign } from "tslib";
2
+ import { Sha256 } from "@aws-crypto/sha256-js";
3
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
+ export var getRuntimeConfig = function (config) {
5
+ var _a;
6
+ var browserDefaults = getBrowserRuntimeConfig(config);
7
+ return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
+ };
@@ -0,0 +1,13 @@
1
+ import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
+ export var getRuntimeConfig = function (config) {
4
+ var _a, _b, _c, _d, _e;
5
+ return ({
6
+ apiVersion: "2021-06-15",
7
+ disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
8
+ logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
9
+ regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
10
+ serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "rbin",
11
+ urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
+ });
13
+ };
@@ -0,0 +1,79 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
3
+ import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
4
+ import { GetRuleCommandInput, GetRuleCommandOutput } from "./commands/GetRuleCommand";
5
+ import { ListRulesCommandInput, ListRulesCommandOutput } from "./commands/ListRulesCommand";
6
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
7
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
8
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
9
+ import { UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
10
+ import { RbinClient } from "./RbinClient";
11
+ /**
12
+ * <p>This is the <i>Recycle Bin API Reference</i>. This documentation provides
13
+ * descriptions and syntax for each of the actions and data types in Recycle Bin.</p>
14
+ *
15
+ * <p>Recycle Bin is a snapshot recovery feature that enables you to restore accidentally
16
+ * deleted snapshots. When using Recycle Bin, if your snapshots are deleted, they are retained
17
+ * in the Recycle Bin for a time period that you specify.</p>
18
+ *
19
+ * <p>You can restore a snapshot from the Recycle Bin at any time before its retention period
20
+ * expires. After you restore a snapshot from the Recycle Bin, the snapshot is removed from the
21
+ * Recycle Bin, and you can then use it in the same way you use any other snapshot in your
22
+ * account. If the retention period expires and the snapshot is not restored, the snapshot is
23
+ * permanently deleted from the Recycle Bin and is no longer available for recovery. For more
24
+ * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-recycle-bin.html">
25
+ * Recycle Bin</a> in the <i>Amazon EC2 User Guide</i>.</p>
26
+ */
27
+ export declare class Rbin extends RbinClient {
28
+ /**
29
+ * <p>Creates a Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-create-rule">
30
+ * Create Recycle Bin retention rules</a> in the <i>Amazon EC2 User Guide</i>.</p>
31
+ */
32
+ createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
33
+ createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
34
+ createRule(args: CreateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
35
+ /**
36
+ * <p>Deletes a Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-delete-rule">
37
+ * Delete Recycle Bin retention rules</a> in the <i>Amazon EC2 User Guide</i>.</p>
38
+ */
39
+ deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
40
+ deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
41
+ deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
42
+ /**
43
+ * <p>Gets information about a Recycle Bin retention rule.</p>
44
+ */
45
+ getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
46
+ getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
47
+ getRule(args: GetRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
48
+ /**
49
+ * <p>Lists the Recycle Bin retention rules in the Region.</p>
50
+ */
51
+ listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
52
+ listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
53
+ listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
54
+ /**
55
+ * <p>Lists the tags assigned a specific resource.</p>
56
+ */
57
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
58
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
59
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
60
+ /**
61
+ * <p>Assigns tags to the specified resource.</p>
62
+ */
63
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
64
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
65
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
66
+ /**
67
+ * <p>Unassigns a tag from a resource.</p>
68
+ */
69
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
70
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
71
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
72
+ /**
73
+ * <p>Updates an existing Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-update-rule">
74
+ * Update Recycle Bin retention rules</a> in the <i>Amazon EC2 User Guide</i>.</p>
75
+ */
76
+ updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
77
+ updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
78
+ updateRule(args: UpdateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
79
+ }
@@ -0,0 +1,161 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand";
10
+ import { DeleteRuleCommandInput, DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand";
11
+ import { GetRuleCommandInput, GetRuleCommandOutput } from "./commands/GetRuleCommand";
12
+ import { ListRulesCommandInput, ListRulesCommandOutput } from "./commands/ListRulesCommand";
13
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
14
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
15
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
16
+ import { UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
17
+ export declare type ServiceInputTypes = CreateRuleCommandInput | DeleteRuleCommandInput | GetRuleCommandInput | ListRulesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateRuleCommandInput;
18
+ export declare type ServiceOutputTypes = CreateRuleCommandOutput | DeleteRuleCommandOutput | GetRuleCommandOutput | ListRulesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateRuleCommandOutput;
19
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
20
+ /**
21
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
22
+ */
23
+ requestHandler?: __HttpHandler;
24
+ /**
25
+ * A constructor for a class implementing the {@link __Hash} interface
26
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
27
+ * @internal
28
+ */
29
+ sha256?: __HashConstructor;
30
+ /**
31
+ * The function that will be used to convert strings into HTTP endpoints.
32
+ * @internal
33
+ */
34
+ urlParser?: __UrlParser;
35
+ /**
36
+ * A function that can calculate the length of a request body.
37
+ * @internal
38
+ */
39
+ bodyLengthChecker?: (body: any) => number | undefined;
40
+ /**
41
+ * A function that converts a stream into an array of bytes.
42
+ * @internal
43
+ */
44
+ streamCollector?: __StreamCollector;
45
+ /**
46
+ * The function that will be used to convert a base64-encoded string to a byte array.
47
+ * @internal
48
+ */
49
+ base64Decoder?: __Decoder;
50
+ /**
51
+ * The function that will be used to convert binary data to a base64-encoded string.
52
+ * @internal
53
+ */
54
+ base64Encoder?: __Encoder;
55
+ /**
56
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
57
+ * @internal
58
+ */
59
+ utf8Decoder?: __Decoder;
60
+ /**
61
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
62
+ * @internal
63
+ */
64
+ utf8Encoder?: __Encoder;
65
+ /**
66
+ * The runtime environment.
67
+ * @internal
68
+ */
69
+ runtime?: string;
70
+ /**
71
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
72
+ * trait of an operation.
73
+ */
74
+ disableHostPrefix?: boolean;
75
+ /**
76
+ * Value for how many times a request will be made at most in case of retry.
77
+ */
78
+ maxAttempts?: number | __Provider<number>;
79
+ /**
80
+ * Specifies which retry algorithm to use.
81
+ */
82
+ retryMode?: string | __Provider<string>;
83
+ /**
84
+ * Optional logger for logging debug/info/warn/error.
85
+ */
86
+ logger?: __Logger;
87
+ /**
88
+ * Enables IPv6/IPv4 dualstack endpoint.
89
+ */
90
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
91
+ /**
92
+ * Enables FIPS compatible endpoints.
93
+ */
94
+ useFipsEndpoint?: boolean | __Provider<boolean>;
95
+ /**
96
+ * Unique service identifier.
97
+ * @internal
98
+ */
99
+ serviceId?: string;
100
+ /**
101
+ * The AWS region to which this client will send requests
102
+ */
103
+ region?: string | __Provider<string>;
104
+ /**
105
+ * Default credentials provider; Not available in browser runtime.
106
+ * @internal
107
+ */
108
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
109
+ /**
110
+ * Fetch related hostname, signing name or signing region with given region.
111
+ * @internal
112
+ */
113
+ regionInfoProvider?: RegionInfoProvider;
114
+ /**
115
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
116
+ * @internal
117
+ */
118
+ defaultUserAgentProvider?: Provider<__UserAgent>;
119
+ }
120
+ declare type RbinClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
121
+ /**
122
+ * The configuration interface of RbinClient class constructor that set the region, credentials and other options.
123
+ */
124
+ export interface RbinClientConfig extends RbinClientConfigType {
125
+ }
126
+ declare type RbinClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
127
+ /**
128
+ * The resolved configuration interface of RbinClient class. This is resolved and normalized from the {@link RbinClientConfig | constructor configuration interface}.
129
+ */
130
+ export interface RbinClientResolvedConfig extends RbinClientResolvedConfigType {
131
+ }
132
+ /**
133
+ * <p>This is the <i>Recycle Bin API Reference</i>. This documentation provides
134
+ * descriptions and syntax for each of the actions and data types in Recycle Bin.</p>
135
+ *
136
+ * <p>Recycle Bin is a snapshot recovery feature that enables you to restore accidentally
137
+ * deleted snapshots. When using Recycle Bin, if your snapshots are deleted, they are retained
138
+ * in the Recycle Bin for a time period that you specify.</p>
139
+ *
140
+ * <p>You can restore a snapshot from the Recycle Bin at any time before its retention period
141
+ * expires. After you restore a snapshot from the Recycle Bin, the snapshot is removed from the
142
+ * Recycle Bin, and you can then use it in the same way you use any other snapshot in your
143
+ * account. If the retention period expires and the snapshot is not restored, the snapshot is
144
+ * permanently deleted from the Recycle Bin and is no longer available for recovery. For more
145
+ * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-recycle-bin.html">
146
+ * Recycle Bin</a> in the <i>Amazon EC2 User Guide</i>.</p>
147
+ */
148
+ export declare class RbinClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RbinClientResolvedConfig> {
149
+ /**
150
+ * The resolved configuration of RbinClient class. This is resolved and normalized from the {@link RbinClientConfig | constructor configuration interface}.
151
+ */
152
+ readonly config: RbinClientResolvedConfig;
153
+ constructor(configuration: RbinClientConfig);
154
+ /**
155
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
156
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
157
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
158
+ */
159
+ destroy(): void;
160
+ }
161
+ export {};
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateRuleRequest, CreateRuleResponse } from "../models/models_0";
4
+ import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
5
+ export interface CreateRuleCommandInput extends CreateRuleRequest {
6
+ }
7
+ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates a Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-create-rule">
11
+ * Create Recycle Bin retention rules</a> in the <i>Amazon EC2 User Guide</i>.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { RbinClient, CreateRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
16
+ * // const { RbinClient, CreateRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
17
+ * const client = new RbinClient(config);
18
+ * const command = new CreateRuleCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link CreateRuleCommandInput} for command's `input` shape.
23
+ * @see {@link CreateRuleCommandOutput} for command's `response` shape.
24
+ * @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class CreateRuleCommand extends $Command<CreateRuleCommandInput, CreateRuleCommandOutput, RbinClientResolvedConfig> {
28
+ readonly input: CreateRuleCommandInput;
29
+ constructor(input: CreateRuleCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRuleCommandInput, CreateRuleCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteRuleRequest, DeleteRuleResponse } from "../models/models_0";
4
+ import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
5
+ export interface DeleteRuleCommandInput extends DeleteRuleRequest {
6
+ }
7
+ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-delete-rule">
11
+ * Delete Recycle Bin retention rules</a> in the <i>Amazon EC2 User Guide</i>.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { RbinClient, DeleteRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
16
+ * // const { RbinClient, DeleteRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
17
+ * const client = new RbinClient(config);
18
+ * const command = new DeleteRuleCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteRuleCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteRuleCommandOutput} for command's `response` shape.
24
+ * @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteRuleCommand extends $Command<DeleteRuleCommandInput, DeleteRuleCommandOutput, RbinClientResolvedConfig> {
28
+ readonly input: DeleteRuleCommandInput;
29
+ constructor(input: DeleteRuleCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRuleCommandInput, DeleteRuleCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { GetRuleRequest, GetRuleResponse } from "../models/models_0";
4
+ import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
5
+ export interface GetRuleCommandInput extends GetRuleRequest {
6
+ }
7
+ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets information about a Recycle Bin retention rule.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { RbinClient, GetRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
15
+ * // const { RbinClient, GetRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
16
+ * const client = new RbinClient(config);
17
+ * const command = new GetRuleCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link GetRuleCommandInput} for command's `input` shape.
22
+ * @see {@link GetRuleCommandOutput} for command's `response` shape.
23
+ * @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class GetRuleCommand extends $Command<GetRuleCommandInput, GetRuleCommandOutput, RbinClientResolvedConfig> {
27
+ readonly input: GetRuleCommandInput;
28
+ constructor(input: GetRuleCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRuleCommandInput, GetRuleCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListRulesRequest, ListRulesResponse } from "../models/models_0";
4
+ import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
5
+ export interface ListRulesCommandInput extends ListRulesRequest {
6
+ }
7
+ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the Recycle Bin retention rules in the Region.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { RbinClient, ListRulesCommand } from "@aws-sdk/client-rbin"; // ES Modules import
15
+ * // const { RbinClient, ListRulesCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
16
+ * const client = new RbinClient(config);
17
+ * const command = new ListRulesCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListRulesCommandInput} for command's `input` shape.
22
+ * @see {@link ListRulesCommandOutput} for command's `response` shape.
23
+ * @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListRulesCommand extends $Command<ListRulesCommandInput, ListRulesCommandOutput, RbinClientResolvedConfig> {
27
+ readonly input: ListRulesCommandInput;
28
+ constructor(input: ListRulesCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRulesCommandInput, ListRulesCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Lists the tags assigned a specific resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { RbinClient, ListTagsForResourceCommand } from "@aws-sdk/client-rbin"; // ES Modules import
15
+ * // const { RbinClient, ListTagsForResourceCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
16
+ * const client = new RbinClient(config);
17
+ * const command = new ListTagsForResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RbinClientResolvedConfig> {
27
+ readonly input: ListTagsForResourceCommandInput;
28
+ constructor(input: ListTagsForResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
5
+ export interface TagResourceCommandInput extends TagResourceRequest {
6
+ }
7
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Assigns tags to the specified resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { RbinClient, TagResourceCommand } from "@aws-sdk/client-rbin"; // ES Modules import
15
+ * // const { RbinClient, TagResourceCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
16
+ * const client = new RbinClient(config);
17
+ * const command = new TagResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
22
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RbinClientResolvedConfig> {
27
+ readonly input: TagResourceCommandInput;
28
+ constructor(input: TagResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,35 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
5
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
6
+ }
7
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Unassigns a tag from a resource.</p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { RbinClient, UntagResourceCommand } from "@aws-sdk/client-rbin"; // ES Modules import
15
+ * // const { RbinClient, UntagResourceCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
16
+ * const client = new RbinClient(config);
17
+ * const command = new UntagResourceCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
23
+ * @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RbinClientResolvedConfig> {
27
+ readonly input: UntagResourceCommandInput;
28
+ constructor(input: UntagResourceCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateRuleRequest, UpdateRuleResponse } from "../models/models_0";
4
+ import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
5
+ export interface UpdateRuleCommandInput extends UpdateRuleRequest {
6
+ }
7
+ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates an existing Recycle Bin retention rule. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-update-rule">
11
+ * Update Recycle Bin retention rules</a> in the <i>Amazon EC2 User Guide</i>.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { RbinClient, UpdateRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
16
+ * // const { RbinClient, UpdateRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
17
+ * const client = new RbinClient(config);
18
+ * const command = new UpdateRuleCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link UpdateRuleCommandInput} for command's `input` shape.
23
+ * @see {@link UpdateRuleCommandOutput} for command's `response` shape.
24
+ * @see {@link RbinClientResolvedConfig | config} for RbinClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class UpdateRuleCommand extends $Command<UpdateRuleCommandInput, UpdateRuleCommandOutput, RbinClientResolvedConfig> {
28
+ readonly input: UpdateRuleCommandInput;
29
+ constructor(input: UpdateRuleCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRuleCommandInput, UpdateRuleCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,8 @@
1
+ export * from "./CreateRuleCommand";
2
+ export * from "./DeleteRuleCommand";
3
+ export * from "./GetRuleCommand";
4
+ export * from "./ListRulesCommand";
5
+ export * from "./ListTagsForResourceCommand";
6
+ export * from "./TagResourceCommand";
7
+ export * from "./UntagResourceCommand";
8
+ export * from "./UpdateRuleCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,5 @@
1
+ export * from "./Rbin";
2
+ export * from "./RbinClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1 @@
1
+ export * from "./models_0";