@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.
- package/dist-cjs/index.js +64 -63
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +63 -0
- package/dist-es/models/errors.js +75 -0
- package/dist-es/models/models_0.js +1 -138
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +183 -0
- package/dist-types/models/errors.d.ts +84 -0
- package/dist-types/models/models_0.d.ts +1 -267
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +92 -0
- package/dist-types/ts3.4/models/errors.d.ts +43 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -135
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -117,59 +117,6 @@ let DLMServiceException$1 = class DLMServiceException extends smithyClient.Servi
|
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
|
|
120
|
-
const RetentionIntervalUnitValues = {
|
|
121
|
-
DAYS: "DAYS",
|
|
122
|
-
MONTHS: "MONTHS",
|
|
123
|
-
WEEKS: "WEEKS",
|
|
124
|
-
YEARS: "YEARS",
|
|
125
|
-
};
|
|
126
|
-
const DefaultPolicyTypeValues = {
|
|
127
|
-
INSTANCE: "INSTANCE",
|
|
128
|
-
VOLUME: "VOLUME",
|
|
129
|
-
};
|
|
130
|
-
const EventTypeValues = {
|
|
131
|
-
SHARE_SNAPSHOT: "shareSnapshot",
|
|
132
|
-
};
|
|
133
|
-
const EventSourceValues = {
|
|
134
|
-
MANAGED_CWE: "MANAGED_CWE",
|
|
135
|
-
};
|
|
136
|
-
const PolicyLanguageValues = {
|
|
137
|
-
SIMPLIFIED: "SIMPLIFIED",
|
|
138
|
-
STANDARD: "STANDARD",
|
|
139
|
-
};
|
|
140
|
-
const PolicyTypeValues = {
|
|
141
|
-
EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT",
|
|
142
|
-
EVENT_BASED_POLICY: "EVENT_BASED_POLICY",
|
|
143
|
-
IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT",
|
|
144
|
-
};
|
|
145
|
-
const ResourceLocationValues = {
|
|
146
|
-
CLOUD: "CLOUD",
|
|
147
|
-
LOCAL_ZONE: "LOCAL_ZONE",
|
|
148
|
-
OUTPOST: "OUTPOST",
|
|
149
|
-
};
|
|
150
|
-
const ResourceTypeValues = {
|
|
151
|
-
INSTANCE: "INSTANCE",
|
|
152
|
-
VOLUME: "VOLUME",
|
|
153
|
-
};
|
|
154
|
-
const IntervalUnitValues = {
|
|
155
|
-
HOURS: "HOURS",
|
|
156
|
-
};
|
|
157
|
-
const LocationValues = {
|
|
158
|
-
CLOUD: "CLOUD",
|
|
159
|
-
LOCAL_ZONE: "LOCAL_ZONE",
|
|
160
|
-
OUTPOST_LOCAL: "OUTPOST_LOCAL",
|
|
161
|
-
};
|
|
162
|
-
const ExecutionHandlerServiceValues = {
|
|
163
|
-
AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER",
|
|
164
|
-
};
|
|
165
|
-
const StageValues = {
|
|
166
|
-
POST: "POST",
|
|
167
|
-
PRE: "PRE",
|
|
168
|
-
};
|
|
169
|
-
const SettablePolicyStateValues = {
|
|
170
|
-
DISABLED: "DISABLED",
|
|
171
|
-
ENABLED: "ENABLED",
|
|
172
|
-
};
|
|
173
120
|
let InternalServerException$1 = class InternalServerException extends DLMServiceException$1 {
|
|
174
121
|
name = "InternalServerException";
|
|
175
122
|
$fault = "server";
|
|
@@ -224,11 +171,6 @@ let LimitExceededException$1 = class LimitExceededException extends DLMServiceEx
|
|
|
224
171
|
this.ResourceType = opts.ResourceType;
|
|
225
172
|
}
|
|
226
173
|
};
|
|
227
|
-
const DefaultPoliciesTypeValues = {
|
|
228
|
-
ALL: "ALL",
|
|
229
|
-
INSTANCE: "INSTANCE",
|
|
230
|
-
VOLUME: "VOLUME",
|
|
231
|
-
};
|
|
232
174
|
let ResourceNotFoundException$1 = class ResourceNotFoundException extends DLMServiceException$1 {
|
|
233
175
|
name = "ResourceNotFoundException";
|
|
234
176
|
$fault = "client";
|
|
@@ -249,11 +191,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends DLMSer
|
|
|
249
191
|
this.ResourceIds = opts.ResourceIds;
|
|
250
192
|
}
|
|
251
193
|
};
|
|
252
|
-
const GettablePolicyStateValues = {
|
|
253
|
-
DISABLED: "DISABLED",
|
|
254
|
-
ENABLED: "ENABLED",
|
|
255
|
-
ERROR: "ERROR",
|
|
256
|
-
};
|
|
257
194
|
|
|
258
195
|
const _A = "Action";
|
|
259
196
|
const _AL = "ActionList";
|
|
@@ -874,6 +811,70 @@ class DLM extends DLMClient {
|
|
|
874
811
|
}
|
|
875
812
|
smithyClient.createAggregatedClient(commands, DLM);
|
|
876
813
|
|
|
814
|
+
const RetentionIntervalUnitValues = {
|
|
815
|
+
DAYS: "DAYS",
|
|
816
|
+
MONTHS: "MONTHS",
|
|
817
|
+
WEEKS: "WEEKS",
|
|
818
|
+
YEARS: "YEARS",
|
|
819
|
+
};
|
|
820
|
+
const DefaultPolicyTypeValues = {
|
|
821
|
+
INSTANCE: "INSTANCE",
|
|
822
|
+
VOLUME: "VOLUME",
|
|
823
|
+
};
|
|
824
|
+
const EventTypeValues = {
|
|
825
|
+
SHARE_SNAPSHOT: "shareSnapshot",
|
|
826
|
+
};
|
|
827
|
+
const EventSourceValues = {
|
|
828
|
+
MANAGED_CWE: "MANAGED_CWE",
|
|
829
|
+
};
|
|
830
|
+
const PolicyLanguageValues = {
|
|
831
|
+
SIMPLIFIED: "SIMPLIFIED",
|
|
832
|
+
STANDARD: "STANDARD",
|
|
833
|
+
};
|
|
834
|
+
const PolicyTypeValues = {
|
|
835
|
+
EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT",
|
|
836
|
+
EVENT_BASED_POLICY: "EVENT_BASED_POLICY",
|
|
837
|
+
IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT",
|
|
838
|
+
};
|
|
839
|
+
const ResourceLocationValues = {
|
|
840
|
+
CLOUD: "CLOUD",
|
|
841
|
+
LOCAL_ZONE: "LOCAL_ZONE",
|
|
842
|
+
OUTPOST: "OUTPOST",
|
|
843
|
+
};
|
|
844
|
+
const ResourceTypeValues = {
|
|
845
|
+
INSTANCE: "INSTANCE",
|
|
846
|
+
VOLUME: "VOLUME",
|
|
847
|
+
};
|
|
848
|
+
const IntervalUnitValues = {
|
|
849
|
+
HOURS: "HOURS",
|
|
850
|
+
};
|
|
851
|
+
const LocationValues = {
|
|
852
|
+
CLOUD: "CLOUD",
|
|
853
|
+
LOCAL_ZONE: "LOCAL_ZONE",
|
|
854
|
+
OUTPOST_LOCAL: "OUTPOST_LOCAL",
|
|
855
|
+
};
|
|
856
|
+
const ExecutionHandlerServiceValues = {
|
|
857
|
+
AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER",
|
|
858
|
+
};
|
|
859
|
+
const StageValues = {
|
|
860
|
+
POST: "POST",
|
|
861
|
+
PRE: "PRE",
|
|
862
|
+
};
|
|
863
|
+
const SettablePolicyStateValues = {
|
|
864
|
+
DISABLED: "DISABLED",
|
|
865
|
+
ENABLED: "ENABLED",
|
|
866
|
+
};
|
|
867
|
+
const DefaultPoliciesTypeValues = {
|
|
868
|
+
ALL: "ALL",
|
|
869
|
+
INSTANCE: "INSTANCE",
|
|
870
|
+
VOLUME: "VOLUME",
|
|
871
|
+
};
|
|
872
|
+
const GettablePolicyStateValues = {
|
|
873
|
+
DISABLED: "DISABLED",
|
|
874
|
+
ENABLED: "ENABLED",
|
|
875
|
+
ERROR: "ERROR",
|
|
876
|
+
};
|
|
877
|
+
|
|
877
878
|
Object.defineProperty(exports, "$Command", {
|
|
878
879
|
enumerable: true,
|
|
879
880
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export const RetentionIntervalUnitValues = {
|
|
2
|
+
DAYS: "DAYS",
|
|
3
|
+
MONTHS: "MONTHS",
|
|
4
|
+
WEEKS: "WEEKS",
|
|
5
|
+
YEARS: "YEARS",
|
|
6
|
+
};
|
|
7
|
+
export const DefaultPolicyTypeValues = {
|
|
8
|
+
INSTANCE: "INSTANCE",
|
|
9
|
+
VOLUME: "VOLUME",
|
|
10
|
+
};
|
|
11
|
+
export const EventTypeValues = {
|
|
12
|
+
SHARE_SNAPSHOT: "shareSnapshot",
|
|
13
|
+
};
|
|
14
|
+
export const EventSourceValues = {
|
|
15
|
+
MANAGED_CWE: "MANAGED_CWE",
|
|
16
|
+
};
|
|
17
|
+
export const PolicyLanguageValues = {
|
|
18
|
+
SIMPLIFIED: "SIMPLIFIED",
|
|
19
|
+
STANDARD: "STANDARD",
|
|
20
|
+
};
|
|
21
|
+
export const PolicyTypeValues = {
|
|
22
|
+
EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT",
|
|
23
|
+
EVENT_BASED_POLICY: "EVENT_BASED_POLICY",
|
|
24
|
+
IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT",
|
|
25
|
+
};
|
|
26
|
+
export const ResourceLocationValues = {
|
|
27
|
+
CLOUD: "CLOUD",
|
|
28
|
+
LOCAL_ZONE: "LOCAL_ZONE",
|
|
29
|
+
OUTPOST: "OUTPOST",
|
|
30
|
+
};
|
|
31
|
+
export const ResourceTypeValues = {
|
|
32
|
+
INSTANCE: "INSTANCE",
|
|
33
|
+
VOLUME: "VOLUME",
|
|
34
|
+
};
|
|
35
|
+
export const IntervalUnitValues = {
|
|
36
|
+
HOURS: "HOURS",
|
|
37
|
+
};
|
|
38
|
+
export const LocationValues = {
|
|
39
|
+
CLOUD: "CLOUD",
|
|
40
|
+
LOCAL_ZONE: "LOCAL_ZONE",
|
|
41
|
+
OUTPOST_LOCAL: "OUTPOST_LOCAL",
|
|
42
|
+
};
|
|
43
|
+
export const ExecutionHandlerServiceValues = {
|
|
44
|
+
AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER",
|
|
45
|
+
};
|
|
46
|
+
export const StageValues = {
|
|
47
|
+
POST: "POST",
|
|
48
|
+
PRE: "PRE",
|
|
49
|
+
};
|
|
50
|
+
export const SettablePolicyStateValues = {
|
|
51
|
+
DISABLED: "DISABLED",
|
|
52
|
+
ENABLED: "ENABLED",
|
|
53
|
+
};
|
|
54
|
+
export const DefaultPoliciesTypeValues = {
|
|
55
|
+
ALL: "ALL",
|
|
56
|
+
INSTANCE: "INSTANCE",
|
|
57
|
+
VOLUME: "VOLUME",
|
|
58
|
+
};
|
|
59
|
+
export const GettablePolicyStateValues = {
|
|
60
|
+
DISABLED: "DISABLED",
|
|
61
|
+
ENABLED: "ENABLED",
|
|
62
|
+
ERROR: "ERROR",
|
|
63
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { DLMServiceException as __BaseException } from "./DLMServiceException";
|
|
2
|
+
export class InternalServerException extends __BaseException {
|
|
3
|
+
name = "InternalServerException";
|
|
4
|
+
$fault = "server";
|
|
5
|
+
Message;
|
|
6
|
+
Code;
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "InternalServerException",
|
|
10
|
+
$fault: "server",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
this.Code = opts.Code;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export class InvalidRequestException extends __BaseException {
|
|
19
|
+
name = "InvalidRequestException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
Message;
|
|
22
|
+
Code;
|
|
23
|
+
RequiredParameters;
|
|
24
|
+
MutuallyExclusiveParameters;
|
|
25
|
+
constructor(opts) {
|
|
26
|
+
super({
|
|
27
|
+
name: "InvalidRequestException",
|
|
28
|
+
$fault: "client",
|
|
29
|
+
...opts,
|
|
30
|
+
});
|
|
31
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
32
|
+
this.Message = opts.Message;
|
|
33
|
+
this.Code = opts.Code;
|
|
34
|
+
this.RequiredParameters = opts.RequiredParameters;
|
|
35
|
+
this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class LimitExceededException extends __BaseException {
|
|
39
|
+
name = "LimitExceededException";
|
|
40
|
+
$fault = "client";
|
|
41
|
+
Message;
|
|
42
|
+
Code;
|
|
43
|
+
ResourceType;
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "LimitExceededException",
|
|
47
|
+
$fault: "client",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
51
|
+
this.Message = opts.Message;
|
|
52
|
+
this.Code = opts.Code;
|
|
53
|
+
this.ResourceType = opts.ResourceType;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
57
|
+
name = "ResourceNotFoundException";
|
|
58
|
+
$fault = "client";
|
|
59
|
+
Message;
|
|
60
|
+
Code;
|
|
61
|
+
ResourceType;
|
|
62
|
+
ResourceIds;
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "ResourceNotFoundException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
70
|
+
this.Message = opts.Message;
|
|
71
|
+
this.Code = opts.Code;
|
|
72
|
+
this.ResourceType = opts.ResourceType;
|
|
73
|
+
this.ResourceIds = opts.ResourceIds;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -1,138 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const RetentionIntervalUnitValues = {
|
|
3
|
-
DAYS: "DAYS",
|
|
4
|
-
MONTHS: "MONTHS",
|
|
5
|
-
WEEKS: "WEEKS",
|
|
6
|
-
YEARS: "YEARS",
|
|
7
|
-
};
|
|
8
|
-
export const DefaultPolicyTypeValues = {
|
|
9
|
-
INSTANCE: "INSTANCE",
|
|
10
|
-
VOLUME: "VOLUME",
|
|
11
|
-
};
|
|
12
|
-
export const EventTypeValues = {
|
|
13
|
-
SHARE_SNAPSHOT: "shareSnapshot",
|
|
14
|
-
};
|
|
15
|
-
export const EventSourceValues = {
|
|
16
|
-
MANAGED_CWE: "MANAGED_CWE",
|
|
17
|
-
};
|
|
18
|
-
export const PolicyLanguageValues = {
|
|
19
|
-
SIMPLIFIED: "SIMPLIFIED",
|
|
20
|
-
STANDARD: "STANDARD",
|
|
21
|
-
};
|
|
22
|
-
export const PolicyTypeValues = {
|
|
23
|
-
EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT",
|
|
24
|
-
EVENT_BASED_POLICY: "EVENT_BASED_POLICY",
|
|
25
|
-
IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT",
|
|
26
|
-
};
|
|
27
|
-
export const ResourceLocationValues = {
|
|
28
|
-
CLOUD: "CLOUD",
|
|
29
|
-
LOCAL_ZONE: "LOCAL_ZONE",
|
|
30
|
-
OUTPOST: "OUTPOST",
|
|
31
|
-
};
|
|
32
|
-
export const ResourceTypeValues = {
|
|
33
|
-
INSTANCE: "INSTANCE",
|
|
34
|
-
VOLUME: "VOLUME",
|
|
35
|
-
};
|
|
36
|
-
export const IntervalUnitValues = {
|
|
37
|
-
HOURS: "HOURS",
|
|
38
|
-
};
|
|
39
|
-
export const LocationValues = {
|
|
40
|
-
CLOUD: "CLOUD",
|
|
41
|
-
LOCAL_ZONE: "LOCAL_ZONE",
|
|
42
|
-
OUTPOST_LOCAL: "OUTPOST_LOCAL",
|
|
43
|
-
};
|
|
44
|
-
export const ExecutionHandlerServiceValues = {
|
|
45
|
-
AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER",
|
|
46
|
-
};
|
|
47
|
-
export const StageValues = {
|
|
48
|
-
POST: "POST",
|
|
49
|
-
PRE: "PRE",
|
|
50
|
-
};
|
|
51
|
-
export const SettablePolicyStateValues = {
|
|
52
|
-
DISABLED: "DISABLED",
|
|
53
|
-
ENABLED: "ENABLED",
|
|
54
|
-
};
|
|
55
|
-
export class InternalServerException extends __BaseException {
|
|
56
|
-
name = "InternalServerException";
|
|
57
|
-
$fault = "server";
|
|
58
|
-
Message;
|
|
59
|
-
Code;
|
|
60
|
-
constructor(opts) {
|
|
61
|
-
super({
|
|
62
|
-
name: "InternalServerException",
|
|
63
|
-
$fault: "server",
|
|
64
|
-
...opts,
|
|
65
|
-
});
|
|
66
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
67
|
-
this.Message = opts.Message;
|
|
68
|
-
this.Code = opts.Code;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
export class InvalidRequestException extends __BaseException {
|
|
72
|
-
name = "InvalidRequestException";
|
|
73
|
-
$fault = "client";
|
|
74
|
-
Message;
|
|
75
|
-
Code;
|
|
76
|
-
RequiredParameters;
|
|
77
|
-
MutuallyExclusiveParameters;
|
|
78
|
-
constructor(opts) {
|
|
79
|
-
super({
|
|
80
|
-
name: "InvalidRequestException",
|
|
81
|
-
$fault: "client",
|
|
82
|
-
...opts,
|
|
83
|
-
});
|
|
84
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
85
|
-
this.Message = opts.Message;
|
|
86
|
-
this.Code = opts.Code;
|
|
87
|
-
this.RequiredParameters = opts.RequiredParameters;
|
|
88
|
-
this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
export class LimitExceededException extends __BaseException {
|
|
92
|
-
name = "LimitExceededException";
|
|
93
|
-
$fault = "client";
|
|
94
|
-
Message;
|
|
95
|
-
Code;
|
|
96
|
-
ResourceType;
|
|
97
|
-
constructor(opts) {
|
|
98
|
-
super({
|
|
99
|
-
name: "LimitExceededException",
|
|
100
|
-
$fault: "client",
|
|
101
|
-
...opts,
|
|
102
|
-
});
|
|
103
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
104
|
-
this.Message = opts.Message;
|
|
105
|
-
this.Code = opts.Code;
|
|
106
|
-
this.ResourceType = opts.ResourceType;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
export const DefaultPoliciesTypeValues = {
|
|
110
|
-
ALL: "ALL",
|
|
111
|
-
INSTANCE: "INSTANCE",
|
|
112
|
-
VOLUME: "VOLUME",
|
|
113
|
-
};
|
|
114
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
115
|
-
name = "ResourceNotFoundException";
|
|
116
|
-
$fault = "client";
|
|
117
|
-
Message;
|
|
118
|
-
Code;
|
|
119
|
-
ResourceType;
|
|
120
|
-
ResourceIds;
|
|
121
|
-
constructor(opts) {
|
|
122
|
-
super({
|
|
123
|
-
name: "ResourceNotFoundException",
|
|
124
|
-
$fault: "client",
|
|
125
|
-
...opts,
|
|
126
|
-
});
|
|
127
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
128
|
-
this.Message = opts.Message;
|
|
129
|
-
this.Code = opts.Code;
|
|
130
|
-
this.ResourceType = opts.ResourceType;
|
|
131
|
-
this.ResourceIds = opts.ResourceIds;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
export const GettablePolicyStateValues = {
|
|
135
|
-
DISABLED: "DISABLED",
|
|
136
|
-
ENABLED: "ENABLED",
|
|
137
|
-
ERROR: "ERROR",
|
|
138
|
-
};
|
|
1
|
+
export {};
|
|
@@ -152,7 +152,7 @@ const _tTA = "tagsToAdd";
|
|
|
152
152
|
const n0 = "com.amazonaws.dlm";
|
|
153
153
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
154
154
|
import { DLMServiceException as __DLMServiceException } from "../models/DLMServiceException";
|
|
155
|
-
import { InternalServerException as __InternalServerException, InvalidRequestException as __InvalidRequestException, LimitExceededException as __LimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/
|
|
155
|
+
import { InternalServerException as __InternalServerException, InvalidRequestException as __InvalidRequestException, LimitExceededException as __LimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
|
|
156
156
|
export var Action = [3, n0, _A, 0, [_N, _CRC], [0, () => CrossRegionCopyActionList]];
|
|
157
157
|
export var ArchiveRetainRule = [3, n0, _ARR, 0, [_RAT], [() => RetentionArchiveTier]];
|
|
158
158
|
export var ArchiveRule = [3, n0, _AR, 0, [_RR], [() => ArchiveRetainRule]];
|
package/dist-types/index.d.ts
CHANGED
|
@@ -15,5 +15,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
15
15
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
16
16
|
export type { DLMExtensionConfiguration } from "./extensionConfiguration";
|
|
17
17
|
export * from "./commands";
|
|
18
|
-
export * from "./models";
|
|
18
|
+
export * from "./models/enums";
|
|
19
|
+
export * from "./models/errors";
|
|
20
|
+
export type * from "./models/models_0";
|
|
19
21
|
export { DLMServiceException } from "./models/DLMServiceException";
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const RetentionIntervalUnitValues: {
|
|
6
|
+
readonly DAYS: "DAYS";
|
|
7
|
+
readonly MONTHS: "MONTHS";
|
|
8
|
+
readonly WEEKS: "WEEKS";
|
|
9
|
+
readonly YEARS: "YEARS";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type RetentionIntervalUnitValues = (typeof RetentionIntervalUnitValues)[keyof typeof RetentionIntervalUnitValues];
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
* @enum
|
|
18
|
+
*/
|
|
19
|
+
export declare const DefaultPolicyTypeValues: {
|
|
20
|
+
readonly INSTANCE: "INSTANCE";
|
|
21
|
+
readonly VOLUME: "VOLUME";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type DefaultPolicyTypeValues = (typeof DefaultPolicyTypeValues)[keyof typeof DefaultPolicyTypeValues];
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* @enum
|
|
30
|
+
*/
|
|
31
|
+
export declare const EventTypeValues: {
|
|
32
|
+
readonly SHARE_SNAPSHOT: "shareSnapshot";
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export type EventTypeValues = (typeof EventTypeValues)[keyof typeof EventTypeValues];
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const EventSourceValues: {
|
|
43
|
+
readonly MANAGED_CWE: "MANAGED_CWE";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export type EventSourceValues = (typeof EventSourceValues)[keyof typeof EventSourceValues];
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* @enum
|
|
52
|
+
*/
|
|
53
|
+
export declare const PolicyLanguageValues: {
|
|
54
|
+
readonly SIMPLIFIED: "SIMPLIFIED";
|
|
55
|
+
readonly STANDARD: "STANDARD";
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export type PolicyLanguageValues = (typeof PolicyLanguageValues)[keyof typeof PolicyLanguageValues];
|
|
61
|
+
/**
|
|
62
|
+
* @public
|
|
63
|
+
* @enum
|
|
64
|
+
*/
|
|
65
|
+
export declare const PolicyTypeValues: {
|
|
66
|
+
readonly EBS_SNAPSHOT_MANAGEMENT: "EBS_SNAPSHOT_MANAGEMENT";
|
|
67
|
+
readonly EVENT_BASED_POLICY: "EVENT_BASED_POLICY";
|
|
68
|
+
readonly IMAGE_MANAGEMENT: "IMAGE_MANAGEMENT";
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export type PolicyTypeValues = (typeof PolicyTypeValues)[keyof typeof PolicyTypeValues];
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
* @enum
|
|
77
|
+
*/
|
|
78
|
+
export declare const ResourceLocationValues: {
|
|
79
|
+
readonly CLOUD: "CLOUD";
|
|
80
|
+
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
81
|
+
readonly OUTPOST: "OUTPOST";
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export type ResourceLocationValues = (typeof ResourceLocationValues)[keyof typeof ResourceLocationValues];
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
* @enum
|
|
90
|
+
*/
|
|
91
|
+
export declare const ResourceTypeValues: {
|
|
92
|
+
readonly INSTANCE: "INSTANCE";
|
|
93
|
+
readonly VOLUME: "VOLUME";
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export type ResourceTypeValues = (typeof ResourceTypeValues)[keyof typeof ResourceTypeValues];
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
* @enum
|
|
102
|
+
*/
|
|
103
|
+
export declare const IntervalUnitValues: {
|
|
104
|
+
readonly HOURS: "HOURS";
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export type IntervalUnitValues = (typeof IntervalUnitValues)[keyof typeof IntervalUnitValues];
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
* @enum
|
|
113
|
+
*/
|
|
114
|
+
export declare const LocationValues: {
|
|
115
|
+
readonly CLOUD: "CLOUD";
|
|
116
|
+
readonly LOCAL_ZONE: "LOCAL_ZONE";
|
|
117
|
+
readonly OUTPOST_LOCAL: "OUTPOST_LOCAL";
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export type LocationValues = (typeof LocationValues)[keyof typeof LocationValues];
|
|
123
|
+
/**
|
|
124
|
+
* @public
|
|
125
|
+
* @enum
|
|
126
|
+
*/
|
|
127
|
+
export declare const ExecutionHandlerServiceValues: {
|
|
128
|
+
readonly AWS_SYSTEMS_MANAGER: "AWS_SYSTEMS_MANAGER";
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export type ExecutionHandlerServiceValues = (typeof ExecutionHandlerServiceValues)[keyof typeof ExecutionHandlerServiceValues];
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
* @enum
|
|
137
|
+
*/
|
|
138
|
+
export declare const StageValues: {
|
|
139
|
+
readonly POST: "POST";
|
|
140
|
+
readonly PRE: "PRE";
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export type StageValues = (typeof StageValues)[keyof typeof StageValues];
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
* @enum
|
|
149
|
+
*/
|
|
150
|
+
export declare const SettablePolicyStateValues: {
|
|
151
|
+
readonly DISABLED: "DISABLED";
|
|
152
|
+
readonly ENABLED: "ENABLED";
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export type SettablePolicyStateValues = (typeof SettablePolicyStateValues)[keyof typeof SettablePolicyStateValues];
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
* @enum
|
|
161
|
+
*/
|
|
162
|
+
export declare const DefaultPoliciesTypeValues: {
|
|
163
|
+
readonly ALL: "ALL";
|
|
164
|
+
readonly INSTANCE: "INSTANCE";
|
|
165
|
+
readonly VOLUME: "VOLUME";
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export type DefaultPoliciesTypeValues = (typeof DefaultPoliciesTypeValues)[keyof typeof DefaultPoliciesTypeValues];
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
* @enum
|
|
174
|
+
*/
|
|
175
|
+
export declare const GettablePolicyStateValues: {
|
|
176
|
+
readonly DISABLED: "DISABLED";
|
|
177
|
+
readonly ENABLED: "ENABLED";
|
|
178
|
+
readonly ERROR: "ERROR";
|
|
179
|
+
};
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export type GettablePolicyStateValues = (typeof GettablePolicyStateValues)[keyof typeof GettablePolicyStateValues];
|