@aws-sdk/client-rbin 3.461.0 → 3.465.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.
package/README.md CHANGED
@@ -16,7 +16,7 @@ expires. After you restore a resource from the Recycle Bin, the resource is remo
16
16
  Recycle Bin, and you can then use it in the same way you use any other resource of that type
17
17
  in your account. If the retention period expires and the resource is not restored, the resource
18
18
  is permanently deleted from the Recycle Bin and is no longer available for recovery. For more
19
- information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-recycle-bin.html">
19
+ information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">
20
20
  Recycle Bin</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
21
21
 
22
22
  ## Installing
@@ -233,6 +233,7 @@ const de_CreateRuleCommand = async (output, context) => {
233
233
  ResourceTags: smithy_client_1._json,
234
234
  ResourceType: smithy_client_1.expectString,
235
235
  RetentionPeriod: smithy_client_1._json,
236
+ RuleArn: smithy_client_1.expectString,
236
237
  Status: smithy_client_1.expectString,
237
238
  Tags: smithy_client_1._json,
238
239
  });
@@ -321,6 +322,7 @@ const de_GetRuleCommand = async (output, context) => {
321
322
  ResourceTags: smithy_client_1._json,
322
323
  ResourceType: smithy_client_1.expectString,
323
324
  RetentionPeriod: smithy_client_1._json,
325
+ RuleArn: smithy_client_1.expectString,
324
326
  Status: smithy_client_1.expectString,
325
327
  });
326
328
  Object.assign(contents, doc);
@@ -446,6 +448,7 @@ const de_LockRuleCommand = async (output, context) => {
446
448
  ResourceTags: smithy_client_1._json,
447
449
  ResourceType: smithy_client_1.expectString,
448
450
  RetentionPeriod: smithy_client_1._json,
451
+ RuleArn: smithy_client_1.expectString,
449
452
  Status: smithy_client_1.expectString,
450
453
  });
451
454
  Object.assign(contents, doc);
@@ -536,6 +539,7 @@ const de_UnlockRuleCommand = async (output, context) => {
536
539
  ResourceTags: smithy_client_1._json,
537
540
  ResourceType: smithy_client_1.expectString,
538
541
  RetentionPeriod: smithy_client_1._json,
542
+ RuleArn: smithy_client_1.expectString,
539
543
  Status: smithy_client_1.expectString,
540
544
  });
541
545
  Object.assign(contents, doc);
@@ -622,6 +626,7 @@ const de_UpdateRuleCommand = async (output, context) => {
622
626
  ResourceTags: smithy_client_1._json,
623
627
  ResourceType: smithy_client_1.expectString,
624
628
  RetentionPeriod: smithy_client_1._json,
629
+ RuleArn: smithy_client_1.expectString,
625
630
  Status: smithy_client_1.expectString,
626
631
  });
627
632
  Object.assign(contents, doc);
@@ -644,6 +649,9 @@ const de_UpdateRuleCommandError = async (output, context) => {
644
649
  case "ResourceNotFoundException":
645
650
  case "com.amazonaws.rbin#ResourceNotFoundException":
646
651
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
652
+ case "ServiceQuotaExceededException":
653
+ case "com.amazonaws.rbin#ServiceQuotaExceededException":
654
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
647
655
  case "ValidationException":
648
656
  case "com.amazonaws.rbin#ValidationException":
649
657
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -220,6 +220,7 @@ export const de_CreateRuleCommand = async (output, context) => {
220
220
  ResourceTags: _json,
221
221
  ResourceType: __expectString,
222
222
  RetentionPeriod: _json,
223
+ RuleArn: __expectString,
223
224
  Status: __expectString,
224
225
  Tags: _json,
225
226
  });
@@ -306,6 +307,7 @@ export const de_GetRuleCommand = async (output, context) => {
306
307
  ResourceTags: _json,
307
308
  ResourceType: __expectString,
308
309
  RetentionPeriod: _json,
310
+ RuleArn: __expectString,
309
311
  Status: __expectString,
310
312
  });
311
313
  Object.assign(contents, doc);
@@ -428,6 +430,7 @@ export const de_LockRuleCommand = async (output, context) => {
428
430
  ResourceTags: _json,
429
431
  ResourceType: __expectString,
430
432
  RetentionPeriod: _json,
433
+ RuleArn: __expectString,
431
434
  Status: __expectString,
432
435
  });
433
436
  Object.assign(contents, doc);
@@ -516,6 +519,7 @@ export const de_UnlockRuleCommand = async (output, context) => {
516
519
  ResourceTags: _json,
517
520
  ResourceType: __expectString,
518
521
  RetentionPeriod: _json,
522
+ RuleArn: __expectString,
519
523
  Status: __expectString,
520
524
  });
521
525
  Object.assign(contents, doc);
@@ -600,6 +604,7 @@ export const de_UpdateRuleCommand = async (output, context) => {
600
604
  ResourceTags: _json,
601
605
  ResourceType: __expectString,
602
606
  RetentionPeriod: _json,
607
+ RuleArn: __expectString,
603
608
  Status: __expectString,
604
609
  });
605
610
  Object.assign(contents, doc);
@@ -621,6 +626,9 @@ const de_UpdateRuleCommandError = async (output, context) => {
621
626
  case "ResourceNotFoundException":
622
627
  case "com.amazonaws.rbin#ResourceNotFoundException":
623
628
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
629
+ case "ServiceQuotaExceededException":
630
+ case "com.amazonaws.rbin#ServiceQuotaExceededException":
631
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
624
632
  case "ValidationException":
625
633
  case "com.amazonaws.rbin#ValidationException":
626
634
  throw await de_ValidationExceptionRes(parsedOutput, context);
@@ -84,7 +84,7 @@ export interface Rbin {
84
84
  * Recycle Bin, and you can then use it in the same way you use any other resource of that type
85
85
  * in your account. If the retention period expires and the resource is not restored, the resource
86
86
  * is permanently deleted from the Recycle Bin and is no longer available for recovery. For more
87
- * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-recycle-bin.html">
87
+ * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">
88
88
  * Recycle Bin</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
89
89
  */
90
90
  export declare class Rbin extends RbinClient implements Rbin {
@@ -172,7 +172,7 @@ export interface RbinClientResolvedConfig extends RbinClientResolvedConfigType {
172
172
  * Recycle Bin, and you can then use it in the same way you use any other resource of that type
173
173
  * in your account. If the retention period expires and the resource is not restored, the resource
174
174
  * is permanently deleted from the Recycle Bin and is no longer available for recovery. For more
175
- * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-recycle-bin.html">
175
+ * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">
176
176
  * Recycle Bin</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
177
177
  */
178
178
  export declare class RbinClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, RbinClientResolvedConfig> {
@@ -87,6 +87,7 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
87
87
  * // },
88
88
  * // },
89
89
  * // LockState: "locked" || "pending_unlock" || "unlocked",
90
+ * // RuleArn: "STRING_VALUE",
90
91
  * // };
91
92
  *
92
93
  * ```
@@ -58,6 +58,7 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
58
58
  * // },
59
59
  * // LockState: "locked" || "pending_unlock" || "unlocked",
60
60
  * // LockEndTime: new Date("TIMESTAMP"),
61
+ * // RuleArn: "STRING_VALUE",
61
62
  * // };
62
63
  *
63
64
  * ```
@@ -54,6 +54,7 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
54
54
  * // RetentionPeriodUnit: "DAYS", // required
55
55
  * // },
56
56
  * // LockState: "locked" || "pending_unlock" || "unlocked",
57
+ * // RuleArn: "STRING_VALUE",
57
58
  * // },
58
59
  * // ],
59
60
  * // NextToken: "STRING_VALUE",
@@ -63,6 +63,7 @@ export interface LockRuleCommandOutput extends LockRuleResponse, __MetadataBeare
63
63
  * // },
64
64
  * // },
65
65
  * // LockState: "locked" || "pending_unlock" || "unlocked",
66
+ * // RuleArn: "STRING_VALUE",
66
67
  * // };
67
68
  *
68
69
  * ```
@@ -59,6 +59,7 @@ export interface UnlockRuleCommandOutput extends UnlockRuleResponse, __MetadataB
59
59
  * // },
60
60
  * // LockState: "locked" || "pending_unlock" || "unlocked",
61
61
  * // LockEndTime: new Date("TIMESTAMP"),
62
+ * // RuleArn: "STRING_VALUE",
62
63
  * // };
63
64
  *
64
65
  * ```
@@ -67,6 +67,7 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
67
67
  * // Status: "pending" || "available",
68
68
  * // LockState: "locked" || "pending_unlock" || "unlocked",
69
69
  * // LockEndTime: new Date("TIMESTAMP"),
70
+ * // RuleArn: "STRING_VALUE",
70
71
  * // };
71
72
  *
72
73
  * ```
@@ -86,6 +87,9 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
86
87
  * @throws {@link ResourceNotFoundException} (client fault)
87
88
  * <p>The specified resource was not found.</p>
88
89
  *
90
+ * @throws {@link ServiceQuotaExceededException} (client fault)
91
+ * <p>The request would cause a service quota for the number of tags per resource to be exceeded.</p>
92
+ *
89
93
  * @throws {@link ValidationException} (client fault)
90
94
  * <p>One or more of the parameters in the request is not valid.</p>
91
95
  *
@@ -9,7 +9,7 @@
9
9
  * Recycle Bin, and you can then use it in the same way you use any other resource of that type
10
10
  * in your account. If the retention period expires and the resource is not restored, the resource
11
11
  * is permanently deleted from the Recycle Bin and is no longer available for recovery. For more
12
- * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-recycle-bin.html">
12
+ * information about Recycle Bin, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">
13
13
  * Recycle Bin</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
14
14
  *
15
15
  * @packageDocumentation
@@ -259,6 +259,11 @@ export interface CreateRuleResponse {
259
259
  * </ul>
260
260
  */
261
261
  LockState?: LockState;
262
+ /**
263
+ * @public
264
+ * <p>The Amazon Resource Name (ARN) of the retention rule.</p>
265
+ */
266
+ RuleArn?: string;
262
267
  }
263
268
  /**
264
269
  * @public
@@ -491,6 +496,11 @@ export interface GetRuleResponse {
491
496
  * delay period.</p>
492
497
  */
493
498
  LockEndTime?: Date;
499
+ /**
500
+ * @public
501
+ * <p>The Amazon Resource Name (ARN) of the retention rule.</p>
502
+ */
503
+ RuleArn?: string;
494
504
  }
495
505
  /**
496
506
  * @public
@@ -577,6 +587,11 @@ export interface RuleSummary {
577
587
  * </ul>
578
588
  */
579
589
  LockState?: LockState;
590
+ /**
591
+ * @public
592
+ * <p>The Amazon Resource Name (ARN) of the retention rule.</p>
593
+ */
594
+ RuleArn?: string;
580
595
  }
581
596
  /**
582
597
  * @public
@@ -697,6 +712,11 @@ export interface LockRuleResponse {
697
712
  * </ul>
698
713
  */
699
714
  LockState?: LockState;
715
+ /**
716
+ * @public
717
+ * <p>The Amazon Resource Name (ARN) of the retention rule.</p>
718
+ */
719
+ RuleArn?: string;
700
720
  }
701
721
  /**
702
722
  * @public
@@ -804,6 +824,11 @@ export interface UnlockRuleResponse {
804
824
  * delay period.</p>
805
825
  */
806
826
  LockEndTime?: Date;
827
+ /**
828
+ * @public
829
+ * <p>The Amazon Resource Name (ARN) of the retention rule.</p>
830
+ */
831
+ RuleArn?: string;
807
832
  }
808
833
  /**
809
834
  * @public
@@ -936,4 +961,9 @@ export interface UpdateRuleResponse {
936
961
  * delay period.</p>
937
962
  */
938
963
  LockEndTime?: Date;
964
+ /**
965
+ * @public
966
+ * <p>The Amazon Resource Name (ARN) of the retention rule.</p>
967
+ */
968
+ RuleArn?: string;
939
969
  }
@@ -63,6 +63,7 @@ export interface CreateRuleResponse {
63
63
  Status?: RuleStatus;
64
64
  LockConfiguration?: LockConfiguration;
65
65
  LockState?: LockState;
66
+ RuleArn?: string;
66
67
  }
67
68
  export declare class InternalServerException extends __BaseException {
68
69
  readonly name: "InternalServerException";
@@ -144,6 +145,7 @@ export interface GetRuleResponse {
144
145
  LockConfiguration?: LockConfiguration;
145
146
  LockState?: LockState;
146
147
  LockEndTime?: Date;
148
+ RuleArn?: string;
147
149
  }
148
150
  export interface ListRulesRequest {
149
151
  MaxResults?: number;
@@ -157,6 +159,7 @@ export interface RuleSummary {
157
159
  Description?: string;
158
160
  RetentionPeriod?: RetentionPeriod;
159
161
  LockState?: LockState;
162
+ RuleArn?: string;
160
163
  }
161
164
  export interface ListRulesResponse {
162
165
  Rules?: RuleSummary[];
@@ -181,6 +184,7 @@ export interface LockRuleResponse {
181
184
  Status?: RuleStatus;
182
185
  LockConfiguration?: LockConfiguration;
183
186
  LockState?: LockState;
187
+ RuleArn?: string;
184
188
  }
185
189
  export interface TagResourceRequest {
186
190
  ResourceArn: string | undefined;
@@ -200,6 +204,7 @@ export interface UnlockRuleResponse {
200
204
  LockConfiguration?: LockConfiguration;
201
205
  LockState?: LockState;
202
206
  LockEndTime?: Date;
207
+ RuleArn?: string;
203
208
  }
204
209
  export interface UntagResourceRequest {
205
210
  ResourceArn: string | undefined;
@@ -222,4 +227,5 @@ export interface UpdateRuleResponse {
222
227
  Status?: RuleStatus;
223
228
  LockState?: LockState;
224
229
  LockEndTime?: Date;
230
+ RuleArn?: string;
225
231
  }
package/package.json CHANGED
@@ -1,11 +1,10 @@
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.461.0",
4
+ "version": "3.465.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",
8
- "build:docs": "typedoc",
9
8
  "build:es": "tsc -p tsconfig.es.json",
10
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
11
10
  "build:types": "tsc -p tsconfig.types.json",
@@ -21,19 +20,19 @@
21
20
  "dependencies": {
22
21
  "@aws-crypto/sha256-browser": "3.0.0",
23
22
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.461.0",
25
- "@aws-sdk/core": "3.451.0",
26
- "@aws-sdk/credential-provider-node": "3.460.0",
27
- "@aws-sdk/middleware-host-header": "3.460.0",
28
- "@aws-sdk/middleware-logger": "3.460.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.460.0",
30
- "@aws-sdk/middleware-signing": "3.461.0",
31
- "@aws-sdk/middleware-user-agent": "3.460.0",
32
- "@aws-sdk/region-config-resolver": "3.451.0",
33
- "@aws-sdk/types": "3.460.0",
34
- "@aws-sdk/util-endpoints": "3.460.0",
35
- "@aws-sdk/util-user-agent-browser": "3.460.0",
36
- "@aws-sdk/util-user-agent-node": "3.460.0",
23
+ "@aws-sdk/client-sts": "3.465.0",
24
+ "@aws-sdk/core": "3.465.0",
25
+ "@aws-sdk/credential-provider-node": "3.465.0",
26
+ "@aws-sdk/middleware-host-header": "3.465.0",
27
+ "@aws-sdk/middleware-logger": "3.465.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.465.0",
29
+ "@aws-sdk/middleware-signing": "3.465.0",
30
+ "@aws-sdk/middleware-user-agent": "3.465.0",
31
+ "@aws-sdk/region-config-resolver": "3.465.0",
32
+ "@aws-sdk/types": "3.465.0",
33
+ "@aws-sdk/util-endpoints": "3.465.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.465.0",
35
+ "@aws-sdk/util-user-agent-node": "3.465.0",
37
36
  "@smithy/config-resolver": "^2.0.18",
38
37
  "@smithy/fetch-http-handler": "^2.2.6",
39
38
  "@smithy/hash-node": "^2.0.15",
@@ -66,7 +65,6 @@
66
65
  "concurrently": "7.0.0",
67
66
  "downlevel-dts": "0.10.1",
68
67
  "rimraf": "3.0.2",
69
- "typedoc": "0.23.23",
70
68
  "typescript": "~4.9.5"
71
69
  },
72
70
  "engines": {