@aws-sdk/client-snowball 3.183.0 → 3.185.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/Snowball.js +109 -102
  4. package/dist-es/SnowballClient.js +28 -22
  5. package/dist-es/commands/CancelClusterCommand.js +28 -21
  6. package/dist-es/commands/CancelJobCommand.js +28 -21
  7. package/dist-es/commands/CreateAddressCommand.js +28 -21
  8. package/dist-es/commands/CreateClusterCommand.js +28 -21
  9. package/dist-es/commands/CreateJobCommand.js +28 -21
  10. package/dist-es/commands/CreateLongTermPricingCommand.js +28 -21
  11. package/dist-es/commands/CreateReturnShippingLabelCommand.js +28 -21
  12. package/dist-es/commands/DescribeAddressCommand.js +28 -21
  13. package/dist-es/commands/DescribeAddressesCommand.js +28 -21
  14. package/dist-es/commands/DescribeClusterCommand.js +28 -21
  15. package/dist-es/commands/DescribeJobCommand.js +28 -21
  16. package/dist-es/commands/DescribeReturnShippingLabelCommand.js +28 -21
  17. package/dist-es/commands/GetJobManifestCommand.js +28 -21
  18. package/dist-es/commands/GetJobUnlockCodeCommand.js +28 -21
  19. package/dist-es/commands/GetSnowballUsageCommand.js +28 -21
  20. package/dist-es/commands/GetSoftwareUpdatesCommand.js +28 -21
  21. package/dist-es/commands/ListClusterJobsCommand.js +28 -21
  22. package/dist-es/commands/ListClustersCommand.js +28 -21
  23. package/dist-es/commands/ListCompatibleImagesCommand.js +28 -21
  24. package/dist-es/commands/ListJobsCommand.js +28 -21
  25. package/dist-es/commands/ListLongTermPricingCommand.js +28 -21
  26. package/dist-es/commands/UpdateClusterCommand.js +28 -21
  27. package/dist-es/commands/UpdateJobCommand.js +28 -21
  28. package/dist-es/commands/UpdateJobShipmentStateCommand.js +28 -21
  29. package/dist-es/commands/UpdateLongTermPricingCommand.js +28 -21
  30. package/dist-es/endpoints.js +8 -8
  31. package/dist-es/models/SnowballServiceException.js +10 -5
  32. package/dist-es/models/models_0.js +212 -365
  33. package/dist-es/pagination/DescribeAddressesPaginator.js +68 -25
  34. package/dist-es/pagination/ListClusterJobsPaginator.js +68 -25
  35. package/dist-es/pagination/ListClustersPaginator.js +68 -25
  36. package/dist-es/pagination/ListCompatibleImagesPaginator.js +68 -25
  37. package/dist-es/pagination/ListJobsPaginator.js +68 -25
  38. package/dist-es/pagination/ListLongTermPricingPaginator.js +68 -25
  39. package/dist-es/protocols/Aws_json1_1.js +2088 -1699
  40. package/dist-es/runtimeConfig.browser.js +12 -26
  41. package/dist-es/runtimeConfig.js +12 -30
  42. package/dist-es/runtimeConfig.native.js +5 -8
  43. package/dist-es/runtimeConfig.shared.js +11 -8
  44. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CancelJobRequestFilterSensitiveLog, CancelJobResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CancelJobCommand, serializeAws_json1_1CancelJobCommand } from "../protocols/Aws_json1_1";
5
- export class CancelJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CancelJobCommand = (function (_super) {
7
+ __extends(CancelJobCommand, _super);
8
+ function CancelJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CancelJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "CancelJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "CancelJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CancelJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CancelJobResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CancelJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CancelJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CancelJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CancelJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CancelJobCommand;
38
+ }($Command));
39
+ export { CancelJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateAddressRequestFilterSensitiveLog, CreateAddressResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateAddressCommand, serializeAws_json1_1CreateAddressCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateAddressCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateAddressCommand = (function (_super) {
7
+ __extends(CreateAddressCommand, _super);
8
+ function CreateAddressCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAddressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "CreateAddressCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "CreateAddressCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateAddressRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateAddressResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateAddressCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateAddressCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAddressCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateAddressCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAddressCommand;
38
+ }($Command));
39
+ export { CreateAddressCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateClusterRequestFilterSensitiveLog, CreateClusterResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateClusterCommand, serializeAws_json1_1CreateClusterCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateClusterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateClusterCommand = (function (_super) {
7
+ __extends(CreateClusterCommand, _super);
8
+ function CreateClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "CreateClusterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "CreateClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateClusterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateClusterResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateClusterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateClusterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateClusterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateClusterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateClusterCommand;
38
+ }($Command));
39
+ export { CreateClusterCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateJobRequestFilterSensitiveLog, CreateJobResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateJobCommand, serializeAws_json1_1CreateJobCommand } from "../protocols/Aws_json1_1";
5
- export class CreateJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateJobCommand = (function (_super) {
7
+ __extends(CreateJobCommand, _super);
8
+ function CreateJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "CreateJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "CreateJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateJobResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateJobCommand;
38
+ }($Command));
39
+ export { CreateJobCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateLongTermPricingRequestFilterSensitiveLog, CreateLongTermPricingResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateLongTermPricingCommand, serializeAws_json1_1CreateLongTermPricingCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateLongTermPricingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateLongTermPricingCommand = (function (_super) {
7
+ __extends(CreateLongTermPricingCommand, _super);
8
+ function CreateLongTermPricingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLongTermPricingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "CreateLongTermPricingCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "CreateLongTermPricingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLongTermPricingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateLongTermPricingResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateLongTermPricingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateLongTermPricingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLongTermPricingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateLongTermPricingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLongTermPricingCommand;
38
+ }($Command));
39
+ export { CreateLongTermPricingCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateReturnShippingLabelRequestFilterSensitiveLog, CreateReturnShippingLabelResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateReturnShippingLabelCommand, serializeAws_json1_1CreateReturnShippingLabelCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateReturnShippingLabelCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateReturnShippingLabelCommand = (function (_super) {
7
+ __extends(CreateReturnShippingLabelCommand, _super);
8
+ function CreateReturnShippingLabelCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateReturnShippingLabelCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "CreateReturnShippingLabelCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "CreateReturnShippingLabelCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateReturnShippingLabelRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateReturnShippingLabelResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateReturnShippingLabelCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateReturnShippingLabelCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateReturnShippingLabelCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateReturnShippingLabelCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateReturnShippingLabelCommand;
38
+ }($Command));
39
+ export { CreateReturnShippingLabelCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAddressRequestFilterSensitiveLog, DescribeAddressResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeAddressCommand, serializeAws_json1_1DescribeAddressCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeAddressCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAddressCommand = (function (_super) {
7
+ __extends(DescribeAddressCommand, _super);
8
+ function DescribeAddressCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAddressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "DescribeAddressCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "DescribeAddressCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAddressRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAddressResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeAddressCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeAddressCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAddressCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeAddressCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAddressCommand;
38
+ }($Command));
39
+ export { DescribeAddressCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAddressesRequestFilterSensitiveLog, DescribeAddressesResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeAddressesCommand, serializeAws_json1_1DescribeAddressesCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeAddressesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAddressesCommand = (function (_super) {
7
+ __extends(DescribeAddressesCommand, _super);
8
+ function DescribeAddressesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAddressesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "DescribeAddressesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "DescribeAddressesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAddressesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAddressesResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeAddressesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeAddressesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAddressesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeAddressesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAddressesCommand;
38
+ }($Command));
39
+ export { DescribeAddressesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeClusterRequestFilterSensitiveLog, DescribeClusterResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeClusterCommand, serializeAws_json1_1DescribeClusterCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeClusterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeClusterCommand = (function (_super) {
7
+ __extends(DescribeClusterCommand, _super);
8
+ function DescribeClusterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "DescribeClusterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "DescribeClusterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeClusterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeClusterResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeClusterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeClusterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeClusterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeClusterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeClusterCommand;
38
+ }($Command));
39
+ export { DescribeClusterCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeJobRequestFilterSensitiveLog, DescribeJobResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeJobCommand, serializeAws_json1_1DescribeJobCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeJobCommand = (function (_super) {
7
+ __extends(DescribeJobCommand, _super);
8
+ function DescribeJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "SnowballClient";
15
- const commandName = "DescribeJobCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "SnowballClient";
18
+ var commandName = "DescribeJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeJobResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeJobCommand;
38
+ }($Command));
39
+ export { DescribeJobCommand };