@aws-sdk/client-rbin 3.427.0 → 3.429.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.
@@ -29,7 +29,7 @@ export interface UnlockDelay {
29
29
  * <p>The unit of time in which to measure the unlock delay. Currently, the unlock delay can
30
30
  * be measure only in days.</p>
31
31
  */
32
- UnlockDelayUnit: UnlockDelayUnit | string | undefined;
32
+ UnlockDelayUnit: UnlockDelayUnit | undefined;
33
33
  }
34
34
  /**
35
35
  * @public
@@ -98,7 +98,7 @@ export interface RetentionPeriod {
98
98
  * <p>The unit of time in which the retention period is measured. Currently, only <code>DAYS</code>
99
99
  * is supported.</p>
100
100
  */
101
- RetentionPeriodUnit: RetentionPeriodUnit | string | undefined;
101
+ RetentionPeriodUnit: RetentionPeriodUnit | undefined;
102
102
  }
103
103
  /**
104
104
  * @public
@@ -141,7 +141,7 @@ export interface CreateRuleRequest {
141
141
  * and EBS-backed AMIs are supported. To retain snapshots, specify <code>EBS_SNAPSHOT</code>. To
142
142
  * retain EBS-backed AMIs, specify <code>EC2_IMAGE</code>.</p>
143
143
  */
144
- ResourceType: ResourceType | string | undefined;
144
+ ResourceType: ResourceType | undefined;
145
145
  /**
146
146
  * @public
147
147
  * <p>Specifies the resource tags to use to identify resources that are to be retained by a
@@ -213,7 +213,7 @@ export interface CreateRuleResponse {
213
213
  * @public
214
214
  * <p>The resource type retained by the retention rule.</p>
215
215
  */
216
- ResourceType?: ResourceType | string;
216
+ ResourceType?: ResourceType;
217
217
  /**
218
218
  * @public
219
219
  * <p>Information about the resource tags used to identify resources that are retained by the retention
@@ -225,7 +225,7 @@ export interface CreateRuleResponse {
225
225
  * <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
226
226
  * state retain resources.</p>
227
227
  */
228
- Status?: RuleStatus | string;
228
+ Status?: RuleStatus;
229
229
  /**
230
230
  * @public
231
231
  * <p>Information about the retention rule lock configuration.</p>
@@ -258,7 +258,7 @@ export interface CreateRuleResponse {
258
258
  * </li>
259
259
  * </ul>
260
260
  */
261
- LockState?: LockState | string;
261
+ LockState?: LockState;
262
262
  }
263
263
  /**
264
264
  * @public
@@ -296,7 +296,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
296
296
  * @public
297
297
  * <p>The reason for the exception.</p>
298
298
  */
299
- Reason?: ServiceQuotaExceededExceptionReason | string;
299
+ Reason?: ServiceQuotaExceededExceptionReason;
300
300
  /**
301
301
  * @internal
302
302
  */
@@ -326,7 +326,7 @@ export declare class ValidationException extends __BaseException {
326
326
  * @public
327
327
  * <p>The reason for the exception.</p>
328
328
  */
329
- Reason?: ValidationExceptionReason | string;
329
+ Reason?: ValidationExceptionReason;
330
330
  /**
331
331
  * @internal
332
332
  */
@@ -355,7 +355,7 @@ export declare class ConflictException extends __BaseException {
355
355
  * @public
356
356
  * <p>The reason for the exception.</p>
357
357
  */
358
- Reason?: ConflictExceptionReason | string;
358
+ Reason?: ConflictExceptionReason;
359
359
  /**
360
360
  * @internal
361
361
  */
@@ -399,7 +399,7 @@ export declare class ResourceNotFoundException extends __BaseException {
399
399
  * @public
400
400
  * <p>The reason for the exception.</p>
401
401
  */
402
- Reason?: ResourceNotFoundExceptionReason | string;
402
+ Reason?: ResourceNotFoundExceptionReason;
403
403
  /**
404
404
  * @internal
405
405
  */
@@ -433,7 +433,7 @@ export interface GetRuleResponse {
433
433
  * @public
434
434
  * <p>The resource type retained by the retention rule.</p>
435
435
  */
436
- ResourceType?: ResourceType | string;
436
+ ResourceType?: ResourceType;
437
437
  /**
438
438
  * @public
439
439
  * <p>Information about the retention period for which the retention rule is to retain resources.</p>
@@ -450,7 +450,7 @@ export interface GetRuleResponse {
450
450
  * <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
451
451
  * state retain resources.</p>
452
452
  */
453
- Status?: RuleStatus | string;
453
+ Status?: RuleStatus;
454
454
  /**
455
455
  * @public
456
456
  * <p>Information about the retention rule lock configuration.</p>
@@ -483,7 +483,7 @@ export interface GetRuleResponse {
483
483
  * </li>
484
484
  * </ul>
485
485
  */
486
- LockState?: LockState | string;
486
+ LockState?: LockState;
487
487
  /**
488
488
  * @public
489
489
  * <p>The date and time at which the unlock delay is set to expire. Only returned
@@ -515,7 +515,7 @@ export interface ListRulesRequest {
515
515
  * <code>EBS_SNAPSHOT</code>. To list retention rules that retain EBS-backed AMIs, specify
516
516
  * <code>EC2_IMAGE</code>.</p>
517
517
  */
518
- ResourceType: ResourceType | string | undefined;
518
+ ResourceType: ResourceType | undefined;
519
519
  /**
520
520
  * @public
521
521
  * <p>Information about the resource tags used to identify resources that are retained by the retention
@@ -527,7 +527,7 @@ export interface ListRulesRequest {
527
527
  * <p>The lock state of the retention rules to list. Only retention rules with the specified
528
528
  * lock state are returned.</p>
529
529
  */
530
- LockState?: LockState | string;
530
+ LockState?: LockState;
531
531
  }
532
532
  /**
533
533
  * @public
@@ -576,7 +576,7 @@ export interface RuleSummary {
576
576
  * </li>
577
577
  * </ul>
578
578
  */
579
- LockState?: LockState | string;
579
+ LockState?: LockState;
580
580
  }
581
581
  /**
582
582
  * @public
@@ -646,7 +646,7 @@ export interface LockRuleResponse {
646
646
  * @public
647
647
  * <p>The resource type retained by the retention rule.</p>
648
648
  */
649
- ResourceType?: ResourceType | string;
649
+ ResourceType?: ResourceType;
650
650
  /**
651
651
  * @public
652
652
  * <p>Information about the retention period for which the retention rule is to retain resources.</p>
@@ -663,7 +663,7 @@ export interface LockRuleResponse {
663
663
  * <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
664
664
  * state retain resources.</p>
665
665
  */
666
- Status?: RuleStatus | string;
666
+ Status?: RuleStatus;
667
667
  /**
668
668
  * @public
669
669
  * <p>Information about the retention rule lock configuration.</p>
@@ -696,7 +696,7 @@ export interface LockRuleResponse {
696
696
  * </li>
697
697
  * </ul>
698
698
  */
699
- LockState?: LockState | string;
699
+ LockState?: LockState;
700
700
  }
701
701
  /**
702
702
  * @public
@@ -746,7 +746,7 @@ export interface UnlockRuleResponse {
746
746
  * @public
747
747
  * <p>The resource type retained by the retention rule.</p>
748
748
  */
749
- ResourceType?: ResourceType | string;
749
+ ResourceType?: ResourceType;
750
750
  /**
751
751
  * @public
752
752
  * <p>Information about the retention period for which the retention rule is to retain resources.</p>
@@ -763,7 +763,7 @@ export interface UnlockRuleResponse {
763
763
  * <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
764
764
  * state retain resources.</p>
765
765
  */
766
- Status?: RuleStatus | string;
766
+ Status?: RuleStatus;
767
767
  /**
768
768
  * @public
769
769
  * <p>Information about the retention rule lock configuration.</p>
@@ -796,7 +796,7 @@ export interface UnlockRuleResponse {
796
796
  * </li>
797
797
  * </ul>
798
798
  */
799
- LockState?: LockState | string;
799
+ LockState?: LockState;
800
800
  /**
801
801
  * @public
802
802
  * <p>The date and time at which the unlock delay is set to expire. Only returned
@@ -851,7 +851,7 @@ export interface UpdateRuleRequest {
851
851
  * after creation.</p>
852
852
  * </note>
853
853
  */
854
- ResourceType?: ResourceType | string;
854
+ ResourceType?: ResourceType;
855
855
  /**
856
856
  * @public
857
857
  * <p>Specifies the resource tags to use to identify resources that are to be retained by a
@@ -888,7 +888,7 @@ export interface UpdateRuleResponse {
888
888
  * @public
889
889
  * <p>The resource type retained by the retention rule.</p>
890
890
  */
891
- ResourceType?: ResourceType | string;
891
+ ResourceType?: ResourceType;
892
892
  /**
893
893
  * @public
894
894
  * <p>Information about the resource tags used to identify resources that are retained by the retention
@@ -900,7 +900,7 @@ export interface UpdateRuleResponse {
900
900
  * <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
901
901
  * state retain resources.</p>
902
902
  */
903
- Status?: RuleStatus | string;
903
+ Status?: RuleStatus;
904
904
  /**
905
905
  * @public
906
906
  * <p>The lock state for the retention rule.</p>
@@ -928,7 +928,7 @@ export interface UpdateRuleResponse {
928
928
  * </li>
929
929
  * </ul>
930
930
  */
931
- LockState?: LockState | string;
931
+ LockState?: LockState;
932
932
  /**
933
933
  * @public
934
934
  * <p>The date and time at which the unlock delay is set to expire. Only returned
@@ -7,7 +7,7 @@ export type UnlockDelayUnit =
7
7
  (typeof UnlockDelayUnit)[keyof typeof UnlockDelayUnit];
8
8
  export interface UnlockDelay {
9
9
  UnlockDelayValue: number | undefined;
10
- UnlockDelayUnit: UnlockDelayUnit | string | undefined;
10
+ UnlockDelayUnit: UnlockDelayUnit | undefined;
11
11
  }
12
12
  export interface LockConfiguration {
13
13
  UnlockDelay: UnlockDelay | undefined;
@@ -28,7 +28,7 @@ export type RetentionPeriodUnit =
28
28
  (typeof RetentionPeriodUnit)[keyof typeof RetentionPeriodUnit];
29
29
  export interface RetentionPeriod {
30
30
  RetentionPeriodValue: number | undefined;
31
- RetentionPeriodUnit: RetentionPeriodUnit | string | undefined;
31
+ RetentionPeriodUnit: RetentionPeriodUnit | undefined;
32
32
  }
33
33
  export interface Tag {
34
34
  Key: string | undefined;
@@ -38,7 +38,7 @@ export interface CreateRuleRequest {
38
38
  RetentionPeriod: RetentionPeriod | undefined;
39
39
  Description?: string;
40
40
  Tags?: Tag[];
41
- ResourceType: ResourceType | string | undefined;
41
+ ResourceType: ResourceType | undefined;
42
42
  ResourceTags?: ResourceTag[];
43
43
  LockConfiguration?: LockConfiguration;
44
44
  }
@@ -58,11 +58,11 @@ export interface CreateRuleResponse {
58
58
  RetentionPeriod?: RetentionPeriod;
59
59
  Description?: string;
60
60
  Tags?: Tag[];
61
- ResourceType?: ResourceType | string;
61
+ ResourceType?: ResourceType;
62
62
  ResourceTags?: ResourceTag[];
63
- Status?: RuleStatus | string;
63
+ Status?: RuleStatus;
64
64
  LockConfiguration?: LockConfiguration;
65
- LockState?: LockState | string;
65
+ LockState?: LockState;
66
66
  }
67
67
  export declare class InternalServerException extends __BaseException {
68
68
  readonly name: "InternalServerException";
@@ -81,7 +81,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
81
81
  readonly name: "ServiceQuotaExceededException";
82
82
  readonly $fault: "client";
83
83
  Message?: string;
84
- Reason?: ServiceQuotaExceededExceptionReason | string;
84
+ Reason?: ServiceQuotaExceededExceptionReason;
85
85
  constructor(
86
86
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
87
87
  );
@@ -96,7 +96,7 @@ export declare class ValidationException extends __BaseException {
96
96
  readonly name: "ValidationException";
97
97
  readonly $fault: "client";
98
98
  Message?: string;
99
- Reason?: ValidationExceptionReason | string;
99
+ Reason?: ValidationExceptionReason;
100
100
  constructor(
101
101
  opts: __ExceptionOptionType<ValidationException, __BaseException>
102
102
  );
@@ -110,7 +110,7 @@ export declare class ConflictException extends __BaseException {
110
110
  readonly name: "ConflictException";
111
111
  readonly $fault: "client";
112
112
  Message?: string;
113
- Reason?: ConflictExceptionReason | string;
113
+ Reason?: ConflictExceptionReason;
114
114
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
115
115
  }
116
116
  export interface DeleteRuleRequest {
@@ -126,7 +126,7 @@ export declare class ResourceNotFoundException extends __BaseException {
126
126
  readonly name: "ResourceNotFoundException";
127
127
  readonly $fault: "client";
128
128
  Message?: string;
129
- Reason?: ResourceNotFoundExceptionReason | string;
129
+ Reason?: ResourceNotFoundExceptionReason;
130
130
  constructor(
131
131
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
132
132
  );
@@ -137,26 +137,26 @@ export interface GetRuleRequest {
137
137
  export interface GetRuleResponse {
138
138
  Identifier?: string;
139
139
  Description?: string;
140
- ResourceType?: ResourceType | string;
140
+ ResourceType?: ResourceType;
141
141
  RetentionPeriod?: RetentionPeriod;
142
142
  ResourceTags?: ResourceTag[];
143
- Status?: RuleStatus | string;
143
+ Status?: RuleStatus;
144
144
  LockConfiguration?: LockConfiguration;
145
- LockState?: LockState | string;
145
+ LockState?: LockState;
146
146
  LockEndTime?: Date;
147
147
  }
148
148
  export interface ListRulesRequest {
149
149
  MaxResults?: number;
150
150
  NextToken?: string;
151
- ResourceType: ResourceType | string | undefined;
151
+ ResourceType: ResourceType | undefined;
152
152
  ResourceTags?: ResourceTag[];
153
- LockState?: LockState | string;
153
+ LockState?: LockState;
154
154
  }
155
155
  export interface RuleSummary {
156
156
  Identifier?: string;
157
157
  Description?: string;
158
158
  RetentionPeriod?: RetentionPeriod;
159
- LockState?: LockState | string;
159
+ LockState?: LockState;
160
160
  }
161
161
  export interface ListRulesResponse {
162
162
  Rules?: RuleSummary[];
@@ -175,12 +175,12 @@ export interface LockRuleRequest {
175
175
  export interface LockRuleResponse {
176
176
  Identifier?: string;
177
177
  Description?: string;
178
- ResourceType?: ResourceType | string;
178
+ ResourceType?: ResourceType;
179
179
  RetentionPeriod?: RetentionPeriod;
180
180
  ResourceTags?: ResourceTag[];
181
- Status?: RuleStatus | string;
181
+ Status?: RuleStatus;
182
182
  LockConfiguration?: LockConfiguration;
183
- LockState?: LockState | string;
183
+ LockState?: LockState;
184
184
  }
185
185
  export interface TagResourceRequest {
186
186
  ResourceArn: string | undefined;
@@ -193,12 +193,12 @@ export interface UnlockRuleRequest {
193
193
  export interface UnlockRuleResponse {
194
194
  Identifier?: string;
195
195
  Description?: string;
196
- ResourceType?: ResourceType | string;
196
+ ResourceType?: ResourceType;
197
197
  RetentionPeriod?: RetentionPeriod;
198
198
  ResourceTags?: ResourceTag[];
199
- Status?: RuleStatus | string;
199
+ Status?: RuleStatus;
200
200
  LockConfiguration?: LockConfiguration;
201
- LockState?: LockState | string;
201
+ LockState?: LockState;
202
202
  LockEndTime?: Date;
203
203
  }
204
204
  export interface UntagResourceRequest {
@@ -210,16 +210,16 @@ export interface UpdateRuleRequest {
210
210
  Identifier: string | undefined;
211
211
  RetentionPeriod?: RetentionPeriod;
212
212
  Description?: string;
213
- ResourceType?: ResourceType | string;
213
+ ResourceType?: ResourceType;
214
214
  ResourceTags?: ResourceTag[];
215
215
  }
216
216
  export interface UpdateRuleResponse {
217
217
  Identifier?: string;
218
218
  RetentionPeriod?: RetentionPeriod;
219
219
  Description?: string;
220
- ResourceType?: ResourceType | string;
220
+ ResourceType?: ResourceType;
221
221
  ResourceTags?: ResourceTag[];
222
- Status?: RuleStatus | string;
223
- LockState?: LockState | string;
222
+ Status?: RuleStatus;
223
+ LockState?: LockState;
224
224
  LockEndTime?: Date;
225
225
  }
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.427.0",
4
+ "version": "3.429.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,39 +21,39 @@
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.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },