@aws-sdk/client-dlm 3.987.0 → 3.989.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 +27 -596
- package/dist-cjs/models/DLMServiceException.js +12 -0
- package/dist-cjs/models/errors.js +82 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +473 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +49 -43
- package/dist-types/schemas/schemas_0.d.ts +12 -5
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -5
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DLMServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class DLMServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, DLMServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.DLMServiceException = DLMServiceException;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidRequestException = exports.InternalServerException = void 0;
|
|
4
|
+
const DLMServiceException_1 = require("./DLMServiceException");
|
|
5
|
+
class InternalServerException extends DLMServiceException_1.DLMServiceException {
|
|
6
|
+
name = "InternalServerException";
|
|
7
|
+
$fault = "server";
|
|
8
|
+
Message;
|
|
9
|
+
Code;
|
|
10
|
+
constructor(opts) {
|
|
11
|
+
super({
|
|
12
|
+
name: "InternalServerException",
|
|
13
|
+
$fault: "server",
|
|
14
|
+
...opts,
|
|
15
|
+
});
|
|
16
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
17
|
+
this.Message = opts.Message;
|
|
18
|
+
this.Code = opts.Code;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.InternalServerException = InternalServerException;
|
|
22
|
+
class InvalidRequestException extends DLMServiceException_1.DLMServiceException {
|
|
23
|
+
name = "InvalidRequestException";
|
|
24
|
+
$fault = "client";
|
|
25
|
+
Message;
|
|
26
|
+
Code;
|
|
27
|
+
RequiredParameters;
|
|
28
|
+
MutuallyExclusiveParameters;
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InvalidRequestException",
|
|
32
|
+
$fault: "client",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
36
|
+
this.Message = opts.Message;
|
|
37
|
+
this.Code = opts.Code;
|
|
38
|
+
this.RequiredParameters = opts.RequiredParameters;
|
|
39
|
+
this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
43
|
+
class LimitExceededException extends DLMServiceException_1.DLMServiceException {
|
|
44
|
+
name = "LimitExceededException";
|
|
45
|
+
$fault = "client";
|
|
46
|
+
Message;
|
|
47
|
+
Code;
|
|
48
|
+
ResourceType;
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "LimitExceededException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
56
|
+
this.Message = opts.Message;
|
|
57
|
+
this.Code = opts.Code;
|
|
58
|
+
this.ResourceType = opts.ResourceType;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.LimitExceededException = LimitExceededException;
|
|
62
|
+
class ResourceNotFoundException extends DLMServiceException_1.DLMServiceException {
|
|
63
|
+
name = "ResourceNotFoundException";
|
|
64
|
+
$fault = "client";
|
|
65
|
+
Message;
|
|
66
|
+
Code;
|
|
67
|
+
ResourceType;
|
|
68
|
+
ResourceIds;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ResourceNotFoundException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
this.Code = opts.Code;
|
|
78
|
+
this.ResourceType = opts.ResourceType;
|
|
79
|
+
this.ResourceIds = opts.ResourceIds;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-01-12",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.dlm",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-01-12",
|
|
33
35
|
serviceTarget: "dlm_20180112",
|
|
34
36
|
},
|
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetLifecyclePolicies$ = exports.DeleteLifecyclePolicy$ = exports.CreateLifecyclePolicy$ = exports.UpdateLifecyclePolicyResponse$ = exports.UpdateLifecyclePolicyRequest$ = exports.UntagResourceResponse$ = exports.UntagResourceRequest$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.Tag$ = exports.ShareRule$ = exports.Script$ = exports.Schedule$ = exports.RetentionArchiveTier$ = exports.RetainRule$ = exports.PolicyDetails$ = exports._Parameters$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.LifecyclePolicySummary$ = exports.LifecyclePolicy$ = exports.GetLifecyclePolicyResponse$ = exports.GetLifecyclePolicyRequest$ = exports.GetLifecyclePoliciesResponse$ = exports.GetLifecyclePoliciesRequest$ = exports.FastRestoreRule$ = exports.Exclusions$ = exports.EventSource$ = exports.EventParameters$ = exports.EncryptionConfiguration$ = exports.DeprecateRule$ = exports.DeleteLifecyclePolicyResponse$ = exports.DeleteLifecyclePolicyRequest$ = exports.CrossRegionCopyTarget$ = exports.CrossRegionCopyRule$ = exports.CrossRegionCopyRetainRule$ = exports.CrossRegionCopyDeprecateRule$ = exports.CrossRegionCopyAction$ = exports.CreateRule$ = exports.CreateLifecyclePolicyResponse$ = exports.CreateLifecyclePolicyRequest$ = exports.ArchiveRule$ = exports.ArchiveRetainRule$ = exports.Action$ = exports.errorTypeRegistries = exports.ResourceNotFoundException$ = exports.LimitExceededException$ = exports.InvalidRequestException$ = exports.InternalServerException$ = exports.DLMServiceException$ = void 0;
|
|
4
|
+
exports.UpdateLifecyclePolicy$ = exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.GetLifecyclePolicy$ = void 0;
|
|
5
|
+
const _A = "Action";
|
|
6
|
+
const _AL = "ActionList";
|
|
7
|
+
const _AR = "ArchiveRule";
|
|
8
|
+
const _ARR = "ArchiveRetainRule";
|
|
9
|
+
const _AZ = "AvailabilityZones";
|
|
10
|
+
const _Ac = "Actions";
|
|
11
|
+
const _C = "Code";
|
|
12
|
+
const _CA = "CmkArn";
|
|
13
|
+
const _CE = "CronExpression";
|
|
14
|
+
const _CI = "CreateInterval";
|
|
15
|
+
const _CLP = "CreateLifecyclePolicy";
|
|
16
|
+
const _CLPR = "CreateLifecyclePolicyRequest";
|
|
17
|
+
const _CLPRr = "CreateLifecyclePolicyResponse";
|
|
18
|
+
const _CR = "CreateRule";
|
|
19
|
+
const _CRC = "CrossRegionCopy";
|
|
20
|
+
const _CRCA = "CrossRegionCopyAction";
|
|
21
|
+
const _CRCAL = "CrossRegionCopyActionList";
|
|
22
|
+
const _CRCDR = "CrossRegionCopyDeprecateRule";
|
|
23
|
+
const _CRCR = "CrossRegionCopyRule";
|
|
24
|
+
const _CRCRR = "CrossRegionCopyRetainRule";
|
|
25
|
+
const _CRCRr = "CrossRegionCopyRules";
|
|
26
|
+
const _CRCT = "CrossRegionCopyTargets";
|
|
27
|
+
const _CRCTL = "CrossRegionCopyTargetList";
|
|
28
|
+
const _CRCTr = "CrossRegionCopyTarget";
|
|
29
|
+
const _CT = "CopyTags";
|
|
30
|
+
const _Co = "Count";
|
|
31
|
+
const _D = "Description";
|
|
32
|
+
const _DC = "DateCreated";
|
|
33
|
+
const _DLP = "DeleteLifecyclePolicy";
|
|
34
|
+
const _DLPR = "DeleteLifecyclePolicyRequest";
|
|
35
|
+
const _DLPRe = "DeleteLifecyclePolicyResponse";
|
|
36
|
+
const _DM = "DateModified";
|
|
37
|
+
const _DP = "DefaultPolicy";
|
|
38
|
+
const _DPT = "DefaultPolicyType";
|
|
39
|
+
const _DR = "DeprecateRule";
|
|
40
|
+
const _DRe = "DescriptionRegex";
|
|
41
|
+
const _E = "Exclusions";
|
|
42
|
+
const _EBV = "ExcludeBootVolumes";
|
|
43
|
+
const _EBVx = "ExcludeBootVolume";
|
|
44
|
+
const _EC = "EncryptionConfiguration";
|
|
45
|
+
const _ED = "ExtendDeletion";
|
|
46
|
+
const _EDVT = "ExcludeDataVolumeTags";
|
|
47
|
+
const _EDVTL = "ExcludeDataVolumeTagList";
|
|
48
|
+
const _EH = "ExecutionHandler";
|
|
49
|
+
const _EHS = "ExecutionHandlerService";
|
|
50
|
+
const _EOOSF = "ExecuteOperationOnScriptFailure";
|
|
51
|
+
const _EP = "EventParameters";
|
|
52
|
+
const _ERA = "ExecutionRoleArn";
|
|
53
|
+
const _ES = "EventSource";
|
|
54
|
+
const _ET = "EventType";
|
|
55
|
+
const _ETL = "ExcludeTagsList";
|
|
56
|
+
const _ETx = "ExcludeTags";
|
|
57
|
+
const _ETxe = "ExecutionTimeout";
|
|
58
|
+
const _EVT = "ExcludeVolumeTypes";
|
|
59
|
+
const _En = "Encrypted";
|
|
60
|
+
const _FRR = "FastRestoreRule";
|
|
61
|
+
const _GLP = "GetLifecyclePolicies";
|
|
62
|
+
const _GLPR = "GetLifecyclePoliciesRequest";
|
|
63
|
+
const _GLPRe = "GetLifecyclePoliciesResponse";
|
|
64
|
+
const _GLPRet = "GetLifecyclePolicyRequest";
|
|
65
|
+
const _GLPReti = "GetLifecyclePolicyResponse";
|
|
66
|
+
const _GLPe = "GetLifecyclePolicy";
|
|
67
|
+
const _I = "Interval";
|
|
68
|
+
const _IRE = "InvalidRequestException";
|
|
69
|
+
const _ISE = "InternalServerException";
|
|
70
|
+
const _IU = "IntervalUnit";
|
|
71
|
+
const _K = "Key";
|
|
72
|
+
const _L = "Location";
|
|
73
|
+
const _LEE = "LimitExceededException";
|
|
74
|
+
const _LP = "LifecyclePolicy";
|
|
75
|
+
const _LPS = "LifecyclePolicySummary";
|
|
76
|
+
const _LPSL = "LifecyclePolicySummaryList";
|
|
77
|
+
const _LTFR = "ListTagsForResource";
|
|
78
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
79
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
80
|
+
const _M = "Message";
|
|
81
|
+
const _MEP = "MutuallyExclusiveParameters";
|
|
82
|
+
const _MRC = "MaximumRetryCount";
|
|
83
|
+
const _N = "Name";
|
|
84
|
+
const _NR = "NoReboot";
|
|
85
|
+
const _P = "Parameters";
|
|
86
|
+
const _PA = "PolicyArn";
|
|
87
|
+
const _PD = "PolicyDetails";
|
|
88
|
+
const _PI = "PolicyId";
|
|
89
|
+
const _PIo = "PolicyIds";
|
|
90
|
+
const _PL = "PolicyLanguage";
|
|
91
|
+
const _PT = "PolicyType";
|
|
92
|
+
const _Po = "Policies";
|
|
93
|
+
const _Pol = "Policy";
|
|
94
|
+
const _RA = "ResourceArn";
|
|
95
|
+
const _RAT = "RetentionArchiveTier";
|
|
96
|
+
const _RI = "ResourceIds";
|
|
97
|
+
const _RIe = "RetainInterval";
|
|
98
|
+
const _RL = "ResourceLocations";
|
|
99
|
+
const _RNFE = "ResourceNotFoundException";
|
|
100
|
+
const _RP = "RequiredParameters";
|
|
101
|
+
const _RR = "RetainRule";
|
|
102
|
+
const _RT = "ResourceType";
|
|
103
|
+
const _RTe = "ResourceTypes";
|
|
104
|
+
const _S = "State";
|
|
105
|
+
const _SL = "ScheduleList";
|
|
106
|
+
const _SLc = "ScriptsList";
|
|
107
|
+
const _SM = "StatusMessage";
|
|
108
|
+
const _SO = "SnapshotOwner";
|
|
109
|
+
const _SR = "ShareRules";
|
|
110
|
+
const _SRh = "ShareRule";
|
|
111
|
+
const _Sc = "Scripts";
|
|
112
|
+
const _Sch = "Schedules";
|
|
113
|
+
const _Sche = "Schedule";
|
|
114
|
+
const _Scr = "Script";
|
|
115
|
+
const _St = "Stages";
|
|
116
|
+
const _T = "Tags";
|
|
117
|
+
const _TA = "TargetAccounts";
|
|
118
|
+
const _TK = "TagKeys";
|
|
119
|
+
const _TR = "TargetRegion";
|
|
120
|
+
const _TRR = "TagResourceRequest";
|
|
121
|
+
const _TRRa = "TagResourceResponse";
|
|
122
|
+
const _TRa = "TagResource";
|
|
123
|
+
const _TT = "TargetTags";
|
|
124
|
+
const _TTA = "TagsToAdd";
|
|
125
|
+
const _TTAL = "TagsToAddList";
|
|
126
|
+
const _TTL = "TargetTagList";
|
|
127
|
+
const _Ta = "Target";
|
|
128
|
+
const _Tag = "Tag";
|
|
129
|
+
const _Ti = "Times";
|
|
130
|
+
const _Ty = "Type";
|
|
131
|
+
const _UI = "UnshareInterval";
|
|
132
|
+
const _UIU = "UnshareIntervalUnit";
|
|
133
|
+
const _ULP = "UpdateLifecyclePolicy";
|
|
134
|
+
const _ULPR = "UpdateLifecyclePolicyRequest";
|
|
135
|
+
const _ULPRp = "UpdateLifecyclePolicyResponse";
|
|
136
|
+
const _UR = "UntagResource";
|
|
137
|
+
const _URR = "UntagResourceRequest";
|
|
138
|
+
const _URRn = "UntagResourceResponse";
|
|
139
|
+
const _V = "Value";
|
|
140
|
+
const _VT = "VariableTags";
|
|
141
|
+
const _VTL = "VariableTagsList";
|
|
142
|
+
const _c = "client";
|
|
143
|
+
const _dPT = "defaultPolicyType";
|
|
144
|
+
const _e = "error";
|
|
145
|
+
const _h = "http";
|
|
146
|
+
const _hE = "httpError";
|
|
147
|
+
const _hQ = "httpQuery";
|
|
148
|
+
const _pI = "policyIds";
|
|
149
|
+
const _rT = "resourceTypes";
|
|
150
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dlm";
|
|
151
|
+
const _se = "server";
|
|
152
|
+
const _st = "state";
|
|
153
|
+
const _tK = "tagKeys";
|
|
154
|
+
const _tT = "targetTags";
|
|
155
|
+
const _tTA = "tagsToAdd";
|
|
156
|
+
const n0 = "com.amazonaws.dlm";
|
|
157
|
+
const schema_1 = require("@smithy/core/schema");
|
|
158
|
+
const DLMServiceException_1 = require("../models/DLMServiceException");
|
|
159
|
+
const errors_1 = require("../models/errors");
|
|
160
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
161
|
+
exports.DLMServiceException$ = [-3, _s, "DLMServiceException", 0, [], []];
|
|
162
|
+
_s_registry.registerError(exports.DLMServiceException$, DLMServiceException_1.DLMServiceException);
|
|
163
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
164
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
165
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
166
|
+
[_M, _C],
|
|
167
|
+
[0, 0]
|
|
168
|
+
];
|
|
169
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
170
|
+
exports.InvalidRequestException$ = [-3, n0, _IRE,
|
|
171
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
172
|
+
[_M, _C, _RP, _MEP],
|
|
173
|
+
[0, 0, 64 | 0, 64 | 0]
|
|
174
|
+
];
|
|
175
|
+
n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
|
|
176
|
+
exports.LimitExceededException$ = [-3, n0, _LEE,
|
|
177
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
178
|
+
[_M, _C, _RT],
|
|
179
|
+
[0, 0, 0]
|
|
180
|
+
];
|
|
181
|
+
n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
|
|
182
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
183
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
184
|
+
[_M, _C, _RT, _RI],
|
|
185
|
+
[0, 0, 0, 64 | 0]
|
|
186
|
+
];
|
|
187
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
188
|
+
exports.errorTypeRegistries = [
|
|
189
|
+
_s_registry,
|
|
190
|
+
n0_registry,
|
|
191
|
+
];
|
|
192
|
+
exports.Action$ = [3, n0, _A,
|
|
193
|
+
0,
|
|
194
|
+
[_N, _CRC],
|
|
195
|
+
[0, () => CrossRegionCopyActionList], 2
|
|
196
|
+
];
|
|
197
|
+
exports.ArchiveRetainRule$ = [3, n0, _ARR,
|
|
198
|
+
0,
|
|
199
|
+
[_RAT],
|
|
200
|
+
[() => exports.RetentionArchiveTier$], 1
|
|
201
|
+
];
|
|
202
|
+
exports.ArchiveRule$ = [3, n0, _AR,
|
|
203
|
+
0,
|
|
204
|
+
[_RR],
|
|
205
|
+
[() => exports.ArchiveRetainRule$], 1
|
|
206
|
+
];
|
|
207
|
+
exports.CreateLifecyclePolicyRequest$ = [3, n0, _CLPR,
|
|
208
|
+
0,
|
|
209
|
+
[_ERA, _D, _S, _PD, _T, _DP, _CI, _RIe, _CT, _ED, _CRCT, _E],
|
|
210
|
+
[0, 0, 0, () => exports.PolicyDetails$, 128 | 0, 0, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => exports.Exclusions$], 3
|
|
211
|
+
];
|
|
212
|
+
exports.CreateLifecyclePolicyResponse$ = [3, n0, _CLPRr,
|
|
213
|
+
0,
|
|
214
|
+
[_PI],
|
|
215
|
+
[0]
|
|
216
|
+
];
|
|
217
|
+
exports.CreateRule$ = [3, n0, _CR,
|
|
218
|
+
0,
|
|
219
|
+
[_L, _I, _IU, _Ti, _CE, _Sc],
|
|
220
|
+
[0, 1, 0, 64 | 0, 0, () => ScriptsList]
|
|
221
|
+
];
|
|
222
|
+
exports.CrossRegionCopyAction$ = [3, n0, _CRCA,
|
|
223
|
+
0,
|
|
224
|
+
[_Ta, _EC, _RR],
|
|
225
|
+
[0, () => exports.EncryptionConfiguration$, () => exports.CrossRegionCopyRetainRule$], 2
|
|
226
|
+
];
|
|
227
|
+
exports.CrossRegionCopyDeprecateRule$ = [3, n0, _CRCDR,
|
|
228
|
+
0,
|
|
229
|
+
[_I, _IU],
|
|
230
|
+
[1, 0]
|
|
231
|
+
];
|
|
232
|
+
exports.CrossRegionCopyRetainRule$ = [3, n0, _CRCRR,
|
|
233
|
+
0,
|
|
234
|
+
[_I, _IU],
|
|
235
|
+
[1, 0]
|
|
236
|
+
];
|
|
237
|
+
exports.CrossRegionCopyRule$ = [3, n0, _CRCR,
|
|
238
|
+
0,
|
|
239
|
+
[_En, _TR, _Ta, _CA, _CT, _RR, _DR],
|
|
240
|
+
[2, 0, 0, 0, 2, () => exports.CrossRegionCopyRetainRule$, () => exports.CrossRegionCopyDeprecateRule$], 1
|
|
241
|
+
];
|
|
242
|
+
exports.CrossRegionCopyTarget$ = [3, n0, _CRCTr,
|
|
243
|
+
0,
|
|
244
|
+
[_TR],
|
|
245
|
+
[0]
|
|
246
|
+
];
|
|
247
|
+
exports.DeleteLifecyclePolicyRequest$ = [3, n0, _DLPR,
|
|
248
|
+
0,
|
|
249
|
+
[_PI],
|
|
250
|
+
[[0, 1]], 1
|
|
251
|
+
];
|
|
252
|
+
exports.DeleteLifecyclePolicyResponse$ = [3, n0, _DLPRe,
|
|
253
|
+
0,
|
|
254
|
+
[],
|
|
255
|
+
[]
|
|
256
|
+
];
|
|
257
|
+
exports.DeprecateRule$ = [3, n0, _DR,
|
|
258
|
+
0,
|
|
259
|
+
[_Co, _I, _IU],
|
|
260
|
+
[1, 1, 0]
|
|
261
|
+
];
|
|
262
|
+
exports.EncryptionConfiguration$ = [3, n0, _EC,
|
|
263
|
+
0,
|
|
264
|
+
[_En, _CA],
|
|
265
|
+
[2, 0], 1
|
|
266
|
+
];
|
|
267
|
+
exports.EventParameters$ = [3, n0, _EP,
|
|
268
|
+
0,
|
|
269
|
+
[_ET, _SO, _DRe],
|
|
270
|
+
[0, 64 | 0, 0], 3
|
|
271
|
+
];
|
|
272
|
+
exports.EventSource$ = [3, n0, _ES,
|
|
273
|
+
0,
|
|
274
|
+
[_Ty, _P],
|
|
275
|
+
[0, () => exports.EventParameters$], 1
|
|
276
|
+
];
|
|
277
|
+
exports.Exclusions$ = [3, n0, _E,
|
|
278
|
+
0,
|
|
279
|
+
[_EBV, _EVT, _ETx],
|
|
280
|
+
[2, 64 | 0, () => ExcludeTagsList]
|
|
281
|
+
];
|
|
282
|
+
exports.FastRestoreRule$ = [3, n0, _FRR,
|
|
283
|
+
0,
|
|
284
|
+
[_AZ, _Co, _I, _IU],
|
|
285
|
+
[64 | 0, 1, 1, 0], 1
|
|
286
|
+
];
|
|
287
|
+
exports.GetLifecyclePoliciesRequest$ = [3, n0, _GLPR,
|
|
288
|
+
0,
|
|
289
|
+
[_PIo, _S, _RTe, _TT, _TTA, _DPT],
|
|
290
|
+
[[64 | 0, { [_hQ]: _pI }], [0, { [_hQ]: _st }], [64 | 0, { [_hQ]: _rT }], [64 | 0, { [_hQ]: _tT }], [64 | 0, { [_hQ]: _tTA }], [0, { [_hQ]: _dPT }]]
|
|
291
|
+
];
|
|
292
|
+
exports.GetLifecyclePoliciesResponse$ = [3, n0, _GLPRe,
|
|
293
|
+
0,
|
|
294
|
+
[_Po],
|
|
295
|
+
[() => LifecyclePolicySummaryList]
|
|
296
|
+
];
|
|
297
|
+
exports.GetLifecyclePolicyRequest$ = [3, n0, _GLPRet,
|
|
298
|
+
0,
|
|
299
|
+
[_PI],
|
|
300
|
+
[[0, 1]], 1
|
|
301
|
+
];
|
|
302
|
+
exports.GetLifecyclePolicyResponse$ = [3, n0, _GLPReti,
|
|
303
|
+
0,
|
|
304
|
+
[_Pol],
|
|
305
|
+
[() => exports.LifecyclePolicy$]
|
|
306
|
+
];
|
|
307
|
+
exports.LifecyclePolicy$ = [3, n0, _LP,
|
|
308
|
+
0,
|
|
309
|
+
[_PI, _D, _S, _SM, _ERA, _DC, _DM, _PD, _T, _PA, _DP],
|
|
310
|
+
[0, 0, 0, 0, 0, 5, 5, () => exports.PolicyDetails$, 128 | 0, 0, 2]
|
|
311
|
+
];
|
|
312
|
+
exports.LifecyclePolicySummary$ = [3, n0, _LPS,
|
|
313
|
+
0,
|
|
314
|
+
[_PI, _D, _S, _T, _PT, _DP],
|
|
315
|
+
[0, 0, 0, 128 | 0, 0, 2]
|
|
316
|
+
];
|
|
317
|
+
exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
318
|
+
0,
|
|
319
|
+
[_RA],
|
|
320
|
+
[[0, 1]], 1
|
|
321
|
+
];
|
|
322
|
+
exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
323
|
+
0,
|
|
324
|
+
[_T],
|
|
325
|
+
[128 | 0]
|
|
326
|
+
];
|
|
327
|
+
exports._Parameters$ = [3, n0, _P,
|
|
328
|
+
0,
|
|
329
|
+
[_EBVx, _NR, _EDVT],
|
|
330
|
+
[2, 2, () => ExcludeDataVolumeTagList]
|
|
331
|
+
];
|
|
332
|
+
exports.PolicyDetails$ = [3, n0, _PD,
|
|
333
|
+
0,
|
|
334
|
+
[_PT, _RTe, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RT, _CI, _RIe, _CT, _CRCT, _ED, _E],
|
|
335
|
+
[0, 64 | 0, 64 | 0, () => TargetTagList, () => ScheduleList, () => exports._Parameters$, () => exports.EventSource$, () => ActionList, 0, 0, 1, 1, 2, () => CrossRegionCopyTargetList, 2, () => exports.Exclusions$]
|
|
336
|
+
];
|
|
337
|
+
exports.RetainRule$ = [3, n0, _RR,
|
|
338
|
+
0,
|
|
339
|
+
[_Co, _I, _IU],
|
|
340
|
+
[1, 1, 0]
|
|
341
|
+
];
|
|
342
|
+
exports.RetentionArchiveTier$ = [3, n0, _RAT,
|
|
343
|
+
0,
|
|
344
|
+
[_Co, _I, _IU],
|
|
345
|
+
[1, 1, 0]
|
|
346
|
+
];
|
|
347
|
+
exports.Schedule$ = [3, n0, _Sche,
|
|
348
|
+
0,
|
|
349
|
+
[_N, _CT, _TTA, _VT, _CR, _RR, _FRR, _CRCRr, _SR, _DR, _AR],
|
|
350
|
+
[0, 2, () => TagsToAddList, () => VariableTagsList, () => exports.CreateRule$, () => exports.RetainRule$, () => exports.FastRestoreRule$, () => CrossRegionCopyRules, () => ShareRules, () => exports.DeprecateRule$, () => exports.ArchiveRule$]
|
|
351
|
+
];
|
|
352
|
+
exports.Script$ = [3, n0, _Scr,
|
|
353
|
+
0,
|
|
354
|
+
[_EH, _St, _EHS, _EOOSF, _ETxe, _MRC],
|
|
355
|
+
[0, 64 | 0, 0, 2, 1, 1], 1
|
|
356
|
+
];
|
|
357
|
+
exports.ShareRule$ = [3, n0, _SRh,
|
|
358
|
+
0,
|
|
359
|
+
[_TA, _UI, _UIU],
|
|
360
|
+
[64 | 0, 1, 0], 1
|
|
361
|
+
];
|
|
362
|
+
exports.Tag$ = [3, n0, _Tag,
|
|
363
|
+
0,
|
|
364
|
+
[_K, _V],
|
|
365
|
+
[0, 0], 2
|
|
366
|
+
];
|
|
367
|
+
exports.TagResourceRequest$ = [3, n0, _TRR,
|
|
368
|
+
0,
|
|
369
|
+
[_RA, _T],
|
|
370
|
+
[[0, 1], 128 | 0], 2
|
|
371
|
+
];
|
|
372
|
+
exports.TagResourceResponse$ = [3, n0, _TRRa,
|
|
373
|
+
0,
|
|
374
|
+
[],
|
|
375
|
+
[]
|
|
376
|
+
];
|
|
377
|
+
exports.UntagResourceRequest$ = [3, n0, _URR,
|
|
378
|
+
0,
|
|
379
|
+
[_RA, _TK],
|
|
380
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
381
|
+
];
|
|
382
|
+
exports.UntagResourceResponse$ = [3, n0, _URRn,
|
|
383
|
+
0,
|
|
384
|
+
[],
|
|
385
|
+
[]
|
|
386
|
+
];
|
|
387
|
+
exports.UpdateLifecyclePolicyRequest$ = [3, n0, _ULPR,
|
|
388
|
+
0,
|
|
389
|
+
[_PI, _ERA, _S, _D, _PD, _CI, _RIe, _CT, _ED, _CRCT, _E],
|
|
390
|
+
[[0, 1], 0, 0, 0, () => exports.PolicyDetails$, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => exports.Exclusions$], 1
|
|
391
|
+
];
|
|
392
|
+
exports.UpdateLifecyclePolicyResponse$ = [3, n0, _ULPRp,
|
|
393
|
+
0,
|
|
394
|
+
[],
|
|
395
|
+
[]
|
|
396
|
+
];
|
|
397
|
+
var ActionList = [1, n0, _AL,
|
|
398
|
+
0, () => exports.Action$
|
|
399
|
+
];
|
|
400
|
+
var AvailabilityZoneList = 64 | 0;
|
|
401
|
+
var CrossRegionCopyActionList = [1, n0, _CRCAL,
|
|
402
|
+
0, () => exports.CrossRegionCopyAction$
|
|
403
|
+
];
|
|
404
|
+
var CrossRegionCopyRules = [1, n0, _CRCRr,
|
|
405
|
+
0, () => exports.CrossRegionCopyRule$
|
|
406
|
+
];
|
|
407
|
+
var CrossRegionCopyTargetList = [1, n0, _CRCTL,
|
|
408
|
+
0, () => exports.CrossRegionCopyTarget$
|
|
409
|
+
];
|
|
410
|
+
var ExcludeDataVolumeTagList = [1, n0, _EDVTL,
|
|
411
|
+
0, () => exports.Tag$
|
|
412
|
+
];
|
|
413
|
+
var ExcludeTagsList = [1, n0, _ETL,
|
|
414
|
+
0, () => exports.Tag$
|
|
415
|
+
];
|
|
416
|
+
var ExcludeVolumeTypesList = 64 | 0;
|
|
417
|
+
var LifecyclePolicySummaryList = [1, n0, _LPSL,
|
|
418
|
+
0, () => exports.LifecyclePolicySummary$
|
|
419
|
+
];
|
|
420
|
+
var ParameterList = 64 | 0;
|
|
421
|
+
var PolicyIdList = 64 | 0;
|
|
422
|
+
var ResourceLocationList = 64 | 0;
|
|
423
|
+
var ResourceTypeValuesList = 64 | 0;
|
|
424
|
+
var ScheduleList = [1, n0, _SL,
|
|
425
|
+
0, () => exports.Schedule$
|
|
426
|
+
];
|
|
427
|
+
var ScriptsList = [1, n0, _SLc,
|
|
428
|
+
0, () => exports.Script$
|
|
429
|
+
];
|
|
430
|
+
var ShareRules = [1, n0, _SR,
|
|
431
|
+
0, () => exports.ShareRule$
|
|
432
|
+
];
|
|
433
|
+
var ShareTargetAccountList = 64 | 0;
|
|
434
|
+
var SnapshotOwnerList = 64 | 0;
|
|
435
|
+
var StagesList = 64 | 0;
|
|
436
|
+
var TagKeyList = 64 | 0;
|
|
437
|
+
var TagsToAddFilterList = 64 | 0;
|
|
438
|
+
var TagsToAddList = [1, n0, _TTAL,
|
|
439
|
+
0, () => exports.Tag$
|
|
440
|
+
];
|
|
441
|
+
var TargetTagList = [1, n0, _TTL,
|
|
442
|
+
0, () => exports.Tag$
|
|
443
|
+
];
|
|
444
|
+
var TargetTagsFilterList = 64 | 0;
|
|
445
|
+
var TimesList = 64 | 0;
|
|
446
|
+
var VariableTagsList = [1, n0, _VTL,
|
|
447
|
+
0, () => exports.Tag$
|
|
448
|
+
];
|
|
449
|
+
var TagMap = 128 | 0;
|
|
450
|
+
exports.CreateLifecyclePolicy$ = [9, n0, _CLP,
|
|
451
|
+
{ [_h]: ["POST", "/policies", 200] }, () => exports.CreateLifecyclePolicyRequest$, () => exports.CreateLifecyclePolicyResponse$
|
|
452
|
+
];
|
|
453
|
+
exports.DeleteLifecyclePolicy$ = [9, n0, _DLP,
|
|
454
|
+
{ [_h]: ["DELETE", "/policies/{PolicyId}", 200] }, () => exports.DeleteLifecyclePolicyRequest$, () => exports.DeleteLifecyclePolicyResponse$
|
|
455
|
+
];
|
|
456
|
+
exports.GetLifecyclePolicies$ = [9, n0, _GLP,
|
|
457
|
+
{ [_h]: ["GET", "/policies", 200] }, () => exports.GetLifecyclePoliciesRequest$, () => exports.GetLifecyclePoliciesResponse$
|
|
458
|
+
];
|
|
459
|
+
exports.GetLifecyclePolicy$ = [9, n0, _GLPe,
|
|
460
|
+
{ [_h]: ["GET", "/policies/{PolicyId}", 200] }, () => exports.GetLifecyclePolicyRequest$, () => exports.GetLifecyclePolicyResponse$
|
|
461
|
+
];
|
|
462
|
+
exports.ListTagsForResource$ = [9, n0, _LTFR,
|
|
463
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
|
|
464
|
+
];
|
|
465
|
+
exports.TagResource$ = [9, n0, _TRa,
|
|
466
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => exports.TagResourceRequest$, () => exports.TagResourceResponse$
|
|
467
|
+
];
|
|
468
|
+
exports.UntagResource$ = [9, n0, _UR,
|
|
469
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => exports.UntagResourceRequest$, () => exports.UntagResourceResponse$
|
|
470
|
+
];
|
|
471
|
+
exports.UpdateLifecyclePolicy$ = [9, n0, _ULP,
|
|
472
|
+
{ [_h]: ["PATCH", "/policies/{PolicyId}", 200] }, () => exports.UpdateLifecyclePolicyRequest$, () => exports.UpdateLifecyclePolicyResponse$
|
|
473
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultDLMHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-01-12",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.dlm",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-01-12",
|
|
30
32
|
serviceTarget: "dlm_20180112",
|
|
31
33
|
},
|