@aws-sdk/client-rbin 3.321.1 → 3.326.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.
@@ -55,6 +55,36 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
55
55
  * };
56
56
  * const command = new CreateRuleCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // CreateRuleResponse
59
+ * // Identifier: "STRING_VALUE",
60
+ * // RetentionPeriod: { // RetentionPeriod
61
+ * // RetentionPeriodValue: Number("int"), // required
62
+ * // RetentionPeriodUnit: "DAYS", // required
63
+ * // },
64
+ * // Description: "STRING_VALUE",
65
+ * // Tags: [ // TagList
66
+ * // { // Tag
67
+ * // Key: "STRING_VALUE", // required
68
+ * // Value: "STRING_VALUE", // required
69
+ * // },
70
+ * // ],
71
+ * // ResourceType: "EBS_SNAPSHOT" || "EC2_IMAGE",
72
+ * // ResourceTags: [ // ResourceTags
73
+ * // { // ResourceTag
74
+ * // ResourceTagKey: "STRING_VALUE", // required
75
+ * // ResourceTagValue: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // Status: "pending" || "available",
79
+ * // LockConfiguration: { // LockConfiguration
80
+ * // UnlockDelay: { // UnlockDelay
81
+ * // UnlockDelayValue: Number("int"), // required
82
+ * // UnlockDelayUnit: "DAYS", // required
83
+ * // },
84
+ * // },
85
+ * // LockState: "locked" || "pending_unlock" || "unlocked",
86
+ * // };
87
+ *
58
88
  * ```
59
89
  *
60
90
  * @param CreateRuleCommandInput - {@link CreateRuleCommandInput}
@@ -72,6 +102,8 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
72
102
  * @throws {@link ValidationException} (client fault)
73
103
  * <p>One or more of the parameters in the request is not valid.</p>
74
104
  *
105
+ * @throws {@link RbinServiceException}
106
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
75
107
  *
76
108
  */
77
109
  export declare class CreateRuleCommand extends $Command<CreateRuleCommandInput, CreateRuleCommandOutput, RbinClientResolvedConfig> {
@@ -32,6 +32,8 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
32
32
  * };
33
33
  * const command = new DeleteRuleCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // {};
36
+ *
35
37
  * ```
36
38
  *
37
39
  * @param DeleteRuleCommandInput - {@link DeleteRuleCommandInput}
@@ -52,6 +54,8 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
52
54
  * @throws {@link ValidationException} (client fault)
53
55
  * <p>One or more of the parameters in the request is not valid.</p>
54
56
  *
57
+ * @throws {@link RbinServiceException}
58
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
55
59
  *
56
60
  */
57
61
  export declare class DeleteRuleCommand extends $Command<DeleteRuleCommandInput, DeleteRuleCommandOutput, RbinClientResolvedConfig> {
@@ -31,6 +31,31 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
31
31
  * };
32
32
  * const command = new GetRuleCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetRuleResponse
35
+ * // Identifier: "STRING_VALUE",
36
+ * // Description: "STRING_VALUE",
37
+ * // ResourceType: "EBS_SNAPSHOT" || "EC2_IMAGE",
38
+ * // RetentionPeriod: { // RetentionPeriod
39
+ * // RetentionPeriodValue: Number("int"), // required
40
+ * // RetentionPeriodUnit: "DAYS", // required
41
+ * // },
42
+ * // ResourceTags: [ // ResourceTags
43
+ * // { // ResourceTag
44
+ * // ResourceTagKey: "STRING_VALUE", // required
45
+ * // ResourceTagValue: "STRING_VALUE",
46
+ * // },
47
+ * // ],
48
+ * // Status: "pending" || "available",
49
+ * // LockConfiguration: { // LockConfiguration
50
+ * // UnlockDelay: { // UnlockDelay
51
+ * // UnlockDelayValue: Number("int"), // required
52
+ * // UnlockDelayUnit: "DAYS", // required
53
+ * // },
54
+ * // },
55
+ * // LockState: "locked" || "pending_unlock" || "unlocked",
56
+ * // LockEndTime: new Date("TIMESTAMP"),
57
+ * // };
58
+ *
34
59
  * ```
35
60
  *
36
61
  * @param GetRuleCommandInput - {@link GetRuleCommandInput}
@@ -48,6 +73,8 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
48
73
  * @throws {@link ValidationException} (client fault)
49
74
  * <p>One or more of the parameters in the request is not valid.</p>
50
75
  *
76
+ * @throws {@link RbinServiceException}
77
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
51
78
  *
52
79
  */
53
80
  export declare class GetRuleCommand extends $Command<GetRuleCommandInput, GetRuleCommandOutput, RbinClientResolvedConfig> {
@@ -40,6 +40,21 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
40
40
  * };
41
41
  * const command = new ListRulesCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // ListRulesResponse
44
+ * // Rules: [ // RuleSummaryList
45
+ * // { // RuleSummary
46
+ * // Identifier: "STRING_VALUE",
47
+ * // Description: "STRING_VALUE",
48
+ * // RetentionPeriod: { // RetentionPeriod
49
+ * // RetentionPeriodValue: Number("int"), // required
50
+ * // RetentionPeriodUnit: "DAYS", // required
51
+ * // },
52
+ * // LockState: "locked" || "pending_unlock" || "unlocked",
53
+ * // },
54
+ * // ],
55
+ * // NextToken: "STRING_VALUE",
56
+ * // };
57
+ *
43
58
  * ```
44
59
  *
45
60
  * @param ListRulesCommandInput - {@link ListRulesCommandInput}
@@ -54,6 +69,8 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
54
69
  * @throws {@link ValidationException} (client fault)
55
70
  * <p>One or more of the parameters in the request is not valid.</p>
56
71
  *
72
+ * @throws {@link RbinServiceException}
73
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
57
74
  *
58
75
  */
59
76
  export declare class ListRulesCommand extends $Command<ListRulesCommandInput, ListRulesCommandOutput, RbinClientResolvedConfig> {
@@ -31,6 +31,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // Tags: [ // TagList
36
+ * // { // Tag
37
+ * // Key: "STRING_VALUE", // required
38
+ * // Value: "STRING_VALUE", // required
39
+ * // },
40
+ * // ],
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -48,6 +57,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
48
57
  * @throws {@link ValidationException} (client fault)
49
58
  * <p>One or more of the parameters in the request is not valid.</p>
50
59
  *
60
+ * @throws {@link RbinServiceException}
61
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
51
62
  *
52
63
  */
53
64
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RbinClientResolvedConfig> {
@@ -37,6 +37,30 @@ export interface LockRuleCommandOutput extends LockRuleResponse, __MetadataBeare
37
37
  * };
38
38
  * const command = new LockRuleCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // LockRuleResponse
41
+ * // Identifier: "STRING_VALUE",
42
+ * // Description: "STRING_VALUE",
43
+ * // ResourceType: "EBS_SNAPSHOT" || "EC2_IMAGE",
44
+ * // RetentionPeriod: { // RetentionPeriod
45
+ * // RetentionPeriodValue: Number("int"), // required
46
+ * // RetentionPeriodUnit: "DAYS", // required
47
+ * // },
48
+ * // ResourceTags: [ // ResourceTags
49
+ * // { // ResourceTag
50
+ * // ResourceTagKey: "STRING_VALUE", // required
51
+ * // ResourceTagValue: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // Status: "pending" || "available",
55
+ * // LockConfiguration: { // LockConfiguration
56
+ * // UnlockDelay: { // UnlockDelay
57
+ * // UnlockDelayValue: Number("int"), // required
58
+ * // UnlockDelayUnit: "DAYS", // required
59
+ * // },
60
+ * // },
61
+ * // LockState: "locked" || "pending_unlock" || "unlocked",
62
+ * // };
63
+ *
40
64
  * ```
41
65
  *
42
66
  * @param LockRuleCommandInput - {@link LockRuleCommandInput}
@@ -57,6 +81,8 @@ export interface LockRuleCommandOutput extends LockRuleResponse, __MetadataBeare
57
81
  * @throws {@link ValidationException} (client fault)
58
82
  * <p>One or more of the parameters in the request is not valid.</p>
59
83
  *
84
+ * @throws {@link RbinServiceException}
85
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
60
86
  *
61
87
  */
62
88
  export declare class LockRuleCommand extends $Command<LockRuleCommandInput, LockRuleCommandOutput, RbinClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
37
37
  * };
38
38
  * const command = new TagResourceCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -57,6 +59,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
57
59
  * @throws {@link ValidationException} (client fault)
58
60
  * <p>One or more of the parameters in the request is not valid.</p>
59
61
  *
62
+ * @throws {@link RbinServiceException}
63
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
60
64
  *
61
65
  */
62
66
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RbinClientResolvedConfig> {
@@ -32,6 +32,31 @@ export interface UnlockRuleCommandOutput extends UnlockRuleResponse, __MetadataB
32
32
  * };
33
33
  * const command = new UnlockRuleCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // UnlockRuleResponse
36
+ * // Identifier: "STRING_VALUE",
37
+ * // Description: "STRING_VALUE",
38
+ * // ResourceType: "EBS_SNAPSHOT" || "EC2_IMAGE",
39
+ * // RetentionPeriod: { // RetentionPeriod
40
+ * // RetentionPeriodValue: Number("int"), // required
41
+ * // RetentionPeriodUnit: "DAYS", // required
42
+ * // },
43
+ * // ResourceTags: [ // ResourceTags
44
+ * // { // ResourceTag
45
+ * // ResourceTagKey: "STRING_VALUE", // required
46
+ * // ResourceTagValue: "STRING_VALUE",
47
+ * // },
48
+ * // ],
49
+ * // Status: "pending" || "available",
50
+ * // LockConfiguration: { // LockConfiguration
51
+ * // UnlockDelay: { // UnlockDelay
52
+ * // UnlockDelayValue: Number("int"), // required
53
+ * // UnlockDelayUnit: "DAYS", // required
54
+ * // },
55
+ * // },
56
+ * // LockState: "locked" || "pending_unlock" || "unlocked",
57
+ * // LockEndTime: new Date("TIMESTAMP"),
58
+ * // };
59
+ *
35
60
  * ```
36
61
  *
37
62
  * @param UnlockRuleCommandInput - {@link UnlockRuleCommandInput}
@@ -52,6 +77,8 @@ export interface UnlockRuleCommandOutput extends UnlockRuleResponse, __MetadataB
52
77
  * @throws {@link ValidationException} (client fault)
53
78
  * <p>One or more of the parameters in the request is not valid.</p>
54
79
  *
80
+ * @throws {@link RbinServiceException}
81
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
55
82
  *
56
83
  */
57
84
  export declare class UnlockRuleCommand extends $Command<UnlockRuleCommandInput, UnlockRuleCommandOutput, RbinClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -51,6 +53,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
51
53
  * @throws {@link ValidationException} (client fault)
52
54
  * <p>One or more of the parameters in the request is not valid.</p>
53
55
  *
56
+ * @throws {@link RbinServiceException}
57
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
54
58
  *
55
59
  */
56
60
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RbinClientResolvedConfig> {
@@ -46,6 +46,25 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
46
46
  * };
47
47
  * const command = new UpdateRuleCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // UpdateRuleResponse
50
+ * // Identifier: "STRING_VALUE",
51
+ * // RetentionPeriod: { // RetentionPeriod
52
+ * // RetentionPeriodValue: Number("int"), // required
53
+ * // RetentionPeriodUnit: "DAYS", // required
54
+ * // },
55
+ * // Description: "STRING_VALUE",
56
+ * // ResourceType: "EBS_SNAPSHOT" || "EC2_IMAGE",
57
+ * // ResourceTags: [ // ResourceTags
58
+ * // { // ResourceTag
59
+ * // ResourceTagKey: "STRING_VALUE", // required
60
+ * // ResourceTagValue: "STRING_VALUE",
61
+ * // },
62
+ * // ],
63
+ * // Status: "pending" || "available",
64
+ * // LockState: "locked" || "pending_unlock" || "unlocked",
65
+ * // LockEndTime: new Date("TIMESTAMP"),
66
+ * // };
67
+ *
49
68
  * ```
50
69
  *
51
70
  * @param UpdateRuleCommandInput - {@link UpdateRuleCommandInput}
@@ -66,6 +85,8 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
66
85
  * @throws {@link ValidationException} (client fault)
67
86
  * <p>One or more of the parameters in the request is not valid.</p>
68
87
  *
88
+ * @throws {@link RbinServiceException}
89
+ * <p>Base exception class for all service exceptions from Rbin service.</p>
69
90
  *
70
91
  */
71
92
  export declare class UpdateRuleCommand extends $Command<UpdateRuleCommandInput, UpdateRuleCommandOutput, RbinClientResolvedConfig> {
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.321.1",
4
+ "version": "3.326.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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.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",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.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.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",