@aws-sdk/client-glacier 3.490.0 → 3.495.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 (55) hide show
  1. package/dist-cjs/Glacier.js +1 -77
  2. package/dist-cjs/GlacierClient.js +1 -58
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -43
  4. package/dist-cjs/commands/AbortMultipartUploadCommand.js +1 -28
  5. package/dist-cjs/commands/AbortVaultLockCommand.js +1 -28
  6. package/dist-cjs/commands/AddTagsToVaultCommand.js +1 -28
  7. package/dist-cjs/commands/CompleteMultipartUploadCommand.js +1 -28
  8. package/dist-cjs/commands/CompleteVaultLockCommand.js +1 -28
  9. package/dist-cjs/commands/CreateVaultCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteArchiveCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteVaultAccessPolicyCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteVaultCommand.js +1 -28
  13. package/dist-cjs/commands/DeleteVaultNotificationsCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeJobCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeVaultCommand.js +1 -28
  16. package/dist-cjs/commands/GetDataRetrievalPolicyCommand.js +1 -28
  17. package/dist-cjs/commands/GetJobOutputCommand.js +1 -29
  18. package/dist-cjs/commands/GetVaultAccessPolicyCommand.js +1 -28
  19. package/dist-cjs/commands/GetVaultLockCommand.js +1 -28
  20. package/dist-cjs/commands/GetVaultNotificationsCommand.js +1 -28
  21. package/dist-cjs/commands/InitiateJobCommand.js +1 -28
  22. package/dist-cjs/commands/InitiateMultipartUploadCommand.js +1 -28
  23. package/dist-cjs/commands/InitiateVaultLockCommand.js +1 -28
  24. package/dist-cjs/commands/ListJobsCommand.js +1 -28
  25. package/dist-cjs/commands/ListMultipartUploadsCommand.js +1 -28
  26. package/dist-cjs/commands/ListPartsCommand.js +1 -28
  27. package/dist-cjs/commands/ListProvisionedCapacityCommand.js +1 -28
  28. package/dist-cjs/commands/ListTagsForVaultCommand.js +1 -28
  29. package/dist-cjs/commands/ListVaultsCommand.js +1 -28
  30. package/dist-cjs/commands/PurchaseProvisionedCapacityCommand.js +1 -28
  31. package/dist-cjs/commands/RemoveTagsFromVaultCommand.js +1 -28
  32. package/dist-cjs/commands/SetDataRetrievalPolicyCommand.js +1 -28
  33. package/dist-cjs/commands/SetVaultAccessPolicyCommand.js +1 -28
  34. package/dist-cjs/commands/SetVaultNotificationsCommand.js +1 -28
  35. package/dist-cjs/commands/UploadArchiveCommand.js +1 -29
  36. package/dist-cjs/commands/UploadMultipartPartCommand.js +1 -29
  37. package/dist-cjs/commands/index.js +1 -36
  38. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  39. package/dist-cjs/extensionConfiguration.js +1 -2
  40. package/dist-cjs/index.js +3220 -12
  41. package/dist-cjs/models/GlacierServiceException.js +1 -12
  42. package/dist-cjs/models/index.js +1 -4
  43. package/dist-cjs/models/models_0.js +1 -188
  44. package/dist-cjs/pagination/Interfaces.js +1 -2
  45. package/dist-cjs/pagination/ListJobsPaginator.js +1 -7
  46. package/dist-cjs/pagination/ListMultipartUploadsPaginator.js +1 -7
  47. package/dist-cjs/pagination/ListPartsPaginator.js +1 -7
  48. package/dist-cjs/pagination/ListVaultsPaginator.js +1 -7
  49. package/dist-cjs/pagination/index.js +1 -8
  50. package/dist-cjs/protocols/Aws_restJson1.js +1 -2074
  51. package/dist-cjs/runtimeExtensions.js +1 -25
  52. package/dist-cjs/waiters/index.js +1 -5
  53. package/dist-cjs/waiters/waitForVaultExists.js +1 -31
  54. package/dist-cjs/waiters/waitForVaultNotExists.js +1 -31
  55. package/package.json +45 -45
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GlacierServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class GlacierServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, GlacierServiceException.prototype);
10
- }
11
- }
12
- exports.GlacierServiceException = GlacierServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,188 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UploadMultipartPartInputFilterSensitiveLog = exports.UploadArchiveInputFilterSensitiveLog = exports.GetJobOutputOutputFilterSensitiveLog = exports.RequestTimeoutException = exports.PolicyEnforcedException = exports.InsufficientCapacityException = exports.StatusCode = exports.ExpressionType = exports.StorageClass = exports.EncryptionType = exports.QuoteFields = exports.FileHeaderInfo = exports.CannedACL = exports.LimitExceededException = exports.ActionCode = exports.Permission = exports.Type = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.MissingParameterValueException = exports.InvalidParameterValueException = void 0;
4
- const GlacierServiceException_1 = require("./GlacierServiceException");
5
- class InvalidParameterValueException extends GlacierServiceException_1.GlacierServiceException {
6
- constructor(opts) {
7
- super({
8
- name: "InvalidParameterValueException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- this.name = "InvalidParameterValueException";
13
- this.$fault = "client";
14
- Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
15
- this.type = opts.type;
16
- this.code = opts.code;
17
- }
18
- }
19
- exports.InvalidParameterValueException = InvalidParameterValueException;
20
- class MissingParameterValueException extends GlacierServiceException_1.GlacierServiceException {
21
- constructor(opts) {
22
- super({
23
- name: "MissingParameterValueException",
24
- $fault: "client",
25
- ...opts,
26
- });
27
- this.name = "MissingParameterValueException";
28
- this.$fault = "client";
29
- Object.setPrototypeOf(this, MissingParameterValueException.prototype);
30
- this.type = opts.type;
31
- this.code = opts.code;
32
- }
33
- }
34
- exports.MissingParameterValueException = MissingParameterValueException;
35
- class ResourceNotFoundException extends GlacierServiceException_1.GlacierServiceException {
36
- constructor(opts) {
37
- super({
38
- name: "ResourceNotFoundException",
39
- $fault: "client",
40
- ...opts,
41
- });
42
- this.name = "ResourceNotFoundException";
43
- this.$fault = "client";
44
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
45
- this.type = opts.type;
46
- this.code = opts.code;
47
- }
48
- }
49
- exports.ResourceNotFoundException = ResourceNotFoundException;
50
- class ServiceUnavailableException extends GlacierServiceException_1.GlacierServiceException {
51
- constructor(opts) {
52
- super({
53
- name: "ServiceUnavailableException",
54
- $fault: "server",
55
- ...opts,
56
- });
57
- this.name = "ServiceUnavailableException";
58
- this.$fault = "server";
59
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
60
- this.type = opts.type;
61
- this.code = opts.code;
62
- }
63
- }
64
- exports.ServiceUnavailableException = ServiceUnavailableException;
65
- exports.Type = {
66
- AmazonCustomerByEmail: "AmazonCustomerByEmail",
67
- CanonicalUser: "CanonicalUser",
68
- Group: "Group",
69
- };
70
- exports.Permission = {
71
- FULL_CONTROL: "FULL_CONTROL",
72
- READ: "READ",
73
- READ_ACP: "READ_ACP",
74
- WRITE: "WRITE",
75
- WRITE_ACP: "WRITE_ACP",
76
- };
77
- exports.ActionCode = {
78
- ArchiveRetrieval: "ArchiveRetrieval",
79
- InventoryRetrieval: "InventoryRetrieval",
80
- Select: "Select",
81
- };
82
- class LimitExceededException extends GlacierServiceException_1.GlacierServiceException {
83
- constructor(opts) {
84
- super({
85
- name: "LimitExceededException",
86
- $fault: "client",
87
- ...opts,
88
- });
89
- this.name = "LimitExceededException";
90
- this.$fault = "client";
91
- Object.setPrototypeOf(this, LimitExceededException.prototype);
92
- this.type = opts.type;
93
- this.code = opts.code;
94
- }
95
- }
96
- exports.LimitExceededException = LimitExceededException;
97
- exports.CannedACL = {
98
- AuthenticatedRead: "authenticated-read",
99
- AwsExecRead: "aws-exec-read",
100
- BucketOwnerFullControl: "bucket-owner-full-control",
101
- BucketOwnerRead: "bucket-owner-read",
102
- Private: "private",
103
- PublicRead: "public-read",
104
- PublicReadWrite: "public-read-write",
105
- };
106
- exports.FileHeaderInfo = {
107
- Ignore: "IGNORE",
108
- None: "NONE",
109
- Use: "USE",
110
- };
111
- exports.QuoteFields = {
112
- Always: "ALWAYS",
113
- AsNeeded: "ASNEEDED",
114
- };
115
- exports.EncryptionType = {
116
- KMS: "aws:kms",
117
- S3: "AES256",
118
- };
119
- exports.StorageClass = {
120
- ReducedRedundancy: "REDUCED_REDUNDANCY",
121
- Standard: "STANDARD",
122
- StandardInfrequentAccess: "STANDARD_IA",
123
- };
124
- exports.ExpressionType = {
125
- SQL: "SQL",
126
- };
127
- exports.StatusCode = {
128
- Failed: "Failed",
129
- InProgress: "InProgress",
130
- Succeeded: "Succeeded",
131
- };
132
- class InsufficientCapacityException extends GlacierServiceException_1.GlacierServiceException {
133
- constructor(opts) {
134
- super({
135
- name: "InsufficientCapacityException",
136
- $fault: "client",
137
- ...opts,
138
- });
139
- this.name = "InsufficientCapacityException";
140
- this.$fault = "client";
141
- Object.setPrototypeOf(this, InsufficientCapacityException.prototype);
142
- this.type = opts.type;
143
- this.code = opts.code;
144
- }
145
- }
146
- exports.InsufficientCapacityException = InsufficientCapacityException;
147
- class PolicyEnforcedException extends GlacierServiceException_1.GlacierServiceException {
148
- constructor(opts) {
149
- super({
150
- name: "PolicyEnforcedException",
151
- $fault: "client",
152
- ...opts,
153
- });
154
- this.name = "PolicyEnforcedException";
155
- this.$fault = "client";
156
- Object.setPrototypeOf(this, PolicyEnforcedException.prototype);
157
- this.type = opts.type;
158
- this.code = opts.code;
159
- }
160
- }
161
- exports.PolicyEnforcedException = PolicyEnforcedException;
162
- class RequestTimeoutException extends GlacierServiceException_1.GlacierServiceException {
163
- constructor(opts) {
164
- super({
165
- name: "RequestTimeoutException",
166
- $fault: "client",
167
- ...opts,
168
- });
169
- this.name = "RequestTimeoutException";
170
- this.$fault = "client";
171
- Object.setPrototypeOf(this, RequestTimeoutException.prototype);
172
- this.type = opts.type;
173
- this.code = opts.code;
174
- }
175
- }
176
- exports.RequestTimeoutException = RequestTimeoutException;
177
- const GetJobOutputOutputFilterSensitiveLog = (obj) => ({
178
- ...obj,
179
- });
180
- exports.GetJobOutputOutputFilterSensitiveLog = GetJobOutputOutputFilterSensitiveLog;
181
- const UploadArchiveInputFilterSensitiveLog = (obj) => ({
182
- ...obj,
183
- });
184
- exports.UploadArchiveInputFilterSensitiveLog = UploadArchiveInputFilterSensitiveLog;
185
- const UploadMultipartPartInputFilterSensitiveLog = (obj) => ({
186
- ...obj,
187
- });
188
- exports.UploadMultipartPartInputFilterSensitiveLog = UploadMultipartPartInputFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListJobs = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListJobsCommand_1 = require("../commands/ListJobsCommand");
6
- const GlacierClient_1 = require("../GlacierClient");
7
- exports.paginateListJobs = (0, core_1.createPaginator)(GlacierClient_1.GlacierClient, ListJobsCommand_1.ListJobsCommand, "marker", "Marker", "limit");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListMultipartUploads = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListMultipartUploadsCommand_1 = require("../commands/ListMultipartUploadsCommand");
6
- const GlacierClient_1 = require("../GlacierClient");
7
- exports.paginateListMultipartUploads = (0, core_1.createPaginator)(GlacierClient_1.GlacierClient, ListMultipartUploadsCommand_1.ListMultipartUploadsCommand, "marker", "Marker", "limit");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListParts = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListPartsCommand_1 = require("../commands/ListPartsCommand");
6
- const GlacierClient_1 = require("../GlacierClient");
7
- exports.paginateListParts = (0, core_1.createPaginator)(GlacierClient_1.GlacierClient, ListPartsCommand_1.ListPartsCommand, "marker", "Marker", "limit");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListVaults = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListVaultsCommand_1 = require("../commands/ListVaultsCommand");
6
- const GlacierClient_1 = require("../GlacierClient");
7
- exports.paginateListVaults = (0, core_1.createPaginator)(GlacierClient_1.GlacierClient, ListVaultsCommand_1.ListVaultsCommand, "marker", "Marker", "limit");
1
+ module.exports = require("../index.js");
@@ -1,8 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListJobsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListMultipartUploadsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListPartsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListVaultsPaginator"), exports);
1
+ module.exports = require("../index.js");