@aws-sdk/client-snowball 3.267.0 → 3.270.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/Snowball.js +15 -0
- package/dist-cjs/commands/ListServiceVersionsCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +28 -3
- package/dist-cjs/protocols/Aws_json1_1.js +142 -1
- package/dist-es/Snowball.js +15 -0
- package/dist-es/commands/ListServiceVersionsCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_json1_1.js +138 -0
- package/dist-types/Snowball.d.ts +8 -26
- package/dist-types/SnowballClient.d.ts +3 -2
- package/dist-types/commands/CreateJobCommand.d.ts +0 -18
- package/dist-types/commands/GetJobManifestCommand.d.ts +0 -5
- package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +0 -2
- package/dist-types/commands/GetSnowballUsageCommand.d.ts +0 -1
- package/dist-types/commands/ListServiceVersionsCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +102 -20
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/Snowball.d.ts +17 -0
- package/dist-types/ts3.4/SnowballClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListServiceVersionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +43 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +1 -1
package/dist-cjs/Snowball.js
CHANGED
|
@@ -22,6 +22,7 @@ const ListClustersCommand_1 = require("./commands/ListClustersCommand");
|
|
|
22
22
|
const ListCompatibleImagesCommand_1 = require("./commands/ListCompatibleImagesCommand");
|
|
23
23
|
const ListJobsCommand_1 = require("./commands/ListJobsCommand");
|
|
24
24
|
const ListLongTermPricingCommand_1 = require("./commands/ListLongTermPricingCommand");
|
|
25
|
+
const ListServiceVersionsCommand_1 = require("./commands/ListServiceVersionsCommand");
|
|
25
26
|
const UpdateClusterCommand_1 = require("./commands/UpdateClusterCommand");
|
|
26
27
|
const UpdateJobCommand_1 = require("./commands/UpdateJobCommand");
|
|
27
28
|
const UpdateJobShipmentStateCommand_1 = require("./commands/UpdateJobShipmentStateCommand");
|
|
@@ -322,6 +323,20 @@ class Snowball extends SnowballClient_1.SnowballClient {
|
|
|
322
323
|
return this.send(command, optionsOrCb);
|
|
323
324
|
}
|
|
324
325
|
}
|
|
326
|
+
listServiceVersions(args, optionsOrCb, cb) {
|
|
327
|
+
const command = new ListServiceVersionsCommand_1.ListServiceVersionsCommand(args);
|
|
328
|
+
if (typeof optionsOrCb === "function") {
|
|
329
|
+
this.send(command, optionsOrCb);
|
|
330
|
+
}
|
|
331
|
+
else if (typeof cb === "function") {
|
|
332
|
+
if (typeof optionsOrCb !== "object")
|
|
333
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
334
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
335
|
+
}
|
|
336
|
+
else {
|
|
337
|
+
return this.send(command, optionsOrCb);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
325
340
|
updateCluster(args, optionsOrCb, cb) {
|
|
326
341
|
const command = new UpdateClusterCommand_1.UpdateClusterCommand(args);
|
|
327
342
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListServiceVersionsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class ListServiceVersionsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListServiceVersionsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "SnowballClient";
|
|
28
|
+
const commandName = "ListServiceVersionsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ListServiceVersionsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.ListServiceVersionsResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1ListServiceVersionsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1ListServiceVersionsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListServiceVersionsCommand = ListServiceVersionsCommand;
|
|
@@ -22,6 +22,7 @@ tslib_1.__exportStar(require("./ListClustersCommand"), exports);
|
|
|
22
22
|
tslib_1.__exportStar(require("./ListCompatibleImagesCommand"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./ListJobsCommand"), exports);
|
|
24
24
|
tslib_1.__exportStar(require("./ListLongTermPricingCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./ListServiceVersionsCommand"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./UpdateClusterCommand"), exports);
|
|
26
27
|
tslib_1.__exportStar(require("./UpdateJobCommand"), exports);
|
|
27
28
|
tslib_1.__exportStar(require("./UpdateJobShipmentStateCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://snowball-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://snowball-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://snowball.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://snowball.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateLongTermPricingResultFilterSensitiveLog = void 0;
|
|
3
|
+
exports.SnowconeDeviceConfigurationFilterSensitiveLog = exports.WirelessConnectionFilterSensitiveLog = exports.CreateClusterResultFilterSensitiveLog = exports.CreateClusterRequestFilterSensitiveLog = exports.TaxDocumentsFilterSensitiveLog = exports.INDTaxDocumentsFilterSensitiveLog = exports.JobResourceFilterSensitiveLog = exports.S3ResourceFilterSensitiveLog = exports.TargetOnDeviceServiceFilterSensitiveLog = exports.KeyRangeFilterSensitiveLog = exports.LambdaResourceFilterSensitiveLog = exports.EventTriggerDefinitionFilterSensitiveLog = exports.Ec2AmiResourceFilterSensitiveLog = exports.OnDeviceServiceConfigurationFilterSensitiveLog = exports.TGWOnDeviceServiceConfigurationFilterSensitiveLog = exports.NFSOnDeviceServiceConfigurationFilterSensitiveLog = exports.EKSOnDeviceServiceConfigurationFilterSensitiveLog = exports.NotificationFilterSensitiveLog = exports.CreateAddressResultFilterSensitiveLog = exports.CreateAddressRequestFilterSensitiveLog = exports.CancelJobResultFilterSensitiveLog = exports.CancelJobRequestFilterSensitiveLog = exports.CancelClusterResultFilterSensitiveLog = exports.CancelClusterRequestFilterSensitiveLog = exports.AddressFilterSensitiveLog = exports.ShipmentState = exports.ServiceName = exports.ClusterState = exports.InvalidNextTokenException = exports.ReturnShippingLabelAlreadyExistsException = exports.ShippingLabelStatus = exports.ConflictException = exports.LongTermPricingType = exports.SnowballCapacity = exports.ClusterLimitExceededException = exports.InvalidInputCombinationException = exports.Ec2RequestFailedException = exports.SnowballType = exports.ShippingOption = exports.TransferOption = exports.DeviceServiceName = exports.RemoteManagement = exports.StorageUnit = exports.JobState = exports.JobType = exports.UnsupportedAddressException = exports.InvalidAddressException = exports.KMSRequestFailedException = exports.InvalidResourceException = exports.InvalidJobStateException = void 0;
|
|
4
|
+
exports.UpdateClusterRequestFilterSensitiveLog = exports.ListServiceVersionsResultFilterSensitiveLog = exports.ListServiceVersionsRequestFilterSensitiveLog = exports.DependentServiceFilterSensitiveLog = exports.ServiceVersionFilterSensitiveLog = exports.ListLongTermPricingResultFilterSensitiveLog = exports.LongTermPricingListEntryFilterSensitiveLog = exports.ListLongTermPricingRequestFilterSensitiveLog = exports.ListJobsResultFilterSensitiveLog = exports.ListJobsRequestFilterSensitiveLog = exports.ListCompatibleImagesResultFilterSensitiveLog = exports.CompatibleImageFilterSensitiveLog = exports.ListCompatibleImagesRequestFilterSensitiveLog = exports.ListClustersResultFilterSensitiveLog = exports.ClusterListEntryFilterSensitiveLog = exports.ListClustersRequestFilterSensitiveLog = exports.ListClusterJobsResultFilterSensitiveLog = exports.JobListEntryFilterSensitiveLog = exports.ListClusterJobsRequestFilterSensitiveLog = exports.GetSoftwareUpdatesResultFilterSensitiveLog = exports.GetSoftwareUpdatesRequestFilterSensitiveLog = exports.GetSnowballUsageResultFilterSensitiveLog = exports.GetSnowballUsageRequestFilterSensitiveLog = exports.GetJobUnlockCodeResultFilterSensitiveLog = exports.GetJobUnlockCodeRequestFilterSensitiveLog = exports.GetJobManifestResultFilterSensitiveLog = exports.GetJobManifestRequestFilterSensitiveLog = exports.DescribeReturnShippingLabelResultFilterSensitiveLog = exports.DescribeReturnShippingLabelRequestFilterSensitiveLog = exports.DescribeJobResultFilterSensitiveLog = exports.JobMetadataFilterSensitiveLog = exports.ShippingDetailsFilterSensitiveLog = exports.ShipmentFilterSensitiveLog = exports.JobLogsFilterSensitiveLog = exports.DataTransferFilterSensitiveLog = exports.DescribeJobRequestFilterSensitiveLog = exports.DescribeClusterResultFilterSensitiveLog = exports.ClusterMetadataFilterSensitiveLog = exports.DescribeClusterRequestFilterSensitiveLog = exports.DescribeAddressesResultFilterSensitiveLog = exports.DescribeAddressesRequestFilterSensitiveLog = exports.DescribeAddressResultFilterSensitiveLog = exports.DescribeAddressRequestFilterSensitiveLog = exports.CreateReturnShippingLabelResultFilterSensitiveLog = exports.CreateReturnShippingLabelRequestFilterSensitiveLog = exports.CreateLongTermPricingResultFilterSensitiveLog = exports.CreateLongTermPricingRequestFilterSensitiveLog = exports.CreateJobResultFilterSensitiveLog = exports.CreateJobRequestFilterSensitiveLog = exports.DeviceConfigurationFilterSensitiveLog = void 0;
|
|
5
|
+
exports.UpdateLongTermPricingResultFilterSensitiveLog = exports.UpdateLongTermPricingRequestFilterSensitiveLog = exports.UpdateJobShipmentStateResultFilterSensitiveLog = exports.UpdateJobShipmentStateRequestFilterSensitiveLog = exports.UpdateJobResultFilterSensitiveLog = exports.UpdateJobRequestFilterSensitiveLog = exports.UpdateClusterResultFilterSensitiveLog = void 0;
|
|
6
6
|
const SnowballServiceException_1 = require("./SnowballServiceException");
|
|
7
7
|
class InvalidJobStateException extends SnowballServiceException_1.SnowballServiceException {
|
|
8
8
|
constructor(opts) {
|
|
@@ -252,6 +252,11 @@ var ClusterState;
|
|
|
252
252
|
ClusterState["IN_USE"] = "InUse";
|
|
253
253
|
ClusterState["PENDING"] = "Pending";
|
|
254
254
|
})(ClusterState = exports.ClusterState || (exports.ClusterState = {}));
|
|
255
|
+
var ServiceName;
|
|
256
|
+
(function (ServiceName) {
|
|
257
|
+
ServiceName["EKS_ANYWHERE"] = "EKS_ANYWHERE";
|
|
258
|
+
ServiceName["KUBERNETES"] = "KUBERNETES";
|
|
259
|
+
})(ServiceName = exports.ServiceName || (exports.ServiceName = {}));
|
|
255
260
|
var ShipmentState;
|
|
256
261
|
(function (ShipmentState) {
|
|
257
262
|
ShipmentState["RECEIVED"] = "RECEIVED";
|
|
@@ -289,6 +294,10 @@ const NotificationFilterSensitiveLog = (obj) => ({
|
|
|
289
294
|
...obj,
|
|
290
295
|
});
|
|
291
296
|
exports.NotificationFilterSensitiveLog = NotificationFilterSensitiveLog;
|
|
297
|
+
const EKSOnDeviceServiceConfigurationFilterSensitiveLog = (obj) => ({
|
|
298
|
+
...obj,
|
|
299
|
+
});
|
|
300
|
+
exports.EKSOnDeviceServiceConfigurationFilterSensitiveLog = EKSOnDeviceServiceConfigurationFilterSensitiveLog;
|
|
292
301
|
const NFSOnDeviceServiceConfigurationFilterSensitiveLog = (obj) => ({
|
|
293
302
|
...obj,
|
|
294
303
|
});
|
|
@@ -533,6 +542,22 @@ const ListLongTermPricingResultFilterSensitiveLog = (obj) => ({
|
|
|
533
542
|
...obj,
|
|
534
543
|
});
|
|
535
544
|
exports.ListLongTermPricingResultFilterSensitiveLog = ListLongTermPricingResultFilterSensitiveLog;
|
|
545
|
+
const ServiceVersionFilterSensitiveLog = (obj) => ({
|
|
546
|
+
...obj,
|
|
547
|
+
});
|
|
548
|
+
exports.ServiceVersionFilterSensitiveLog = ServiceVersionFilterSensitiveLog;
|
|
549
|
+
const DependentServiceFilterSensitiveLog = (obj) => ({
|
|
550
|
+
...obj,
|
|
551
|
+
});
|
|
552
|
+
exports.DependentServiceFilterSensitiveLog = DependentServiceFilterSensitiveLog;
|
|
553
|
+
const ListServiceVersionsRequestFilterSensitiveLog = (obj) => ({
|
|
554
|
+
...obj,
|
|
555
|
+
});
|
|
556
|
+
exports.ListServiceVersionsRequestFilterSensitiveLog = ListServiceVersionsRequestFilterSensitiveLog;
|
|
557
|
+
const ListServiceVersionsResultFilterSensitiveLog = (obj) => ({
|
|
558
|
+
...obj,
|
|
559
|
+
});
|
|
560
|
+
exports.ListServiceVersionsResultFilterSensitiveLog = ListServiceVersionsResultFilterSensitiveLog;
|
|
536
561
|
const UpdateClusterRequestFilterSensitiveLog = (obj) => ({
|
|
537
562
|
...obj,
|
|
538
563
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.deserializeAws_json1_1UpdateJobCommand = exports.deserializeAws_json1_1UpdateClusterCommand = exports.deserializeAws_json1_1ListServiceVersionsCommand = exports.deserializeAws_json1_1ListLongTermPricingCommand = exports.deserializeAws_json1_1ListJobsCommand = exports.deserializeAws_json1_1ListCompatibleImagesCommand = exports.deserializeAws_json1_1ListClustersCommand = exports.deserializeAws_json1_1ListClusterJobsCommand = exports.deserializeAws_json1_1GetSoftwareUpdatesCommand = exports.deserializeAws_json1_1GetSnowballUsageCommand = exports.deserializeAws_json1_1GetJobUnlockCodeCommand = exports.deserializeAws_json1_1GetJobManifestCommand = exports.deserializeAws_json1_1DescribeReturnShippingLabelCommand = exports.deserializeAws_json1_1DescribeJobCommand = exports.deserializeAws_json1_1DescribeClusterCommand = exports.deserializeAws_json1_1DescribeAddressesCommand = exports.deserializeAws_json1_1DescribeAddressCommand = exports.deserializeAws_json1_1CreateReturnShippingLabelCommand = exports.deserializeAws_json1_1CreateLongTermPricingCommand = exports.deserializeAws_json1_1CreateJobCommand = exports.deserializeAws_json1_1CreateClusterCommand = exports.deserializeAws_json1_1CreateAddressCommand = exports.deserializeAws_json1_1CancelJobCommand = exports.deserializeAws_json1_1CancelClusterCommand = exports.serializeAws_json1_1UpdateLongTermPricingCommand = exports.serializeAws_json1_1UpdateJobShipmentStateCommand = exports.serializeAws_json1_1UpdateJobCommand = exports.serializeAws_json1_1UpdateClusterCommand = exports.serializeAws_json1_1ListServiceVersionsCommand = exports.serializeAws_json1_1ListLongTermPricingCommand = exports.serializeAws_json1_1ListJobsCommand = exports.serializeAws_json1_1ListCompatibleImagesCommand = exports.serializeAws_json1_1ListClustersCommand = exports.serializeAws_json1_1ListClusterJobsCommand = exports.serializeAws_json1_1GetSoftwareUpdatesCommand = exports.serializeAws_json1_1GetSnowballUsageCommand = exports.serializeAws_json1_1GetJobUnlockCodeCommand = exports.serializeAws_json1_1GetJobManifestCommand = exports.serializeAws_json1_1DescribeReturnShippingLabelCommand = exports.serializeAws_json1_1DescribeJobCommand = exports.serializeAws_json1_1DescribeClusterCommand = exports.serializeAws_json1_1DescribeAddressesCommand = exports.serializeAws_json1_1DescribeAddressCommand = exports.serializeAws_json1_1CreateReturnShippingLabelCommand = exports.serializeAws_json1_1CreateLongTermPricingCommand = exports.serializeAws_json1_1CreateJobCommand = exports.serializeAws_json1_1CreateClusterCommand = exports.serializeAws_json1_1CreateAddressCommand = exports.serializeAws_json1_1CancelJobCommand = exports.serializeAws_json1_1CancelClusterCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_1UpdateLongTermPricingCommand = exports.deserializeAws_json1_1UpdateJobShipmentStateCommand = void 0;
|
|
4
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -215,6 +216,16 @@ const serializeAws_json1_1ListLongTermPricingCommand = async (input, context) =>
|
|
|
215
216
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
216
217
|
};
|
|
217
218
|
exports.serializeAws_json1_1ListLongTermPricingCommand = serializeAws_json1_1ListLongTermPricingCommand;
|
|
219
|
+
const serializeAws_json1_1ListServiceVersionsCommand = async (input, context) => {
|
|
220
|
+
const headers = {
|
|
221
|
+
"content-type": "application/x-amz-json-1.1",
|
|
222
|
+
"x-amz-target": "AWSIESnowballJobManagementService.ListServiceVersions",
|
|
223
|
+
};
|
|
224
|
+
let body;
|
|
225
|
+
body = JSON.stringify(serializeAws_json1_1ListServiceVersionsRequest(input, context));
|
|
226
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
+
};
|
|
228
|
+
exports.serializeAws_json1_1ListServiceVersionsCommand = serializeAws_json1_1ListServiceVersionsCommand;
|
|
218
229
|
const serializeAws_json1_1UpdateClusterCommand = async (input, context) => {
|
|
219
230
|
const headers = {
|
|
220
231
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1038,6 +1049,43 @@ const deserializeAws_json1_1ListLongTermPricingCommandError = async (output, con
|
|
|
1038
1049
|
});
|
|
1039
1050
|
}
|
|
1040
1051
|
};
|
|
1052
|
+
const deserializeAws_json1_1ListServiceVersionsCommand = async (output, context) => {
|
|
1053
|
+
if (output.statusCode >= 300) {
|
|
1054
|
+
return deserializeAws_json1_1ListServiceVersionsCommandError(output, context);
|
|
1055
|
+
}
|
|
1056
|
+
const data = await parseBody(output.body, context);
|
|
1057
|
+
let contents = {};
|
|
1058
|
+
contents = deserializeAws_json1_1ListServiceVersionsResult(data, context);
|
|
1059
|
+
const response = {
|
|
1060
|
+
$metadata: deserializeMetadata(output),
|
|
1061
|
+
...contents,
|
|
1062
|
+
};
|
|
1063
|
+
return Promise.resolve(response);
|
|
1064
|
+
};
|
|
1065
|
+
exports.deserializeAws_json1_1ListServiceVersionsCommand = deserializeAws_json1_1ListServiceVersionsCommand;
|
|
1066
|
+
const deserializeAws_json1_1ListServiceVersionsCommandError = async (output, context) => {
|
|
1067
|
+
const parsedOutput = {
|
|
1068
|
+
...output,
|
|
1069
|
+
body: await parseErrorBody(output.body, context),
|
|
1070
|
+
};
|
|
1071
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1072
|
+
switch (errorCode) {
|
|
1073
|
+
case "InvalidNextTokenException":
|
|
1074
|
+
case "com.amazonaws.snowball#InvalidNextTokenException":
|
|
1075
|
+
throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
|
|
1076
|
+
case "InvalidResourceException":
|
|
1077
|
+
case "com.amazonaws.snowball#InvalidResourceException":
|
|
1078
|
+
throw await deserializeAws_json1_1InvalidResourceExceptionResponse(parsedOutput, context);
|
|
1079
|
+
default:
|
|
1080
|
+
const parsedBody = parsedOutput.body;
|
|
1081
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1082
|
+
output,
|
|
1083
|
+
parsedBody,
|
|
1084
|
+
exceptionCtor: SnowballServiceException_1.SnowballServiceException,
|
|
1085
|
+
errorCode,
|
|
1086
|
+
});
|
|
1087
|
+
}
|
|
1088
|
+
};
|
|
1041
1089
|
const deserializeAws_json1_1UpdateClusterCommand = async (output, context) => {
|
|
1042
1090
|
if (output.statusCode >= 300) {
|
|
1043
1091
|
return deserializeAws_json1_1UpdateClusterCommandError(output, context);
|
|
@@ -1393,6 +1441,21 @@ const serializeAws_json1_1CreateReturnShippingLabelRequest = (input, context) =>
|
|
|
1393
1441
|
...(input.ShippingOption != null && { ShippingOption: input.ShippingOption }),
|
|
1394
1442
|
};
|
|
1395
1443
|
};
|
|
1444
|
+
const serializeAws_json1_1DependentService = (input, context) => {
|
|
1445
|
+
return {
|
|
1446
|
+
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1447
|
+
...(input.ServiceVersion != null && {
|
|
1448
|
+
ServiceVersion: serializeAws_json1_1ServiceVersion(input.ServiceVersion, context),
|
|
1449
|
+
}),
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
const serializeAws_json1_1DependentServiceList = (input, context) => {
|
|
1453
|
+
return input
|
|
1454
|
+
.filter((e) => e != null)
|
|
1455
|
+
.map((entry) => {
|
|
1456
|
+
return serializeAws_json1_1DependentService(entry, context);
|
|
1457
|
+
});
|
|
1458
|
+
};
|
|
1396
1459
|
const serializeAws_json1_1DescribeAddressesRequest = (input, context) => {
|
|
1397
1460
|
return {
|
|
1398
1461
|
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
@@ -1439,6 +1502,12 @@ const serializeAws_json1_1Ec2AmiResourceList = (input, context) => {
|
|
|
1439
1502
|
return serializeAws_json1_1Ec2AmiResource(entry, context);
|
|
1440
1503
|
});
|
|
1441
1504
|
};
|
|
1505
|
+
const serializeAws_json1_1EKSOnDeviceServiceConfiguration = (input, context) => {
|
|
1506
|
+
return {
|
|
1507
|
+
...(input.EKSAnywhereVersion != null && { EKSAnywhereVersion: input.EKSAnywhereVersion }),
|
|
1508
|
+
...(input.KubernetesVersion != null && { KubernetesVersion: input.KubernetesVersion }),
|
|
1509
|
+
};
|
|
1510
|
+
};
|
|
1442
1511
|
const serializeAws_json1_1EventTriggerDefinition = (input, context) => {
|
|
1443
1512
|
return {
|
|
1444
1513
|
...(input.EventResourceARN != null && { EventResourceARN: input.EventResourceARN }),
|
|
@@ -1544,6 +1613,16 @@ const serializeAws_json1_1ListLongTermPricingRequest = (input, context) => {
|
|
|
1544
1613
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1545
1614
|
};
|
|
1546
1615
|
};
|
|
1616
|
+
const serializeAws_json1_1ListServiceVersionsRequest = (input, context) => {
|
|
1617
|
+
return {
|
|
1618
|
+
...(input.DependentServices != null && {
|
|
1619
|
+
DependentServices: serializeAws_json1_1DependentServiceList(input.DependentServices, context),
|
|
1620
|
+
}),
|
|
1621
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1622
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1623
|
+
...(input.ServiceName != null && { ServiceName: input.ServiceName }),
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1547
1626
|
const serializeAws_json1_1NFSOnDeviceServiceConfiguration = (input, context) => {
|
|
1548
1627
|
return {
|
|
1549
1628
|
...(input.StorageLimit != null && { StorageLimit: input.StorageLimit }),
|
|
@@ -1561,6 +1640,9 @@ const serializeAws_json1_1Notification = (input, context) => {
|
|
|
1561
1640
|
};
|
|
1562
1641
|
const serializeAws_json1_1OnDeviceServiceConfiguration = (input, context) => {
|
|
1563
1642
|
return {
|
|
1643
|
+
...(input.EKSOnDeviceService != null && {
|
|
1644
|
+
EKSOnDeviceService: serializeAws_json1_1EKSOnDeviceServiceConfiguration(input.EKSOnDeviceService, context),
|
|
1645
|
+
}),
|
|
1564
1646
|
...(input.NFSOnDeviceService != null && {
|
|
1565
1647
|
NFSOnDeviceService: serializeAws_json1_1NFSOnDeviceServiceConfiguration(input.NFSOnDeviceService, context),
|
|
1566
1648
|
}),
|
|
@@ -1585,6 +1667,11 @@ const serializeAws_json1_1S3ResourceList = (input, context) => {
|
|
|
1585
1667
|
return serializeAws_json1_1S3Resource(entry, context);
|
|
1586
1668
|
});
|
|
1587
1669
|
};
|
|
1670
|
+
const serializeAws_json1_1ServiceVersion = (input, context) => {
|
|
1671
|
+
return {
|
|
1672
|
+
...(input.Version != null && { Version: input.Version }),
|
|
1673
|
+
};
|
|
1674
|
+
};
|
|
1588
1675
|
const serializeAws_json1_1SnowconeDeviceConfiguration = (input, context) => {
|
|
1589
1676
|
return {
|
|
1590
1677
|
...(input.WirelessConnection != null && {
|
|
@@ -1805,6 +1892,23 @@ const deserializeAws_json1_1DataTransfer = (output, context) => {
|
|
|
1805
1892
|
TotalObjects: (0, smithy_client_1.expectLong)(output.TotalObjects),
|
|
1806
1893
|
};
|
|
1807
1894
|
};
|
|
1895
|
+
const deserializeAws_json1_1DependentService = (output, context) => {
|
|
1896
|
+
return {
|
|
1897
|
+
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
1898
|
+
ServiceVersion: output.ServiceVersion != null ? deserializeAws_json1_1ServiceVersion(output.ServiceVersion, context) : undefined,
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
const deserializeAws_json1_1DependentServiceList = (output, context) => {
|
|
1902
|
+
const retVal = (output || [])
|
|
1903
|
+
.filter((e) => e != null)
|
|
1904
|
+
.map((entry) => {
|
|
1905
|
+
if (entry === null) {
|
|
1906
|
+
return null;
|
|
1907
|
+
}
|
|
1908
|
+
return deserializeAws_json1_1DependentService(entry, context);
|
|
1909
|
+
});
|
|
1910
|
+
return retVal;
|
|
1911
|
+
};
|
|
1808
1912
|
const deserializeAws_json1_1DescribeAddressesResult = (output, context) => {
|
|
1809
1913
|
return {
|
|
1810
1914
|
Addresses: output.Addresses != null ? deserializeAws_json1_1AddressList(output.Addresses, context) : undefined,
|
|
@@ -1867,6 +1971,12 @@ const deserializeAws_json1_1Ec2RequestFailedException = (output, context) => {
|
|
|
1867
1971
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
1868
1972
|
};
|
|
1869
1973
|
};
|
|
1974
|
+
const deserializeAws_json1_1EKSOnDeviceServiceConfiguration = (output, context) => {
|
|
1975
|
+
return {
|
|
1976
|
+
EKSAnywhereVersion: (0, smithy_client_1.expectString)(output.EKSAnywhereVersion),
|
|
1977
|
+
KubernetesVersion: (0, smithy_client_1.expectString)(output.KubernetesVersion),
|
|
1978
|
+
};
|
|
1979
|
+
};
|
|
1870
1980
|
const deserializeAws_json1_1EventTriggerDefinition = (output, context) => {
|
|
1871
1981
|
return {
|
|
1872
1982
|
EventResourceARN: (0, smithy_client_1.expectString)(output.EventResourceARN),
|
|
@@ -2105,6 +2215,18 @@ const deserializeAws_json1_1ListLongTermPricingResult = (output, context) => {
|
|
|
2105
2215
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2106
2216
|
};
|
|
2107
2217
|
};
|
|
2218
|
+
const deserializeAws_json1_1ListServiceVersionsResult = (output, context) => {
|
|
2219
|
+
return {
|
|
2220
|
+
DependentServices: output.DependentServices != null
|
|
2221
|
+
? deserializeAws_json1_1DependentServiceList(output.DependentServices, context)
|
|
2222
|
+
: undefined,
|
|
2223
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2224
|
+
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
2225
|
+
ServiceVersions: output.ServiceVersions != null
|
|
2226
|
+
? deserializeAws_json1_1ServiceVersionList(output.ServiceVersions, context)
|
|
2227
|
+
: undefined,
|
|
2228
|
+
};
|
|
2229
|
+
};
|
|
2108
2230
|
const deserializeAws_json1_1LongTermPricingAssociatedJobIdList = (output, context) => {
|
|
2109
2231
|
const retVal = (output || [])
|
|
2110
2232
|
.filter((e) => e != null)
|
|
@@ -2164,6 +2286,9 @@ const deserializeAws_json1_1Notification = (output, context) => {
|
|
|
2164
2286
|
};
|
|
2165
2287
|
const deserializeAws_json1_1OnDeviceServiceConfiguration = (output, context) => {
|
|
2166
2288
|
return {
|
|
2289
|
+
EKSOnDeviceService: output.EKSOnDeviceService != null
|
|
2290
|
+
? deserializeAws_json1_1EKSOnDeviceServiceConfiguration(output.EKSOnDeviceService, context)
|
|
2291
|
+
: undefined,
|
|
2167
2292
|
NFSOnDeviceService: output.NFSOnDeviceService != null
|
|
2168
2293
|
? deserializeAws_json1_1NFSOnDeviceServiceConfiguration(output.NFSOnDeviceService, context)
|
|
2169
2294
|
: undefined,
|
|
@@ -2197,6 +2322,22 @@ const deserializeAws_json1_1S3ResourceList = (output, context) => {
|
|
|
2197
2322
|
});
|
|
2198
2323
|
return retVal;
|
|
2199
2324
|
};
|
|
2325
|
+
const deserializeAws_json1_1ServiceVersion = (output, context) => {
|
|
2326
|
+
return {
|
|
2327
|
+
Version: (0, smithy_client_1.expectString)(output.Version),
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
const deserializeAws_json1_1ServiceVersionList = (output, context) => {
|
|
2331
|
+
const retVal = (output || [])
|
|
2332
|
+
.filter((e) => e != null)
|
|
2333
|
+
.map((entry) => {
|
|
2334
|
+
if (entry === null) {
|
|
2335
|
+
return null;
|
|
2336
|
+
}
|
|
2337
|
+
return deserializeAws_json1_1ServiceVersion(entry, context);
|
|
2338
|
+
});
|
|
2339
|
+
return retVal;
|
|
2340
|
+
};
|
|
2200
2341
|
const deserializeAws_json1_1Shipment = (output, context) => {
|
|
2201
2342
|
return {
|
|
2202
2343
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
package/dist-es/Snowball.js
CHANGED
|
@@ -19,6 +19,7 @@ import { ListClustersCommand, } from "./commands/ListClustersCommand";
|
|
|
19
19
|
import { ListCompatibleImagesCommand, } from "./commands/ListCompatibleImagesCommand";
|
|
20
20
|
import { ListJobsCommand } from "./commands/ListJobsCommand";
|
|
21
21
|
import { ListLongTermPricingCommand, } from "./commands/ListLongTermPricingCommand";
|
|
22
|
+
import { ListServiceVersionsCommand, } from "./commands/ListServiceVersionsCommand";
|
|
22
23
|
import { UpdateClusterCommand, } from "./commands/UpdateClusterCommand";
|
|
23
24
|
import { UpdateJobCommand } from "./commands/UpdateJobCommand";
|
|
24
25
|
import { UpdateJobShipmentStateCommand, } from "./commands/UpdateJobShipmentStateCommand";
|
|
@@ -319,6 +320,20 @@ export class Snowball extends SnowballClient {
|
|
|
319
320
|
return this.send(command, optionsOrCb);
|
|
320
321
|
}
|
|
321
322
|
}
|
|
323
|
+
listServiceVersions(args, optionsOrCb, cb) {
|
|
324
|
+
const command = new ListServiceVersionsCommand(args);
|
|
325
|
+
if (typeof optionsOrCb === "function") {
|
|
326
|
+
this.send(command, optionsOrCb);
|
|
327
|
+
}
|
|
328
|
+
else if (typeof cb === "function") {
|
|
329
|
+
if (typeof optionsOrCb !== "object")
|
|
330
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
return this.send(command, optionsOrCb);
|
|
335
|
+
}
|
|
336
|
+
}
|
|
322
337
|
updateCluster(args, optionsOrCb, cb) {
|
|
323
338
|
const command = new UpdateClusterCommand(args);
|
|
324
339
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListServiceVersionsRequestFilterSensitiveLog, ListServiceVersionsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ListServiceVersionsCommand, serializeAws_json1_1ListServiceVersionsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class ListServiceVersionsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListServiceVersionsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "SnowballClient";
|
|
25
|
+
const commandName = "ListServiceVersionsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListServiceVersionsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListServiceVersionsResultFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1ListServiceVersionsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1ListServiceVersionsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./ListClustersCommand";
|
|
|
19
19
|
export * from "./ListCompatibleImagesCommand";
|
|
20
20
|
export * from "./ListJobsCommand";
|
|
21
21
|
export * from "./ListLongTermPricingCommand";
|
|
22
|
+
export * from "./ListServiceVersionsCommand";
|
|
22
23
|
export * from "./UpdateClusterCommand";
|
|
23
24
|
export * from "./UpdateJobCommand";
|
|
24
25
|
export * from "./UpdateJobShipmentStateCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://snowball-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://snowball-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://snowball.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://snowball.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -236,6 +236,11 @@ export var ClusterState;
|
|
|
236
236
|
ClusterState["IN_USE"] = "InUse";
|
|
237
237
|
ClusterState["PENDING"] = "Pending";
|
|
238
238
|
})(ClusterState || (ClusterState = {}));
|
|
239
|
+
export var ServiceName;
|
|
240
|
+
(function (ServiceName) {
|
|
241
|
+
ServiceName["EKS_ANYWHERE"] = "EKS_ANYWHERE";
|
|
242
|
+
ServiceName["KUBERNETES"] = "KUBERNETES";
|
|
243
|
+
})(ServiceName || (ServiceName = {}));
|
|
239
244
|
export var ShipmentState;
|
|
240
245
|
(function (ShipmentState) {
|
|
241
246
|
ShipmentState["RECEIVED"] = "RECEIVED";
|
|
@@ -265,6 +270,9 @@ export const CreateAddressResultFilterSensitiveLog = (obj) => ({
|
|
|
265
270
|
export const NotificationFilterSensitiveLog = (obj) => ({
|
|
266
271
|
...obj,
|
|
267
272
|
});
|
|
273
|
+
export const EKSOnDeviceServiceConfigurationFilterSensitiveLog = (obj) => ({
|
|
274
|
+
...obj,
|
|
275
|
+
});
|
|
268
276
|
export const NFSOnDeviceServiceConfigurationFilterSensitiveLog = (obj) => ({
|
|
269
277
|
...obj,
|
|
270
278
|
});
|
|
@@ -448,6 +456,18 @@ export const LongTermPricingListEntryFilterSensitiveLog = (obj) => ({
|
|
|
448
456
|
export const ListLongTermPricingResultFilterSensitiveLog = (obj) => ({
|
|
449
457
|
...obj,
|
|
450
458
|
});
|
|
459
|
+
export const ServiceVersionFilterSensitiveLog = (obj) => ({
|
|
460
|
+
...obj,
|
|
461
|
+
});
|
|
462
|
+
export const DependentServiceFilterSensitiveLog = (obj) => ({
|
|
463
|
+
...obj,
|
|
464
|
+
});
|
|
465
|
+
export const ListServiceVersionsRequestFilterSensitiveLog = (obj) => ({
|
|
466
|
+
...obj,
|
|
467
|
+
});
|
|
468
|
+
export const ListServiceVersionsResultFilterSensitiveLog = (obj) => ({
|
|
469
|
+
...obj,
|
|
470
|
+
});
|
|
451
471
|
export const UpdateClusterRequestFilterSensitiveLog = (obj) => ({
|
|
452
472
|
...obj,
|
|
453
473
|
});
|