@aws-sdk/client-dlm 3.1075.0 → 3.1076.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 +778 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -49
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/DLMServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -75
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -517
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultDLMHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "dlm",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultDLMHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,673 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
85
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://dlm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://dlm.{Region}.amazonaws.com", i],
|
|
95
|
+
["https://dlm-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
96
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
97
|
+
["https://dlm.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
98
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
99
|
+
["https://dlm.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
100
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
101
|
+
]
|
|
102
|
+
};
|
|
103
|
+
const root = 2;
|
|
104
|
+
const r = 100_000_000;
|
|
105
|
+
const nodes = new Int32Array([
|
|
106
|
+
-1, 1, -1,
|
|
107
|
+
0, 13, 3,
|
|
108
|
+
1, 4, r + 12,
|
|
109
|
+
2, 5, r + 12,
|
|
110
|
+
3, 8, 6,
|
|
111
|
+
4, 7, r + 11,
|
|
112
|
+
5, r + 9, r + 10,
|
|
113
|
+
4, 11, 9,
|
|
114
|
+
6, 10, r + 8,
|
|
115
|
+
7, r + 6, r + 7,
|
|
116
|
+
5, 12, r + 5,
|
|
117
|
+
6, r + 4, r + 5,
|
|
118
|
+
3, r + 1, 14,
|
|
119
|
+
4, r + 2, r + 3,
|
|
120
|
+
]);
|
|
121
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
122
|
+
|
|
123
|
+
const cache = new EndpointCache({
|
|
124
|
+
size: 50,
|
|
125
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
126
|
+
});
|
|
127
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
128
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
129
|
+
endpointParams: endpointParams,
|
|
130
|
+
logger: context.logger,
|
|
131
|
+
}));
|
|
132
|
+
};
|
|
133
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
134
|
+
|
|
135
|
+
class DLMServiceException extends ServiceException {
|
|
136
|
+
constructor(options) {
|
|
137
|
+
super(options);
|
|
138
|
+
Object.setPrototypeOf(this, DLMServiceException.prototype);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
class InternalServerException extends DLMServiceException {
|
|
143
|
+
name = "InternalServerException";
|
|
144
|
+
$fault = "server";
|
|
145
|
+
Message;
|
|
146
|
+
Code;
|
|
147
|
+
constructor(opts) {
|
|
148
|
+
super({
|
|
149
|
+
name: "InternalServerException",
|
|
150
|
+
$fault: "server",
|
|
151
|
+
...opts,
|
|
152
|
+
});
|
|
153
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
154
|
+
this.Message = opts.Message;
|
|
155
|
+
this.Code = opts.Code;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
class InvalidRequestException extends DLMServiceException {
|
|
159
|
+
name = "InvalidRequestException";
|
|
160
|
+
$fault = "client";
|
|
161
|
+
Message;
|
|
162
|
+
Code;
|
|
163
|
+
RequiredParameters;
|
|
164
|
+
MutuallyExclusiveParameters;
|
|
165
|
+
constructor(opts) {
|
|
166
|
+
super({
|
|
167
|
+
name: "InvalidRequestException",
|
|
168
|
+
$fault: "client",
|
|
169
|
+
...opts,
|
|
170
|
+
});
|
|
171
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
172
|
+
this.Message = opts.Message;
|
|
173
|
+
this.Code = opts.Code;
|
|
174
|
+
this.RequiredParameters = opts.RequiredParameters;
|
|
175
|
+
this.MutuallyExclusiveParameters = opts.MutuallyExclusiveParameters;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
class LimitExceededException extends DLMServiceException {
|
|
179
|
+
name = "LimitExceededException";
|
|
180
|
+
$fault = "client";
|
|
181
|
+
Message;
|
|
182
|
+
Code;
|
|
183
|
+
ResourceType;
|
|
184
|
+
constructor(opts) {
|
|
185
|
+
super({
|
|
186
|
+
name: "LimitExceededException",
|
|
187
|
+
$fault: "client",
|
|
188
|
+
...opts,
|
|
189
|
+
});
|
|
190
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
191
|
+
this.Message = opts.Message;
|
|
192
|
+
this.Code = opts.Code;
|
|
193
|
+
this.ResourceType = opts.ResourceType;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
class ResourceNotFoundException extends DLMServiceException {
|
|
197
|
+
name = "ResourceNotFoundException";
|
|
198
|
+
$fault = "client";
|
|
199
|
+
Message;
|
|
200
|
+
Code;
|
|
201
|
+
ResourceType;
|
|
202
|
+
ResourceIds;
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "ResourceNotFoundException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts,
|
|
208
|
+
});
|
|
209
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
210
|
+
this.Message = opts.Message;
|
|
211
|
+
this.Code = opts.Code;
|
|
212
|
+
this.ResourceType = opts.ResourceType;
|
|
213
|
+
this.ResourceIds = opts.ResourceIds;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
const _A = "Action";
|
|
218
|
+
const _AL = "ActionList";
|
|
219
|
+
const _AR = "ArchiveRule";
|
|
220
|
+
const _ARR = "ArchiveRetainRule";
|
|
221
|
+
const _AZ = "AvailabilityZones";
|
|
222
|
+
const _AZI = "AvailabilityZoneIds";
|
|
223
|
+
const _Ac = "Actions";
|
|
224
|
+
const _C = "Code";
|
|
225
|
+
const _CA = "CmkArn";
|
|
226
|
+
const _CE = "CronExpression";
|
|
227
|
+
const _CI = "CreateInterval";
|
|
228
|
+
const _CLP = "CreateLifecyclePolicy";
|
|
229
|
+
const _CLPR = "CreateLifecyclePolicyRequest";
|
|
230
|
+
const _CLPRr = "CreateLifecyclePolicyResponse";
|
|
231
|
+
const _CR = "CreateRule";
|
|
232
|
+
const _CRC = "CrossRegionCopy";
|
|
233
|
+
const _CRCA = "CrossRegionCopyAction";
|
|
234
|
+
const _CRCAL = "CrossRegionCopyActionList";
|
|
235
|
+
const _CRCDR = "CrossRegionCopyDeprecateRule";
|
|
236
|
+
const _CRCR = "CrossRegionCopyRule";
|
|
237
|
+
const _CRCRR = "CrossRegionCopyRetainRule";
|
|
238
|
+
const _CRCRr = "CrossRegionCopyRules";
|
|
239
|
+
const _CRCT = "CrossRegionCopyTargets";
|
|
240
|
+
const _CRCTL = "CrossRegionCopyTargetList";
|
|
241
|
+
const _CRCTr = "CrossRegionCopyTarget";
|
|
242
|
+
const _CT = "CopyTags";
|
|
243
|
+
const _Co = "Count";
|
|
244
|
+
const _D = "Description";
|
|
245
|
+
const _DC = "DateCreated";
|
|
246
|
+
const _DLP = "DeleteLifecyclePolicy";
|
|
247
|
+
const _DLPR = "DeleteLifecyclePolicyRequest";
|
|
248
|
+
const _DLPRe = "DeleteLifecyclePolicyResponse";
|
|
249
|
+
const _DM = "DateModified";
|
|
250
|
+
const _DP = "DefaultPolicy";
|
|
251
|
+
const _DPT = "DefaultPolicyType";
|
|
252
|
+
const _DR = "DeprecateRule";
|
|
253
|
+
const _DRe = "DescriptionRegex";
|
|
254
|
+
const _E = "Exclusions";
|
|
255
|
+
const _EBV = "ExcludeBootVolumes";
|
|
256
|
+
const _EBVx = "ExcludeBootVolume";
|
|
257
|
+
const _EC = "EncryptionConfiguration";
|
|
258
|
+
const _ED = "ExtendDeletion";
|
|
259
|
+
const _EDVT = "ExcludeDataVolumeTags";
|
|
260
|
+
const _EDVTL = "ExcludeDataVolumeTagList";
|
|
261
|
+
const _EH = "ExecutionHandler";
|
|
262
|
+
const _EHS = "ExecutionHandlerService";
|
|
263
|
+
const _EOOSF = "ExecuteOperationOnScriptFailure";
|
|
264
|
+
const _EP = "EventParameters";
|
|
265
|
+
const _ERA = "ExecutionRoleArn";
|
|
266
|
+
const _ES = "EventSource";
|
|
267
|
+
const _ET = "EventType";
|
|
268
|
+
const _ETL = "ExcludeTagsList";
|
|
269
|
+
const _ETx = "ExcludeTags";
|
|
270
|
+
const _ETxe = "ExecutionTimeout";
|
|
271
|
+
const _EVT = "ExcludeVolumeTypes";
|
|
272
|
+
const _En = "Encrypted";
|
|
273
|
+
const _FRR = "FastRestoreRule";
|
|
274
|
+
const _GLP = "GetLifecyclePolicies";
|
|
275
|
+
const _GLPR = "GetLifecyclePoliciesRequest";
|
|
276
|
+
const _GLPRe = "GetLifecyclePoliciesResponse";
|
|
277
|
+
const _GLPRet = "GetLifecyclePolicyRequest";
|
|
278
|
+
const _GLPReti = "GetLifecyclePolicyResponse";
|
|
279
|
+
const _GLPe = "GetLifecyclePolicy";
|
|
280
|
+
const _I = "Interval";
|
|
281
|
+
const _IRE = "InvalidRequestException";
|
|
282
|
+
const _ISE = "InternalServerException";
|
|
283
|
+
const _IU = "IntervalUnit";
|
|
284
|
+
const _K = "Key";
|
|
285
|
+
const _L = "Location";
|
|
286
|
+
const _LEE = "LimitExceededException";
|
|
287
|
+
const _LP = "LifecyclePolicy";
|
|
288
|
+
const _LPS = "LifecyclePolicySummary";
|
|
289
|
+
const _LPSL = "LifecyclePolicySummaryList";
|
|
290
|
+
const _LTFR = "ListTagsForResource";
|
|
291
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
292
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
293
|
+
const _M = "Message";
|
|
294
|
+
const _MEP = "MutuallyExclusiveParameters";
|
|
295
|
+
const _MRC = "MaximumRetryCount";
|
|
296
|
+
const _N = "Name";
|
|
297
|
+
const _NR = "NoReboot";
|
|
298
|
+
const _P = "Parameters";
|
|
299
|
+
const _PA = "PolicyArn";
|
|
300
|
+
const _PD = "PolicyDetails";
|
|
301
|
+
const _PI = "PolicyId";
|
|
302
|
+
const _PIo = "PolicyIds";
|
|
303
|
+
const _PL = "PolicyLanguage";
|
|
304
|
+
const _PT = "PolicyType";
|
|
305
|
+
const _Po = "Policies";
|
|
306
|
+
const _Pol = "Policy";
|
|
307
|
+
const _RA = "ResourceArn";
|
|
308
|
+
const _RAT = "RetentionArchiveTier";
|
|
309
|
+
const _RI = "ResourceIds";
|
|
310
|
+
const _RIe = "RetainInterval";
|
|
311
|
+
const _RL = "ResourceLocations";
|
|
312
|
+
const _RNFE = "ResourceNotFoundException";
|
|
313
|
+
const _RP = "RequiredParameters";
|
|
314
|
+
const _RR = "RetainRule";
|
|
315
|
+
const _RT = "ResourceType";
|
|
316
|
+
const _RTe = "ResourceTypes";
|
|
317
|
+
const _S = "State";
|
|
318
|
+
const _SL = "ScheduleList";
|
|
319
|
+
const _SLc = "ScriptsList";
|
|
320
|
+
const _SM = "StatusMessage";
|
|
321
|
+
const _SO = "SnapshotOwner";
|
|
322
|
+
const _SR = "ShareRules";
|
|
323
|
+
const _SRh = "ShareRule";
|
|
324
|
+
const _Sc = "Scripts";
|
|
325
|
+
const _Sch = "Schedules";
|
|
326
|
+
const _Sche = "Schedule";
|
|
327
|
+
const _Scr = "Script";
|
|
328
|
+
const _St = "Stages";
|
|
329
|
+
const _T = "Tags";
|
|
330
|
+
const _TA = "TargetAccounts";
|
|
331
|
+
const _TK = "TagKeys";
|
|
332
|
+
const _TR = "TargetRegion";
|
|
333
|
+
const _TRR = "TagResourceRequest";
|
|
334
|
+
const _TRRa = "TagResourceResponse";
|
|
335
|
+
const _TRa = "TagResource";
|
|
336
|
+
const _TT = "TargetTags";
|
|
337
|
+
const _TTA = "TagsToAdd";
|
|
338
|
+
const _TTAL = "TagsToAddList";
|
|
339
|
+
const _TTL = "TargetTagList";
|
|
340
|
+
const _Ta = "Target";
|
|
341
|
+
const _Tag = "Tag";
|
|
342
|
+
const _Ti = "Times";
|
|
343
|
+
const _Ty = "Type";
|
|
344
|
+
const _UI = "UnshareInterval";
|
|
345
|
+
const _UIU = "UnshareIntervalUnit";
|
|
346
|
+
const _ULP = "UpdateLifecyclePolicy";
|
|
347
|
+
const _ULPR = "UpdateLifecyclePolicyRequest";
|
|
348
|
+
const _ULPRp = "UpdateLifecyclePolicyResponse";
|
|
349
|
+
const _UR = "UntagResource";
|
|
350
|
+
const _URR = "UntagResourceRequest";
|
|
351
|
+
const _URRn = "UntagResourceResponse";
|
|
352
|
+
const _V = "Value";
|
|
353
|
+
const _VT = "VariableTags";
|
|
354
|
+
const _VTL = "VariableTagsList";
|
|
355
|
+
const _c = "client";
|
|
356
|
+
const _dPT = "defaultPolicyType";
|
|
357
|
+
const _e = "error";
|
|
358
|
+
const _h = "http";
|
|
359
|
+
const _hE = "httpError";
|
|
360
|
+
const _hQ = "httpQuery";
|
|
361
|
+
const _pI = "policyIds";
|
|
362
|
+
const _rT = "resourceTypes";
|
|
363
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dlm";
|
|
364
|
+
const _se = "server";
|
|
365
|
+
const _st = "state";
|
|
366
|
+
const _tK = "tagKeys";
|
|
367
|
+
const _tT = "targetTags";
|
|
368
|
+
const _tTA = "tagsToAdd";
|
|
369
|
+
const n0 = "com.amazonaws.dlm";
|
|
370
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
371
|
+
var DLMServiceException$ = [-3, _s, "DLMServiceException", 0, [], []];
|
|
372
|
+
_s_registry.registerError(DLMServiceException$, DLMServiceException);
|
|
373
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
374
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
375
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
376
|
+
[_M, _C],
|
|
377
|
+
[0, 0]
|
|
378
|
+
];
|
|
379
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
380
|
+
var InvalidRequestException$ = [-3, n0, _IRE,
|
|
381
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
382
|
+
[_M, _C, _RP, _MEP],
|
|
383
|
+
[0, 0, 64 | 0, 64 | 0]
|
|
384
|
+
];
|
|
385
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
386
|
+
var LimitExceededException$ = [-3, n0, _LEE,
|
|
387
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
388
|
+
[_M, _C, _RT],
|
|
389
|
+
[0, 0, 0]
|
|
390
|
+
];
|
|
391
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
392
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
393
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
394
|
+
[_M, _C, _RT, _RI],
|
|
395
|
+
[0, 0, 0, 64 | 0]
|
|
396
|
+
];
|
|
397
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
398
|
+
const errorTypeRegistries = [
|
|
399
|
+
_s_registry,
|
|
400
|
+
n0_registry,
|
|
401
|
+
];
|
|
402
|
+
var Action$ = [3, n0, _A,
|
|
403
|
+
0,
|
|
404
|
+
[_N, _CRC],
|
|
405
|
+
[0, () => CrossRegionCopyActionList], 2
|
|
406
|
+
];
|
|
407
|
+
var ArchiveRetainRule$ = [3, n0, _ARR,
|
|
408
|
+
0,
|
|
409
|
+
[_RAT],
|
|
410
|
+
[() => RetentionArchiveTier$], 1
|
|
411
|
+
];
|
|
412
|
+
var ArchiveRule$ = [3, n0, _AR,
|
|
413
|
+
0,
|
|
414
|
+
[_RR],
|
|
415
|
+
[() => ArchiveRetainRule$], 1
|
|
416
|
+
];
|
|
417
|
+
var CreateLifecyclePolicyRequest$ = [3, n0, _CLPR,
|
|
418
|
+
0,
|
|
419
|
+
[_ERA, _D, _S, _PD, _T, _DP, _CI, _RIe, _CT, _ED, _CRCT, _E],
|
|
420
|
+
[0, 0, 0, () => PolicyDetails$, 128 | 0, 0, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 3
|
|
421
|
+
];
|
|
422
|
+
var CreateLifecyclePolicyResponse$ = [3, n0, _CLPRr,
|
|
423
|
+
0,
|
|
424
|
+
[_PI],
|
|
425
|
+
[0]
|
|
426
|
+
];
|
|
427
|
+
var CreateRule$ = [3, n0, _CR,
|
|
428
|
+
0,
|
|
429
|
+
[_L, _I, _IU, _Ti, _CE, _Sc],
|
|
430
|
+
[0, 1, 0, 64 | 0, 0, () => ScriptsList]
|
|
431
|
+
];
|
|
432
|
+
var CrossRegionCopyAction$ = [3, n0, _CRCA,
|
|
433
|
+
0,
|
|
434
|
+
[_Ta, _EC, _RR],
|
|
435
|
+
[0, () => EncryptionConfiguration$, () => CrossRegionCopyRetainRule$], 2
|
|
436
|
+
];
|
|
437
|
+
var CrossRegionCopyDeprecateRule$ = [3, n0, _CRCDR,
|
|
438
|
+
0,
|
|
439
|
+
[_I, _IU],
|
|
440
|
+
[1, 0]
|
|
441
|
+
];
|
|
442
|
+
var CrossRegionCopyRetainRule$ = [3, n0, _CRCRR,
|
|
443
|
+
0,
|
|
444
|
+
[_I, _IU],
|
|
445
|
+
[1, 0]
|
|
446
|
+
];
|
|
447
|
+
var CrossRegionCopyRule$ = [3, n0, _CRCR,
|
|
448
|
+
0,
|
|
449
|
+
[_En, _TR, _Ta, _CA, _CT, _RR, _DR],
|
|
450
|
+
[2, 0, 0, 0, 2, () => CrossRegionCopyRetainRule$, () => CrossRegionCopyDeprecateRule$], 1
|
|
451
|
+
];
|
|
452
|
+
var CrossRegionCopyTarget$ = [3, n0, _CRCTr,
|
|
453
|
+
0,
|
|
454
|
+
[_TR],
|
|
455
|
+
[0]
|
|
456
|
+
];
|
|
457
|
+
var DeleteLifecyclePolicyRequest$ = [3, n0, _DLPR,
|
|
458
|
+
0,
|
|
459
|
+
[_PI],
|
|
460
|
+
[[0, 1]], 1
|
|
461
|
+
];
|
|
462
|
+
var DeleteLifecyclePolicyResponse$ = [3, n0, _DLPRe,
|
|
463
|
+
0,
|
|
464
|
+
[],
|
|
465
|
+
[]
|
|
466
|
+
];
|
|
467
|
+
var DeprecateRule$ = [3, n0, _DR,
|
|
468
|
+
0,
|
|
469
|
+
[_Co, _I, _IU],
|
|
470
|
+
[1, 1, 0]
|
|
471
|
+
];
|
|
472
|
+
var EncryptionConfiguration$ = [3, n0, _EC,
|
|
473
|
+
0,
|
|
474
|
+
[_En, _CA],
|
|
475
|
+
[2, 0], 1
|
|
476
|
+
];
|
|
477
|
+
var EventParameters$ = [3, n0, _EP,
|
|
478
|
+
0,
|
|
479
|
+
[_ET, _SO, _DRe],
|
|
480
|
+
[0, 64 | 0, 0], 3
|
|
481
|
+
];
|
|
482
|
+
var EventSource$ = [3, n0, _ES,
|
|
483
|
+
0,
|
|
484
|
+
[_Ty, _P],
|
|
485
|
+
[0, () => EventParameters$], 1
|
|
486
|
+
];
|
|
487
|
+
var Exclusions$ = [3, n0, _E,
|
|
488
|
+
0,
|
|
489
|
+
[_EBV, _EVT, _ETx],
|
|
490
|
+
[2, 64 | 0, () => ExcludeTagsList]
|
|
491
|
+
];
|
|
492
|
+
var FastRestoreRule$ = [3, n0, _FRR,
|
|
493
|
+
0,
|
|
494
|
+
[_Co, _I, _IU, _AZ, _AZI],
|
|
495
|
+
[1, 1, 0, 64 | 0, 64 | 0]
|
|
496
|
+
];
|
|
497
|
+
var GetLifecyclePoliciesRequest$ = [3, n0, _GLPR,
|
|
498
|
+
0,
|
|
499
|
+
[_PIo, _S, _RTe, _TT, _TTA, _DPT],
|
|
500
|
+
[[64 | 0, { [_hQ]: _pI }], [0, { [_hQ]: _st }], [64 | 0, { [_hQ]: _rT }], [64 | 0, { [_hQ]: _tT }], [64 | 0, { [_hQ]: _tTA }], [0, { [_hQ]: _dPT }]]
|
|
501
|
+
];
|
|
502
|
+
var GetLifecyclePoliciesResponse$ = [3, n0, _GLPRe,
|
|
503
|
+
0,
|
|
504
|
+
[_Po],
|
|
505
|
+
[() => LifecyclePolicySummaryList]
|
|
506
|
+
];
|
|
507
|
+
var GetLifecyclePolicyRequest$ = [3, n0, _GLPRet,
|
|
508
|
+
0,
|
|
509
|
+
[_PI],
|
|
510
|
+
[[0, 1]], 1
|
|
511
|
+
];
|
|
512
|
+
var GetLifecyclePolicyResponse$ = [3, n0, _GLPReti,
|
|
513
|
+
0,
|
|
514
|
+
[_Pol],
|
|
515
|
+
[() => LifecyclePolicy$]
|
|
516
|
+
];
|
|
517
|
+
var LifecyclePolicy$ = [3, n0, _LP,
|
|
518
|
+
0,
|
|
519
|
+
[_PI, _D, _S, _SM, _ERA, _DC, _DM, _PD, _T, _PA, _DP],
|
|
520
|
+
[0, 0, 0, 0, 0, 5, 5, () => PolicyDetails$, 128 | 0, 0, 2]
|
|
521
|
+
];
|
|
522
|
+
var LifecyclePolicySummary$ = [3, n0, _LPS,
|
|
523
|
+
0,
|
|
524
|
+
[_PI, _D, _S, _T, _PT, _DP],
|
|
525
|
+
[0, 0, 0, 128 | 0, 0, 2]
|
|
526
|
+
];
|
|
527
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
528
|
+
0,
|
|
529
|
+
[_RA],
|
|
530
|
+
[[0, 1]], 1
|
|
531
|
+
];
|
|
532
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
533
|
+
0,
|
|
534
|
+
[_T],
|
|
535
|
+
[128 | 0]
|
|
536
|
+
];
|
|
537
|
+
var _Parameters$ = [3, n0, _P,
|
|
538
|
+
0,
|
|
539
|
+
[_EBVx, _NR, _EDVT],
|
|
540
|
+
[2, 2, () => ExcludeDataVolumeTagList]
|
|
541
|
+
];
|
|
542
|
+
var PolicyDetails$ = [3, n0, _PD,
|
|
543
|
+
0,
|
|
544
|
+
[_PT, _RTe, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RT, _CI, _RIe, _CT, _CRCT, _ED, _E],
|
|
545
|
+
[0, 64 | 0, 64 | 0, () => TargetTagList, () => ScheduleList, () => _Parameters$, () => EventSource$, () => ActionList, 0, 0, 1, 1, 2, () => CrossRegionCopyTargetList, 2, () => Exclusions$]
|
|
546
|
+
];
|
|
547
|
+
var RetainRule$ = [3, n0, _RR,
|
|
548
|
+
0,
|
|
549
|
+
[_Co, _I, _IU],
|
|
550
|
+
[1, 1, 0]
|
|
551
|
+
];
|
|
552
|
+
var RetentionArchiveTier$ = [3, n0, _RAT,
|
|
553
|
+
0,
|
|
554
|
+
[_Co, _I, _IU],
|
|
555
|
+
[1, 1, 0]
|
|
556
|
+
];
|
|
557
|
+
var Schedule$ = [3, n0, _Sche,
|
|
558
|
+
0,
|
|
559
|
+
[_N, _CT, _TTA, _VT, _CR, _RR, _FRR, _CRCRr, _SR, _DR, _AR],
|
|
560
|
+
[0, 2, () => TagsToAddList, () => VariableTagsList, () => CreateRule$, () => RetainRule$, () => FastRestoreRule$, () => CrossRegionCopyRules, () => ShareRules, () => DeprecateRule$, () => ArchiveRule$]
|
|
561
|
+
];
|
|
562
|
+
var Script$ = [3, n0, _Scr,
|
|
563
|
+
0,
|
|
564
|
+
[_EH, _St, _EHS, _EOOSF, _ETxe, _MRC],
|
|
565
|
+
[0, 64 | 0, 0, 2, 1, 1], 1
|
|
566
|
+
];
|
|
567
|
+
var ShareRule$ = [3, n0, _SRh,
|
|
568
|
+
0,
|
|
569
|
+
[_TA, _UI, _UIU],
|
|
570
|
+
[64 | 0, 1, 0], 1
|
|
571
|
+
];
|
|
572
|
+
var Tag$ = [3, n0, _Tag,
|
|
573
|
+
0,
|
|
574
|
+
[_K, _V],
|
|
575
|
+
[0, 0], 2
|
|
576
|
+
];
|
|
577
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
578
|
+
0,
|
|
579
|
+
[_RA, _T],
|
|
580
|
+
[[0, 1], 128 | 0], 2
|
|
581
|
+
];
|
|
582
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
583
|
+
0,
|
|
584
|
+
[],
|
|
585
|
+
[]
|
|
586
|
+
];
|
|
587
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
588
|
+
0,
|
|
589
|
+
[_RA, _TK],
|
|
590
|
+
[[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
|
|
591
|
+
];
|
|
592
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
593
|
+
0,
|
|
594
|
+
[],
|
|
595
|
+
[]
|
|
596
|
+
];
|
|
597
|
+
var UpdateLifecyclePolicyRequest$ = [3, n0, _ULPR,
|
|
598
|
+
0,
|
|
599
|
+
[_PI, _ERA, _S, _D, _PD, _CI, _RIe, _CT, _ED, _CRCT, _E],
|
|
600
|
+
[[0, 1], 0, 0, 0, () => PolicyDetails$, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 1
|
|
601
|
+
];
|
|
602
|
+
var UpdateLifecyclePolicyResponse$ = [3, n0, _ULPRp,
|
|
603
|
+
0,
|
|
604
|
+
[],
|
|
605
|
+
[]
|
|
606
|
+
];
|
|
607
|
+
var ActionList = [1, n0, _AL,
|
|
608
|
+
0, () => Action$
|
|
609
|
+
];
|
|
610
|
+
var CrossRegionCopyActionList = [1, n0, _CRCAL,
|
|
611
|
+
0, () => CrossRegionCopyAction$
|
|
612
|
+
];
|
|
613
|
+
var CrossRegionCopyRules = [1, n0, _CRCRr,
|
|
614
|
+
0, () => CrossRegionCopyRule$
|
|
615
|
+
];
|
|
616
|
+
var CrossRegionCopyTargetList = [1, n0, _CRCTL,
|
|
617
|
+
0, () => CrossRegionCopyTarget$
|
|
618
|
+
];
|
|
619
|
+
var ExcludeDataVolumeTagList = [1, n0, _EDVTL,
|
|
620
|
+
0, () => Tag$
|
|
621
|
+
];
|
|
622
|
+
var ExcludeTagsList = [1, n0, _ETL,
|
|
623
|
+
0, () => Tag$
|
|
624
|
+
];
|
|
625
|
+
var LifecyclePolicySummaryList = [1, n0, _LPSL,
|
|
626
|
+
0, () => LifecyclePolicySummary$
|
|
627
|
+
];
|
|
628
|
+
var ScheduleList = [1, n0, _SL,
|
|
629
|
+
0, () => Schedule$
|
|
630
|
+
];
|
|
631
|
+
var ScriptsList = [1, n0, _SLc,
|
|
632
|
+
0, () => Script$
|
|
633
|
+
];
|
|
634
|
+
var ShareRules = [1, n0, _SR,
|
|
635
|
+
0, () => ShareRule$
|
|
636
|
+
];
|
|
637
|
+
var TagsToAddList = [1, n0, _TTAL,
|
|
638
|
+
0, () => Tag$
|
|
639
|
+
];
|
|
640
|
+
var TargetTagList = [1, n0, _TTL,
|
|
641
|
+
0, () => Tag$
|
|
642
|
+
];
|
|
643
|
+
var VariableTagsList = [1, n0, _VTL,
|
|
644
|
+
0, () => Tag$
|
|
645
|
+
];
|
|
646
|
+
var CreateLifecyclePolicy$ = [9, n0, _CLP,
|
|
647
|
+
{ [_h]: ["POST", "/policies", 200] }, () => CreateLifecyclePolicyRequest$, () => CreateLifecyclePolicyResponse$
|
|
648
|
+
];
|
|
649
|
+
var DeleteLifecyclePolicy$ = [9, n0, _DLP,
|
|
650
|
+
{ [_h]: ["DELETE", "/policies/{PolicyId}", 200] }, () => DeleteLifecyclePolicyRequest$, () => DeleteLifecyclePolicyResponse$
|
|
651
|
+
];
|
|
652
|
+
var GetLifecyclePolicies$ = [9, n0, _GLP,
|
|
653
|
+
{ [_h]: ["GET", "/policies", 200] }, () => GetLifecyclePoliciesRequest$, () => GetLifecyclePoliciesResponse$
|
|
654
|
+
];
|
|
655
|
+
var GetLifecyclePolicy$ = [9, n0, _GLPe,
|
|
656
|
+
{ [_h]: ["GET", "/policies/{PolicyId}", 200] }, () => GetLifecyclePolicyRequest$, () => GetLifecyclePolicyResponse$
|
|
657
|
+
];
|
|
658
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
659
|
+
{ [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
660
|
+
];
|
|
661
|
+
var TagResource$ = [9, n0, _TRa,
|
|
662
|
+
{ [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
663
|
+
];
|
|
664
|
+
var UntagResource$ = [9, n0, _UR,
|
|
665
|
+
{ [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
666
|
+
];
|
|
667
|
+
var UpdateLifecyclePolicy$ = [9, n0, _ULP,
|
|
668
|
+
{ [_h]: ["PATCH", "/policies/{PolicyId}", 200] }, () => UpdateLifecyclePolicyRequest$, () => UpdateLifecyclePolicyResponse$
|
|
669
|
+
];
|
|
670
|
+
|
|
671
|
+
const getRuntimeConfig$1 = (config) => {
|
|
672
|
+
return {
|
|
673
|
+
apiVersion: "2018-01-12",
|
|
674
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
675
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
676
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
677
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
678
|
+
extensions: config?.extensions ?? [],
|
|
679
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultDLMHttpAuthSchemeProvider,
|
|
680
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
681
|
+
{
|
|
682
|
+
schemeId: "aws.auth#sigv4",
|
|
683
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
684
|
+
signer: new AwsSdkSigV4Signer(),
|
|
685
|
+
},
|
|
686
|
+
],
|
|
687
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
688
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
689
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
690
|
+
defaultNamespace: "com.amazonaws.dlm",
|
|
691
|
+
errorTypeRegistries,
|
|
692
|
+
version: "2018-01-12",
|
|
693
|
+
serviceTarget: "dlm_20180112",
|
|
694
|
+
},
|
|
695
|
+
serviceId: config?.serviceId ?? "DLM",
|
|
696
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
697
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
698
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
699
|
+
};
|
|
700
|
+
};
|
|
701
|
+
|
|
702
|
+
const getRuntimeConfig = (config) => {
|
|
703
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
704
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
705
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
706
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
707
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
708
|
+
const loaderConfig = {
|
|
709
|
+
profile: config?.profile,
|
|
710
|
+
logger: clientSharedValues.logger,
|
|
711
|
+
};
|
|
712
|
+
return {
|
|
713
|
+
...clientSharedValues,
|
|
714
|
+
...config,
|
|
715
|
+
runtime: "node",
|
|
716
|
+
defaultsMode,
|
|
717
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
718
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
719
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
720
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
721
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
722
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
723
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
724
|
+
retryMode: config?.retryMode ??
|
|
725
|
+
loadConfig({
|
|
726
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
727
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
728
|
+
}, config),
|
|
729
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
730
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
731
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
732
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
733
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
|
|
34
737
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
738
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
739
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -285,28 +988,88 @@ const GettablePolicyStateValues = {
|
|
|
285
988
|
ERROR: "ERROR",
|
|
286
989
|
};
|
|
287
990
|
|
|
991
|
+
exports.Action$ = Action$;
|
|
992
|
+
exports.ArchiveRetainRule$ = ArchiveRetainRule$;
|
|
993
|
+
exports.ArchiveRule$ = ArchiveRule$;
|
|
994
|
+
exports.CreateLifecyclePolicy$ = CreateLifecyclePolicy$;
|
|
288
995
|
exports.CreateLifecyclePolicyCommand = CreateLifecyclePolicyCommand;
|
|
996
|
+
exports.CreateLifecyclePolicyRequest$ = CreateLifecyclePolicyRequest$;
|
|
997
|
+
exports.CreateLifecyclePolicyResponse$ = CreateLifecyclePolicyResponse$;
|
|
998
|
+
exports.CreateRule$ = CreateRule$;
|
|
999
|
+
exports.CrossRegionCopyAction$ = CrossRegionCopyAction$;
|
|
1000
|
+
exports.CrossRegionCopyDeprecateRule$ = CrossRegionCopyDeprecateRule$;
|
|
1001
|
+
exports.CrossRegionCopyRetainRule$ = CrossRegionCopyRetainRule$;
|
|
1002
|
+
exports.CrossRegionCopyRule$ = CrossRegionCopyRule$;
|
|
1003
|
+
exports.CrossRegionCopyTarget$ = CrossRegionCopyTarget$;
|
|
289
1004
|
exports.DLM = DLM;
|
|
290
1005
|
exports.DLMClient = DLMClient;
|
|
1006
|
+
exports.DLMServiceException = DLMServiceException;
|
|
1007
|
+
exports.DLMServiceException$ = DLMServiceException$;
|
|
291
1008
|
exports.DefaultPoliciesTypeValues = DefaultPoliciesTypeValues;
|
|
292
1009
|
exports.DefaultPolicyTypeValues = DefaultPolicyTypeValues;
|
|
1010
|
+
exports.DeleteLifecyclePolicy$ = DeleteLifecyclePolicy$;
|
|
293
1011
|
exports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;
|
|
1012
|
+
exports.DeleteLifecyclePolicyRequest$ = DeleteLifecyclePolicyRequest$;
|
|
1013
|
+
exports.DeleteLifecyclePolicyResponse$ = DeleteLifecyclePolicyResponse$;
|
|
1014
|
+
exports.DeprecateRule$ = DeprecateRule$;
|
|
1015
|
+
exports.EncryptionConfiguration$ = EncryptionConfiguration$;
|
|
1016
|
+
exports.EventParameters$ = EventParameters$;
|
|
1017
|
+
exports.EventSource$ = EventSource$;
|
|
294
1018
|
exports.EventSourceValues = EventSourceValues;
|
|
295
1019
|
exports.EventTypeValues = EventTypeValues;
|
|
1020
|
+
exports.Exclusions$ = Exclusions$;
|
|
296
1021
|
exports.ExecutionHandlerServiceValues = ExecutionHandlerServiceValues;
|
|
1022
|
+
exports.FastRestoreRule$ = FastRestoreRule$;
|
|
1023
|
+
exports.GetLifecyclePolicies$ = GetLifecyclePolicies$;
|
|
297
1024
|
exports.GetLifecyclePoliciesCommand = GetLifecyclePoliciesCommand;
|
|
1025
|
+
exports.GetLifecyclePoliciesRequest$ = GetLifecyclePoliciesRequest$;
|
|
1026
|
+
exports.GetLifecyclePoliciesResponse$ = GetLifecyclePoliciesResponse$;
|
|
1027
|
+
exports.GetLifecyclePolicy$ = GetLifecyclePolicy$;
|
|
298
1028
|
exports.GetLifecyclePolicyCommand = GetLifecyclePolicyCommand;
|
|
1029
|
+
exports.GetLifecyclePolicyRequest$ = GetLifecyclePolicyRequest$;
|
|
1030
|
+
exports.GetLifecyclePolicyResponse$ = GetLifecyclePolicyResponse$;
|
|
299
1031
|
exports.GettablePolicyStateValues = GettablePolicyStateValues;
|
|
1032
|
+
exports.InternalServerException = InternalServerException;
|
|
1033
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
300
1034
|
exports.IntervalUnitValues = IntervalUnitValues;
|
|
1035
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
1036
|
+
exports.InvalidRequestException$ = InvalidRequestException$;
|
|
1037
|
+
exports.LifecyclePolicy$ = LifecyclePolicy$;
|
|
1038
|
+
exports.LifecyclePolicySummary$ = LifecyclePolicySummary$;
|
|
1039
|
+
exports.LimitExceededException = LimitExceededException;
|
|
1040
|
+
exports.LimitExceededException$ = LimitExceededException$;
|
|
1041
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
301
1042
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1043
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1044
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
302
1045
|
exports.LocationValues = LocationValues;
|
|
1046
|
+
exports.PolicyDetails$ = PolicyDetails$;
|
|
303
1047
|
exports.PolicyLanguageValues = PolicyLanguageValues;
|
|
304
1048
|
exports.PolicyTypeValues = PolicyTypeValues;
|
|
305
1049
|
exports.ResourceLocationValues = ResourceLocationValues;
|
|
1050
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1051
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
306
1052
|
exports.ResourceTypeValues = ResourceTypeValues;
|
|
1053
|
+
exports.RetainRule$ = RetainRule$;
|
|
1054
|
+
exports.RetentionArchiveTier$ = RetentionArchiveTier$;
|
|
307
1055
|
exports.RetentionIntervalUnitValues = RetentionIntervalUnitValues;
|
|
1056
|
+
exports.Schedule$ = Schedule$;
|
|
1057
|
+
exports.Script$ = Script$;
|
|
308
1058
|
exports.SettablePolicyStateValues = SettablePolicyStateValues;
|
|
1059
|
+
exports.ShareRule$ = ShareRule$;
|
|
309
1060
|
exports.StageValues = StageValues;
|
|
1061
|
+
exports.Tag$ = Tag$;
|
|
1062
|
+
exports.TagResource$ = TagResource$;
|
|
310
1063
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1064
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1065
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1066
|
+
exports.UntagResource$ = UntagResource$;
|
|
311
1067
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1068
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1069
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1070
|
+
exports.UpdateLifecyclePolicy$ = UpdateLifecyclePolicy$;
|
|
312
1071
|
exports.UpdateLifecyclePolicyCommand = UpdateLifecyclePolicyCommand;
|
|
1072
|
+
exports.UpdateLifecyclePolicyRequest$ = UpdateLifecyclePolicyRequest$;
|
|
1073
|
+
exports.UpdateLifecyclePolicyResponse$ = UpdateLifecyclePolicyResponse$;
|
|
1074
|
+
exports._Parameters$ = _Parameters$;
|
|
1075
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|