@aws-sdk/client-dlm 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.
@@ -53,7 +53,7 @@ export interface CrossRegionCopyRetainRule {
53
53
  * <p>The unit of time for time-based retention. For example, to retain a cross-Region copy for
54
54
  * 3 months, specify <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>
55
55
  */
56
- IntervalUnit?: RetentionIntervalUnitValues | string;
56
+ IntervalUnit?: RetentionIntervalUnitValues;
57
57
  }
58
58
  /**
59
59
  * @public
@@ -136,7 +136,7 @@ export interface RetentionArchiveTier {
136
136
  * example, to retain a snapshots in the archive tier for 6 months, specify <code>Interval=6</code>
137
137
  * and <code>IntervalUnit=MONTHS</code>.</p>
138
138
  */
139
- IntervalUnit?: RetentionIntervalUnitValues | string;
139
+ IntervalUnit?: RetentionIntervalUnitValues;
140
140
  }
141
141
  /**
142
142
  * @public
@@ -185,7 +185,7 @@ export interface EventParameters {
185
185
  * @public
186
186
  * <p>The type of event. Currently, only snapshot sharing events are supported.</p>
187
187
  */
188
- EventType: EventTypeValues | string | undefined;
188
+ EventType: EventTypeValues | undefined;
189
189
  /**
190
190
  * @public
191
191
  * <p>The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account.
@@ -224,7 +224,7 @@ export interface EventSource {
224
224
  * @public
225
225
  * <p>The source of the event. Currently only managed CloudWatch Events rules are supported.</p>
226
226
  */
227
- Type: EventSourceValues | string | undefined;
227
+ Type: EventSourceValues | undefined;
228
228
  /**
229
229
  * @public
230
230
  * <p>Information about the event.</p>
@@ -380,7 +380,7 @@ export interface CreateRule {
380
380
  * Outpost, then you can create snapshots on the same Outpost as the source resource, or in
381
381
  * the Region of that Outpost.</p>
382
382
  */
383
- Location?: LocationValues | string;
383
+ Location?: LocationValues;
384
384
  /**
385
385
  * @public
386
386
  * <p>The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.</p>
@@ -390,7 +390,7 @@ export interface CreateRule {
390
390
  * @public
391
391
  * <p>The interval unit.</p>
392
392
  */
393
- IntervalUnit?: IntervalUnitValues | string;
393
+ IntervalUnit?: IntervalUnitValues;
394
394
  /**
395
395
  * @public
396
396
  * <p>The time, in UTC, to start the operation. The supported format is hh:mm.</p>
@@ -425,7 +425,7 @@ export interface CrossRegionCopyDeprecateRule {
425
425
  * to deprecate a cross-Region AMI copy after 3 months, specify <code>Interval=3</code> and
426
426
  * <code>IntervalUnit=MONTHS</code>.</p>
427
427
  */
428
- IntervalUnit?: RetentionIntervalUnitValues | string;
428
+ IntervalUnit?: RetentionIntervalUnitValues;
429
429
  }
430
430
  /**
431
431
  * @public
@@ -516,7 +516,7 @@ export interface DeprecateRule {
516
516
  * @public
517
517
  * <p>The unit of time in which to measure the <b>Interval</b>.</p>
518
518
  */
519
- IntervalUnit?: RetentionIntervalUnitValues | string;
519
+ IntervalUnit?: RetentionIntervalUnitValues;
520
520
  }
521
521
  /**
522
522
  * @public
@@ -541,7 +541,7 @@ export interface FastRestoreRule {
541
541
  * @public
542
542
  * <p>The unit of time for enabling fast snapshot restore.</p>
543
543
  */
544
- IntervalUnit?: RetentionIntervalUnitValues | string;
544
+ IntervalUnit?: RetentionIntervalUnitValues;
545
545
  /**
546
546
  * @public
547
547
  * <p>The Availability Zones in which to enable fast snapshot restore.</p>
@@ -607,7 +607,7 @@ export interface RetainRule {
607
607
  * 3 months, it is deleted, or it is moved to the archive tier if you have specified an
608
608
  * <a>ArchiveRule</a>.</p>
609
609
  */
610
- IntervalUnit?: RetentionIntervalUnitValues | string;
610
+ IntervalUnit?: RetentionIntervalUnitValues;
611
611
  }
612
612
  /**
613
613
  * @public
@@ -629,7 +629,7 @@ export interface ShareRule {
629
629
  * @public
630
630
  * <p>The unit of time for the automatic unsharing interval.</p>
631
631
  */
632
- UnshareIntervalUnit?: RetentionIntervalUnitValues | string;
632
+ UnshareIntervalUnit?: RetentionIntervalUnitValues;
633
633
  }
634
634
  /**
635
635
  * @public
@@ -729,7 +729,7 @@ export interface PolicyDetails {
729
729
  * to create an event-based policy that performs specific actions when a defined event occurs in your Amazon Web Services account.</p>
730
730
  * <p>The default is <code>EBS_SNAPSHOT_MANAGEMENT</code>.</p>
731
731
  */
732
- PolicyType?: PolicyTypeValues | string;
732
+ PolicyType?: PolicyTypeValues;
733
733
  /**
734
734
  * @public
735
735
  * <p>
@@ -737,7 +737,7 @@ export interface PolicyDetails {
737
737
  * create snapshots of individual volumes or use <code>INSTANCE</code> to create multi-volume
738
738
  * snapshots from the volumes for an instance.</p>
739
739
  */
740
- ResourceTypes?: (ResourceTypeValues | string)[];
740
+ ResourceTypes?: ResourceTypeValues[];
741
741
  /**
742
742
  * @public
743
743
  * <p>
@@ -747,7 +747,7 @@ export interface PolicyDetails {
747
747
  * <p>If you specify <code>OUTPOST</code>, Amazon Data Lifecycle Manager backs up all resources
748
748
  * of the specified type with matching target tags across all of the Outposts in your account.</p>
749
749
  */
750
- ResourceLocations?: (ResourceLocationValues | string)[];
750
+ ResourceLocations?: ResourceLocationValues[];
751
751
  /**
752
752
  * @public
753
753
  * <p>
@@ -819,7 +819,7 @@ export interface CreateLifecyclePolicyRequest {
819
819
  * @public
820
820
  * <p>The desired activation state of the lifecycle policy after creation.</p>
821
821
  */
822
- State: SettablePolicyStateValues | string | undefined;
822
+ State: SettablePolicyStateValues | undefined;
823
823
  /**
824
824
  * @public
825
825
  * <p>The configuration details of the lifecycle policy.</p>
@@ -964,12 +964,12 @@ export interface GetLifecyclePoliciesRequest {
964
964
  * @public
965
965
  * <p>The activation state.</p>
966
966
  */
967
- State?: GettablePolicyStateValues | string;
967
+ State?: GettablePolicyStateValues;
968
968
  /**
969
969
  * @public
970
970
  * <p>The resource type.</p>
971
971
  */
972
- ResourceTypes?: (ResourceTypeValues | string)[];
972
+ ResourceTypes?: ResourceTypeValues[];
973
973
  /**
974
974
  * @public
975
975
  * <p>The target tag for a policy.</p>
@@ -1003,7 +1003,7 @@ export interface LifecyclePolicySummary {
1003
1003
  * @public
1004
1004
  * <p>The activation state of the lifecycle policy.</p>
1005
1005
  */
1006
- State?: GettablePolicyStateValues | string;
1006
+ State?: GettablePolicyStateValues;
1007
1007
  /**
1008
1008
  * @public
1009
1009
  * <p>The tags.</p>
@@ -1017,7 +1017,7 @@ export interface LifecyclePolicySummary {
1017
1017
  * <code>EVENT_BASED_POLICY</code> indicates that the policy automates cross-account
1018
1018
  * snapshot copies for snapshots that are shared with your account.</p>
1019
1019
  */
1020
- PolicyType?: PolicyTypeValues | string;
1020
+ PolicyType?: PolicyTypeValues;
1021
1021
  }
1022
1022
  /**
1023
1023
  * @public
@@ -1059,7 +1059,7 @@ export interface LifecyclePolicy {
1059
1059
  * @public
1060
1060
  * <p>The activation state of the lifecycle policy.</p>
1061
1061
  */
1062
- State?: GettablePolicyStateValues | string;
1062
+ State?: GettablePolicyStateValues;
1063
1063
  /**
1064
1064
  * @public
1065
1065
  * <p>The description of the status.</p>
@@ -1186,7 +1186,7 @@ export interface UpdateLifecyclePolicyRequest {
1186
1186
  * @public
1187
1187
  * <p>The desired activation state of the lifecycle policy after creation.</p>
1188
1188
  */
1189
- State?: SettablePolicyStateValues | string;
1189
+ State?: SettablePolicyStateValues;
1190
1190
  /**
1191
1191
  * @public
1192
1192
  * <p>A description of the lifecycle policy.</p>
@@ -14,7 +14,7 @@ export type RetentionIntervalUnitValues =
14
14
  (typeof RetentionIntervalUnitValues)[keyof typeof RetentionIntervalUnitValues];
15
15
  export interface CrossRegionCopyRetainRule {
16
16
  Interval?: number;
17
- IntervalUnit?: RetentionIntervalUnitValues | string;
17
+ IntervalUnit?: RetentionIntervalUnitValues;
18
18
  }
19
19
  export interface CrossRegionCopyAction {
20
20
  Target: string | undefined;
@@ -28,7 +28,7 @@ export interface Action {
28
28
  export interface RetentionArchiveTier {
29
29
  Count?: number;
30
30
  Interval?: number;
31
- IntervalUnit?: RetentionIntervalUnitValues | string;
31
+ IntervalUnit?: RetentionIntervalUnitValues;
32
32
  }
33
33
  export interface ArchiveRetainRule {
34
34
  RetentionArchiveTier: RetentionArchiveTier | undefined;
@@ -42,7 +42,7 @@ export declare const EventTypeValues: {
42
42
  export type EventTypeValues =
43
43
  (typeof EventTypeValues)[keyof typeof EventTypeValues];
44
44
  export interface EventParameters {
45
- EventType: EventTypeValues | string | undefined;
45
+ EventType: EventTypeValues | undefined;
46
46
  SnapshotOwner: string[] | undefined;
47
47
  DescriptionRegex: string | undefined;
48
48
  }
@@ -52,7 +52,7 @@ export declare const EventSourceValues: {
52
52
  export type EventSourceValues =
53
53
  (typeof EventSourceValues)[keyof typeof EventSourceValues];
54
54
  export interface EventSource {
55
- Type: EventSourceValues | string | undefined;
55
+ Type: EventSourceValues | undefined;
56
56
  Parameters?: EventParameters;
57
57
  }
58
58
  export interface Tag {
@@ -95,15 +95,15 @@ export declare const LocationValues: {
95
95
  export type LocationValues =
96
96
  (typeof LocationValues)[keyof typeof LocationValues];
97
97
  export interface CreateRule {
98
- Location?: LocationValues | string;
98
+ Location?: LocationValues;
99
99
  Interval?: number;
100
- IntervalUnit?: IntervalUnitValues | string;
100
+ IntervalUnit?: IntervalUnitValues;
101
101
  Times?: string[];
102
102
  CronExpression?: string;
103
103
  }
104
104
  export interface CrossRegionCopyDeprecateRule {
105
105
  Interval?: number;
106
- IntervalUnit?: RetentionIntervalUnitValues | string;
106
+ IntervalUnit?: RetentionIntervalUnitValues;
107
107
  }
108
108
  export interface CrossRegionCopyRule {
109
109
  TargetRegion?: string;
@@ -117,23 +117,23 @@ export interface CrossRegionCopyRule {
117
117
  export interface DeprecateRule {
118
118
  Count?: number;
119
119
  Interval?: number;
120
- IntervalUnit?: RetentionIntervalUnitValues | string;
120
+ IntervalUnit?: RetentionIntervalUnitValues;
121
121
  }
122
122
  export interface FastRestoreRule {
123
123
  Count?: number;
124
124
  Interval?: number;
125
- IntervalUnit?: RetentionIntervalUnitValues | string;
125
+ IntervalUnit?: RetentionIntervalUnitValues;
126
126
  AvailabilityZones: string[] | undefined;
127
127
  }
128
128
  export interface RetainRule {
129
129
  Count?: number;
130
130
  Interval?: number;
131
- IntervalUnit?: RetentionIntervalUnitValues | string;
131
+ IntervalUnit?: RetentionIntervalUnitValues;
132
132
  }
133
133
  export interface ShareRule {
134
134
  TargetAccounts: string[] | undefined;
135
135
  UnshareInterval?: number;
136
- UnshareIntervalUnit?: RetentionIntervalUnitValues | string;
136
+ UnshareIntervalUnit?: RetentionIntervalUnitValues;
137
137
  }
138
138
  export interface Schedule {
139
139
  Name?: string;
@@ -149,9 +149,9 @@ export interface Schedule {
149
149
  ArchiveRule?: ArchiveRule;
150
150
  }
151
151
  export interface PolicyDetails {
152
- PolicyType?: PolicyTypeValues | string;
153
- ResourceTypes?: (ResourceTypeValues | string)[];
154
- ResourceLocations?: (ResourceLocationValues | string)[];
152
+ PolicyType?: PolicyTypeValues;
153
+ ResourceTypes?: ResourceTypeValues[];
154
+ ResourceLocations?: ResourceLocationValues[];
155
155
  TargetTags?: Tag[];
156
156
  Schedules?: Schedule[];
157
157
  Parameters?: _Parameters;
@@ -167,7 +167,7 @@ export type SettablePolicyStateValues =
167
167
  export interface CreateLifecyclePolicyRequest {
168
168
  ExecutionRoleArn: string | undefined;
169
169
  Description: string | undefined;
170
- State: SettablePolicyStateValues | string | undefined;
170
+ State: SettablePolicyStateValues | undefined;
171
171
  PolicyDetails: PolicyDetails | undefined;
172
172
  Tags?: Record<string, string>;
173
173
  }
@@ -228,17 +228,17 @@ export type GettablePolicyStateValues =
228
228
  (typeof GettablePolicyStateValues)[keyof typeof GettablePolicyStateValues];
229
229
  export interface GetLifecyclePoliciesRequest {
230
230
  PolicyIds?: string[];
231
- State?: GettablePolicyStateValues | string;
232
- ResourceTypes?: (ResourceTypeValues | string)[];
231
+ State?: GettablePolicyStateValues;
232
+ ResourceTypes?: ResourceTypeValues[];
233
233
  TargetTags?: string[];
234
234
  TagsToAdd?: string[];
235
235
  }
236
236
  export interface LifecyclePolicySummary {
237
237
  PolicyId?: string;
238
238
  Description?: string;
239
- State?: GettablePolicyStateValues | string;
239
+ State?: GettablePolicyStateValues;
240
240
  Tags?: Record<string, string>;
241
- PolicyType?: PolicyTypeValues | string;
241
+ PolicyType?: PolicyTypeValues;
242
242
  }
243
243
  export interface GetLifecyclePoliciesResponse {
244
244
  Policies?: LifecyclePolicySummary[];
@@ -249,7 +249,7 @@ export interface GetLifecyclePolicyRequest {
249
249
  export interface LifecyclePolicy {
250
250
  PolicyId?: string;
251
251
  Description?: string;
252
- State?: GettablePolicyStateValues | string;
252
+ State?: GettablePolicyStateValues;
253
253
  StatusMessage?: string;
254
254
  ExecutionRoleArn?: string;
255
255
  DateCreated?: Date;
@@ -280,7 +280,7 @@ export interface UntagResourceResponse {}
280
280
  export interface UpdateLifecyclePolicyRequest {
281
281
  PolicyId: string | undefined;
282
282
  ExecutionRoleArn?: string;
283
- State?: SettablePolicyStateValues | string;
283
+ State?: SettablePolicyStateValues;
284
284
  Description?: string;
285
285
  PolicyDetails?: PolicyDetails;
286
286
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dlm",
3
3
  "description": "AWS SDK for JavaScript Dlm 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
  },