@aws-sdk/client-rbin 3.299.0 → 3.301.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.
@@ -27,6 +27,32 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
27
27
  * import { RbinClient, CreateRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
28
28
  * // const { RbinClient, CreateRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
29
29
  * const client = new RbinClient(config);
30
+ * const input = { // CreateRuleRequest
31
+ * RetentionPeriod: { // RetentionPeriod
32
+ * RetentionPeriodValue: Number("int"), // required
33
+ * RetentionPeriodUnit: "DAYS", // required
34
+ * },
35
+ * Description: "STRING_VALUE",
36
+ * Tags: [ // TagList
37
+ * { // Tag
38
+ * Key: "STRING_VALUE", // required
39
+ * Value: "STRING_VALUE", // required
40
+ * },
41
+ * ],
42
+ * ResourceType: "EBS_SNAPSHOT" || "EC2_IMAGE", // required
43
+ * ResourceTags: [ // ResourceTags
44
+ * { // ResourceTag
45
+ * ResourceTagKey: "STRING_VALUE", // required
46
+ * ResourceTagValue: "STRING_VALUE",
47
+ * },
48
+ * ],
49
+ * LockConfiguration: { // LockConfiguration
50
+ * UnlockDelay: { // UnlockDelay
51
+ * UnlockDelayValue: Number("int"), // required
52
+ * UnlockDelayUnit: "DAYS", // required
53
+ * },
54
+ * },
55
+ * };
30
56
  * const command = new CreateRuleCommand(input);
31
57
  * const response = await client.send(command);
32
58
  * ```
@@ -27,6 +27,9 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
27
27
  * import { RbinClient, DeleteRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
28
28
  * // const { RbinClient, DeleteRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
29
29
  * const client = new RbinClient(config);
30
+ * const input = { // DeleteRuleRequest
31
+ * Identifier: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new DeleteRuleCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,9 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
26
26
  * import { RbinClient, GetRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
27
27
  * // const { RbinClient, GetRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
28
28
  * const client = new RbinClient(config);
29
+ * const input = { // GetRuleRequest
30
+ * Identifier: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetRuleCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,18 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
26
26
  * import { RbinClient, ListRulesCommand } from "@aws-sdk/client-rbin"; // ES Modules import
27
27
  * // const { RbinClient, ListRulesCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
28
28
  * const client = new RbinClient(config);
29
+ * const input = { // ListRulesRequest
30
+ * MaxResults: Number("int"),
31
+ * NextToken: "STRING_VALUE",
32
+ * ResourceType: "EBS_SNAPSHOT" || "EC2_IMAGE", // required
33
+ * ResourceTags: [ // ResourceTags
34
+ * { // ResourceTag
35
+ * ResourceTagKey: "STRING_VALUE", // required
36
+ * ResourceTagValue: "STRING_VALUE",
37
+ * },
38
+ * ],
39
+ * LockState: "locked" || "pending_unlock" || "unlocked",
40
+ * };
29
41
  * const command = new ListRulesCommand(input);
30
42
  * const response = await client.send(command);
31
43
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { RbinClient, ListTagsForResourceCommand } from "@aws-sdk/client-rbin"; // ES Modules import
27
27
  * // const { RbinClient, ListTagsForResourceCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
28
28
  * const client = new RbinClient(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,15 @@ export interface LockRuleCommandOutput extends LockRuleResponse, __MetadataBeare
26
26
  * import { RbinClient, LockRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
27
27
  * // const { RbinClient, LockRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
28
28
  * const client = new RbinClient(config);
29
+ * const input = { // LockRuleRequest
30
+ * Identifier: "STRING_VALUE", // required
31
+ * LockConfiguration: { // LockConfiguration
32
+ * UnlockDelay: { // UnlockDelay
33
+ * UnlockDelayValue: Number("int"), // required
34
+ * UnlockDelayUnit: "DAYS", // required
35
+ * },
36
+ * },
37
+ * };
29
38
  * const command = new LockRuleCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { RbinClient, TagResourceCommand } from "@aws-sdk/client-rbin"; // ES Modules import
27
27
  * // const { RbinClient, TagResourceCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
28
28
  * const client = new RbinClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * Tags: [ // TagList // required
32
+ * { // Tag
33
+ * Key: "STRING_VALUE", // required
34
+ * Value: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new TagResourceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -27,6 +27,9 @@ export interface UnlockRuleCommandOutput extends UnlockRuleResponse, __MetadataB
27
27
  * import { RbinClient, UnlockRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
28
28
  * // const { RbinClient, UnlockRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
29
29
  * const client = new RbinClient(config);
30
+ * const input = { // UnlockRuleRequest
31
+ * Identifier: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new UnlockRuleCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { RbinClient, UntagResourceCommand } from "@aws-sdk/client-rbin"; // ES Modules import
27
27
  * // const { RbinClient, UntagResourceCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
28
28
  * const client = new RbinClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -29,6 +29,21 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
29
29
  * import { RbinClient, UpdateRuleCommand } from "@aws-sdk/client-rbin"; // ES Modules import
30
30
  * // const { RbinClient, UpdateRuleCommand } = require("@aws-sdk/client-rbin"); // CommonJS import
31
31
  * const client = new RbinClient(config);
32
+ * const input = { // UpdateRuleRequest
33
+ * Identifier: "STRING_VALUE", // required
34
+ * RetentionPeriod: { // RetentionPeriod
35
+ * RetentionPeriodValue: Number("int"), // required
36
+ * RetentionPeriodUnit: "DAYS", // required
37
+ * },
38
+ * Description: "STRING_VALUE",
39
+ * ResourceType: "EBS_SNAPSHOT" || "EC2_IMAGE",
40
+ * ResourceTags: [ // ResourceTags
41
+ * { // ResourceTag
42
+ * ResourceTagKey: "STRING_VALUE", // required
43
+ * ResourceTagValue: "STRING_VALUE",
44
+ * },
45
+ * ],
46
+ * };
32
47
  * const command = new UpdateRuleCommand(input);
33
48
  * const response = await client.send(command);
34
49
  * ```
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.299.0",
4
+ "version": "3.301.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.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },