@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 { DeleteVaultNotificationsInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteVaultNotificationsCommand, serializeAws_restJson1DeleteVaultNotificationsCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteVaultNotificationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteVaultNotificationsCommand = (function (_super) {
7
+ __extends(DeleteVaultNotificationsCommand, _super);
8
+ function DeleteVaultNotificationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteVaultNotificationsCommand.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 = "DeleteVaultNotificationsCommand";
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 = "DeleteVaultNotificationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteVaultNotificationsInputFilterSensitiveLog,
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
+ DeleteVaultNotificationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteVaultNotificationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteVaultNotificationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteVaultNotificationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteVaultNotificationsCommand;
38
+ }($Command));
39
+ export { DeleteVaultNotificationsCommand };
@@ -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 { DescribeJobInputFilterSensitiveLog, GlacierJobDescriptionFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeJobCommand, serializeAws_restJson1DescribeJobCommand, } from "../protocols/Aws_restJson1";
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 = "GlacierClient";
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 = "GlacierClient";
18
+ var commandName = "DescribeJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeJobInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GlacierJobDescriptionFilterSensitiveLog,
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_restJson1DescribeJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeJobCommand;
38
+ }($Command));
39
+ export { DescribeJobCommand };
@@ -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 { DescribeVaultInputFilterSensitiveLog, DescribeVaultOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeVaultCommand, serializeAws_restJson1DescribeVaultCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeVaultCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeVaultCommand = (function (_super) {
7
+ __extends(DescribeVaultCommand, _super);
8
+ function DescribeVaultCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeVaultCommand.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 = "DescribeVaultCommand";
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 = "DescribeVaultCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeVaultInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeVaultOutputFilterSensitiveLog,
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
+ DescribeVaultCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeVaultCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeVaultCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeVaultCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeVaultCommand;
38
+ }($Command));
39
+ export { DescribeVaultCommand };
@@ -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 { GetDataRetrievalPolicyInputFilterSensitiveLog, GetDataRetrievalPolicyOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetDataRetrievalPolicyCommand, serializeAws_restJson1GetDataRetrievalPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetDataRetrievalPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetDataRetrievalPolicyCommand = (function (_super) {
7
+ __extends(GetDataRetrievalPolicyCommand, _super);
8
+ function GetDataRetrievalPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetDataRetrievalPolicyCommand.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 = "GetDataRetrievalPolicyCommand";
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 = "GetDataRetrievalPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetDataRetrievalPolicyInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetDataRetrievalPolicyOutputFilterSensitiveLog,
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
+ GetDataRetrievalPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetDataRetrievalPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetDataRetrievalPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetDataRetrievalPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetDataRetrievalPolicyCommand;
38
+ }($Command));
39
+ export { GetDataRetrievalPolicyCommand };
@@ -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 { GetJobOutputInputFilterSensitiveLog, GetJobOutputOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetJobOutputCommand, serializeAws_restJson1GetJobOutputCommand, } from "../protocols/Aws_restJson1";
5
- export class GetJobOutputCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetJobOutputCommand = (function (_super) {
7
+ __extends(GetJobOutputCommand, _super);
8
+ function GetJobOutputCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetJobOutputCommand.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 = "GetJobOutputCommand";
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 = "GetJobOutputCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetJobOutputInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetJobOutputOutputFilterSensitiveLog,
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
+ GetJobOutputCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetJobOutputCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetJobOutputCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetJobOutputCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetJobOutputCommand;
38
+ }($Command));
39
+ export { GetJobOutputCommand };
@@ -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 { GetVaultAccessPolicyInputFilterSensitiveLog, GetVaultAccessPolicyOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetVaultAccessPolicyCommand, serializeAws_restJson1GetVaultAccessPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVaultAccessPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetVaultAccessPolicyCommand = (function (_super) {
7
+ __extends(GetVaultAccessPolicyCommand, _super);
8
+ function GetVaultAccessPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVaultAccessPolicyCommand.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 = "GetVaultAccessPolicyCommand";
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 = "GetVaultAccessPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVaultAccessPolicyInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVaultAccessPolicyOutputFilterSensitiveLog,
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
+ GetVaultAccessPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVaultAccessPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVaultAccessPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVaultAccessPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVaultAccessPolicyCommand;
38
+ }($Command));
39
+ export { GetVaultAccessPolicyCommand };
@@ -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 { GetVaultLockInputFilterSensitiveLog, GetVaultLockOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetVaultLockCommand, serializeAws_restJson1GetVaultLockCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVaultLockCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetVaultLockCommand = (function (_super) {
7
+ __extends(GetVaultLockCommand, _super);
8
+ function GetVaultLockCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVaultLockCommand.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 = "GetVaultLockCommand";
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 = "GetVaultLockCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVaultLockInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVaultLockOutputFilterSensitiveLog,
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
+ GetVaultLockCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVaultLockCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVaultLockCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVaultLockCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVaultLockCommand;
38
+ }($Command));
39
+ export { GetVaultLockCommand };
@@ -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 { GetVaultNotificationsInputFilterSensitiveLog, GetVaultNotificationsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetVaultNotificationsCommand, serializeAws_restJson1GetVaultNotificationsCommand, } from "../protocols/Aws_restJson1";
5
- export class GetVaultNotificationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetVaultNotificationsCommand = (function (_super) {
7
+ __extends(GetVaultNotificationsCommand, _super);
8
+ function GetVaultNotificationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetVaultNotificationsCommand.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 = "GetVaultNotificationsCommand";
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 = "GetVaultNotificationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetVaultNotificationsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetVaultNotificationsOutputFilterSensitiveLog,
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
+ GetVaultNotificationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetVaultNotificationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetVaultNotificationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetVaultNotificationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetVaultNotificationsCommand;
38
+ }($Command));
39
+ export { GetVaultNotificationsCommand };
@@ -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 { InitiateJobInputFilterSensitiveLog, InitiateJobOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1InitiateJobCommand, serializeAws_restJson1InitiateJobCommand, } from "../protocols/Aws_restJson1";
5
- export class InitiateJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InitiateJobCommand = (function (_super) {
7
+ __extends(InitiateJobCommand, _super);
8
+ function InitiateJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InitiateJobCommand.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 = "InitiateJobCommand";
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 = "InitiateJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InitiateJobInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InitiateJobOutputFilterSensitiveLog,
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
+ InitiateJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1InitiateJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InitiateJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1InitiateJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InitiateJobCommand;
38
+ }($Command));
39
+ export { InitiateJobCommand };
@@ -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 { InitiateMultipartUploadInputFilterSensitiveLog, InitiateMultipartUploadOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1InitiateMultipartUploadCommand, serializeAws_restJson1InitiateMultipartUploadCommand, } from "../protocols/Aws_restJson1";
5
- export class InitiateMultipartUploadCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InitiateMultipartUploadCommand = (function (_super) {
7
+ __extends(InitiateMultipartUploadCommand, _super);
8
+ function InitiateMultipartUploadCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InitiateMultipartUploadCommand.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 = "InitiateMultipartUploadCommand";
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 = "InitiateMultipartUploadCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InitiateMultipartUploadInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InitiateMultipartUploadOutputFilterSensitiveLog,
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
+ InitiateMultipartUploadCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1InitiateMultipartUploadCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InitiateMultipartUploadCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1InitiateMultipartUploadCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InitiateMultipartUploadCommand;
38
+ }($Command));
39
+ export { InitiateMultipartUploadCommand };