@aws-sdk/client-rbin 3.477.0 → 3.481.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 (49) hide show
  1. package/dist-cjs/commands/CreateRuleCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteRuleCommand.js +18 -41
  3. package/dist-cjs/commands/GetRuleCommand.js +18 -41
  4. package/dist-cjs/commands/ListRulesCommand.js +18 -41
  5. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  6. package/dist-cjs/commands/LockRuleCommand.js +18 -41
  7. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  8. package/dist-cjs/commands/UnlockRuleCommand.js +18 -41
  9. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  10. package/dist-cjs/commands/UpdateRuleCommand.js +18 -41
  11. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  12. package/dist-cjs/pagination/ListRulesPaginator.js +2 -24
  13. package/dist-es/commands/CreateRuleCommand.js +18 -41
  14. package/dist-es/commands/DeleteRuleCommand.js +18 -41
  15. package/dist-es/commands/GetRuleCommand.js +18 -41
  16. package/dist-es/commands/ListRulesCommand.js +18 -41
  17. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  18. package/dist-es/commands/LockRuleCommand.js +18 -41
  19. package/dist-es/commands/TagResourceCommand.js +18 -41
  20. package/dist-es/commands/UnlockRuleCommand.js +18 -41
  21. package/dist-es/commands/UntagResourceCommand.js +18 -41
  22. package/dist-es/commands/UpdateRuleCommand.js +18 -41
  23. package/dist-es/endpoint/EndpointParameters.js +6 -0
  24. package/dist-es/pagination/ListRulesPaginator.js +2 -23
  25. package/dist-types/commands/CreateRuleCommand.d.ts +6 -21
  26. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -21
  27. package/dist-types/commands/GetRuleCommand.d.ts +6 -21
  28. package/dist-types/commands/ListRulesCommand.d.ts +6 -21
  29. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  30. package/dist-types/commands/LockRuleCommand.d.ts +6 -21
  31. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  32. package/dist-types/commands/UnlockRuleCommand.d.ts +6 -21
  33. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  34. package/dist-types/commands/UpdateRuleCommand.d.ts +6 -21
  35. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  36. package/dist-types/pagination/ListRulesPaginator.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +14 -23
  38. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +14 -23
  39. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +12 -23
  40. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +14 -23
  41. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  42. package/dist-types/ts3.4/commands/LockRuleCommand.d.ts +14 -23
  43. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  44. package/dist-types/ts3.4/commands/UnlockRuleCommand.d.ts +14 -23
  45. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  46. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +14 -23
  47. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  48. package/dist-types/ts3.4/pagination/ListRulesPaginator.d.ts +3 -3
  49. package/package.json +11 -11
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UnlockRuleCommand, se_UnlockRuleCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UnlockRuleCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UnlockRuleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RbinClient";
26
- const commandName = "UnlockRuleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonRecycleBin",
35
- operation: "UnlockRule",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UnlockRuleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UnlockRuleCommand(output, context);
46
- }
7
+ export class UnlockRuleCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonRecycleBin", "UnlockRule", {})
19
+ .n("RbinClient", "UnlockRuleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UnlockRuleCommand)
22
+ .de(de_UnlockRuleCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RbinClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonRecycleBin",
35
- operation: "UntagResource",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonRecycleBin", "UntagResource", {})
19
+ .n("RbinClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateRuleCommand, se_UpdateRuleCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateRuleCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRuleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "RbinClient";
26
- const commandName = "UpdateRuleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonRecycleBin",
35
- operation: "UpdateRule",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateRuleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRuleCommand(output, context);
46
- }
7
+ export class UpdateRuleCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonRecycleBin", "UpdateRule", {})
19
+ .n("RbinClient", "UpdateRuleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRuleCommand)
22
+ .de(de_UpdateRuleCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "rbin",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListRulesCommand } from "../commands/ListRulesCommand";
2
3
  import { RbinClient } from "../RbinClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListRulesCommand(input), ...args);
5
- };
6
- export async function* paginateListRules(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof RbinClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Rbin | RbinClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListRules = createPaginator(RbinClient, ListRulesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CreateRuleRequest, CreateRuleResponse } from "../models/models_0";
5
4
  import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateRuleCommandInput extends CreateRuleRequest {
21
20
  */
22
21
  export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateRuleCommand_base: {
24
+ new (input: CreateRuleCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRuleCommandInput, CreateRuleCommandOutput, RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
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">
@@ -111,23 +114,5 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
111
114
  * <p>Base exception class for all service exceptions from Rbin service.</p>
112
115
  *
113
116
  */
114
- export declare class CreateRuleCommand extends $Command<CreateRuleCommandInput, CreateRuleCommandOutput, RbinClientResolvedConfig> {
115
- readonly input: CreateRuleCommandInput;
116
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
117
- /**
118
- * @public
119
- */
120
- constructor(input: CreateRuleCommandInput);
121
- /**
122
- * @internal
123
- */
124
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRuleCommandInput, CreateRuleCommandOutput>;
125
- /**
126
- * @internal
127
- */
128
- private serialize;
129
- /**
130
- * @internal
131
- */
132
- private deserialize;
117
+ export declare class CreateRuleCommand extends CreateRuleCommand_base {
133
118
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { DeleteRuleRequest, DeleteRuleResponse } from "../models/models_0";
5
4
  import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteRuleCommandInput extends DeleteRuleRequest {
21
20
  */
22
21
  export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteRuleCommand_base: {
24
+ new (input: DeleteRuleCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteRuleCommandInput, DeleteRuleCommandOutput, RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <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">
@@ -62,23 +65,5 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
62
65
  * <p>Base exception class for all service exceptions from Rbin service.</p>
63
66
  *
64
67
  */
65
- export declare class DeleteRuleCommand extends $Command<DeleteRuleCommandInput, DeleteRuleCommandOutput, RbinClientResolvedConfig> {
66
- readonly input: DeleteRuleCommandInput;
67
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
68
- /**
69
- * @public
70
- */
71
- constructor(input: DeleteRuleCommandInput);
72
- /**
73
- * @internal
74
- */
75
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRuleCommandInput, DeleteRuleCommandOutput>;
76
- /**
77
- * @internal
78
- */
79
- private serialize;
80
- /**
81
- * @internal
82
- */
83
- private deserialize;
68
+ export declare class DeleteRuleCommand extends DeleteRuleCommand_base {
84
69
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { GetRuleRequest, GetRuleResponse } from "../models/models_0";
5
4
  import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetRuleCommandInput extends GetRuleRequest {
21
20
  */
22
21
  export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetRuleCommand_base: {
24
+ new (input: GetRuleCommandInput): import("@smithy/smithy-client").CommandImpl<GetRuleCommandInput, GetRuleCommandOutput, RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets information about a Recycle Bin retention rule.</p>
@@ -82,23 +85,5 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
82
85
  * <p>Base exception class for all service exceptions from Rbin service.</p>
83
86
  *
84
87
  */
85
- export declare class GetRuleCommand extends $Command<GetRuleCommandInput, GetRuleCommandOutput, RbinClientResolvedConfig> {
86
- readonly input: GetRuleCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: GetRuleCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRuleCommandInput, GetRuleCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class GetRuleCommand extends GetRuleCommand_base {
104
89
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListRulesRequest, ListRulesResponse } from "../models/models_0";
5
4
  import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListRulesCommandInput extends ListRulesRequest {
21
20
  */
22
21
  export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListRulesCommand_base: {
24
+ new (input: ListRulesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRulesCommandInput, ListRulesCommandOutput, RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the Recycle Bin retention rules in the Region.</p>
@@ -78,23 +81,5 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
78
81
  * <p>Base exception class for all service exceptions from Rbin service.</p>
79
82
  *
80
83
  */
81
- export declare class ListRulesCommand extends $Command<ListRulesCommandInput, ListRulesCommandOutput, RbinClientResolvedConfig> {
82
- readonly input: ListRulesCommandInput;
83
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
- /**
85
- * @public
86
- */
87
- constructor(input: ListRulesCommandInput);
88
- /**
89
- * @internal
90
- */
91
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRulesCommandInput, ListRulesCommandOutput>;
92
- /**
93
- * @internal
94
- */
95
- private serialize;
96
- /**
97
- * @internal
98
- */
99
- private deserialize;
84
+ export declare class ListRulesCommand extends ListRulesCommand_base {
100
85
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
4
  import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
20
  */
22
21
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const ListTagsForResourceCommand_base: {
24
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Lists the tags assigned to a retention rule.</p>
@@ -65,23 +68,5 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
65
68
  * <p>Base exception class for all service exceptions from Rbin service.</p>
66
69
  *
67
70
  */
68
- export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RbinClientResolvedConfig> {
69
- readonly input: ListTagsForResourceCommandInput;
70
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
- /**
72
- * @public
73
- */
74
- constructor(input: ListTagsForResourceCommandInput);
75
- /**
76
- * @internal
77
- */
78
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
79
- /**
80
- * @internal
81
- */
82
- private serialize;
83
- /**
84
- * @internal
85
- */
86
- private deserialize;
71
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
87
72
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { LockRuleRequest, LockRuleResponse } from "../models/models_0";
5
4
  import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface LockRuleCommandInput extends LockRuleRequest {
21
20
  */
22
21
  export interface LockRuleCommandOutput extends LockRuleResponse, __MetadataBearer {
23
22
  }
23
+ declare const LockRuleCommand_base: {
24
+ new (input: LockRuleCommandInput): import("@smithy/smithy-client").CommandImpl<LockRuleCommandInput, LockRuleCommandOutput, RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Locks a retention rule. A locked retention rule can't be modified or deleted.</p>
@@ -90,23 +93,5 @@ export interface LockRuleCommandOutput extends LockRuleResponse, __MetadataBeare
90
93
  * <p>Base exception class for all service exceptions from Rbin service.</p>
91
94
  *
92
95
  */
93
- export declare class LockRuleCommand extends $Command<LockRuleCommandInput, LockRuleCommandOutput, RbinClientResolvedConfig> {
94
- readonly input: LockRuleCommandInput;
95
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
96
- /**
97
- * @public
98
- */
99
- constructor(input: LockRuleCommandInput);
100
- /**
101
- * @internal
102
- */
103
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<LockRuleCommandInput, LockRuleCommandOutput>;
104
- /**
105
- * @internal
106
- */
107
- private serialize;
108
- /**
109
- * @internal
110
- */
111
- private deserialize;
96
+ export declare class LockRuleCommand extends LockRuleCommand_base {
112
97
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
4
  import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface TagResourceCommandInput extends TagResourceRequest {
21
20
  */
22
21
  export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const TagResourceCommand_base: {
24
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Assigns tags to the specified retention rule.</p>
@@ -67,23 +70,5 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
67
70
  * <p>Base exception class for all service exceptions from Rbin service.</p>
68
71
  *
69
72
  */
70
- export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RbinClientResolvedConfig> {
71
- readonly input: TagResourceCommandInput;
72
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
73
- /**
74
- * @public
75
- */
76
- constructor(input: TagResourceCommandInput);
77
- /**
78
- * @internal
79
- */
80
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
81
- /**
82
- * @internal
83
- */
84
- private serialize;
85
- /**
86
- * @internal
87
- */
88
- private deserialize;
73
+ export declare class TagResourceCommand extends TagResourceCommand_base {
89
74
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { UnlockRuleRequest, UnlockRuleResponse } from "../models/models_0";
5
4
  import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UnlockRuleCommandInput extends UnlockRuleRequest {
21
20
  */
22
21
  export interface UnlockRuleCommandOutput extends UnlockRuleResponse, __MetadataBearer {
23
22
  }
23
+ declare const UnlockRuleCommand_base: {
24
+ new (input: UnlockRuleCommandInput): import("@smithy/smithy-client").CommandImpl<UnlockRuleCommandInput, UnlockRuleCommandOutput, RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Unlocks a retention rule. After a retention rule is unlocked, it can be modified or deleted
@@ -86,23 +89,5 @@ export interface UnlockRuleCommandOutput extends UnlockRuleResponse, __MetadataB
86
89
  * <p>Base exception class for all service exceptions from Rbin service.</p>
87
90
  *
88
91
  */
89
- export declare class UnlockRuleCommand extends $Command<UnlockRuleCommandInput, UnlockRuleCommandOutput, RbinClientResolvedConfig> {
90
- readonly input: UnlockRuleCommandInput;
91
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
92
- /**
93
- * @public
94
- */
95
- constructor(input: UnlockRuleCommandInput);
96
- /**
97
- * @internal
98
- */
99
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UnlockRuleCommandInput, UnlockRuleCommandOutput>;
100
- /**
101
- * @internal
102
- */
103
- private serialize;
104
- /**
105
- * @internal
106
- */
107
- private deserialize;
92
+ export declare class UnlockRuleCommand extends UnlockRuleCommand_base {
108
93
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
4
  import { RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RbinClient";
6
5
  /**
@@ -21,6 +20,10 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
21
20
  */
22
21
  export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
22
  }
23
+ declare const UntagResourceCommand_base: {
24
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, RbinClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Unassigns a tag from a retention rule.</p>
@@ -61,23 +64,5 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
61
64
  * <p>Base exception class for all service exceptions from Rbin service.</p>
62
65
  *
63
66
  */
64
- export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RbinClientResolvedConfig> {
65
- readonly input: UntagResourceCommandInput;
66
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
- /**
68
- * @public
69
- */
70
- constructor(input: UntagResourceCommandInput);
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RbinClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
75
- /**
76
- * @internal
77
- */
78
- private serialize;
79
- /**
80
- * @internal
81
- */
82
- private deserialize;
67
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
83
68
  }