@aws-sdk/client-glacier 3.52.0 → 3.54.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-glacier
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-glacier
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-glacier
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlacierServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./Glacier"), exports);
5
6
  tslib_1.__exportStar(require("./GlacierClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var GlacierServiceException_1 = require("./models/GlacierServiceException");
12
+ Object.defineProperty(exports, "GlacierServiceException", { enumerable: true, get: function () { return GlacierServiceException_1.GlacierServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GlacierServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class GlacierServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, GlacierServiceException.prototype);
9
+ }
10
+ }
11
+ exports.GlacierServiceException = GlacierServiceException;
@@ -1,13 +1,74 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VaultNotificationConfig = exports.GetVaultNotificationsInput = exports.GetVaultLockOutput = exports.GetVaultLockInput = exports.GetVaultAccessPolicyOutput = exports.VaultAccessPolicy = exports.GetVaultAccessPolicyInput = exports.GetJobOutputOutput = exports.GetJobOutputInput = exports.GetDataRetrievalPolicyOutput = exports.GetDataRetrievalPolicyInput = exports.DescribeVaultOutput = exports.DescribeVaultInput = exports.GlacierJobDescription = exports.StatusCode = exports.SelectParameters = exports.OutputSerialization = exports.InputSerialization = exports.ExpressionType = exports.OutputLocation = exports.S3Location = exports.StorageClass = exports.Encryption = exports.EncryptionType = exports.InventoryRetrievalJobDescription = exports.DescribeJobInput = exports.DeleteVaultNotificationsInput = exports.DeleteVaultAccessPolicyInput = exports.DeleteVaultInput = exports.DeleteArchiveInput = exports.DataRetrievalPolicy = exports.DataRetrievalRule = exports.CSVOutput = exports.QuoteFields = exports.CSVInput = exports.FileHeaderInfo = exports.CreateVaultOutput = exports.CreateVaultInput = exports.CompleteVaultLockInput = exports.CompleteMultipartUploadInput = exports.CannedACL = exports.ArchiveCreationOutput = exports.AddTagsToVaultInput = exports.ActionCode = exports.Grant = exports.Permission = exports.Grantee = exports.Type = exports.AbortVaultLockInput = exports.AbortMultipartUploadInput = void 0;
4
- exports.UploadMultipartPartOutput = exports.UploadMultipartPartInput = exports.UploadArchiveInput = exports.SetVaultNotificationsInput = exports.SetVaultAccessPolicyInput = exports.SetDataRetrievalPolicyInput = exports.RemoveTagsFromVaultInput = exports.PurchaseProvisionedCapacityOutput = exports.PurchaseProvisionedCapacityInput = exports.ListVaultsOutput = exports.ListVaultsInput = exports.ListTagsForVaultOutput = exports.ListTagsForVaultInput = exports.ListProvisionedCapacityOutput = exports.ProvisionedCapacityDescription = exports.ListProvisionedCapacityInput = exports.ListPartsOutput = exports.PartListElement = exports.ListPartsInput = exports.ListMultipartUploadsOutput = exports.UploadListElement = exports.ListMultipartUploadsInput = exports.ListJobsOutput = exports.ListJobsInput = exports.InitiateVaultLockOutput = exports.InitiateVaultLockInput = exports.VaultLockPolicy = exports.InitiateMultipartUploadOutput = exports.InitiateMultipartUploadInput = exports.InitiateJobOutput = exports.InitiateJobInput = exports.JobParameters = exports.InventoryRetrievalJobInput = exports.GetVaultNotificationsOutput = void 0;
3
+ exports.VaultAccessPolicy = exports.GetVaultAccessPolicyInput = exports.GetJobOutputOutput = exports.GetJobOutputInput = exports.GetDataRetrievalPolicyOutput = exports.GetDataRetrievalPolicyInput = exports.DescribeVaultOutput = exports.DescribeVaultInput = exports.GlacierJobDescription = exports.StatusCode = exports.SelectParameters = exports.OutputSerialization = exports.InputSerialization = exports.ExpressionType = exports.OutputLocation = exports.S3Location = exports.StorageClass = exports.Encryption = exports.EncryptionType = exports.InventoryRetrievalJobDescription = exports.DescribeJobInput = exports.DeleteVaultNotificationsInput = exports.DeleteVaultAccessPolicyInput = exports.DeleteVaultInput = exports.DeleteArchiveInput = exports.DataRetrievalPolicy = exports.DataRetrievalRule = exports.CSVOutput = exports.QuoteFields = exports.CSVInput = exports.FileHeaderInfo = exports.CreateVaultOutput = exports.CreateVaultInput = exports.CompleteVaultLockInput = exports.CompleteMultipartUploadInput = exports.CannedACL = exports.ArchiveCreationOutput = exports.LimitExceededException = exports.AddTagsToVaultInput = exports.ActionCode = exports.Grant = exports.Permission = exports.Grantee = exports.Type = exports.AbortVaultLockInput = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.MissingParameterValueException = exports.InvalidParameterValueException = exports.AbortMultipartUploadInput = void 0;
4
+ exports.UploadMultipartPartOutput = exports.UploadMultipartPartInput = exports.UploadArchiveInput = exports.RequestTimeoutException = exports.SetVaultNotificationsInput = exports.SetVaultAccessPolicyInput = exports.SetDataRetrievalPolicyInput = exports.RemoveTagsFromVaultInput = exports.PurchaseProvisionedCapacityOutput = exports.PurchaseProvisionedCapacityInput = exports.ListVaultsOutput = exports.ListVaultsInput = exports.ListTagsForVaultOutput = exports.ListTagsForVaultInput = exports.ListProvisionedCapacityOutput = exports.ProvisionedCapacityDescription = exports.ListProvisionedCapacityInput = exports.ListPartsOutput = exports.PartListElement = exports.ListPartsInput = exports.ListMultipartUploadsOutput = exports.UploadListElement = exports.ListMultipartUploadsInput = exports.ListJobsOutput = exports.ListJobsInput = exports.InitiateVaultLockOutput = exports.InitiateVaultLockInput = exports.VaultLockPolicy = exports.InitiateMultipartUploadOutput = exports.InitiateMultipartUploadInput = exports.PolicyEnforcedException = exports.InsufficientCapacityException = exports.InitiateJobOutput = exports.InitiateJobInput = exports.JobParameters = exports.InventoryRetrievalJobInput = exports.GetVaultNotificationsOutput = exports.VaultNotificationConfig = exports.GetVaultNotificationsInput = exports.GetVaultLockOutput = exports.GetVaultLockInput = exports.GetVaultAccessPolicyOutput = void 0;
5
+ const GlacierServiceException_1 = require("./GlacierServiceException");
5
6
  var AbortMultipartUploadInput;
6
7
  (function (AbortMultipartUploadInput) {
7
8
  AbortMultipartUploadInput.filterSensitiveLog = (obj) => ({
8
9
  ...obj,
9
10
  });
10
11
  })(AbortMultipartUploadInput = exports.AbortMultipartUploadInput || (exports.AbortMultipartUploadInput = {}));
12
+ class InvalidParameterValueException extends GlacierServiceException_1.GlacierServiceException {
13
+ constructor(opts) {
14
+ super({
15
+ name: "InvalidParameterValueException",
16
+ $fault: "client",
17
+ ...opts,
18
+ });
19
+ this.name = "InvalidParameterValueException";
20
+ this.$fault = "client";
21
+ Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
22
+ this.type = opts.type;
23
+ this.code = opts.code;
24
+ }
25
+ }
26
+ exports.InvalidParameterValueException = InvalidParameterValueException;
27
+ class MissingParameterValueException extends GlacierServiceException_1.GlacierServiceException {
28
+ constructor(opts) {
29
+ super({
30
+ name: "MissingParameterValueException",
31
+ $fault: "client",
32
+ ...opts,
33
+ });
34
+ this.name = "MissingParameterValueException";
35
+ this.$fault = "client";
36
+ Object.setPrototypeOf(this, MissingParameterValueException.prototype);
37
+ this.type = opts.type;
38
+ this.code = opts.code;
39
+ }
40
+ }
41
+ exports.MissingParameterValueException = MissingParameterValueException;
42
+ class ResourceNotFoundException extends GlacierServiceException_1.GlacierServiceException {
43
+ constructor(opts) {
44
+ super({
45
+ name: "ResourceNotFoundException",
46
+ $fault: "client",
47
+ ...opts,
48
+ });
49
+ this.name = "ResourceNotFoundException";
50
+ this.$fault = "client";
51
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
52
+ this.type = opts.type;
53
+ this.code = opts.code;
54
+ }
55
+ }
56
+ exports.ResourceNotFoundException = ResourceNotFoundException;
57
+ class ServiceUnavailableException extends GlacierServiceException_1.GlacierServiceException {
58
+ constructor(opts) {
59
+ super({
60
+ name: "ServiceUnavailableException",
61
+ $fault: "server",
62
+ ...opts,
63
+ });
64
+ this.name = "ServiceUnavailableException";
65
+ this.$fault = "server";
66
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
67
+ this.type = opts.type;
68
+ this.code = opts.code;
69
+ }
70
+ }
71
+ exports.ServiceUnavailableException = ServiceUnavailableException;
11
72
  var AbortVaultLockInput;
12
73
  (function (AbortVaultLockInput) {
13
74
  AbortVaultLockInput.filterSensitiveLog = (obj) => ({
@@ -52,6 +113,21 @@ var AddTagsToVaultInput;
52
113
  ...obj,
53
114
  });
54
115
  })(AddTagsToVaultInput = exports.AddTagsToVaultInput || (exports.AddTagsToVaultInput = {}));
116
+ class LimitExceededException extends GlacierServiceException_1.GlacierServiceException {
117
+ constructor(opts) {
118
+ super({
119
+ name: "LimitExceededException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ this.name = "LimitExceededException";
124
+ this.$fault = "client";
125
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
126
+ this.type = opts.type;
127
+ this.code = opts.code;
128
+ }
129
+ }
130
+ exports.LimitExceededException = LimitExceededException;
55
131
  var ArchiveCreationOutput;
56
132
  (function (ArchiveCreationOutput) {
57
133
  ArchiveCreationOutput.filterSensitiveLog = (obj) => ({
@@ -334,6 +410,36 @@ var InitiateJobOutput;
334
410
  ...obj,
335
411
  });
336
412
  })(InitiateJobOutput = exports.InitiateJobOutput || (exports.InitiateJobOutput = {}));
413
+ class InsufficientCapacityException extends GlacierServiceException_1.GlacierServiceException {
414
+ constructor(opts) {
415
+ super({
416
+ name: "InsufficientCapacityException",
417
+ $fault: "client",
418
+ ...opts,
419
+ });
420
+ this.name = "InsufficientCapacityException";
421
+ this.$fault = "client";
422
+ Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
423
+ this.type = opts.type;
424
+ this.code = opts.code;
425
+ }
426
+ }
427
+ exports.InsufficientCapacityException = InsufficientCapacityException;
428
+ class PolicyEnforcedException extends GlacierServiceException_1.GlacierServiceException {
429
+ constructor(opts) {
430
+ super({
431
+ name: "PolicyEnforcedException",
432
+ $fault: "client",
433
+ ...opts,
434
+ });
435
+ this.name = "PolicyEnforcedException";
436
+ this.$fault = "client";
437
+ Object.setPrototypeOf(this, PolicyEnforcedException.prototype);
438
+ this.type = opts.type;
439
+ this.code = opts.code;
440
+ }
441
+ }
442
+ exports.PolicyEnforcedException = PolicyEnforcedException;
337
443
  var InitiateMultipartUploadInput;
338
444
  (function (InitiateMultipartUploadInput) {
339
445
  InitiateMultipartUploadInput.filterSensitiveLog = (obj) => ({
@@ -490,6 +596,21 @@ var SetVaultNotificationsInput;
490
596
  ...obj,
491
597
  });
492
598
  })(SetVaultNotificationsInput = exports.SetVaultNotificationsInput || (exports.SetVaultNotificationsInput = {}));
599
+ class RequestTimeoutException extends GlacierServiceException_1.GlacierServiceException {
600
+ constructor(opts) {
601
+ super({
602
+ name: "RequestTimeoutException",
603
+ $fault: "client",
604
+ ...opts,
605
+ });
606
+ this.name = "RequestTimeoutException";
607
+ this.$fault = "client";
608
+ Object.setPrototypeOf(this, RequestTimeoutException.prototype);
609
+ this.type = opts.type;
610
+ this.code = opts.code;
611
+ }
612
+ }
613
+ exports.RequestTimeoutException = RequestTimeoutException;
493
614
  var UploadArchiveInput;
494
615
  (function (UploadArchiveInput) {
495
616
  UploadArchiveInput.filterSensitiveLog = (obj) => ({