@aws-sdk/client-dlm 3.933.0 → 3.935.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.
@@ -1,17 +1,24 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { DLMServiceException as __BaseException } from "./DLMServiceException";
1
+ import {
2
+ DefaultPoliciesTypeValues,
3
+ DefaultPolicyTypeValues,
4
+ EventSourceValues,
5
+ EventTypeValues,
6
+ ExecutionHandlerServiceValues,
7
+ GettablePolicyStateValues,
8
+ IntervalUnitValues,
9
+ LocationValues,
10
+ PolicyLanguageValues,
11
+ PolicyTypeValues,
12
+ ResourceLocationValues,
13
+ ResourceTypeValues,
14
+ RetentionIntervalUnitValues,
15
+ SettablePolicyStateValues,
16
+ StageValues,
17
+ } from "./enums";
3
18
  export interface EncryptionConfiguration {
4
19
  Encrypted: boolean | undefined;
5
20
  CmkArn?: string | undefined;
6
21
  }
7
- export declare const RetentionIntervalUnitValues: {
8
- readonly DAYS: "DAYS";
9
- readonly MONTHS: "MONTHS";
10
- readonly WEEKS: "WEEKS";
11
- readonly YEARS: "YEARS";
12
- };
13
- export type RetentionIntervalUnitValues =
14
- (typeof RetentionIntervalUnitValues)[keyof typeof RetentionIntervalUnitValues];
15
22
  export interface CrossRegionCopyRetainRule {
16
23
  Interval?: number | undefined;
17
24
  IntervalUnit?: RetentionIntervalUnitValues | undefined;
@@ -39,12 +46,6 @@ export interface ArchiveRule {
39
46
  export interface CrossRegionCopyTarget {
40
47
  TargetRegion?: string | undefined;
41
48
  }
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
49
  export interface Tag {
49
50
  Key: string | undefined;
50
51
  Value: string | undefined;
@@ -54,21 +55,11 @@ export interface Exclusions {
54
55
  ExcludeVolumeTypes?: string[] | undefined;
55
56
  ExcludeTags?: Tag[] | undefined;
56
57
  }
57
- export declare const EventTypeValues: {
58
- readonly SHARE_SNAPSHOT: "shareSnapshot";
59
- };
60
- export type EventTypeValues =
61
- (typeof EventTypeValues)[keyof typeof EventTypeValues];
62
58
  export interface EventParameters {
63
59
  EventType: EventTypeValues | undefined;
64
60
  SnapshotOwner: string[] | undefined;
65
61
  DescriptionRegex: string | undefined;
66
62
  }
67
- export declare const EventSourceValues: {
68
- readonly MANAGED_CWE: "MANAGED_CWE";
69
- };
70
- export type EventSourceValues =
71
- (typeof EventSourceValues)[keyof typeof EventSourceValues];
72
63
  export interface EventSource {
73
64
  Type: EventSourceValues | undefined;
74
65
  Parameters?: EventParameters | undefined;
@@ -78,54 +69,6 @@ export interface _Parameters {
78
69
  NoReboot?: boolean | undefined;
79
70
  ExcludeDataVolumeTags?: Tag[] | undefined;
80
71
  }
81
- export declare const PolicyLanguageValues: {
82
- readonly SIMPLIFIED: "SIMPLIFIED";
83
- readonly STANDARD: "STANDARD";
84
- };
85
- export type PolicyLanguageValues =
86
- (typeof PolicyLanguageValues)[keyof typeof PolicyLanguageValues];
87
- export declare const PolicyTypeValues: {
88
- readonly EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT";
89
- readonly EVENT_BASED_POLICY: "EVENT_BASED_POLICY";
90
- readonly IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT";
91
- };
92
- export type PolicyTypeValues =
93
- (typeof PolicyTypeValues)[keyof typeof PolicyTypeValues];
94
- export declare const ResourceLocationValues: {
95
- readonly CLOUD: "CLOUD";
96
- readonly LOCAL_ZONE: "LOCAL_ZONE";
97
- readonly OUTPOST: "OUTPOST";
98
- };
99
- export type ResourceLocationValues =
100
- (typeof ResourceLocationValues)[keyof typeof ResourceLocationValues];
101
- export declare const ResourceTypeValues: {
102
- readonly INSTANCE: "INSTANCE";
103
- readonly VOLUME: "VOLUME";
104
- };
105
- export type ResourceTypeValues =
106
- (typeof ResourceTypeValues)[keyof typeof ResourceTypeValues];
107
- export declare const IntervalUnitValues: {
108
- readonly HOURS: "HOURS";
109
- };
110
- export type IntervalUnitValues =
111
- (typeof IntervalUnitValues)[keyof typeof IntervalUnitValues];
112
- export declare const LocationValues: {
113
- readonly CLOUD: "CLOUD";
114
- readonly LOCAL_ZONE: "LOCAL_ZONE";
115
- readonly OUTPOST_LOCAL: "OUTPOST_LOCAL";
116
- };
117
- export type LocationValues =
118
- (typeof LocationValues)[keyof typeof LocationValues];
119
- export declare const ExecutionHandlerServiceValues: {
120
- readonly AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER";
121
- };
122
- export type ExecutionHandlerServiceValues =
123
- (typeof ExecutionHandlerServiceValues)[keyof typeof ExecutionHandlerServiceValues];
124
- export declare const StageValues: {
125
- readonly POST: "POST";
126
- readonly PRE: "PRE";
127
- };
128
- export type StageValues = (typeof StageValues)[keyof typeof StageValues];
129
72
  export interface Script {
130
73
  Stages?: StageValues[] | undefined;
131
74
  ExecutionHandlerService?: ExecutionHandlerServiceValues | undefined;
@@ -207,12 +150,6 @@ export interface PolicyDetails {
207
150
  ExtendDeletion?: boolean | undefined;
208
151
  Exclusions?: Exclusions | undefined;
209
152
  }
210
- export declare const SettablePolicyStateValues: {
211
- readonly DISABLED: "DISABLED";
212
- readonly ENABLED: "ENABLED";
213
- };
214
- export type SettablePolicyStateValues =
215
- (typeof SettablePolicyStateValues)[keyof typeof SettablePolicyStateValues];
216
153
  export interface CreateLifecyclePolicyRequest {
217
154
  ExecutionRoleArn: string | undefined;
218
155
  Description: string | undefined;
@@ -230,65 +167,10 @@ export interface CreateLifecyclePolicyRequest {
230
167
  export interface CreateLifecyclePolicyResponse {
231
168
  PolicyId?: string | undefined;
232
169
  }
233
- export declare class InternalServerException extends __BaseException {
234
- readonly name: "InternalServerException";
235
- readonly $fault: "server";
236
- Message?: string | undefined;
237
- Code?: string | undefined;
238
- constructor(
239
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
240
- );
241
- }
242
- export declare class InvalidRequestException extends __BaseException {
243
- readonly name: "InvalidRequestException";
244
- readonly $fault: "client";
245
- Message?: string | undefined;
246
- Code?: string | undefined;
247
- RequiredParameters?: string[] | undefined;
248
- MutuallyExclusiveParameters?: string[] | undefined;
249
- constructor(
250
- opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
251
- );
252
- }
253
- export declare class LimitExceededException extends __BaseException {
254
- readonly name: "LimitExceededException";
255
- readonly $fault: "client";
256
- Message?: string | undefined;
257
- Code?: string | undefined;
258
- ResourceType?: string | undefined;
259
- constructor(
260
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
261
- );
262
- }
263
- export declare const DefaultPoliciesTypeValues: {
264
- readonly ALL: "ALL";
265
- readonly INSTANCE: "INSTANCE";
266
- readonly VOLUME: "VOLUME";
267
- };
268
- export type DefaultPoliciesTypeValues =
269
- (typeof DefaultPoliciesTypeValues)[keyof typeof DefaultPoliciesTypeValues];
270
170
  export interface DeleteLifecyclePolicyRequest {
271
171
  PolicyId: string | undefined;
272
172
  }
273
173
  export interface DeleteLifecyclePolicyResponse {}
274
- export declare class ResourceNotFoundException extends __BaseException {
275
- readonly name: "ResourceNotFoundException";
276
- readonly $fault: "client";
277
- Message?: string | undefined;
278
- Code?: string | undefined;
279
- ResourceType?: string | undefined;
280
- ResourceIds?: string[] | undefined;
281
- constructor(
282
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
283
- );
284
- }
285
- export declare const GettablePolicyStateValues: {
286
- readonly DISABLED: "DISABLED";
287
- readonly ENABLED: "ENABLED";
288
- readonly ERROR: "ERROR";
289
- };
290
- export type GettablePolicyStateValues =
291
- (typeof GettablePolicyStateValues)[keyof typeof GettablePolicyStateValues];
292
174
  export interface GetLifecyclePoliciesRequest {
293
175
  PolicyIds?: string[] | undefined;
294
176
  State?: GettablePolicyStateValues | undefined;
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.933.0",
4
+ "version": "3.935.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-dlm",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";