@aws-sdk/client-glacier 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 (52) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Glacier.js +141 -134
  4. package/dist-es/GlacierClient.js +29 -23
  5. package/dist-es/commands/AbortMultipartUploadCommand.js +29 -22
  6. package/dist-es/commands/AbortVaultLockCommand.js +29 -22
  7. package/dist-es/commands/AddTagsToVaultCommand.js +29 -22
  8. package/dist-es/commands/CompleteMultipartUploadCommand.js +28 -21
  9. package/dist-es/commands/CompleteVaultLockCommand.js +29 -22
  10. package/dist-es/commands/CreateVaultCommand.js +28 -21
  11. package/dist-es/commands/DeleteArchiveCommand.js +29 -22
  12. package/dist-es/commands/DeleteVaultAccessPolicyCommand.js +29 -22
  13. package/dist-es/commands/DeleteVaultCommand.js +29 -22
  14. package/dist-es/commands/DeleteVaultNotificationsCommand.js +29 -22
  15. package/dist-es/commands/DescribeJobCommand.js +28 -21
  16. package/dist-es/commands/DescribeVaultCommand.js +28 -21
  17. package/dist-es/commands/GetDataRetrievalPolicyCommand.js +28 -21
  18. package/dist-es/commands/GetJobOutputCommand.js +28 -21
  19. package/dist-es/commands/GetVaultAccessPolicyCommand.js +28 -21
  20. package/dist-es/commands/GetVaultLockCommand.js +28 -21
  21. package/dist-es/commands/GetVaultNotificationsCommand.js +28 -21
  22. package/dist-es/commands/InitiateJobCommand.js +28 -21
  23. package/dist-es/commands/InitiateMultipartUploadCommand.js +28 -21
  24. package/dist-es/commands/InitiateVaultLockCommand.js +28 -21
  25. package/dist-es/commands/ListJobsCommand.js +28 -21
  26. package/dist-es/commands/ListMultipartUploadsCommand.js +28 -21
  27. package/dist-es/commands/ListPartsCommand.js +28 -21
  28. package/dist-es/commands/ListProvisionedCapacityCommand.js +28 -21
  29. package/dist-es/commands/ListTagsForVaultCommand.js +28 -21
  30. package/dist-es/commands/ListVaultsCommand.js +28 -21
  31. package/dist-es/commands/PurchaseProvisionedCapacityCommand.js +28 -21
  32. package/dist-es/commands/RemoveTagsFromVaultCommand.js +29 -22
  33. package/dist-es/commands/SetDataRetrievalPolicyCommand.js +29 -22
  34. package/dist-es/commands/SetVaultAccessPolicyCommand.js +29 -22
  35. package/dist-es/commands/SetVaultNotificationsCommand.js +29 -22
  36. package/dist-es/commands/UploadArchiveCommand.js +28 -21
  37. package/dist-es/commands/UploadMultipartPartCommand.js +28 -21
  38. package/dist-es/endpoints.js +8 -8
  39. package/dist-es/models/GlacierServiceException.js +10 -5
  40. package/dist-es/models/models_0.js +179 -326
  41. package/dist-es/pagination/ListJobsPaginator.js +68 -25
  42. package/dist-es/pagination/ListMultipartUploadsPaginator.js +68 -25
  43. package/dist-es/pagination/ListPartsPaginator.js +68 -25
  44. package/dist-es/pagination/ListVaultsPaginator.js +68 -25
  45. package/dist-es/protocols/Aws_restJson1.js +3401 -2457
  46. package/dist-es/runtimeConfig.browser.js +12 -27
  47. package/dist-es/runtimeConfig.js +12 -31
  48. package/dist-es/runtimeConfig.native.js +5 -8
  49. package/dist-es/runtimeConfig.shared.js +11 -8
  50. package/dist-es/waiters/waitForVaultExists.js +42 -23
  51. package/dist-es/waiters/waitForVaultNotExists.js +42 -23
  52. 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 { InitiateVaultLockInputFilterSensitiveLog, InitiateVaultLockOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1InitiateVaultLockCommand, serializeAws_restJson1InitiateVaultLockCommand, } from "../protocols/Aws_restJson1";
5
- export class InitiateVaultLockCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InitiateVaultLockCommand = (function (_super) {
7
+ __extends(InitiateVaultLockCommand, _super);
8
+ function InitiateVaultLockCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InitiateVaultLockCommand.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 = "GlacierClient";
15
- const commandName = "InitiateVaultLockCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "InitiateVaultLockCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InitiateVaultLockInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InitiateVaultLockOutputFilterSensitiveLog,
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
+ InitiateVaultLockCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1InitiateVaultLockCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InitiateVaultLockCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1InitiateVaultLockCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InitiateVaultLockCommand;
38
+ }($Command));
39
+ export { InitiateVaultLockCommand };
@@ -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 { ListJobsInputFilterSensitiveLog, ListJobsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListJobsCommand, serializeAws_restJson1ListJobsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListJobsCommand = (function (_super) {
7
+ __extends(ListJobsCommand, _super);
8
+ function ListJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListJobsCommand.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 = "GlacierClient";
15
- const commandName = "ListJobsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "ListJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListJobsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListJobsOutputFilterSensitiveLog,
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
+ ListJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListJobsCommand;
38
+ }($Command));
39
+ export { ListJobsCommand };
@@ -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 { ListMultipartUploadsInputFilterSensitiveLog, ListMultipartUploadsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListMultipartUploadsCommand, serializeAws_restJson1ListMultipartUploadsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListMultipartUploadsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListMultipartUploadsCommand = (function (_super) {
7
+ __extends(ListMultipartUploadsCommand, _super);
8
+ function ListMultipartUploadsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListMultipartUploadsCommand.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 = "GlacierClient";
15
- const commandName = "ListMultipartUploadsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "ListMultipartUploadsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListMultipartUploadsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListMultipartUploadsOutputFilterSensitiveLog,
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
+ ListMultipartUploadsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListMultipartUploadsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListMultipartUploadsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListMultipartUploadsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListMultipartUploadsCommand;
38
+ }($Command));
39
+ export { ListMultipartUploadsCommand };
@@ -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 { ListPartsInputFilterSensitiveLog, ListPartsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListPartsCommand, serializeAws_restJson1ListPartsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListPartsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPartsCommand = (function (_super) {
7
+ __extends(ListPartsCommand, _super);
8
+ function ListPartsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPartsCommand.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 = "GlacierClient";
15
- const commandName = "ListPartsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "ListPartsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPartsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPartsOutputFilterSensitiveLog,
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
+ ListPartsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListPartsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPartsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListPartsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPartsCommand;
38
+ }($Command));
39
+ export { ListPartsCommand };
@@ -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 { ListProvisionedCapacityInputFilterSensitiveLog, ListProvisionedCapacityOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListProvisionedCapacityCommand, serializeAws_restJson1ListProvisionedCapacityCommand, } from "../protocols/Aws_restJson1";
5
- export class ListProvisionedCapacityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListProvisionedCapacityCommand = (function (_super) {
7
+ __extends(ListProvisionedCapacityCommand, _super);
8
+ function ListProvisionedCapacityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListProvisionedCapacityCommand.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 = "GlacierClient";
15
- const commandName = "ListProvisionedCapacityCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "ListProvisionedCapacityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListProvisionedCapacityInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListProvisionedCapacityOutputFilterSensitiveLog,
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
+ ListProvisionedCapacityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListProvisionedCapacityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListProvisionedCapacityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListProvisionedCapacityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListProvisionedCapacityCommand;
38
+ }($Command));
39
+ export { ListProvisionedCapacityCommand };
@@ -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 { ListTagsForVaultInputFilterSensitiveLog, ListTagsForVaultOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForVaultCommand, serializeAws_restJson1ListTagsForVaultCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForVaultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForVaultCommand = (function (_super) {
7
+ __extends(ListTagsForVaultCommand, _super);
8
+ function ListTagsForVaultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForVaultCommand.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 = "GlacierClient";
15
- const commandName = "ListTagsForVaultCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "ListTagsForVaultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForVaultInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForVaultOutputFilterSensitiveLog,
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
+ ListTagsForVaultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForVaultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForVaultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForVaultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForVaultCommand;
38
+ }($Command));
39
+ export { ListTagsForVaultCommand };
@@ -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 { ListVaultsInputFilterSensitiveLog, ListVaultsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListVaultsCommand, serializeAws_restJson1ListVaultsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListVaultsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListVaultsCommand = (function (_super) {
7
+ __extends(ListVaultsCommand, _super);
8
+ function ListVaultsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListVaultsCommand.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 = "GlacierClient";
15
- const commandName = "ListVaultsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "ListVaultsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListVaultsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListVaultsOutputFilterSensitiveLog,
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
+ ListVaultsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListVaultsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListVaultsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListVaultsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListVaultsCommand;
38
+ }($Command));
39
+ export { ListVaultsCommand };
@@ -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 { PurchaseProvisionedCapacityInputFilterSensitiveLog, PurchaseProvisionedCapacityOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PurchaseProvisionedCapacityCommand, serializeAws_restJson1PurchaseProvisionedCapacityCommand, } from "../protocols/Aws_restJson1";
5
- export class PurchaseProvisionedCapacityCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PurchaseProvisionedCapacityCommand = (function (_super) {
7
+ __extends(PurchaseProvisionedCapacityCommand, _super);
8
+ function PurchaseProvisionedCapacityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PurchaseProvisionedCapacityCommand.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 = "GlacierClient";
15
- const commandName = "PurchaseProvisionedCapacityCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "PurchaseProvisionedCapacityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PurchaseProvisionedCapacityInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PurchaseProvisionedCapacityOutputFilterSensitiveLog,
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
+ PurchaseProvisionedCapacityCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PurchaseProvisionedCapacityCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PurchaseProvisionedCapacityCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PurchaseProvisionedCapacityCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PurchaseProvisionedCapacityCommand;
38
+ }($Command));
39
+ export { PurchaseProvisionedCapacityCommand };
@@ -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 { RemoveTagsFromVaultInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RemoveTagsFromVaultCommand, serializeAws_restJson1RemoveTagsFromVaultCommand, } from "../protocols/Aws_restJson1";
5
- export class RemoveTagsFromVaultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RemoveTagsFromVaultCommand = (function (_super) {
7
+ __extends(RemoveTagsFromVaultCommand, _super);
8
+ function RemoveTagsFromVaultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RemoveTagsFromVaultCommand.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 = "GlacierClient";
15
- const commandName = "RemoveTagsFromVaultCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "RemoveTagsFromVaultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RemoveTagsFromVaultInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ RemoveTagsFromVaultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RemoveTagsFromVaultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RemoveTagsFromVaultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RemoveTagsFromVaultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RemoveTagsFromVaultCommand;
38
+ }($Command));
39
+ export { RemoveTagsFromVaultCommand };
@@ -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 { SetDataRetrievalPolicyInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1SetDataRetrievalPolicyCommand, serializeAws_restJson1SetDataRetrievalPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class SetDataRetrievalPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var SetDataRetrievalPolicyCommand = (function (_super) {
7
+ __extends(SetDataRetrievalPolicyCommand, _super);
8
+ function SetDataRetrievalPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ SetDataRetrievalPolicyCommand.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 = "GlacierClient";
15
- const commandName = "SetDataRetrievalPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "GlacierClient";
18
+ var commandName = "SetDataRetrievalPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: SetDataRetrievalPolicyInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ SetDataRetrievalPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1SetDataRetrievalPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ SetDataRetrievalPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1SetDataRetrievalPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return SetDataRetrievalPolicyCommand;
38
+ }($Command));
39
+ export { SetDataRetrievalPolicyCommand };