@aws-sdk/client-m2 3.257.0 → 3.259.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +34 -29
- package/dist-cjs/protocols/Aws_restJson1.js +34 -0
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +29 -24
- package/dist-es/protocols/Aws_restJson1.js +34 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/models/models_0.d.ts +85 -69
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -43
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +9 -10
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const q = "fn", r = "argv", s = "ref";
|
|
5
5
|
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://m2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://m2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://m2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://m2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://m2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://m2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://m2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://m2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetApplicationRequestFilterSensitiveLog = exports.DeleteApplicationFromEnvironmentResponseFilterSensitiveLog = exports.DeleteApplicationFromEnvironmentRequestFilterSensitiveLog = exports.DeleteApplicationResponseFilterSensitiveLog = exports.DeleteApplicationRequestFilterSensitiveLog = exports.CreateDeploymentResponseFilterSensitiveLog = exports.CreateDeploymentRequestFilterSensitiveLog = exports.CreateDataSetImportTaskResponseFilterSensitiveLog = exports.CreateDataSetImportTaskRequestFilterSensitiveLog = exports.DataSetImportConfigFilterSensitiveLog = exports.DataSetImportItemFilterSensitiveLog = exports.ExternalLocationFilterSensitiveLog = exports.DataSetFilterSensitiveLog = exports.RecordLengthFilterSensitiveLog = exports.DatasetOrgAttributesFilterSensitiveLog = exports.VsamAttributesFilterSensitiveLog = exports.PrimaryKeyFilterSensitiveLog = exports.GdgAttributesFilterSensitiveLog = exports.CreateApplicationResponseFilterSensitiveLog = exports.CreateApplicationRequestFilterSensitiveLog = exports.DefinitionFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.CancelBatchJobExecutionResponseFilterSensitiveLog = exports.CancelBatchJobExecutionRequestFilterSensitiveLog = exports.AlternateKeyFilterSensitiveLog = exports.EnvironmentLifecycle = exports.StorageConfiguration = exports.
|
|
4
|
-
exports.UpdateApplicationRequestFilterSensitiveLog = exports.StopApplicationResponseFilterSensitiveLog = exports.StopApplicationRequestFilterSensitiveLog = exports.StartBatchJobResponseFilterSensitiveLog = exports.StartBatchJobRequestFilterSensitiveLog = exports.
|
|
3
|
+
exports.GetApplicationRequestFilterSensitiveLog = exports.DeleteApplicationFromEnvironmentResponseFilterSensitiveLog = exports.DeleteApplicationFromEnvironmentRequestFilterSensitiveLog = exports.DeleteApplicationResponseFilterSensitiveLog = exports.DeleteApplicationRequestFilterSensitiveLog = exports.CreateDeploymentResponseFilterSensitiveLog = exports.CreateDeploymentRequestFilterSensitiveLog = exports.CreateDataSetImportTaskResponseFilterSensitiveLog = exports.CreateDataSetImportTaskRequestFilterSensitiveLog = exports.DataSetImportConfigFilterSensitiveLog = exports.DataSetImportItemFilterSensitiveLog = exports.ExternalLocationFilterSensitiveLog = exports.DataSetFilterSensitiveLog = exports.RecordLengthFilterSensitiveLog = exports.DatasetOrgAttributesFilterSensitiveLog = exports.VsamAttributesFilterSensitiveLog = exports.PrimaryKeyFilterSensitiveLog = exports.GdgAttributesFilterSensitiveLog = exports.CreateApplicationResponseFilterSensitiveLog = exports.CreateApplicationRequestFilterSensitiveLog = exports.DefinitionFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.CancelBatchJobExecutionResponseFilterSensitiveLog = exports.CancelBatchJobExecutionRequestFilterSensitiveLog = exports.AlternateKeyFilterSensitiveLog = exports.EnvironmentLifecycle = exports.StorageConfiguration = exports.BatchJobDefinition = exports.ApplicationDeploymentLifecycle = exports.DataSetTaskLifecycle = exports.DatasetDetailOrgAttributes = exports.BatchJobExecutionStatus = exports.BatchJobType = exports.BatchJobIdentifier = exports.ApplicationLifecycle = exports.ApplicationVersionLifecycle = exports.DeploymentLifecycle = exports.DataSetImportConfig = exports.ExternalLocation = exports.DatasetOrgAttributes = exports.ServiceQuotaExceededException = exports.EngineType = exports.Definition = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.UpdateApplicationRequestFilterSensitiveLog = exports.StopApplicationResponseFilterSensitiveLog = exports.StopApplicationRequestFilterSensitiveLog = exports.StartBatchJobResponseFilterSensitiveLog = exports.StartBatchJobRequestFilterSensitiveLog = exports.StartApplicationResponseFilterSensitiveLog = exports.StartApplicationRequestFilterSensitiveLog = exports.ListDeploymentsResponseFilterSensitiveLog = exports.DeploymentSummaryFilterSensitiveLog = exports.ListDeploymentsRequestFilterSensitiveLog = exports.ListDataSetsResponseFilterSensitiveLog = exports.DataSetSummaryFilterSensitiveLog = exports.ListDataSetsRequestFilterSensitiveLog = exports.ListDataSetImportHistoryResponseFilterSensitiveLog = exports.DataSetImportTaskFilterSensitiveLog = exports.ListDataSetImportHistoryRequestFilterSensitiveLog = exports.ListBatchJobExecutionsResponseFilterSensitiveLog = exports.BatchJobExecutionSummaryFilterSensitiveLog = exports.ListBatchJobExecutionsRequestFilterSensitiveLog = exports.ListBatchJobDefinitionsResponseFilterSensitiveLog = exports.BatchJobDefinitionFilterSensitiveLog = exports.ScriptBatchJobDefinitionFilterSensitiveLog = exports.FileBatchJobDefinitionFilterSensitiveLog = exports.ListBatchJobDefinitionsRequestFilterSensitiveLog = exports.ListApplicationVersionsResponseFilterSensitiveLog = exports.ListApplicationVersionsRequestFilterSensitiveLog = exports.ListApplicationsResponseFilterSensitiveLog = exports.ApplicationSummaryFilterSensitiveLog = exports.ListApplicationsRequestFilterSensitiveLog = exports.GetDeploymentResponseFilterSensitiveLog = exports.GetDeploymentRequestFilterSensitiveLog = exports.GetDataSetImportTaskResponseFilterSensitiveLog = exports.DataSetImportSummaryFilterSensitiveLog = exports.GetDataSetImportTaskRequestFilterSensitiveLog = exports.GetDataSetDetailsResponseFilterSensitiveLog = exports.DatasetDetailOrgAttributesFilterSensitiveLog = exports.VsamDetailAttributesFilterSensitiveLog = exports.GdgDetailAttributesFilterSensitiveLog = exports.GetDataSetDetailsRequestFilterSensitiveLog = exports.GetBatchJobExecutionResponseFilterSensitiveLog = exports.BatchJobIdentifierFilterSensitiveLog = exports.ScriptBatchJobIdentifierFilterSensitiveLog = exports.FileBatchJobIdentifierFilterSensitiveLog = exports.GetBatchJobExecutionRequestFilterSensitiveLog = exports.GetApplicationVersionResponseFilterSensitiveLog = exports.GetApplicationVersionRequestFilterSensitiveLog = exports.GetApplicationResponseFilterSensitiveLog = exports.LogGroupSummaryFilterSensitiveLog = exports.ApplicationVersionSummaryFilterSensitiveLog = exports.DeployedVersionSummaryFilterSensitiveLog = void 0;
|
|
5
5
|
exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListEngineVersionsResponseFilterSensitiveLog = exports.EngineVersionsSummaryFilterSensitiveLog = exports.ListEngineVersionsRequestFilterSensitiveLog = exports.UpdateEnvironmentResponseFilterSensitiveLog = exports.UpdateEnvironmentRequestFilterSensitiveLog = exports.ListEnvironmentsResponseFilterSensitiveLog = exports.EnvironmentSummaryFilterSensitiveLog = exports.ListEnvironmentsRequestFilterSensitiveLog = exports.GetEnvironmentResponseFilterSensitiveLog = exports.PendingMaintenanceFilterSensitiveLog = exports.MaintenanceScheduleFilterSensitiveLog = exports.GetEnvironmentRequestFilterSensitiveLog = exports.DeleteEnvironmentResponseFilterSensitiveLog = exports.DeleteEnvironmentRequestFilterSensitiveLog = exports.CreateEnvironmentResponseFilterSensitiveLog = exports.CreateEnvironmentRequestFilterSensitiveLog = exports.StorageConfigurationFilterSensitiveLog = exports.FsxStorageConfigurationFilterSensitiveLog = exports.EfsStorageConfigurationFilterSensitiveLog = exports.HighAvailabilityConfigFilterSensitiveLog = exports.UpdateApplicationResponseFilterSensitiveLog = void 0;
|
|
6
6
|
const M2ServiceException_1 = require("./M2ServiceException");
|
|
7
7
|
class AccessDeniedException extends M2ServiceException_1.M2ServiceException {
|
|
@@ -189,6 +189,16 @@ var ApplicationLifecycle;
|
|
|
189
189
|
ApplicationLifecycle["STOPPED"] = "Stopped";
|
|
190
190
|
ApplicationLifecycle["STOPPING"] = "Stopping";
|
|
191
191
|
})(ApplicationLifecycle = exports.ApplicationLifecycle || (exports.ApplicationLifecycle = {}));
|
|
192
|
+
var BatchJobIdentifier;
|
|
193
|
+
(function (BatchJobIdentifier) {
|
|
194
|
+
BatchJobIdentifier.visit = (value, visitor) => {
|
|
195
|
+
if (value.fileBatchJobIdentifier !== undefined)
|
|
196
|
+
return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
|
|
197
|
+
if (value.scriptBatchJobIdentifier !== undefined)
|
|
198
|
+
return visitor.scriptBatchJobIdentifier(value.scriptBatchJobIdentifier);
|
|
199
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
200
|
+
};
|
|
201
|
+
})(BatchJobIdentifier = exports.BatchJobIdentifier || (exports.BatchJobIdentifier = {}));
|
|
192
202
|
var BatchJobType;
|
|
193
203
|
(function (BatchJobType) {
|
|
194
204
|
BatchJobType["JES2"] = "JES2";
|
|
@@ -238,16 +248,6 @@ var BatchJobDefinition;
|
|
|
238
248
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
239
249
|
};
|
|
240
250
|
})(BatchJobDefinition = exports.BatchJobDefinition || (exports.BatchJobDefinition = {}));
|
|
241
|
-
var BatchJobIdentifier;
|
|
242
|
-
(function (BatchJobIdentifier) {
|
|
243
|
-
BatchJobIdentifier.visit = (value, visitor) => {
|
|
244
|
-
if (value.fileBatchJobIdentifier !== undefined)
|
|
245
|
-
return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
|
|
246
|
-
if (value.scriptBatchJobIdentifier !== undefined)
|
|
247
|
-
return visitor.scriptBatchJobIdentifier(value.scriptBatchJobIdentifier);
|
|
248
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
249
|
-
};
|
|
250
|
-
})(BatchJobIdentifier = exports.BatchJobIdentifier || (exports.BatchJobIdentifier = {}));
|
|
251
251
|
var StorageConfiguration;
|
|
252
252
|
(function (StorageConfiguration) {
|
|
253
253
|
StorageConfiguration.visit = (value, visitor) => {
|
|
@@ -417,8 +417,26 @@ const GetBatchJobExecutionRequestFilterSensitiveLog = (obj) => ({
|
|
|
417
417
|
...obj,
|
|
418
418
|
});
|
|
419
419
|
exports.GetBatchJobExecutionRequestFilterSensitiveLog = GetBatchJobExecutionRequestFilterSensitiveLog;
|
|
420
|
+
const FileBatchJobIdentifierFilterSensitiveLog = (obj) => ({
|
|
421
|
+
...obj,
|
|
422
|
+
});
|
|
423
|
+
exports.FileBatchJobIdentifierFilterSensitiveLog = FileBatchJobIdentifierFilterSensitiveLog;
|
|
424
|
+
const ScriptBatchJobIdentifierFilterSensitiveLog = (obj) => ({
|
|
425
|
+
...obj,
|
|
426
|
+
});
|
|
427
|
+
exports.ScriptBatchJobIdentifierFilterSensitiveLog = ScriptBatchJobIdentifierFilterSensitiveLog;
|
|
428
|
+
const BatchJobIdentifierFilterSensitiveLog = (obj) => {
|
|
429
|
+
if (obj.fileBatchJobIdentifier !== undefined)
|
|
430
|
+
return { fileBatchJobIdentifier: (0, exports.FileBatchJobIdentifierFilterSensitiveLog)(obj.fileBatchJobIdentifier) };
|
|
431
|
+
if (obj.scriptBatchJobIdentifier !== undefined)
|
|
432
|
+
return { scriptBatchJobIdentifier: (0, exports.ScriptBatchJobIdentifierFilterSensitiveLog)(obj.scriptBatchJobIdentifier) };
|
|
433
|
+
if (obj.$unknown !== undefined)
|
|
434
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
435
|
+
};
|
|
436
|
+
exports.BatchJobIdentifierFilterSensitiveLog = BatchJobIdentifierFilterSensitiveLog;
|
|
420
437
|
const GetBatchJobExecutionResponseFilterSensitiveLog = (obj) => ({
|
|
421
438
|
...obj,
|
|
439
|
+
...(obj.batchJobIdentifier && { batchJobIdentifier: (0, exports.BatchJobIdentifierFilterSensitiveLog)(obj.batchJobIdentifier) }),
|
|
422
440
|
});
|
|
423
441
|
exports.GetBatchJobExecutionResponseFilterSensitiveLog = GetBatchJobExecutionResponseFilterSensitiveLog;
|
|
424
442
|
const GetDataSetDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -521,10 +539,14 @@ const ListBatchJobExecutionsRequestFilterSensitiveLog = (obj) => ({
|
|
|
521
539
|
exports.ListBatchJobExecutionsRequestFilterSensitiveLog = ListBatchJobExecutionsRequestFilterSensitiveLog;
|
|
522
540
|
const BatchJobExecutionSummaryFilterSensitiveLog = (obj) => ({
|
|
523
541
|
...obj,
|
|
542
|
+
...(obj.batchJobIdentifier && { batchJobIdentifier: (0, exports.BatchJobIdentifierFilterSensitiveLog)(obj.batchJobIdentifier) }),
|
|
524
543
|
});
|
|
525
544
|
exports.BatchJobExecutionSummaryFilterSensitiveLog = BatchJobExecutionSummaryFilterSensitiveLog;
|
|
526
545
|
const ListBatchJobExecutionsResponseFilterSensitiveLog = (obj) => ({
|
|
527
546
|
...obj,
|
|
547
|
+
...(obj.batchJobExecutions && {
|
|
548
|
+
batchJobExecutions: obj.batchJobExecutions.map((item) => (0, exports.BatchJobExecutionSummaryFilterSensitiveLog)(item)),
|
|
549
|
+
}),
|
|
528
550
|
});
|
|
529
551
|
exports.ListBatchJobExecutionsResponseFilterSensitiveLog = ListBatchJobExecutionsResponseFilterSensitiveLog;
|
|
530
552
|
const ListDataSetImportHistoryRequestFilterSensitiveLog = (obj) => ({
|
|
@@ -571,23 +593,6 @@ const StartApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
|
571
593
|
...obj,
|
|
572
594
|
});
|
|
573
595
|
exports.StartApplicationResponseFilterSensitiveLog = StartApplicationResponseFilterSensitiveLog;
|
|
574
|
-
const FileBatchJobIdentifierFilterSensitiveLog = (obj) => ({
|
|
575
|
-
...obj,
|
|
576
|
-
});
|
|
577
|
-
exports.FileBatchJobIdentifierFilterSensitiveLog = FileBatchJobIdentifierFilterSensitiveLog;
|
|
578
|
-
const ScriptBatchJobIdentifierFilterSensitiveLog = (obj) => ({
|
|
579
|
-
...obj,
|
|
580
|
-
});
|
|
581
|
-
exports.ScriptBatchJobIdentifierFilterSensitiveLog = ScriptBatchJobIdentifierFilterSensitiveLog;
|
|
582
|
-
const BatchJobIdentifierFilterSensitiveLog = (obj) => {
|
|
583
|
-
if (obj.fileBatchJobIdentifier !== undefined)
|
|
584
|
-
return { fileBatchJobIdentifier: (0, exports.FileBatchJobIdentifierFilterSensitiveLog)(obj.fileBatchJobIdentifier) };
|
|
585
|
-
if (obj.scriptBatchJobIdentifier !== undefined)
|
|
586
|
-
return { scriptBatchJobIdentifier: (0, exports.ScriptBatchJobIdentifierFilterSensitiveLog)(obj.scriptBatchJobIdentifier) };
|
|
587
|
-
if (obj.$unknown !== undefined)
|
|
588
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
589
|
-
};
|
|
590
|
-
exports.BatchJobIdentifierFilterSensitiveLog = BatchJobIdentifierFilterSensitiveLog;
|
|
591
596
|
const StartBatchJobRequestFilterSensitiveLog = (obj) => ({
|
|
592
597
|
...obj,
|
|
593
598
|
...(obj.batchJobIdentifier && { batchJobIdentifier: (0, exports.BatchJobIdentifierFilterSensitiveLog)(obj.batchJobIdentifier) }),
|
|
@@ -1286,6 +1286,9 @@ const deserializeAws_restJson1GetBatchJobExecutionCommand = async (output, conte
|
|
|
1286
1286
|
if (data.applicationId != null) {
|
|
1287
1287
|
contents.applicationId = (0, smithy_client_1.expectString)(data.applicationId);
|
|
1288
1288
|
}
|
|
1289
|
+
if (data.batchJobIdentifier != null) {
|
|
1290
|
+
contents.batchJobIdentifier = deserializeAws_restJson1BatchJobIdentifier((0, smithy_client_1.expectUnion)(data.batchJobIdentifier), context);
|
|
1291
|
+
}
|
|
1289
1292
|
if (data.endTime != null) {
|
|
1290
1293
|
contents.endTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.endTime)));
|
|
1291
1294
|
}
|
|
@@ -1304,6 +1307,9 @@ const deserializeAws_restJson1GetBatchJobExecutionCommand = async (output, conte
|
|
|
1304
1307
|
if (data.jobUser != null) {
|
|
1305
1308
|
contents.jobUser = (0, smithy_client_1.expectString)(data.jobUser);
|
|
1306
1309
|
}
|
|
1310
|
+
if (data.returnCode != null) {
|
|
1311
|
+
contents.returnCode = (0, smithy_client_1.expectString)(data.returnCode);
|
|
1312
|
+
}
|
|
1307
1313
|
if (data.startTime != null) {
|
|
1308
1314
|
contents.startTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.startTime)));
|
|
1309
1315
|
}
|
|
@@ -2867,11 +2873,15 @@ const deserializeAws_restJson1BatchJobDefinitions = (output, context) => {
|
|
|
2867
2873
|
const deserializeAws_restJson1BatchJobExecutionSummary = (output, context) => {
|
|
2868
2874
|
return {
|
|
2869
2875
|
applicationId: (0, smithy_client_1.expectString)(output.applicationId),
|
|
2876
|
+
batchJobIdentifier: output.batchJobIdentifier != null
|
|
2877
|
+
? deserializeAws_restJson1BatchJobIdentifier((0, smithy_client_1.expectUnion)(output.batchJobIdentifier), context)
|
|
2878
|
+
: undefined,
|
|
2870
2879
|
endTime: output.endTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime))) : undefined,
|
|
2871
2880
|
executionId: (0, smithy_client_1.expectString)(output.executionId),
|
|
2872
2881
|
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
2873
2882
|
jobName: (0, smithy_client_1.expectString)(output.jobName),
|
|
2874
2883
|
jobType: (0, smithy_client_1.expectString)(output.jobType),
|
|
2884
|
+
returnCode: (0, smithy_client_1.expectString)(output.returnCode),
|
|
2875
2885
|
startTime: output.startTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime))) : undefined,
|
|
2876
2886
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
2877
2887
|
};
|
|
@@ -2887,6 +2897,19 @@ const deserializeAws_restJson1BatchJobExecutionSummaryList = (output, context) =
|
|
|
2887
2897
|
});
|
|
2888
2898
|
return retVal;
|
|
2889
2899
|
};
|
|
2900
|
+
const deserializeAws_restJson1BatchJobIdentifier = (output, context) => {
|
|
2901
|
+
if (output.fileBatchJobIdentifier != null) {
|
|
2902
|
+
return {
|
|
2903
|
+
fileBatchJobIdentifier: deserializeAws_restJson1FileBatchJobIdentifier(output.fileBatchJobIdentifier, context),
|
|
2904
|
+
};
|
|
2905
|
+
}
|
|
2906
|
+
if (output.scriptBatchJobIdentifier != null) {
|
|
2907
|
+
return {
|
|
2908
|
+
scriptBatchJobIdentifier: deserializeAws_restJson1ScriptBatchJobIdentifier(output.scriptBatchJobIdentifier, context),
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2911
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2912
|
+
};
|
|
2890
2913
|
const deserializeAws_restJson1DatasetDetailOrgAttributes = (output, context) => {
|
|
2891
2914
|
if (output.gdg != null) {
|
|
2892
2915
|
return {
|
|
@@ -3039,6 +3062,12 @@ const deserializeAws_restJson1FileBatchJobDefinition = (output, context) => {
|
|
|
3039
3062
|
folderPath: (0, smithy_client_1.expectString)(output.folderPath),
|
|
3040
3063
|
};
|
|
3041
3064
|
};
|
|
3065
|
+
const deserializeAws_restJson1FileBatchJobIdentifier = (output, context) => {
|
|
3066
|
+
return {
|
|
3067
|
+
fileName: (0, smithy_client_1.expectString)(output.fileName),
|
|
3068
|
+
folderPath: (0, smithy_client_1.expectString)(output.folderPath),
|
|
3069
|
+
};
|
|
3070
|
+
};
|
|
3042
3071
|
const deserializeAws_restJson1FsxStorageConfiguration = (output, context) => {
|
|
3043
3072
|
return {
|
|
3044
3073
|
fileSystemId: (0, smithy_client_1.expectString)(output["file-system-id"]),
|
|
@@ -3108,6 +3137,11 @@ const deserializeAws_restJson1ScriptBatchJobDefinition = (output, context) => {
|
|
|
3108
3137
|
scriptName: (0, smithy_client_1.expectString)(output.scriptName),
|
|
3109
3138
|
};
|
|
3110
3139
|
};
|
|
3140
|
+
const deserializeAws_restJson1ScriptBatchJobIdentifier = (output, context) => {
|
|
3141
|
+
return {
|
|
3142
|
+
scriptName: (0, smithy_client_1.expectString)(output.scriptName),
|
|
3143
|
+
};
|
|
3144
|
+
};
|
|
3111
3145
|
const deserializeAws_restJson1StorageConfiguration = (output, context) => {
|
|
3112
3146
|
if (output.efs != null) {
|
|
3113
3147
|
return {
|
|
@@ -10,7 +10,6 @@ const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
|
10
10
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
11
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
|
-
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
14
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
16
15
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
@@ -35,8 +34,6 @@ const getRuntimeConfig = (config) => {
|
|
|
35
34
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
36
35
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
37
36
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
38
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
39
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
39
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -13,7 +13,6 @@ const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
|
13
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
14
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
|
-
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
17
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
@@ -44,8 +43,6 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
48
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
49
46
|
};
|
|
50
47
|
};
|
|
51
48
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
7
8
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
8
9
|
const getRuntimeConfig = (config) => ({
|
|
9
10
|
apiVersion: "2021-04-28",
|
|
@@ -14,5 +15,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
14
15
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
15
16
|
serviceId: config?.serviceId ?? "m2",
|
|
16
17
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
18
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
19
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
17
20
|
});
|
|
18
21
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const q = "fn", r = "argv", s = "ref";
|
|
2
2
|
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://m2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://m2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://m2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://m2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://m2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://m2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://m2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://m2.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -177,6 +177,16 @@ export var ApplicationLifecycle;
|
|
|
177
177
|
ApplicationLifecycle["STOPPED"] = "Stopped";
|
|
178
178
|
ApplicationLifecycle["STOPPING"] = "Stopping";
|
|
179
179
|
})(ApplicationLifecycle || (ApplicationLifecycle = {}));
|
|
180
|
+
export var BatchJobIdentifier;
|
|
181
|
+
(function (BatchJobIdentifier) {
|
|
182
|
+
BatchJobIdentifier.visit = (value, visitor) => {
|
|
183
|
+
if (value.fileBatchJobIdentifier !== undefined)
|
|
184
|
+
return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
|
|
185
|
+
if (value.scriptBatchJobIdentifier !== undefined)
|
|
186
|
+
return visitor.scriptBatchJobIdentifier(value.scriptBatchJobIdentifier);
|
|
187
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
188
|
+
};
|
|
189
|
+
})(BatchJobIdentifier || (BatchJobIdentifier = {}));
|
|
180
190
|
export var BatchJobType;
|
|
181
191
|
(function (BatchJobType) {
|
|
182
192
|
BatchJobType["JES2"] = "JES2";
|
|
@@ -226,16 +236,6 @@ export var BatchJobDefinition;
|
|
|
226
236
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
227
237
|
};
|
|
228
238
|
})(BatchJobDefinition || (BatchJobDefinition = {}));
|
|
229
|
-
export var BatchJobIdentifier;
|
|
230
|
-
(function (BatchJobIdentifier) {
|
|
231
|
-
BatchJobIdentifier.visit = (value, visitor) => {
|
|
232
|
-
if (value.fileBatchJobIdentifier !== undefined)
|
|
233
|
-
return visitor.fileBatchJobIdentifier(value.fileBatchJobIdentifier);
|
|
234
|
-
if (value.scriptBatchJobIdentifier !== undefined)
|
|
235
|
-
return visitor.scriptBatchJobIdentifier(value.scriptBatchJobIdentifier);
|
|
236
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
237
|
-
};
|
|
238
|
-
})(BatchJobIdentifier || (BatchJobIdentifier = {}));
|
|
239
239
|
export var StorageConfiguration;
|
|
240
240
|
(function (StorageConfiguration) {
|
|
241
241
|
StorageConfiguration.visit = (value, visitor) => {
|
|
@@ -373,8 +373,23 @@ export const GetApplicationVersionResponseFilterSensitiveLog = (obj) => ({
|
|
|
373
373
|
export const GetBatchJobExecutionRequestFilterSensitiveLog = (obj) => ({
|
|
374
374
|
...obj,
|
|
375
375
|
});
|
|
376
|
+
export const FileBatchJobIdentifierFilterSensitiveLog = (obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
});
|
|
379
|
+
export const ScriptBatchJobIdentifierFilterSensitiveLog = (obj) => ({
|
|
380
|
+
...obj,
|
|
381
|
+
});
|
|
382
|
+
export const BatchJobIdentifierFilterSensitiveLog = (obj) => {
|
|
383
|
+
if (obj.fileBatchJobIdentifier !== undefined)
|
|
384
|
+
return { fileBatchJobIdentifier: FileBatchJobIdentifierFilterSensitiveLog(obj.fileBatchJobIdentifier) };
|
|
385
|
+
if (obj.scriptBatchJobIdentifier !== undefined)
|
|
386
|
+
return { scriptBatchJobIdentifier: ScriptBatchJobIdentifierFilterSensitiveLog(obj.scriptBatchJobIdentifier) };
|
|
387
|
+
if (obj.$unknown !== undefined)
|
|
388
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
389
|
+
};
|
|
376
390
|
export const GetBatchJobExecutionResponseFilterSensitiveLog = (obj) => ({
|
|
377
391
|
...obj,
|
|
392
|
+
...(obj.batchJobIdentifier && { batchJobIdentifier: BatchJobIdentifierFilterSensitiveLog(obj.batchJobIdentifier) }),
|
|
378
393
|
});
|
|
379
394
|
export const GetDataSetDetailsRequestFilterSensitiveLog = (obj) => ({
|
|
380
395
|
...obj,
|
|
@@ -455,9 +470,13 @@ export const ListBatchJobExecutionsRequestFilterSensitiveLog = (obj) => ({
|
|
|
455
470
|
});
|
|
456
471
|
export const BatchJobExecutionSummaryFilterSensitiveLog = (obj) => ({
|
|
457
472
|
...obj,
|
|
473
|
+
...(obj.batchJobIdentifier && { batchJobIdentifier: BatchJobIdentifierFilterSensitiveLog(obj.batchJobIdentifier) }),
|
|
458
474
|
});
|
|
459
475
|
export const ListBatchJobExecutionsResponseFilterSensitiveLog = (obj) => ({
|
|
460
476
|
...obj,
|
|
477
|
+
...(obj.batchJobExecutions && {
|
|
478
|
+
batchJobExecutions: obj.batchJobExecutions.map((item) => BatchJobExecutionSummaryFilterSensitiveLog(item)),
|
|
479
|
+
}),
|
|
461
480
|
});
|
|
462
481
|
export const ListDataSetImportHistoryRequestFilterSensitiveLog = (obj) => ({
|
|
463
482
|
...obj,
|
|
@@ -492,20 +511,6 @@ export const StartApplicationRequestFilterSensitiveLog = (obj) => ({
|
|
|
492
511
|
export const StartApplicationResponseFilterSensitiveLog = (obj) => ({
|
|
493
512
|
...obj,
|
|
494
513
|
});
|
|
495
|
-
export const FileBatchJobIdentifierFilterSensitiveLog = (obj) => ({
|
|
496
|
-
...obj,
|
|
497
|
-
});
|
|
498
|
-
export const ScriptBatchJobIdentifierFilterSensitiveLog = (obj) => ({
|
|
499
|
-
...obj,
|
|
500
|
-
});
|
|
501
|
-
export const BatchJobIdentifierFilterSensitiveLog = (obj) => {
|
|
502
|
-
if (obj.fileBatchJobIdentifier !== undefined)
|
|
503
|
-
return { fileBatchJobIdentifier: FileBatchJobIdentifierFilterSensitiveLog(obj.fileBatchJobIdentifier) };
|
|
504
|
-
if (obj.scriptBatchJobIdentifier !== undefined)
|
|
505
|
-
return { scriptBatchJobIdentifier: ScriptBatchJobIdentifierFilterSensitiveLog(obj.scriptBatchJobIdentifier) };
|
|
506
|
-
if (obj.$unknown !== undefined)
|
|
507
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
508
|
-
};
|
|
509
514
|
export const StartBatchJobRequestFilterSensitiveLog = (obj) => ({
|
|
510
515
|
...obj,
|
|
511
516
|
...(obj.batchJobIdentifier && { batchJobIdentifier: BatchJobIdentifierFilterSensitiveLog(obj.batchJobIdentifier) }),
|
|
@@ -1240,6 +1240,9 @@ export const deserializeAws_restJson1GetBatchJobExecutionCommand = async (output
|
|
|
1240
1240
|
if (data.applicationId != null) {
|
|
1241
1241
|
contents.applicationId = __expectString(data.applicationId);
|
|
1242
1242
|
}
|
|
1243
|
+
if (data.batchJobIdentifier != null) {
|
|
1244
|
+
contents.batchJobIdentifier = deserializeAws_restJson1BatchJobIdentifier(__expectUnion(data.batchJobIdentifier), context);
|
|
1245
|
+
}
|
|
1243
1246
|
if (data.endTime != null) {
|
|
1244
1247
|
contents.endTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.endTime)));
|
|
1245
1248
|
}
|
|
@@ -1258,6 +1261,9 @@ export const deserializeAws_restJson1GetBatchJobExecutionCommand = async (output
|
|
|
1258
1261
|
if (data.jobUser != null) {
|
|
1259
1262
|
contents.jobUser = __expectString(data.jobUser);
|
|
1260
1263
|
}
|
|
1264
|
+
if (data.returnCode != null) {
|
|
1265
|
+
contents.returnCode = __expectString(data.returnCode);
|
|
1266
|
+
}
|
|
1261
1267
|
if (data.startTime != null) {
|
|
1262
1268
|
contents.startTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.startTime)));
|
|
1263
1269
|
}
|
|
@@ -2799,11 +2805,15 @@ const deserializeAws_restJson1BatchJobDefinitions = (output, context) => {
|
|
|
2799
2805
|
const deserializeAws_restJson1BatchJobExecutionSummary = (output, context) => {
|
|
2800
2806
|
return {
|
|
2801
2807
|
applicationId: __expectString(output.applicationId),
|
|
2808
|
+
batchJobIdentifier: output.batchJobIdentifier != null
|
|
2809
|
+
? deserializeAws_restJson1BatchJobIdentifier(__expectUnion(output.batchJobIdentifier), context)
|
|
2810
|
+
: undefined,
|
|
2802
2811
|
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
2803
2812
|
executionId: __expectString(output.executionId),
|
|
2804
2813
|
jobId: __expectString(output.jobId),
|
|
2805
2814
|
jobName: __expectString(output.jobName),
|
|
2806
2815
|
jobType: __expectString(output.jobType),
|
|
2816
|
+
returnCode: __expectString(output.returnCode),
|
|
2807
2817
|
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
2808
2818
|
status: __expectString(output.status),
|
|
2809
2819
|
};
|
|
@@ -2819,6 +2829,19 @@ const deserializeAws_restJson1BatchJobExecutionSummaryList = (output, context) =
|
|
|
2819
2829
|
});
|
|
2820
2830
|
return retVal;
|
|
2821
2831
|
};
|
|
2832
|
+
const deserializeAws_restJson1BatchJobIdentifier = (output, context) => {
|
|
2833
|
+
if (output.fileBatchJobIdentifier != null) {
|
|
2834
|
+
return {
|
|
2835
|
+
fileBatchJobIdentifier: deserializeAws_restJson1FileBatchJobIdentifier(output.fileBatchJobIdentifier, context),
|
|
2836
|
+
};
|
|
2837
|
+
}
|
|
2838
|
+
if (output.scriptBatchJobIdentifier != null) {
|
|
2839
|
+
return {
|
|
2840
|
+
scriptBatchJobIdentifier: deserializeAws_restJson1ScriptBatchJobIdentifier(output.scriptBatchJobIdentifier, context),
|
|
2841
|
+
};
|
|
2842
|
+
}
|
|
2843
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2844
|
+
};
|
|
2822
2845
|
const deserializeAws_restJson1DatasetDetailOrgAttributes = (output, context) => {
|
|
2823
2846
|
if (output.gdg != null) {
|
|
2824
2847
|
return {
|
|
@@ -2971,6 +2994,12 @@ const deserializeAws_restJson1FileBatchJobDefinition = (output, context) => {
|
|
|
2971
2994
|
folderPath: __expectString(output.folderPath),
|
|
2972
2995
|
};
|
|
2973
2996
|
};
|
|
2997
|
+
const deserializeAws_restJson1FileBatchJobIdentifier = (output, context) => {
|
|
2998
|
+
return {
|
|
2999
|
+
fileName: __expectString(output.fileName),
|
|
3000
|
+
folderPath: __expectString(output.folderPath),
|
|
3001
|
+
};
|
|
3002
|
+
};
|
|
2974
3003
|
const deserializeAws_restJson1FsxStorageConfiguration = (output, context) => {
|
|
2975
3004
|
return {
|
|
2976
3005
|
fileSystemId: __expectString(output["file-system-id"]),
|
|
@@ -3040,6 +3069,11 @@ const deserializeAws_restJson1ScriptBatchJobDefinition = (output, context) => {
|
|
|
3040
3069
|
scriptName: __expectString(output.scriptName),
|
|
3041
3070
|
};
|
|
3042
3071
|
};
|
|
3072
|
+
const deserializeAws_restJson1ScriptBatchJobIdentifier = (output, context) => {
|
|
3073
|
+
return {
|
|
3074
|
+
scriptName: __expectString(output.scriptName),
|
|
3075
|
+
};
|
|
3076
|
+
};
|
|
3043
3077
|
const deserializeAws_restJson1StorageConfiguration = (output, context) => {
|
|
3044
3078
|
if (output.efs != null) {
|
|
3045
3079
|
return {
|
|
@@ -6,7 +6,6 @@ import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
|
6
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
10
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
12
11
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
@@ -31,7 +30,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
32
31
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
32
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
35
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
36
33
|
};
|
|
37
34
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -9,7 +9,6 @@ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/nod
|
|
|
9
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
10
|
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
13
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
14
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
@@ -40,7 +39,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
40
39
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
40
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
41
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
44
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
45
42
|
};
|
|
46
43
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
4
5
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
5
6
|
export const getRuntimeConfig = (config) => ({
|
|
6
7
|
apiVersion: "2021-04-28",
|
|
@@ -11,4 +12,6 @@ export const getRuntimeConfig = (config) => ({
|
|
|
11
12
|
logger: config?.logger ?? new NoOpLogger(),
|
|
12
13
|
serviceId: config?.serviceId ?? "m2",
|
|
13
14
|
urlParser: config?.urlParser ?? parseUrl,
|
|
15
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
16
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
14
17
|
});
|
|
@@ -776,6 +776,63 @@ export interface GetBatchJobExecutionRequest {
|
|
|
776
776
|
*/
|
|
777
777
|
executionId: string | undefined;
|
|
778
778
|
}
|
|
779
|
+
/**
|
|
780
|
+
* <p>A batch job identifier in which the batch job to run is identified by the file name and
|
|
781
|
+
* the relative path to the file name.</p>
|
|
782
|
+
*/
|
|
783
|
+
export interface FileBatchJobIdentifier {
|
|
784
|
+
/**
|
|
785
|
+
* <p>The file name for the batch job identifier.</p>
|
|
786
|
+
*/
|
|
787
|
+
fileName: string | undefined;
|
|
788
|
+
/**
|
|
789
|
+
* <p>The relative path to the file name for the batch job identifier.</p>
|
|
790
|
+
*/
|
|
791
|
+
folderPath?: string;
|
|
792
|
+
}
|
|
793
|
+
/**
|
|
794
|
+
* <p>A batch job identifier in which the batch job to run is identified by the script
|
|
795
|
+
* name.</p>
|
|
796
|
+
*/
|
|
797
|
+
export interface ScriptBatchJobIdentifier {
|
|
798
|
+
/**
|
|
799
|
+
* <p>The name of the script containing the batch job definition.</p>
|
|
800
|
+
*/
|
|
801
|
+
scriptName: string | undefined;
|
|
802
|
+
}
|
|
803
|
+
/**
|
|
804
|
+
* <p>Identifies a specific batch job.</p>
|
|
805
|
+
*/
|
|
806
|
+
export declare type BatchJobIdentifier = BatchJobIdentifier.FileBatchJobIdentifierMember | BatchJobIdentifier.ScriptBatchJobIdentifierMember | BatchJobIdentifier.$UnknownMember;
|
|
807
|
+
export declare namespace BatchJobIdentifier {
|
|
808
|
+
/**
|
|
809
|
+
* <p>Specifies a file associated with a specific batch job.</p>
|
|
810
|
+
*/
|
|
811
|
+
interface FileBatchJobIdentifierMember {
|
|
812
|
+
fileBatchJobIdentifier: FileBatchJobIdentifier;
|
|
813
|
+
scriptBatchJobIdentifier?: never;
|
|
814
|
+
$unknown?: never;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* <p>A batch job identifier in which the batch job to run is identified by the script name.</p>
|
|
818
|
+
*/
|
|
819
|
+
interface ScriptBatchJobIdentifierMember {
|
|
820
|
+
fileBatchJobIdentifier?: never;
|
|
821
|
+
scriptBatchJobIdentifier: ScriptBatchJobIdentifier;
|
|
822
|
+
$unknown?: never;
|
|
823
|
+
}
|
|
824
|
+
interface $UnknownMember {
|
|
825
|
+
fileBatchJobIdentifier?: never;
|
|
826
|
+
scriptBatchJobIdentifier?: never;
|
|
827
|
+
$unknown: [string, any];
|
|
828
|
+
}
|
|
829
|
+
interface Visitor<T> {
|
|
830
|
+
fileBatchJobIdentifier: (value: FileBatchJobIdentifier) => T;
|
|
831
|
+
scriptBatchJobIdentifier: (value: ScriptBatchJobIdentifier) => T;
|
|
832
|
+
_: (name: string, value: any) => T;
|
|
833
|
+
}
|
|
834
|
+
const visit: <T>(value: BatchJobIdentifier, visitor: Visitor<T>) => T;
|
|
835
|
+
}
|
|
779
836
|
export declare enum BatchJobType {
|
|
780
837
|
JES2 = "JES2",
|
|
781
838
|
JES3 = "JES3",
|
|
@@ -833,6 +890,14 @@ export interface GetBatchJobExecutionResponse {
|
|
|
833
890
|
* <p>The reason for the reported status.</p>
|
|
834
891
|
*/
|
|
835
892
|
statusReason?: string;
|
|
893
|
+
/**
|
|
894
|
+
* <p/>
|
|
895
|
+
*/
|
|
896
|
+
returnCode?: string;
|
|
897
|
+
/**
|
|
898
|
+
* <p>Identifies a specific batch job.</p>
|
|
899
|
+
*/
|
|
900
|
+
batchJobIdentifier?: BatchJobIdentifier;
|
|
836
901
|
}
|
|
837
902
|
export interface GetDataSetDetailsRequest {
|
|
838
903
|
/**
|
|
@@ -1331,6 +1396,14 @@ export interface BatchJobExecutionSummary {
|
|
|
1331
1396
|
* <p>The timestamp when this batch job execution ended.</p>
|
|
1332
1397
|
*/
|
|
1333
1398
|
endTime?: Date;
|
|
1399
|
+
/**
|
|
1400
|
+
* <p/>
|
|
1401
|
+
*/
|
|
1402
|
+
returnCode?: string;
|
|
1403
|
+
/**
|
|
1404
|
+
* <p>Identifies a specific batch job.</p>
|
|
1405
|
+
*/
|
|
1406
|
+
batchJobIdentifier?: BatchJobIdentifier;
|
|
1334
1407
|
}
|
|
1335
1408
|
export interface ListBatchJobExecutionsResponse {
|
|
1336
1409
|
/**
|
|
@@ -1519,63 +1592,6 @@ export interface StartApplicationRequest {
|
|
|
1519
1592
|
}
|
|
1520
1593
|
export interface StartApplicationResponse {
|
|
1521
1594
|
}
|
|
1522
|
-
/**
|
|
1523
|
-
* <p>A batch job identifier in which the batch job to run is identified by the file name and
|
|
1524
|
-
* the relative path to the file name.</p>
|
|
1525
|
-
*/
|
|
1526
|
-
export interface FileBatchJobIdentifier {
|
|
1527
|
-
/**
|
|
1528
|
-
* <p>The file name for the batch job identifier.</p>
|
|
1529
|
-
*/
|
|
1530
|
-
fileName: string | undefined;
|
|
1531
|
-
/**
|
|
1532
|
-
* <p>The relative path to the file name for the batch job identifier.</p>
|
|
1533
|
-
*/
|
|
1534
|
-
folderPath?: string;
|
|
1535
|
-
}
|
|
1536
|
-
/**
|
|
1537
|
-
* <p>A batch job identifier in which the batch job to run is identified by the script
|
|
1538
|
-
* name.</p>
|
|
1539
|
-
*/
|
|
1540
|
-
export interface ScriptBatchJobIdentifier {
|
|
1541
|
-
/**
|
|
1542
|
-
* <p>The name of the script containing the batch job definition.</p>
|
|
1543
|
-
*/
|
|
1544
|
-
scriptName: string | undefined;
|
|
1545
|
-
}
|
|
1546
|
-
/**
|
|
1547
|
-
* <p>Identifies a specific batch job.</p>
|
|
1548
|
-
*/
|
|
1549
|
-
export declare type BatchJobIdentifier = BatchJobIdentifier.FileBatchJobIdentifierMember | BatchJobIdentifier.ScriptBatchJobIdentifierMember | BatchJobIdentifier.$UnknownMember;
|
|
1550
|
-
export declare namespace BatchJobIdentifier {
|
|
1551
|
-
/**
|
|
1552
|
-
* <p>Specifies a file associated with a specific batch job.</p>
|
|
1553
|
-
*/
|
|
1554
|
-
interface FileBatchJobIdentifierMember {
|
|
1555
|
-
fileBatchJobIdentifier: FileBatchJobIdentifier;
|
|
1556
|
-
scriptBatchJobIdentifier?: never;
|
|
1557
|
-
$unknown?: never;
|
|
1558
|
-
}
|
|
1559
|
-
/**
|
|
1560
|
-
* <p>A batch job identifier in which the batch job to run is identified by the script name.</p>
|
|
1561
|
-
*/
|
|
1562
|
-
interface ScriptBatchJobIdentifierMember {
|
|
1563
|
-
fileBatchJobIdentifier?: never;
|
|
1564
|
-
scriptBatchJobIdentifier: ScriptBatchJobIdentifier;
|
|
1565
|
-
$unknown?: never;
|
|
1566
|
-
}
|
|
1567
|
-
interface $UnknownMember {
|
|
1568
|
-
fileBatchJobIdentifier?: never;
|
|
1569
|
-
scriptBatchJobIdentifier?: never;
|
|
1570
|
-
$unknown: [string, any];
|
|
1571
|
-
}
|
|
1572
|
-
interface Visitor<T> {
|
|
1573
|
-
fileBatchJobIdentifier: (value: FileBatchJobIdentifier) => T;
|
|
1574
|
-
scriptBatchJobIdentifier: (value: ScriptBatchJobIdentifier) => T;
|
|
1575
|
-
_: (name: string, value: any) => T;
|
|
1576
|
-
}
|
|
1577
|
-
const visit: <T>(value: BatchJobIdentifier, visitor: Visitor<T>) => T;
|
|
1578
|
-
}
|
|
1579
1595
|
export interface StartBatchJobRequest {
|
|
1580
1596
|
/**
|
|
1581
1597
|
* <p>The unique identifier of the application associated with this batch job.</p>
|
|
@@ -2225,6 +2241,18 @@ export declare const GetApplicationVersionResponseFilterSensitiveLog: (obj: GetA
|
|
|
2225
2241
|
* @internal
|
|
2226
2242
|
*/
|
|
2227
2243
|
export declare const GetBatchJobExecutionRequestFilterSensitiveLog: (obj: GetBatchJobExecutionRequest) => any;
|
|
2244
|
+
/**
|
|
2245
|
+
* @internal
|
|
2246
|
+
*/
|
|
2247
|
+
export declare const FileBatchJobIdentifierFilterSensitiveLog: (obj: FileBatchJobIdentifier) => any;
|
|
2248
|
+
/**
|
|
2249
|
+
* @internal
|
|
2250
|
+
*/
|
|
2251
|
+
export declare const ScriptBatchJobIdentifierFilterSensitiveLog: (obj: ScriptBatchJobIdentifier) => any;
|
|
2252
|
+
/**
|
|
2253
|
+
* @internal
|
|
2254
|
+
*/
|
|
2255
|
+
export declare const BatchJobIdentifierFilterSensitiveLog: (obj: BatchJobIdentifier) => any;
|
|
2228
2256
|
/**
|
|
2229
2257
|
* @internal
|
|
2230
2258
|
*/
|
|
@@ -2365,18 +2393,6 @@ export declare const StartApplicationRequestFilterSensitiveLog: (obj: StartAppli
|
|
|
2365
2393
|
* @internal
|
|
2366
2394
|
*/
|
|
2367
2395
|
export declare const StartApplicationResponseFilterSensitiveLog: (obj: StartApplicationResponse) => any;
|
|
2368
|
-
/**
|
|
2369
|
-
* @internal
|
|
2370
|
-
*/
|
|
2371
|
-
export declare const FileBatchJobIdentifierFilterSensitiveLog: (obj: FileBatchJobIdentifier) => any;
|
|
2372
|
-
/**
|
|
2373
|
-
* @internal
|
|
2374
|
-
*/
|
|
2375
|
-
export declare const ScriptBatchJobIdentifierFilterSensitiveLog: (obj: ScriptBatchJobIdentifier) => any;
|
|
2376
|
-
/**
|
|
2377
|
-
* @internal
|
|
2378
|
-
*/
|
|
2379
|
-
export declare const BatchJobIdentifierFilterSensitiveLog: (obj: BatchJobIdentifier) => any;
|
|
2380
2396
|
/**
|
|
2381
2397
|
* @internal
|
|
2382
2398
|
*/
|
|
@@ -17,12 +17,12 @@ export declare const getRuntimeConfig: (config: M2ClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
20
|
apiVersion: string;
|
|
23
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
22
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
23
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -17,12 +17,12 @@ export declare const getRuntimeConfig: (config: M2ClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
20
|
apiVersion: string;
|
|
23
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
22
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
23
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -13,4 +13,6 @@ export declare const getRuntimeConfig: (config: M2ClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
16
18
|
};
|
|
@@ -339,6 +339,40 @@ export interface GetBatchJobExecutionRequest {
|
|
|
339
339
|
applicationId: string | undefined;
|
|
340
340
|
executionId: string | undefined;
|
|
341
341
|
}
|
|
342
|
+
export interface FileBatchJobIdentifier {
|
|
343
|
+
fileName: string | undefined;
|
|
344
|
+
folderPath?: string;
|
|
345
|
+
}
|
|
346
|
+
export interface ScriptBatchJobIdentifier {
|
|
347
|
+
scriptName: string | undefined;
|
|
348
|
+
}
|
|
349
|
+
export declare type BatchJobIdentifier =
|
|
350
|
+
| BatchJobIdentifier.FileBatchJobIdentifierMember
|
|
351
|
+
| BatchJobIdentifier.ScriptBatchJobIdentifierMember
|
|
352
|
+
| BatchJobIdentifier.$UnknownMember;
|
|
353
|
+
export declare namespace BatchJobIdentifier {
|
|
354
|
+
interface FileBatchJobIdentifierMember {
|
|
355
|
+
fileBatchJobIdentifier: FileBatchJobIdentifier;
|
|
356
|
+
scriptBatchJobIdentifier?: never;
|
|
357
|
+
$unknown?: never;
|
|
358
|
+
}
|
|
359
|
+
interface ScriptBatchJobIdentifierMember {
|
|
360
|
+
fileBatchJobIdentifier?: never;
|
|
361
|
+
scriptBatchJobIdentifier: ScriptBatchJobIdentifier;
|
|
362
|
+
$unknown?: never;
|
|
363
|
+
}
|
|
364
|
+
interface $UnknownMember {
|
|
365
|
+
fileBatchJobIdentifier?: never;
|
|
366
|
+
scriptBatchJobIdentifier?: never;
|
|
367
|
+
$unknown: [string, any];
|
|
368
|
+
}
|
|
369
|
+
interface Visitor<T> {
|
|
370
|
+
fileBatchJobIdentifier: (value: FileBatchJobIdentifier) => T;
|
|
371
|
+
scriptBatchJobIdentifier: (value: ScriptBatchJobIdentifier) => T;
|
|
372
|
+
_: (name: string, value: any) => T;
|
|
373
|
+
}
|
|
374
|
+
const visit: <T>(value: BatchJobIdentifier, visitor: Visitor<T>) => T;
|
|
375
|
+
}
|
|
342
376
|
export declare enum BatchJobType {
|
|
343
377
|
JES2 = "JES2",
|
|
344
378
|
JES3 = "JES3",
|
|
@@ -366,6 +400,8 @@ export interface GetBatchJobExecutionResponse {
|
|
|
366
400
|
startTime: Date | undefined;
|
|
367
401
|
endTime?: Date;
|
|
368
402
|
statusReason?: string;
|
|
403
|
+
returnCode?: string;
|
|
404
|
+
batchJobIdentifier?: BatchJobIdentifier;
|
|
369
405
|
}
|
|
370
406
|
export interface GetDataSetDetailsRequest {
|
|
371
407
|
applicationId: string | undefined;
|
|
@@ -554,6 +590,8 @@ export interface BatchJobExecutionSummary {
|
|
|
554
590
|
status: BatchJobExecutionStatus | string | undefined;
|
|
555
591
|
startTime: Date | undefined;
|
|
556
592
|
endTime?: Date;
|
|
593
|
+
returnCode?: string;
|
|
594
|
+
batchJobIdentifier?: BatchJobIdentifier;
|
|
557
595
|
}
|
|
558
596
|
export interface ListBatchJobExecutionsResponse {
|
|
559
597
|
batchJobExecutions: BatchJobExecutionSummary[] | undefined;
|
|
@@ -613,40 +651,6 @@ export interface StartApplicationRequest {
|
|
|
613
651
|
applicationId: string | undefined;
|
|
614
652
|
}
|
|
615
653
|
export interface StartApplicationResponse {}
|
|
616
|
-
export interface FileBatchJobIdentifier {
|
|
617
|
-
fileName: string | undefined;
|
|
618
|
-
folderPath?: string;
|
|
619
|
-
}
|
|
620
|
-
export interface ScriptBatchJobIdentifier {
|
|
621
|
-
scriptName: string | undefined;
|
|
622
|
-
}
|
|
623
|
-
export declare type BatchJobIdentifier =
|
|
624
|
-
| BatchJobIdentifier.FileBatchJobIdentifierMember
|
|
625
|
-
| BatchJobIdentifier.ScriptBatchJobIdentifierMember
|
|
626
|
-
| BatchJobIdentifier.$UnknownMember;
|
|
627
|
-
export declare namespace BatchJobIdentifier {
|
|
628
|
-
interface FileBatchJobIdentifierMember {
|
|
629
|
-
fileBatchJobIdentifier: FileBatchJobIdentifier;
|
|
630
|
-
scriptBatchJobIdentifier?: never;
|
|
631
|
-
$unknown?: never;
|
|
632
|
-
}
|
|
633
|
-
interface ScriptBatchJobIdentifierMember {
|
|
634
|
-
fileBatchJobIdentifier?: never;
|
|
635
|
-
scriptBatchJobIdentifier: ScriptBatchJobIdentifier;
|
|
636
|
-
$unknown?: never;
|
|
637
|
-
}
|
|
638
|
-
interface $UnknownMember {
|
|
639
|
-
fileBatchJobIdentifier?: never;
|
|
640
|
-
scriptBatchJobIdentifier?: never;
|
|
641
|
-
$unknown: [string, any];
|
|
642
|
-
}
|
|
643
|
-
interface Visitor<T> {
|
|
644
|
-
fileBatchJobIdentifier: (value: FileBatchJobIdentifier) => T;
|
|
645
|
-
scriptBatchJobIdentifier: (value: ScriptBatchJobIdentifier) => T;
|
|
646
|
-
_: (name: string, value: any) => T;
|
|
647
|
-
}
|
|
648
|
-
const visit: <T>(value: BatchJobIdentifier, visitor: Visitor<T>) => T;
|
|
649
|
-
}
|
|
650
654
|
export interface StartBatchJobRequest {
|
|
651
655
|
applicationId: string | undefined;
|
|
652
656
|
batchJobIdentifier: BatchJobIdentifier | undefined;
|
|
@@ -918,6 +922,15 @@ export declare const GetApplicationVersionResponseFilterSensitiveLog: (
|
|
|
918
922
|
export declare const GetBatchJobExecutionRequestFilterSensitiveLog: (
|
|
919
923
|
obj: GetBatchJobExecutionRequest
|
|
920
924
|
) => any;
|
|
925
|
+
export declare const FileBatchJobIdentifierFilterSensitiveLog: (
|
|
926
|
+
obj: FileBatchJobIdentifier
|
|
927
|
+
) => any;
|
|
928
|
+
export declare const ScriptBatchJobIdentifierFilterSensitiveLog: (
|
|
929
|
+
obj: ScriptBatchJobIdentifier
|
|
930
|
+
) => any;
|
|
931
|
+
export declare const BatchJobIdentifierFilterSensitiveLog: (
|
|
932
|
+
obj: BatchJobIdentifier
|
|
933
|
+
) => any;
|
|
921
934
|
export declare const GetBatchJobExecutionResponseFilterSensitiveLog: (
|
|
922
935
|
obj: GetBatchJobExecutionResponse
|
|
923
936
|
) => any;
|
|
@@ -1023,15 +1036,6 @@ export declare const StartApplicationRequestFilterSensitiveLog: (
|
|
|
1023
1036
|
export declare const StartApplicationResponseFilterSensitiveLog: (
|
|
1024
1037
|
obj: StartApplicationResponse
|
|
1025
1038
|
) => any;
|
|
1026
|
-
export declare const FileBatchJobIdentifierFilterSensitiveLog: (
|
|
1027
|
-
obj: FileBatchJobIdentifier
|
|
1028
|
-
) => any;
|
|
1029
|
-
export declare const ScriptBatchJobIdentifierFilterSensitiveLog: (
|
|
1030
|
-
obj: ScriptBatchJobIdentifier
|
|
1031
|
-
) => any;
|
|
1032
|
-
export declare const BatchJobIdentifierFilterSensitiveLog: (
|
|
1033
|
-
obj: BatchJobIdentifier
|
|
1034
|
-
) => any;
|
|
1035
1039
|
export declare const StartBatchJobRequestFilterSensitiveLog: (
|
|
1036
1040
|
obj: StartBatchJobRequest
|
|
1037
1041
|
) => any;
|
|
@@ -27,12 +27,12 @@ export declare const getRuntimeConfig: (config: M2ClientConfig) => {
|
|
|
27
27
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
28
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
31
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
32
30
|
apiVersion: string;
|
|
33
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
32
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
33
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -27,12 +27,12 @@ export declare const getRuntimeConfig: (config: M2ClientConfig) => {
|
|
|
27
27
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
28
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
31
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
32
30
|
apiVersion: string;
|
|
33
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
32
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
33
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -13,4 +13,6 @@ export declare const getRuntimeConfig: (config: M2ClientConfig) => {
|
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
15
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
16
18
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-m2",
|
|
3
3
|
"description": "AWS SDK for JavaScript M2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.259.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.259.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.259.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.257.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
33
|
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.259.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.257.0",
|
|
36
36
|
"@aws-sdk/middleware-signing": "3.257.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.257.0",
|
|
38
38
|
"@aws-sdk/middleware-user-agent": "3.257.0",
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.259.0",
|
|
40
40
|
"@aws-sdk/node-http-handler": "3.257.0",
|
|
41
41
|
"@aws-sdk/protocol-http": "3.257.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.257.0",
|
|
@@ -46,13 +46,12 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.257.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.259.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.257.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.257.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.257.0",
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8
|
|
55
|
-
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.259.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.254.0",
|
|
56
55
|
"tslib": "^2.3.1",
|
|
57
56
|
"uuid": "^8.3.2"
|
|
58
57
|
},
|