@aws-sdk/client-rbin 3.312.0 → 3.316.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.
@@ -10,98 +10,84 @@ import { UnlockRuleCommandInput, UnlockRuleCommandOutput } from "./commands/Unlo
10
10
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
11
11
  import { UpdateRuleCommandInput, UpdateRuleCommandOutput } from "./commands/UpdateRuleCommand";
12
12
  import { RbinClient } from "./RbinClient";
13
- /**
14
- * @public
15
- * <p>This is the <i>Recycle Bin API Reference</i>. This documentation provides
16
- * descriptions and syntax for each of the actions and data types in Recycle Bin.</p>
17
- *
18
- * <p>Recycle Bin is a resource recovery feature that enables you to restore accidentally
19
- * deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are
20
- * deleted, they are retained in the Recycle Bin for a time period that you specify.</p>
21
- *
22
- * <p>You can restore a resource from the Recycle Bin at any time before its retention period
23
- * expires. After you restore a resource from the Recycle Bin, the resource is removed from the
24
- * Recycle Bin, and you can then use it in the same way you use any other resource of that type
25
- * in your account. If the retention period expires and the resource is not restored, the resource
26
- * is permanently deleted from the Recycle Bin and is no longer available for recovery. For more
27
- * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-recycle-bin.html">
28
- * Recycle Bin</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
29
- */
30
- export declare class Rbin extends RbinClient {
13
+ export interface Rbin {
31
14
  /**
32
- * @public
33
- * <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">
34
- * Create Recycle Bin retention rules</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
15
+ * @see {@link CreateRuleCommand}
35
16
  */
36
17
  createRule(args: CreateRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleCommandOutput>;
37
18
  createRule(args: CreateRuleCommandInput, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
38
19
  createRule(args: CreateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleCommandOutput) => void): void;
39
20
  /**
40
- * @public
41
- * <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">
42
- * Delete Recycle Bin retention rules</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
21
+ * @see {@link DeleteRuleCommand}
43
22
  */
44
23
  deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
45
24
  deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
46
25
  deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
47
26
  /**
48
- * @public
49
- * <p>Gets information about a Recycle Bin retention rule.</p>
27
+ * @see {@link GetRuleCommand}
50
28
  */
51
29
  getRule(args: GetRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetRuleCommandOutput>;
52
30
  getRule(args: GetRuleCommandInput, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
53
31
  getRule(args: GetRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuleCommandOutput) => void): void;
54
32
  /**
55
- * @public
56
- * <p>Lists the Recycle Bin retention rules in the Region.</p>
33
+ * @see {@link ListRulesCommand}
57
34
  */
58
35
  listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesCommandOutput>;
59
36
  listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
60
37
  listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void;
61
38
  /**
62
- * @public
63
- * <p>Lists the tags assigned to a retention rule.</p>
39
+ * @see {@link ListTagsForResourceCommand}
64
40
  */
65
41
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
66
42
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
67
43
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
68
44
  /**
69
- * @public
70
- * <p>Locks a retention rule. A locked retention rule can't be modified or deleted.</p>
45
+ * @see {@link LockRuleCommand}
71
46
  */
72
47
  lockRule(args: LockRuleCommandInput, options?: __HttpHandlerOptions): Promise<LockRuleCommandOutput>;
73
48
  lockRule(args: LockRuleCommandInput, cb: (err: any, data?: LockRuleCommandOutput) => void): void;
74
49
  lockRule(args: LockRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LockRuleCommandOutput) => void): void;
75
50
  /**
76
- * @public
77
- * <p>Assigns tags to the specified retention rule.</p>
51
+ * @see {@link TagResourceCommand}
78
52
  */
79
53
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
80
54
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
81
55
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
82
56
  /**
83
- * @public
84
- * <p>Unlocks a retention rule. After a retention rule is unlocked, it can be modified or deleted
85
- * only after the unlock delay period expires.</p>
57
+ * @see {@link UnlockRuleCommand}
86
58
  */
87
59
  unlockRule(args: UnlockRuleCommandInput, options?: __HttpHandlerOptions): Promise<UnlockRuleCommandOutput>;
88
60
  unlockRule(args: UnlockRuleCommandInput, cb: (err: any, data?: UnlockRuleCommandOutput) => void): void;
89
61
  unlockRule(args: UnlockRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnlockRuleCommandOutput) => void): void;
90
62
  /**
91
- * @public
92
- * <p>Unassigns a tag from a retention rule.</p>
63
+ * @see {@link UntagResourceCommand}
93
64
  */
94
65
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
95
66
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
96
67
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
97
68
  /**
98
- * @public
99
- * <p>Updates an existing Recycle Bin retention rule. You can update a retention rule's description,
100
- * resource tags, and retention period at any time after creation. You can't update a retention rule's
101
- * resource type after creation. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-update-rule">
102
- * Update Recycle Bin retention rules</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
69
+ * @see {@link UpdateRuleCommand}
103
70
  */
104
71
  updateRule(args: UpdateRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRuleCommandOutput>;
105
72
  updateRule(args: UpdateRuleCommandInput, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
106
73
  updateRule(args: UpdateRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRuleCommandOutput) => void): void;
107
74
  }
75
+ /**
76
+ * @public
77
+ * <p>This is the <i>Recycle Bin API Reference</i>. This documentation provides
78
+ * descriptions and syntax for each of the actions and data types in Recycle Bin.</p>
79
+ *
80
+ * <p>Recycle Bin is a resource recovery feature that enables you to restore accidentally
81
+ * deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are
82
+ * deleted, they are retained in the Recycle Bin for a time period that you specify.</p>
83
+ *
84
+ * <p>You can restore a resource from the Recycle Bin at any time before its retention period
85
+ * expires. After you restore a resource from the Recycle Bin, the resource is removed from the
86
+ * Recycle Bin, and you can then use it in the same way you use any other resource of that type
87
+ * in your account. If the retention period expires and the resource is not restored, the resource
88
+ * is permanently deleted from the Recycle Bin and is no longer available for recovery. For more
89
+ * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-recycle-bin.html">
90
+ * Recycle Bin</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
91
+ */
92
+ export declare class Rbin extends RbinClient implements Rbin {
93
+ }
@@ -40,7 +40,7 @@ import {
40
40
  UpdateRuleCommandOutput,
41
41
  } from "./commands/UpdateRuleCommand";
42
42
  import { RbinClient } from "./RbinClient";
43
- export declare class Rbin extends RbinClient {
43
+ export interface Rbin {
44
44
  createRule(
45
45
  args: CreateRuleCommandInput,
46
46
  options?: __HttpHandlerOptions
@@ -172,3 +172,4 @@ export declare class Rbin extends RbinClient {
172
172
  cb: (err: any, data?: UpdateRuleCommandOutput) => void
173
173
  ): void;
174
174
  }
175
+ export declare class Rbin extends RbinClient implements Rbin {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rbin",
3
3
  "description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native",
4
- "version": "3.312.0",
4
+ "version": "3.316.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",