@aws-sdk/client-dlm 3.450.0 → 3.453.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.
@@ -36,6 +36,24 @@ export interface ArchiveRetainRule {
36
36
  export interface ArchiveRule {
37
37
  RetainRule: ArchiveRetainRule | undefined;
38
38
  }
39
+ export interface CrossRegionCopyTarget {
40
+ TargetRegion?: string;
41
+ }
42
+ export declare const DefaultPolicyTypeValues: {
43
+ readonly INSTANCE: "INSTANCE";
44
+ readonly VOLUME: "VOLUME";
45
+ };
46
+ export type DefaultPolicyTypeValues =
47
+ (typeof DefaultPolicyTypeValues)[keyof typeof DefaultPolicyTypeValues];
48
+ export interface Tag {
49
+ Key: string | undefined;
50
+ Value: string | undefined;
51
+ }
52
+ export interface Exclusions {
53
+ ExcludeBootVolumes?: boolean;
54
+ ExcludeVolumeTypes?: string[];
55
+ ExcludeTags?: Tag[];
56
+ }
39
57
  export declare const EventTypeValues: {
40
58
  readonly SHARE_SNAPSHOT: "shareSnapshot";
41
59
  };
@@ -55,15 +73,17 @@ export interface EventSource {
55
73
  Type: EventSourceValues | undefined;
56
74
  Parameters?: EventParameters;
57
75
  }
58
- export interface Tag {
59
- Key: string | undefined;
60
- Value: string | undefined;
61
- }
62
76
  export interface _Parameters {
63
77
  ExcludeBootVolume?: boolean;
64
78
  NoReboot?: boolean;
65
79
  ExcludeDataVolumeTags?: Tag[];
66
80
  }
81
+ export declare const PolicyLanguageValues: {
82
+ readonly SIMPLIFIED: "SIMPLIFIED";
83
+ readonly STANDARD: "STANDARD";
84
+ };
85
+ export type PolicyLanguageValues =
86
+ (typeof PolicyLanguageValues)[keyof typeof PolicyLanguageValues];
67
87
  export declare const PolicyTypeValues: {
68
88
  readonly EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT";
69
89
  readonly EVENT_BASED_POLICY: "EVENT_BASED_POLICY";
@@ -176,6 +196,14 @@ export interface PolicyDetails {
176
196
  Parameters?: _Parameters;
177
197
  EventSource?: EventSource;
178
198
  Actions?: Action[];
199
+ PolicyLanguage?: PolicyLanguageValues;
200
+ ResourceType?: ResourceTypeValues;
201
+ CreateInterval?: number;
202
+ RetainInterval?: number;
203
+ CopyTags?: boolean;
204
+ CrossRegionCopyTargets?: CrossRegionCopyTarget[];
205
+ ExtendDeletion?: boolean;
206
+ Exclusions?: Exclusions;
179
207
  }
180
208
  export declare const SettablePolicyStateValues: {
181
209
  readonly DISABLED: "DISABLED";
@@ -187,8 +215,15 @@ export interface CreateLifecyclePolicyRequest {
187
215
  ExecutionRoleArn: string | undefined;
188
216
  Description: string | undefined;
189
217
  State: SettablePolicyStateValues | undefined;
190
- PolicyDetails: PolicyDetails | undefined;
218
+ PolicyDetails?: PolicyDetails;
191
219
  Tags?: Record<string, string>;
220
+ DefaultPolicy?: DefaultPolicyTypeValues;
221
+ CreateInterval?: number;
222
+ RetainInterval?: number;
223
+ CopyTags?: boolean;
224
+ ExtendDeletion?: boolean;
225
+ CrossRegionCopyTargets?: CrossRegionCopyTarget[];
226
+ Exclusions?: Exclusions;
192
227
  }
193
228
  export interface CreateLifecyclePolicyResponse {
194
229
  PolicyId?: string;
@@ -223,6 +258,13 @@ export declare class LimitExceededException extends __BaseException {
223
258
  opts: __ExceptionOptionType<LimitExceededException, __BaseException>
224
259
  );
225
260
  }
261
+ export declare const DefaultPoliciesTypeValues: {
262
+ readonly ALL: "ALL";
263
+ readonly INSTANCE: "INSTANCE";
264
+ readonly VOLUME: "VOLUME";
265
+ };
266
+ export type DefaultPoliciesTypeValues =
267
+ (typeof DefaultPoliciesTypeValues)[keyof typeof DefaultPoliciesTypeValues];
226
268
  export interface DeleteLifecyclePolicyRequest {
227
269
  PolicyId: string | undefined;
228
270
  }
@@ -251,6 +293,7 @@ export interface GetLifecyclePoliciesRequest {
251
293
  ResourceTypes?: ResourceTypeValues[];
252
294
  TargetTags?: string[];
253
295
  TagsToAdd?: string[];
296
+ DefaultPolicyType?: DefaultPoliciesTypeValues;
254
297
  }
255
298
  export interface LifecyclePolicySummary {
256
299
  PolicyId?: string;
@@ -258,6 +301,7 @@ export interface LifecyclePolicySummary {
258
301
  State?: GettablePolicyStateValues;
259
302
  Tags?: Record<string, string>;
260
303
  PolicyType?: PolicyTypeValues;
304
+ DefaultPolicy?: boolean;
261
305
  }
262
306
  export interface GetLifecyclePoliciesResponse {
263
307
  Policies?: LifecyclePolicySummary[];
@@ -276,6 +320,7 @@ export interface LifecyclePolicy {
276
320
  PolicyDetails?: PolicyDetails;
277
321
  Tags?: Record<string, string>;
278
322
  PolicyArn?: string;
323
+ DefaultPolicy?: boolean;
279
324
  }
280
325
  export interface GetLifecyclePolicyResponse {
281
326
  Policy?: LifecyclePolicy;
@@ -302,5 +347,11 @@ export interface UpdateLifecyclePolicyRequest {
302
347
  State?: SettablePolicyStateValues;
303
348
  Description?: string;
304
349
  PolicyDetails?: PolicyDetails;
350
+ CreateInterval?: number;
351
+ RetainInterval?: number;
352
+ CopyTags?: boolean;
353
+ ExtendDeletion?: boolean;
354
+ CrossRegionCopyTargets?: CrossRegionCopyTarget[];
355
+ Exclusions?: Exclusions;
305
356
  }
306
357
  export interface UpdateLifecyclePolicyResponse {}
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.450.0",
4
+ "version": "3.453.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,42 +21,42 @@
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.450.0",
25
- "@aws-sdk/core": "3.445.0",
26
- "@aws-sdk/credential-provider-node": "3.450.0",
27
- "@aws-sdk/middleware-host-header": "3.449.0",
28
- "@aws-sdk/middleware-logger": "3.449.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.449.0",
30
- "@aws-sdk/middleware-signing": "3.449.0",
31
- "@aws-sdk/middleware-user-agent": "3.449.0",
32
- "@aws-sdk/region-config-resolver": "3.433.0",
33
- "@aws-sdk/types": "3.449.0",
34
- "@aws-sdk/util-endpoints": "3.449.0",
35
- "@aws-sdk/util-user-agent-browser": "3.449.0",
36
- "@aws-sdk/util-user-agent-node": "3.449.0",
37
- "@smithy/config-resolver": "^2.0.16",
38
- "@smithy/fetch-http-handler": "^2.2.4",
39
- "@smithy/hash-node": "^2.0.12",
40
- "@smithy/invalid-dependency": "^2.0.12",
41
- "@smithy/middleware-content-length": "^2.0.14",
42
- "@smithy/middleware-endpoint": "^2.1.3",
43
- "@smithy/middleware-retry": "^2.0.18",
44
- "@smithy/middleware-serde": "^2.0.12",
45
- "@smithy/middleware-stack": "^2.0.6",
46
- "@smithy/node-config-provider": "^2.1.3",
47
- "@smithy/node-http-handler": "^2.1.8",
48
- "@smithy/protocol-http": "^3.0.8",
49
- "@smithy/smithy-client": "^2.1.12",
50
- "@smithy/types": "^2.4.0",
51
- "@smithy/url-parser": "^2.0.12",
52
- "@smithy/util-base64": "^2.0.0",
24
+ "@aws-sdk/client-sts": "3.451.0",
25
+ "@aws-sdk/core": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.451.0",
27
+ "@aws-sdk/middleware-host-header": "3.451.0",
28
+ "@aws-sdk/middleware-logger": "3.451.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.451.0",
30
+ "@aws-sdk/middleware-signing": "3.451.0",
31
+ "@aws-sdk/middleware-user-agent": "3.451.0",
32
+ "@aws-sdk/region-config-resolver": "3.451.0",
33
+ "@aws-sdk/types": "3.451.0",
34
+ "@aws-sdk/util-endpoints": "3.451.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.451.0",
36
+ "@aws-sdk/util-user-agent-node": "3.451.0",
37
+ "@smithy/config-resolver": "^2.0.18",
38
+ "@smithy/fetch-http-handler": "^2.2.6",
39
+ "@smithy/hash-node": "^2.0.15",
40
+ "@smithy/invalid-dependency": "^2.0.13",
41
+ "@smithy/middleware-content-length": "^2.0.15",
42
+ "@smithy/middleware-endpoint": "^2.2.0",
43
+ "@smithy/middleware-retry": "^2.0.20",
44
+ "@smithy/middleware-serde": "^2.0.13",
45
+ "@smithy/middleware-stack": "^2.0.7",
46
+ "@smithy/node-config-provider": "^2.1.5",
47
+ "@smithy/node-http-handler": "^2.1.9",
48
+ "@smithy/protocol-http": "^3.0.9",
49
+ "@smithy/smithy-client": "^2.1.15",
50
+ "@smithy/types": "^2.5.0",
51
+ "@smithy/url-parser": "^2.0.13",
52
+ "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.16",
56
- "@smithy/util-defaults-mode-node": "^2.0.21",
57
- "@smithy/util-endpoints": "^1.0.2",
58
- "@smithy/util-retry": "^2.0.5",
59
- "@smithy/util-utf8": "^2.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.19",
56
+ "@smithy/util-defaults-mode-node": "^2.0.25",
57
+ "@smithy/util-endpoints": "^1.0.4",
58
+ "@smithy/util-retry": "^2.0.6",
59
+ "@smithy/util-utf8": "^2.0.2",
60
60
  "tslib": "^2.5.0"
61
61
  },
62
62
  "devDependencies": {