@aws-sdk/client-glacier 3.300.0 → 3.303.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 (38) hide show
  1. package/dist-cjs/models/models_0.js +52 -62
  2. package/dist-es/models/models_0.js +52 -62
  3. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +1 -1
  4. package/dist-types/commands/AbortVaultLockCommand.d.ts +1 -1
  5. package/dist-types/commands/AddTagsToVaultCommand.d.ts +2 -2
  6. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -1
  7. package/dist-types/commands/CompleteVaultLockCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateVaultCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteArchiveCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteVaultCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeJobCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeVaultCommand.d.ts +1 -1
  15. package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +1 -1
  16. package/dist-types/commands/GetJobOutputCommand.d.ts +1 -1
  17. package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +1 -1
  18. package/dist-types/commands/GetVaultLockCommand.d.ts +1 -1
  19. package/dist-types/commands/GetVaultNotificationsCommand.d.ts +1 -1
  20. package/dist-types/commands/InitiateJobCommand.d.ts +15 -15
  21. package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +1 -1
  22. package/dist-types/commands/InitiateVaultLockCommand.d.ts +2 -2
  23. package/dist-types/commands/ListJobsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListPartsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +1 -1
  27. package/dist-types/commands/ListTagsForVaultCommand.d.ts +1 -1
  28. package/dist-types/commands/ListVaultsCommand.d.ts +1 -1
  29. package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +1 -1
  30. package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +2 -2
  31. package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +4 -4
  32. package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +2 -2
  33. package/dist-types/commands/SetVaultNotificationsCommand.d.ts +3 -3
  34. package/dist-types/commands/UploadArchiveCommand.d.ts +1 -1
  35. package/dist-types/commands/UploadMultipartPartCommand.d.ts +1 -1
  36. package/dist-types/models/models_0.d.ts +102 -52
  37. package/dist-types/ts3.4/models/models_0.d.ts +65 -52
  38. package/package.json +40 -40
@@ -62,26 +62,23 @@ class ServiceUnavailableException extends GlacierServiceException_1.GlacierServi
62
62
  }
63
63
  }
64
64
  exports.ServiceUnavailableException = ServiceUnavailableException;
65
- var Type;
66
- (function (Type) {
67
- Type["AmazonCustomerByEmail"] = "AmazonCustomerByEmail";
68
- Type["CanonicalUser"] = "CanonicalUser";
69
- Type["Group"] = "Group";
70
- })(Type = exports.Type || (exports.Type = {}));
71
- var Permission;
72
- (function (Permission) {
73
- Permission["FULL_CONTROL"] = "FULL_CONTROL";
74
- Permission["READ"] = "READ";
75
- Permission["READ_ACP"] = "READ_ACP";
76
- Permission["WRITE"] = "WRITE";
77
- Permission["WRITE_ACP"] = "WRITE_ACP";
78
- })(Permission = exports.Permission || (exports.Permission = {}));
79
- var ActionCode;
80
- (function (ActionCode) {
81
- ActionCode["ArchiveRetrieval"] = "ArchiveRetrieval";
82
- ActionCode["InventoryRetrieval"] = "InventoryRetrieval";
83
- ActionCode["Select"] = "Select";
84
- })(ActionCode = exports.ActionCode || (exports.ActionCode = {}));
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
+ };
85
82
  class LimitExceededException extends GlacierServiceException_1.GlacierServiceException {
86
83
  constructor(opts) {
87
84
  super({
@@ -97,48 +94,41 @@ class LimitExceededException extends GlacierServiceException_1.GlacierServiceExc
97
94
  }
98
95
  }
99
96
  exports.LimitExceededException = LimitExceededException;
100
- var CannedACL;
101
- (function (CannedACL) {
102
- CannedACL["AuthenticatedRead"] = "authenticated-read";
103
- CannedACL["AwsExecRead"] = "aws-exec-read";
104
- CannedACL["BucketOwnerFullControl"] = "bucket-owner-full-control";
105
- CannedACL["BucketOwnerRead"] = "bucket-owner-read";
106
- CannedACL["Private"] = "private";
107
- CannedACL["PublicRead"] = "public-read";
108
- CannedACL["PublicReadWrite"] = "public-read-write";
109
- })(CannedACL = exports.CannedACL || (exports.CannedACL = {}));
110
- var FileHeaderInfo;
111
- (function (FileHeaderInfo) {
112
- FileHeaderInfo["Ignore"] = "IGNORE";
113
- FileHeaderInfo["None"] = "NONE";
114
- FileHeaderInfo["Use"] = "USE";
115
- })(FileHeaderInfo = exports.FileHeaderInfo || (exports.FileHeaderInfo = {}));
116
- var QuoteFields;
117
- (function (QuoteFields) {
118
- QuoteFields["Always"] = "ALWAYS";
119
- QuoteFields["AsNeeded"] = "ASNEEDED";
120
- })(QuoteFields = exports.QuoteFields || (exports.QuoteFields = {}));
121
- var EncryptionType;
122
- (function (EncryptionType) {
123
- EncryptionType["KMS"] = "aws:kms";
124
- EncryptionType["S3"] = "AES256";
125
- })(EncryptionType = exports.EncryptionType || (exports.EncryptionType = {}));
126
- var StorageClass;
127
- (function (StorageClass) {
128
- StorageClass["ReducedRedundancy"] = "REDUCED_REDUNDANCY";
129
- StorageClass["Standard"] = "STANDARD";
130
- StorageClass["StandardInfrequentAccess"] = "STANDARD_IA";
131
- })(StorageClass = exports.StorageClass || (exports.StorageClass = {}));
132
- var ExpressionType;
133
- (function (ExpressionType) {
134
- ExpressionType["SQL"] = "SQL";
135
- })(ExpressionType = exports.ExpressionType || (exports.ExpressionType = {}));
136
- var StatusCode;
137
- (function (StatusCode) {
138
- StatusCode["Failed"] = "Failed";
139
- StatusCode["InProgress"] = "InProgress";
140
- StatusCode["Succeeded"] = "Succeeded";
141
- })(StatusCode = exports.StatusCode || (exports.StatusCode = {}));
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
+ };
142
132
  class InsufficientCapacityException extends GlacierServiceException_1.GlacierServiceException {
143
133
  constructor(opts) {
144
134
  super({
@@ -55,26 +55,23 @@ export class ServiceUnavailableException extends __BaseException {
55
55
  this.code = opts.code;
56
56
  }
57
57
  }
58
- export var Type;
59
- (function (Type) {
60
- Type["AmazonCustomerByEmail"] = "AmazonCustomerByEmail";
61
- Type["CanonicalUser"] = "CanonicalUser";
62
- Type["Group"] = "Group";
63
- })(Type || (Type = {}));
64
- export var Permission;
65
- (function (Permission) {
66
- Permission["FULL_CONTROL"] = "FULL_CONTROL";
67
- Permission["READ"] = "READ";
68
- Permission["READ_ACP"] = "READ_ACP";
69
- Permission["WRITE"] = "WRITE";
70
- Permission["WRITE_ACP"] = "WRITE_ACP";
71
- })(Permission || (Permission = {}));
72
- export var ActionCode;
73
- (function (ActionCode) {
74
- ActionCode["ArchiveRetrieval"] = "ArchiveRetrieval";
75
- ActionCode["InventoryRetrieval"] = "InventoryRetrieval";
76
- ActionCode["Select"] = "Select";
77
- })(ActionCode || (ActionCode = {}));
58
+ export const Type = {
59
+ AmazonCustomerByEmail: "AmazonCustomerByEmail",
60
+ CanonicalUser: "CanonicalUser",
61
+ Group: "Group",
62
+ };
63
+ export const Permission = {
64
+ FULL_CONTROL: "FULL_CONTROL",
65
+ READ: "READ",
66
+ READ_ACP: "READ_ACP",
67
+ WRITE: "WRITE",
68
+ WRITE_ACP: "WRITE_ACP",
69
+ };
70
+ export const ActionCode = {
71
+ ArchiveRetrieval: "ArchiveRetrieval",
72
+ InventoryRetrieval: "InventoryRetrieval",
73
+ Select: "Select",
74
+ };
78
75
  export class LimitExceededException extends __BaseException {
79
76
  constructor(opts) {
80
77
  super({
@@ -89,48 +86,41 @@ export class LimitExceededException extends __BaseException {
89
86
  this.code = opts.code;
90
87
  }
91
88
  }
92
- export var CannedACL;
93
- (function (CannedACL) {
94
- CannedACL["AuthenticatedRead"] = "authenticated-read";
95
- CannedACL["AwsExecRead"] = "aws-exec-read";
96
- CannedACL["BucketOwnerFullControl"] = "bucket-owner-full-control";
97
- CannedACL["BucketOwnerRead"] = "bucket-owner-read";
98
- CannedACL["Private"] = "private";
99
- CannedACL["PublicRead"] = "public-read";
100
- CannedACL["PublicReadWrite"] = "public-read-write";
101
- })(CannedACL || (CannedACL = {}));
102
- export var FileHeaderInfo;
103
- (function (FileHeaderInfo) {
104
- FileHeaderInfo["Ignore"] = "IGNORE";
105
- FileHeaderInfo["None"] = "NONE";
106
- FileHeaderInfo["Use"] = "USE";
107
- })(FileHeaderInfo || (FileHeaderInfo = {}));
108
- export var QuoteFields;
109
- (function (QuoteFields) {
110
- QuoteFields["Always"] = "ALWAYS";
111
- QuoteFields["AsNeeded"] = "ASNEEDED";
112
- })(QuoteFields || (QuoteFields = {}));
113
- export var EncryptionType;
114
- (function (EncryptionType) {
115
- EncryptionType["KMS"] = "aws:kms";
116
- EncryptionType["S3"] = "AES256";
117
- })(EncryptionType || (EncryptionType = {}));
118
- export var StorageClass;
119
- (function (StorageClass) {
120
- StorageClass["ReducedRedundancy"] = "REDUCED_REDUNDANCY";
121
- StorageClass["Standard"] = "STANDARD";
122
- StorageClass["StandardInfrequentAccess"] = "STANDARD_IA";
123
- })(StorageClass || (StorageClass = {}));
124
- export var ExpressionType;
125
- (function (ExpressionType) {
126
- ExpressionType["SQL"] = "SQL";
127
- })(ExpressionType || (ExpressionType = {}));
128
- export var StatusCode;
129
- (function (StatusCode) {
130
- StatusCode["Failed"] = "Failed";
131
- StatusCode["InProgress"] = "InProgress";
132
- StatusCode["Succeeded"] = "Succeeded";
133
- })(StatusCode || (StatusCode = {}));
89
+ export const CannedACL = {
90
+ AuthenticatedRead: "authenticated-read",
91
+ AwsExecRead: "aws-exec-read",
92
+ BucketOwnerFullControl: "bucket-owner-full-control",
93
+ BucketOwnerRead: "bucket-owner-read",
94
+ Private: "private",
95
+ PublicRead: "public-read",
96
+ PublicReadWrite: "public-read-write",
97
+ };
98
+ export const FileHeaderInfo = {
99
+ Ignore: "IGNORE",
100
+ None: "NONE",
101
+ Use: "USE",
102
+ };
103
+ export const QuoteFields = {
104
+ Always: "ALWAYS",
105
+ AsNeeded: "ASNEEDED",
106
+ };
107
+ export const EncryptionType = {
108
+ KMS: "aws:kms",
109
+ S3: "AES256",
110
+ };
111
+ export const StorageClass = {
112
+ ReducedRedundancy: "REDUCED_REDUNDANCY",
113
+ Standard: "STANDARD",
114
+ StandardInfrequentAccess: "STANDARD_IA",
115
+ };
116
+ export const ExpressionType = {
117
+ SQL: "SQL",
118
+ };
119
+ export const StatusCode = {
120
+ Failed: "Failed",
121
+ InProgress: "InProgress",
122
+ Succeeded: "Succeeded",
123
+ };
134
124
  export class InsufficientCapacityException extends __BaseException {
135
125
  constructor(opts) {
136
126
  super({
@@ -43,7 +43,7 @@ export interface AbortMultipartUploadCommandOutput extends __MetadataBearer {
43
43
  * import { GlacierClient, AbortMultipartUploadCommand } from "@aws-sdk/client-glacier"; // ES Modules import
44
44
  * // const { GlacierClient, AbortMultipartUploadCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
45
45
  * const client = new GlacierClient(config);
46
- * const input = {
46
+ * const input = { // AbortMultipartUploadInput
47
47
  * accountId: "STRING_VALUE", // required
48
48
  * vaultName: "STRING_VALUE", // required
49
49
  * uploadId: "STRING_VALUE", // required
@@ -39,7 +39,7 @@ export interface AbortVaultLockCommandOutput extends __MetadataBearer {
39
39
  * import { GlacierClient, AbortVaultLockCommand } from "@aws-sdk/client-glacier"; // ES Modules import
40
40
  * // const { GlacierClient, AbortVaultLockCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
41
41
  * const client = new GlacierClient(config);
42
- * const input = {
42
+ * const input = { // AbortVaultLockInput
43
43
  * accountId: "STRING_VALUE", // required
44
44
  * vaultName: "STRING_VALUE", // required
45
45
  * };
@@ -31,10 +31,10 @@ export interface AddTagsToVaultCommandOutput extends __MetadataBearer {
31
31
  * import { GlacierClient, AddTagsToVaultCommand } from "@aws-sdk/client-glacier"; // ES Modules import
32
32
  * // const { GlacierClient, AddTagsToVaultCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
33
33
  * const client = new GlacierClient(config);
34
- * const input = {
34
+ * const input = { // AddTagsToVaultInput
35
35
  * accountId: "STRING_VALUE", // required
36
36
  * vaultName: "STRING_VALUE", // required
37
- * Tags: {
37
+ * Tags: { // TagMap
38
38
  * "<keys>": "STRING_VALUE",
39
39
  * },
40
40
  * };
@@ -63,7 +63,7 @@ export interface CompleteMultipartUploadCommandOutput extends ArchiveCreationOut
63
63
  * import { GlacierClient, CompleteMultipartUploadCommand } from "@aws-sdk/client-glacier"; // ES Modules import
64
64
  * // const { GlacierClient, CompleteMultipartUploadCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
65
65
  * const client = new GlacierClient(config);
66
- * const input = {
66
+ * const input = { // CompleteMultipartUploadInput
67
67
  * accountId: "STRING_VALUE", // required
68
68
  * vaultName: "STRING_VALUE", // required
69
69
  * uploadId: "STRING_VALUE", // required
@@ -39,7 +39,7 @@ export interface CompleteVaultLockCommandOutput extends __MetadataBearer {
39
39
  * import { GlacierClient, CompleteVaultLockCommand } from "@aws-sdk/client-glacier"; // ES Modules import
40
40
  * // const { GlacierClient, CompleteVaultLockCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
41
41
  * const client = new GlacierClient(config);
42
- * const input = {
42
+ * const input = { // CompleteVaultLockInput
43
43
  * accountId: "STRING_VALUE", // required
44
44
  * vaultName: "STRING_VALUE", // required
45
45
  * lockId: "STRING_VALUE", // required
@@ -49,7 +49,7 @@ export interface CreateVaultCommandOutput extends CreateVaultOutput, __MetadataB
49
49
  * import { GlacierClient, CreateVaultCommand } from "@aws-sdk/client-glacier"; // ES Modules import
50
50
  * // const { GlacierClient, CreateVaultCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
51
51
  * const client = new GlacierClient(config);
52
- * const input = {
52
+ * const input = { // CreateVaultInput
53
53
  * accountId: "STRING_VALUE", // required
54
54
  * vaultName: "STRING_VALUE", // required
55
55
  * };
@@ -52,7 +52,7 @@ export interface DeleteArchiveCommandOutput extends __MetadataBearer {
52
52
  * import { GlacierClient, DeleteArchiveCommand } from "@aws-sdk/client-glacier"; // ES Modules import
53
53
  * // const { GlacierClient, DeleteArchiveCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
54
54
  * const client = new GlacierClient(config);
55
- * const input = {
55
+ * const input = { // DeleteArchiveInput
56
56
  * accountId: "STRING_VALUE", // required
57
57
  * vaultName: "STRING_VALUE", // required
58
58
  * archiveId: "STRING_VALUE", // required
@@ -32,7 +32,7 @@ export interface DeleteVaultAccessPolicyCommandOutput extends __MetadataBearer {
32
32
  * import { GlacierClient, DeleteVaultAccessPolicyCommand } from "@aws-sdk/client-glacier"; // ES Modules import
33
33
  * // const { GlacierClient, DeleteVaultAccessPolicyCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
34
34
  * const client = new GlacierClient(config);
35
- * const input = {
35
+ * const input = { // DeleteVaultAccessPolicyInput
36
36
  * accountId: "STRING_VALUE", // required
37
37
  * vaultName: "STRING_VALUE", // required
38
38
  * };
@@ -45,7 +45,7 @@ export interface DeleteVaultCommandOutput extends __MetadataBearer {
45
45
  * import { GlacierClient, DeleteVaultCommand } from "@aws-sdk/client-glacier"; // ES Modules import
46
46
  * // const { GlacierClient, DeleteVaultCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
47
47
  * const client = new GlacierClient(config);
48
- * const input = {
48
+ * const input = { // DeleteVaultInput
49
49
  * accountId: "STRING_VALUE", // required
50
50
  * vaultName: "STRING_VALUE", // required
51
51
  * };
@@ -38,7 +38,7 @@ export interface DeleteVaultNotificationsCommandOutput extends __MetadataBearer
38
38
  * import { GlacierClient, DeleteVaultNotificationsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
39
39
  * // const { GlacierClient, DeleteVaultNotificationsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
40
40
  * const client = new GlacierClient(config);
41
- * const input = {
41
+ * const input = { // DeleteVaultNotificationsInput
42
42
  * accountId: "STRING_VALUE", // required
43
43
  * vaultName: "STRING_VALUE", // required
44
44
  * };
@@ -49,7 +49,7 @@ export interface DescribeJobCommandOutput extends GlacierJobDescription, __Metad
49
49
  * import { GlacierClient, DescribeJobCommand } from "@aws-sdk/client-glacier"; // ES Modules import
50
50
  * // const { GlacierClient, DescribeJobCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
51
51
  * const client = new GlacierClient(config);
52
- * const input = {
52
+ * const input = { // DescribeJobInput
53
53
  * accountId: "STRING_VALUE", // required
54
54
  * vaultName: "STRING_VALUE", // required
55
55
  * jobId: "STRING_VALUE", // required
@@ -43,7 +43,7 @@ export interface DescribeVaultCommandOutput extends DescribeVaultOutput, __Metad
43
43
  * import { GlacierClient, DescribeVaultCommand } from "@aws-sdk/client-glacier"; // ES Modules import
44
44
  * // const { GlacierClient, DescribeVaultCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
45
45
  * const client = new GlacierClient(config);
46
- * const input = {
46
+ * const input = { // DescribeVaultInput
47
47
  * accountId: "STRING_VALUE", // required
48
48
  * vaultName: "STRING_VALUE", // required
49
49
  * };
@@ -28,7 +28,7 @@ export interface GetDataRetrievalPolicyCommandOutput extends GetDataRetrievalPol
28
28
  * import { GlacierClient, GetDataRetrievalPolicyCommand } from "@aws-sdk/client-glacier"; // ES Modules import
29
29
  * // const { GlacierClient, GetDataRetrievalPolicyCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
30
30
  * const client = new GlacierClient(config);
31
- * const input = {
31
+ * const input = { // GetDataRetrievalPolicyInput
32
32
  * accountId: "STRING_VALUE", // required
33
33
  * };
34
34
  * const command = new GetDataRetrievalPolicyCommand(input);
@@ -62,7 +62,7 @@ export interface GetJobOutputCommandOutput extends __WithSdkStreamMixin<GetJobOu
62
62
  * import { GlacierClient, GetJobOutputCommand } from "@aws-sdk/client-glacier"; // ES Modules import
63
63
  * // const { GlacierClient, GetJobOutputCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
64
64
  * const client = new GlacierClient(config);
65
- * const input = {
65
+ * const input = { // GetJobOutputInput
66
66
  * accountId: "STRING_VALUE", // required
67
67
  * vaultName: "STRING_VALUE", // required
68
68
  * jobId: "STRING_VALUE", // required
@@ -31,7 +31,7 @@ export interface GetVaultAccessPolicyCommandOutput extends GetVaultAccessPolicyO
31
31
  * import { GlacierClient, GetVaultAccessPolicyCommand } from "@aws-sdk/client-glacier"; // ES Modules import
32
32
  * // const { GlacierClient, GetVaultAccessPolicyCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
33
33
  * const client = new GlacierClient(config);
34
- * const input = {
34
+ * const input = { // GetVaultAccessPolicyInput
35
35
  * accountId: "STRING_VALUE", // required
36
36
  * vaultName: "STRING_VALUE", // required
37
37
  * };
@@ -53,7 +53,7 @@ export interface GetVaultLockCommandOutput extends GetVaultLockOutput, __Metadat
53
53
  * import { GlacierClient, GetVaultLockCommand } from "@aws-sdk/client-glacier"; // ES Modules import
54
54
  * // const { GlacierClient, GetVaultLockCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
55
55
  * const client = new GlacierClient(config);
56
- * const input = {
56
+ * const input = { // GetVaultLockInput
57
57
  * accountId: "STRING_VALUE", // required
58
58
  * vaultName: "STRING_VALUE", // required
59
59
  * };
@@ -41,7 +41,7 @@ export interface GetVaultNotificationsCommandOutput extends GetVaultNotification
41
41
  * import { GlacierClient, GetVaultNotificationsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
42
42
  * // const { GlacierClient, GetVaultNotificationsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
43
43
  * const client = new GlacierClient(config);
44
- * const input = {
44
+ * const input = { // GetVaultNotificationsInput
45
45
  * accountId: "STRING_VALUE", // required
46
46
  * vaultName: "STRING_VALUE", // required
47
47
  * };
@@ -30,10 +30,10 @@ export interface InitiateJobCommandOutput extends InitiateJobOutput, __MetadataB
30
30
  * import { GlacierClient, InitiateJobCommand } from "@aws-sdk/client-glacier"; // ES Modules import
31
31
  * // const { GlacierClient, InitiateJobCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
32
32
  * const client = new GlacierClient(config);
33
- * const input = {
33
+ * const input = { // InitiateJobInput
34
34
  * accountId: "STRING_VALUE", // required
35
35
  * vaultName: "STRING_VALUE", // required
36
- * jobParameters: {
36
+ * jobParameters: { // JobParameters
37
37
  * Format: "STRING_VALUE",
38
38
  * Type: "STRING_VALUE",
39
39
  * ArchiveId: "STRING_VALUE",
@@ -41,15 +41,15 @@ export interface InitiateJobCommandOutput extends InitiateJobOutput, __MetadataB
41
41
  * SNSTopic: "STRING_VALUE",
42
42
  * RetrievalByteRange: "STRING_VALUE",
43
43
  * Tier: "STRING_VALUE",
44
- * InventoryRetrievalParameters: {
44
+ * InventoryRetrievalParameters: { // InventoryRetrievalJobInput
45
45
  * StartDate: "STRING_VALUE",
46
46
  * EndDate: "STRING_VALUE",
47
47
  * Limit: "STRING_VALUE",
48
48
  * Marker: "STRING_VALUE",
49
49
  * },
50
- * SelectParameters: {
51
- * InputSerialization: {
52
- * csv: {
50
+ * SelectParameters: { // SelectParameters
51
+ * InputSerialization: { // InputSerialization
52
+ * csv: { // CSVInput
53
53
  * FileHeaderInfo: "USE" || "IGNORE" || "NONE",
54
54
  * Comments: "STRING_VALUE",
55
55
  * QuoteEscapeCharacter: "STRING_VALUE",
@@ -60,8 +60,8 @@ export interface InitiateJobCommandOutput extends InitiateJobOutput, __MetadataB
60
60
  * },
61
61
  * ExpressionType: "SQL",
62
62
  * Expression: "STRING_VALUE",
63
- * OutputSerialization: {
64
- * csv: {
63
+ * OutputSerialization: { // OutputSerialization
64
+ * csv: { // CSVOutput
65
65
  * QuoteFields: "ALWAYS" || "ASNEEDED",
66
66
  * QuoteEscapeCharacter: "STRING_VALUE",
67
67
  * RecordDelimiter: "STRING_VALUE",
@@ -70,19 +70,19 @@ export interface InitiateJobCommandOutput extends InitiateJobOutput, __MetadataB
70
70
  * },
71
71
  * },
72
72
  * },
73
- * OutputLocation: {
74
- * S3: {
73
+ * OutputLocation: { // OutputLocation
74
+ * S3: { // S3Location
75
75
  * BucketName: "STRING_VALUE",
76
76
  * Prefix: "STRING_VALUE",
77
- * Encryption: {
77
+ * Encryption: { // Encryption
78
78
  * EncryptionType: "aws:kms" || "AES256",
79
79
  * KMSKeyId: "STRING_VALUE",
80
80
  * KMSContext: "STRING_VALUE",
81
81
  * },
82
82
  * CannedACL: "private" || "public-read" || "public-read-write" || "aws-exec-read" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control",
83
- * AccessControlList: [
84
- * {
85
- * Grantee: {
83
+ * AccessControlList: [ // AccessControlPolicyList
84
+ * { // Grant
85
+ * Grantee: { // Grantee
86
86
  * Type: "AmazonCustomerByEmail" || "CanonicalUser" || "Group", // required
87
87
  * DisplayName: "STRING_VALUE",
88
88
  * URI: "STRING_VALUE",
@@ -92,7 +92,7 @@ export interface InitiateJobCommandOutput extends InitiateJobOutput, __MetadataB
92
92
  * Permission: "FULL_CONTROL" || "WRITE" || "WRITE_ACP" || "READ" || "READ_ACP",
93
93
  * },
94
94
  * ],
95
- * Tagging: {
95
+ * Tagging: { // hashmap
96
96
  * "<keys>": "STRING_VALUE",
97
97
  * },
98
98
  * UserMetadata: {
@@ -59,7 +59,7 @@ export interface InitiateMultipartUploadCommandOutput extends InitiateMultipartU
59
59
  * import { GlacierClient, InitiateMultipartUploadCommand } from "@aws-sdk/client-glacier"; // ES Modules import
60
60
  * // const { GlacierClient, InitiateMultipartUploadCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
61
61
  * const client = new GlacierClient(config);
62
- * const input = {
62
+ * const input = { // InitiateMultipartUploadInput
63
63
  * accountId: "STRING_VALUE", // required
64
64
  * vaultName: "STRING_VALUE", // required
65
65
  * archiveDescription: "STRING_VALUE",
@@ -60,10 +60,10 @@ export interface InitiateVaultLockCommandOutput extends InitiateVaultLockOutput,
60
60
  * import { GlacierClient, InitiateVaultLockCommand } from "@aws-sdk/client-glacier"; // ES Modules import
61
61
  * // const { GlacierClient, InitiateVaultLockCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
62
62
  * const client = new GlacierClient(config);
63
- * const input = {
63
+ * const input = { // InitiateVaultLockInput
64
64
  * accountId: "STRING_VALUE", // required
65
65
  * vaultName: "STRING_VALUE", // required
66
- * policy: {
66
+ * policy: { // VaultLockPolicy
67
67
  * Policy: "STRING_VALUE",
68
68
  * },
69
69
  * };
@@ -61,7 +61,7 @@ export interface ListJobsCommandOutput extends ListJobsOutput, __MetadataBearer
61
61
  * import { GlacierClient, ListJobsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
62
62
  * // const { GlacierClient, ListJobsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
63
63
  * const client = new GlacierClient(config);
64
- * const input = {
64
+ * const input = { // ListJobsInput
65
65
  * accountId: "STRING_VALUE", // required
66
66
  * vaultName: "STRING_VALUE", // required
67
67
  * limit: Number("int"),
@@ -51,7 +51,7 @@ export interface ListMultipartUploadsCommandOutput extends ListMultipartUploadsO
51
51
  * import { GlacierClient, ListMultipartUploadsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
52
52
  * // const { GlacierClient, ListMultipartUploadsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
53
53
  * const client = new GlacierClient(config);
54
- * const input = {
54
+ * const input = { // ListMultipartUploadsInput
55
55
  * accountId: "STRING_VALUE", // required
56
56
  * vaultName: "STRING_VALUE", // required
57
57
  * limit: Number("int"),
@@ -47,7 +47,7 @@ export interface ListPartsCommandOutput extends ListPartsOutput, __MetadataBeare
47
47
  * import { GlacierClient, ListPartsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
48
48
  * // const { GlacierClient, ListPartsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
49
49
  * const client = new GlacierClient(config);
50
- * const input = {
50
+ * const input = { // ListPartsInput
51
51
  * accountId: "STRING_VALUE", // required
52
52
  * vaultName: "STRING_VALUE", // required
53
53
  * uploadId: "STRING_VALUE", // required
@@ -27,7 +27,7 @@ export interface ListProvisionedCapacityCommandOutput extends ListProvisionedCap
27
27
  * import { GlacierClient, ListProvisionedCapacityCommand } from "@aws-sdk/client-glacier"; // ES Modules import
28
28
  * // const { GlacierClient, ListProvisionedCapacityCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
29
29
  * const client = new GlacierClient(config);
30
- * const input = {
30
+ * const input = { // ListProvisionedCapacityInput
31
31
  * accountId: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new ListProvisionedCapacityCommand(input);
@@ -28,7 +28,7 @@ export interface ListTagsForVaultCommandOutput extends ListTagsForVaultOutput, _
28
28
  * import { GlacierClient, ListTagsForVaultCommand } from "@aws-sdk/client-glacier"; // ES Modules import
29
29
  * // const { GlacierClient, ListTagsForVaultCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
30
30
  * const client = new GlacierClient(config);
31
- * const input = {
31
+ * const input = { // ListTagsForVaultInput
32
32
  * accountId: "STRING_VALUE", // required
33
33
  * vaultName: "STRING_VALUE", // required
34
34
  * };
@@ -44,7 +44,7 @@ export interface ListVaultsCommandOutput extends ListVaultsOutput, __MetadataBea
44
44
  * import { GlacierClient, ListVaultsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
45
45
  * // const { GlacierClient, ListVaultsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
46
46
  * const client = new GlacierClient(config);
47
- * const input = {
47
+ * const input = { // ListVaultsInput
48
48
  * accountId: "STRING_VALUE", // required
49
49
  * marker: "STRING_VALUE",
50
50
  * limit: Number("int"),
@@ -26,7 +26,7 @@ export interface PurchaseProvisionedCapacityCommandOutput extends PurchaseProvis
26
26
  * import { GlacierClient, PurchaseProvisionedCapacityCommand } from "@aws-sdk/client-glacier"; // ES Modules import
27
27
  * // const { GlacierClient, PurchaseProvisionedCapacityCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
28
28
  * const client = new GlacierClient(config);
29
- * const input = {
29
+ * const input = { // PurchaseProvisionedCapacityInput
30
30
  * accountId: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new PurchaseProvisionedCapacityCommand(input);
@@ -29,10 +29,10 @@ export interface RemoveTagsFromVaultCommandOutput extends __MetadataBearer {
29
29
  * import { GlacierClient, RemoveTagsFromVaultCommand } from "@aws-sdk/client-glacier"; // ES Modules import
30
30
  * // const { GlacierClient, RemoveTagsFromVaultCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
31
31
  * const client = new GlacierClient(config);
32
- * const input = {
32
+ * const input = { // RemoveTagsFromVaultInput
33
33
  * accountId: "STRING_VALUE", // required
34
34
  * vaultName: "STRING_VALUE", // required
35
- * TagKeys: [
35
+ * TagKeys: [ // TagKeyList
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * };
@@ -31,11 +31,11 @@ export interface SetDataRetrievalPolicyCommandOutput extends __MetadataBearer {
31
31
  * import { GlacierClient, SetDataRetrievalPolicyCommand } from "@aws-sdk/client-glacier"; // ES Modules import
32
32
  * // const { GlacierClient, SetDataRetrievalPolicyCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
33
33
  * const client = new GlacierClient(config);
34
- * const input = {
34
+ * const input = { // SetDataRetrievalPolicyInput
35
35
  * accountId: "STRING_VALUE", // required
36
- * Policy: {
37
- * Rules: [
38
- * {
36
+ * Policy: { // DataRetrievalPolicy
37
+ * Rules: [ // DataRetrievalRulesList
38
+ * { // DataRetrievalRule
39
39
  * Strategy: "STRING_VALUE",
40
40
  * BytesPerHour: Number("long"),
41
41
  * },
@@ -31,10 +31,10 @@ export interface SetVaultAccessPolicyCommandOutput extends __MetadataBearer {
31
31
  * import { GlacierClient, SetVaultAccessPolicyCommand } from "@aws-sdk/client-glacier"; // ES Modules import
32
32
  * // const { GlacierClient, SetVaultAccessPolicyCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
33
33
  * const client = new GlacierClient(config);
34
- * const input = {
34
+ * const input = { // SetVaultAccessPolicyInput
35
35
  * accountId: "STRING_VALUE", // required
36
36
  * vaultName: "STRING_VALUE", // required
37
- * policy: {
37
+ * policy: { // VaultAccessPolicy
38
38
  * Policy: "STRING_VALUE",
39
39
  * },
40
40
  * };
@@ -63,12 +63,12 @@ export interface SetVaultNotificationsCommandOutput extends __MetadataBearer {
63
63
  * import { GlacierClient, SetVaultNotificationsCommand } from "@aws-sdk/client-glacier"; // ES Modules import
64
64
  * // const { GlacierClient, SetVaultNotificationsCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
65
65
  * const client = new GlacierClient(config);
66
- * const input = {
66
+ * const input = { // SetVaultNotificationsInput
67
67
  * accountId: "STRING_VALUE", // required
68
68
  * vaultName: "STRING_VALUE", // required
69
- * vaultNotificationConfig: {
69
+ * vaultNotificationConfig: { // VaultNotificationConfig
70
70
  * SNSTopic: "STRING_VALUE",
71
- * Events: [
71
+ * Events: [ // NotificationEventList
72
72
  * "STRING_VALUE",
73
73
  * ],
74
74
  * },
@@ -67,7 +67,7 @@ export interface UploadArchiveCommandOutput extends ArchiveCreationOutput, __Met
67
67
  * import { GlacierClient, UploadArchiveCommand } from "@aws-sdk/client-glacier"; // ES Modules import
68
68
  * // const { GlacierClient, UploadArchiveCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
69
69
  * const client = new GlacierClient(config);
70
- * const input = {
70
+ * const input = { // UploadArchiveInput
71
71
  * vaultName: "STRING_VALUE", // required
72
72
  * accountId: "STRING_VALUE", // required
73
73
  * archiveDescription: "STRING_VALUE",
@@ -86,7 +86,7 @@ export interface UploadMultipartPartCommandOutput extends UploadMultipartPartOut
86
86
  * import { GlacierClient, UploadMultipartPartCommand } from "@aws-sdk/client-glacier"; // ES Modules import
87
87
  * // const { GlacierClient, UploadMultipartPartCommand } = require("@aws-sdk/client-glacier"); // CommonJS import
88
88
  * const client = new GlacierClient(config);
89
- * const input = {
89
+ * const input = { // UploadMultipartPartInput
90
90
  * accountId: "STRING_VALUE", // required
91
91
  * vaultName: "STRING_VALUE", // required
92
92
  * uploadId: "STRING_VALUE", // required
@@ -129,12 +129,17 @@ export interface AbortVaultLockInput {
129
129
  }
130
130
  /**
131
131
  * @public
132
+ * @enum
132
133
  */
133
- export declare enum Type {
134
- AmazonCustomerByEmail = "AmazonCustomerByEmail",
135
- CanonicalUser = "CanonicalUser",
136
- Group = "Group"
137
- }
134
+ export declare const Type: {
135
+ readonly AmazonCustomerByEmail: "AmazonCustomerByEmail";
136
+ readonly CanonicalUser: "CanonicalUser";
137
+ readonly Group: "Group";
138
+ };
139
+ /**
140
+ * @public
141
+ */
142
+ export type Type = (typeof Type)[keyof typeof Type];
138
143
  /**
139
144
  * @public
140
145
  * <p>Contains information about the grantee.</p>
@@ -163,14 +168,19 @@ export interface Grantee {
163
168
  }
164
169
  /**
165
170
  * @public
171
+ * @enum
166
172
  */
167
- export declare enum Permission {
168
- FULL_CONTROL = "FULL_CONTROL",
169
- READ = "READ",
170
- READ_ACP = "READ_ACP",
171
- WRITE = "WRITE",
172
- WRITE_ACP = "WRITE_ACP"
173
- }
173
+ export declare const Permission: {
174
+ readonly FULL_CONTROL: "FULL_CONTROL";
175
+ readonly READ: "READ";
176
+ readonly READ_ACP: "READ_ACP";
177
+ readonly WRITE: "WRITE";
178
+ readonly WRITE_ACP: "WRITE_ACP";
179
+ };
180
+ /**
181
+ * @public
182
+ */
183
+ export type Permission = (typeof Permission)[keyof typeof Permission];
174
184
  /**
175
185
  * @public
176
186
  * <p>Contains information about a grant.</p>
@@ -187,12 +197,17 @@ export interface Grant {
187
197
  }
188
198
  /**
189
199
  * @public
200
+ * @enum
190
201
  */
191
- export declare enum ActionCode {
192
- ArchiveRetrieval = "ArchiveRetrieval",
193
- InventoryRetrieval = "InventoryRetrieval",
194
- Select = "Select"
195
- }
202
+ export declare const ActionCode: {
203
+ readonly ArchiveRetrieval: "ArchiveRetrieval";
204
+ readonly InventoryRetrieval: "InventoryRetrieval";
205
+ readonly Select: "Select";
206
+ };
207
+ /**
208
+ * @public
209
+ */
210
+ export type ActionCode = (typeof ActionCode)[keyof typeof ActionCode];
196
211
  /**
197
212
  * @public
198
213
  * <p>The input values for <code>AddTagsToVault</code>.</p>
@@ -259,16 +274,21 @@ export interface ArchiveCreationOutput {
259
274
  }
260
275
  /**
261
276
  * @public
277
+ * @enum
262
278
  */
263
- export declare enum CannedACL {
264
- AuthenticatedRead = "authenticated-read",
265
- AwsExecRead = "aws-exec-read",
266
- BucketOwnerFullControl = "bucket-owner-full-control",
267
- BucketOwnerRead = "bucket-owner-read",
268
- Private = "private",
269
- PublicRead = "public-read",
270
- PublicReadWrite = "public-read-write"
271
- }
279
+ export declare const CannedACL: {
280
+ readonly AuthenticatedRead: "authenticated-read";
281
+ readonly AwsExecRead: "aws-exec-read";
282
+ readonly BucketOwnerFullControl: "bucket-owner-full-control";
283
+ readonly BucketOwnerRead: "bucket-owner-read";
284
+ readonly Private: "private";
285
+ readonly PublicRead: "public-read";
286
+ readonly PublicReadWrite: "public-read-write";
287
+ };
288
+ /**
289
+ * @public
290
+ */
291
+ export type CannedACL = (typeof CannedACL)[keyof typeof CannedACL];
272
292
  /**
273
293
  * @public
274
294
  * <p>Provides options to complete a multipart upload operation. This informs Amazon
@@ -358,12 +378,17 @@ export interface CreateVaultOutput {
358
378
  }
359
379
  /**
360
380
  * @public
381
+ * @enum
361
382
  */
362
- export declare enum FileHeaderInfo {
363
- Ignore = "IGNORE",
364
- None = "NONE",
365
- Use = "USE"
366
- }
383
+ export declare const FileHeaderInfo: {
384
+ readonly Ignore: "IGNORE";
385
+ readonly None: "NONE";
386
+ readonly Use: "USE";
387
+ };
388
+ /**
389
+ * @public
390
+ */
391
+ export type FileHeaderInfo = (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo];
367
392
  /**
368
393
  * @public
369
394
  * <p>Contains information about the comma-separated value (CSV) file to select from.</p>
@@ -400,11 +425,16 @@ export interface CSVInput {
400
425
  }
401
426
  /**
402
427
  * @public
428
+ * @enum
403
429
  */
404
- export declare enum QuoteFields {
405
- Always = "ALWAYS",
406
- AsNeeded = "ASNEEDED"
407
- }
430
+ export declare const QuoteFields: {
431
+ readonly Always: "ALWAYS";
432
+ readonly AsNeeded: "ASNEEDED";
433
+ };
434
+ /**
435
+ * @public
436
+ */
437
+ export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
408
438
  /**
409
439
  * @public
410
440
  * <p>Contains information about the comma-separated value (CSV) file that the job results
@@ -601,11 +631,16 @@ export interface InventoryRetrievalJobDescription {
601
631
  }
602
632
  /**
603
633
  * @public
634
+ * @enum
604
635
  */
605
- export declare enum EncryptionType {
606
- KMS = "aws:kms",
607
- S3 = "AES256"
608
- }
636
+ export declare const EncryptionType: {
637
+ readonly KMS: "aws:kms";
638
+ readonly S3: "AES256";
639
+ };
640
+ /**
641
+ * @public
642
+ */
643
+ export type EncryptionType = (typeof EncryptionType)[keyof typeof EncryptionType];
609
644
  /**
610
645
  * @public
611
646
  * <p>Contains information about the encryption used to store the job results in Amazon S3. </p>
@@ -630,12 +665,17 @@ export interface Encryption {
630
665
  }
631
666
  /**
632
667
  * @public
668
+ * @enum
633
669
  */
634
- export declare enum StorageClass {
635
- ReducedRedundancy = "REDUCED_REDUNDANCY",
636
- Standard = "STANDARD",
637
- StandardInfrequentAccess = "STANDARD_IA"
638
- }
670
+ export declare const StorageClass: {
671
+ readonly ReducedRedundancy: "REDUCED_REDUNDANCY";
672
+ readonly Standard: "STANDARD";
673
+ readonly StandardInfrequentAccess: "STANDARD_IA";
674
+ };
675
+ /**
676
+ * @public
677
+ */
678
+ export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
639
679
  /**
640
680
  * @public
641
681
  * <p>Contains information about the location in Amazon S3 where the select job results are stored.</p>
@@ -686,10 +726,15 @@ export interface OutputLocation {
686
726
  }
687
727
  /**
688
728
  * @public
729
+ * @enum
689
730
  */
690
- export declare enum ExpressionType {
691
- SQL = "SQL"
692
- }
731
+ export declare const ExpressionType: {
732
+ readonly SQL: "SQL";
733
+ };
734
+ /**
735
+ * @public
736
+ */
737
+ export type ExpressionType = (typeof ExpressionType)[keyof typeof ExpressionType];
693
738
  /**
694
739
  * @public
695
740
  * <p>Describes how the archive is serialized.</p>
@@ -734,12 +779,17 @@ export interface SelectParameters {
734
779
  }
735
780
  /**
736
781
  * @public
782
+ * @enum
737
783
  */
738
- export declare enum StatusCode {
739
- Failed = "Failed",
740
- InProgress = "InProgress",
741
- Succeeded = "Succeeded"
742
- }
784
+ export declare const StatusCode: {
785
+ readonly Failed: "Failed";
786
+ readonly InProgress: "InProgress";
787
+ readonly Succeeded: "Succeeded";
788
+ };
789
+ /**
790
+ * @public
791
+ */
792
+ export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
743
793
  /**
744
794
  * @public
745
795
  * <p>Contains the description of an Amazon S3 Glacier job.</p>
@@ -46,11 +46,12 @@ export interface AbortVaultLockInput {
46
46
  accountId: string | undefined;
47
47
  vaultName: string | undefined;
48
48
  }
49
- export declare enum Type {
50
- AmazonCustomerByEmail = "AmazonCustomerByEmail",
51
- CanonicalUser = "CanonicalUser",
52
- Group = "Group",
53
- }
49
+ export declare const Type: {
50
+ readonly AmazonCustomerByEmail: "AmazonCustomerByEmail";
51
+ readonly CanonicalUser: "CanonicalUser";
52
+ readonly Group: "Group";
53
+ };
54
+ export type Type = (typeof Type)[keyof typeof Type];
54
55
  export interface Grantee {
55
56
  Type: Type | string | undefined;
56
57
  DisplayName?: string;
@@ -58,22 +59,24 @@ export interface Grantee {
58
59
  ID?: string;
59
60
  EmailAddress?: string;
60
61
  }
61
- export declare enum Permission {
62
- FULL_CONTROL = "FULL_CONTROL",
63
- READ = "READ",
64
- READ_ACP = "READ_ACP",
65
- WRITE = "WRITE",
66
- WRITE_ACP = "WRITE_ACP",
67
- }
62
+ export declare const Permission: {
63
+ readonly FULL_CONTROL: "FULL_CONTROL";
64
+ readonly READ: "READ";
65
+ readonly READ_ACP: "READ_ACP";
66
+ readonly WRITE: "WRITE";
67
+ readonly WRITE_ACP: "WRITE_ACP";
68
+ };
69
+ export type Permission = (typeof Permission)[keyof typeof Permission];
68
70
  export interface Grant {
69
71
  Grantee?: Grantee;
70
72
  Permission?: Permission | string;
71
73
  }
72
- export declare enum ActionCode {
73
- ArchiveRetrieval = "ArchiveRetrieval",
74
- InventoryRetrieval = "InventoryRetrieval",
75
- Select = "Select",
76
- }
74
+ export declare const ActionCode: {
75
+ readonly ArchiveRetrieval: "ArchiveRetrieval";
76
+ readonly InventoryRetrieval: "InventoryRetrieval";
77
+ readonly Select: "Select";
78
+ };
79
+ export type ActionCode = (typeof ActionCode)[keyof typeof ActionCode];
77
80
  export interface AddTagsToVaultInput {
78
81
  accountId: string | undefined;
79
82
  vaultName: string | undefined;
@@ -93,15 +96,16 @@ export interface ArchiveCreationOutput {
93
96
  checksum?: string;
94
97
  archiveId?: string;
95
98
  }
96
- export declare enum CannedACL {
97
- AuthenticatedRead = "authenticated-read",
98
- AwsExecRead = "aws-exec-read",
99
- BucketOwnerFullControl = "bucket-owner-full-control",
100
- BucketOwnerRead = "bucket-owner-read",
101
- Private = "private",
102
- PublicRead = "public-read",
103
- PublicReadWrite = "public-read-write",
104
- }
99
+ export declare const CannedACL: {
100
+ readonly AuthenticatedRead: "authenticated-read";
101
+ readonly AwsExecRead: "aws-exec-read";
102
+ readonly BucketOwnerFullControl: "bucket-owner-full-control";
103
+ readonly BucketOwnerRead: "bucket-owner-read";
104
+ readonly Private: "private";
105
+ readonly PublicRead: "public-read";
106
+ readonly PublicReadWrite: "public-read-write";
107
+ };
108
+ export type CannedACL = (typeof CannedACL)[keyof typeof CannedACL];
105
109
  export interface CompleteMultipartUploadInput {
106
110
  accountId: string | undefined;
107
111
  vaultName: string | undefined;
@@ -121,11 +125,13 @@ export interface CreateVaultInput {
121
125
  export interface CreateVaultOutput {
122
126
  location?: string;
123
127
  }
124
- export declare enum FileHeaderInfo {
125
- Ignore = "IGNORE",
126
- None = "NONE",
127
- Use = "USE",
128
- }
128
+ export declare const FileHeaderInfo: {
129
+ readonly Ignore: "IGNORE";
130
+ readonly None: "NONE";
131
+ readonly Use: "USE";
132
+ };
133
+ export type FileHeaderInfo =
134
+ (typeof FileHeaderInfo)[keyof typeof FileHeaderInfo];
129
135
  export interface CSVInput {
130
136
  FileHeaderInfo?: FileHeaderInfo | string;
131
137
  Comments?: string;
@@ -134,10 +140,11 @@ export interface CSVInput {
134
140
  FieldDelimiter?: string;
135
141
  QuoteCharacter?: string;
136
142
  }
137
- export declare enum QuoteFields {
138
- Always = "ALWAYS",
139
- AsNeeded = "ASNEEDED",
140
- }
143
+ export declare const QuoteFields: {
144
+ readonly Always: "ALWAYS";
145
+ readonly AsNeeded: "ASNEEDED";
146
+ };
147
+ export type QuoteFields = (typeof QuoteFields)[keyof typeof QuoteFields];
141
148
  export interface CSVOutput {
142
149
  QuoteFields?: QuoteFields | string;
143
150
  QuoteEscapeCharacter?: string;
@@ -181,20 +188,23 @@ export interface InventoryRetrievalJobDescription {
181
188
  Limit?: string;
182
189
  Marker?: string;
183
190
  }
184
- export declare enum EncryptionType {
185
- KMS = "aws:kms",
186
- S3 = "AES256",
187
- }
191
+ export declare const EncryptionType: {
192
+ readonly KMS: "aws:kms";
193
+ readonly S3: "AES256";
194
+ };
195
+ export type EncryptionType =
196
+ (typeof EncryptionType)[keyof typeof EncryptionType];
188
197
  export interface Encryption {
189
198
  EncryptionType?: EncryptionType | string;
190
199
  KMSKeyId?: string;
191
200
  KMSContext?: string;
192
201
  }
193
- export declare enum StorageClass {
194
- ReducedRedundancy = "REDUCED_REDUNDANCY",
195
- Standard = "STANDARD",
196
- StandardInfrequentAccess = "STANDARD_IA",
197
- }
202
+ export declare const StorageClass: {
203
+ readonly ReducedRedundancy: "REDUCED_REDUNDANCY";
204
+ readonly Standard: "STANDARD";
205
+ readonly StandardInfrequentAccess: "STANDARD_IA";
206
+ };
207
+ export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
198
208
  export interface S3Location {
199
209
  BucketName?: string;
200
210
  Prefix?: string;
@@ -208,9 +218,11 @@ export interface S3Location {
208
218
  export interface OutputLocation {
209
219
  S3?: S3Location;
210
220
  }
211
- export declare enum ExpressionType {
212
- SQL = "SQL",
213
- }
221
+ export declare const ExpressionType: {
222
+ readonly SQL: "SQL";
223
+ };
224
+ export type ExpressionType =
225
+ (typeof ExpressionType)[keyof typeof ExpressionType];
214
226
  export interface InputSerialization {
215
227
  csv?: CSVInput;
216
228
  }
@@ -223,11 +235,12 @@ export interface SelectParameters {
223
235
  Expression?: string;
224
236
  OutputSerialization?: OutputSerialization;
225
237
  }
226
- export declare enum StatusCode {
227
- Failed = "Failed",
228
- InProgress = "InProgress",
229
- Succeeded = "Succeeded",
230
- }
238
+ export declare const StatusCode: {
239
+ readonly Failed: "Failed";
240
+ readonly InProgress: "InProgress";
241
+ readonly Succeeded: "Succeeded";
242
+ };
243
+ export type StatusCode = (typeof StatusCode)[keyof typeof StatusCode];
231
244
  export interface GlacierJobDescription {
232
245
  JobId?: string;
233
246
  JobDescription?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-glacier",
3
3
  "description": "AWS SDK for JavaScript Glacier Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,48 +21,48 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/body-checksum-browser": "3.296.0",
25
- "@aws-sdk/body-checksum-node": "3.296.0",
26
- "@aws-sdk/client-sts": "3.300.0",
27
- "@aws-sdk/config-resolver": "3.300.0",
28
- "@aws-sdk/credential-provider-node": "3.300.0",
29
- "@aws-sdk/fetch-http-handler": "3.296.0",
30
- "@aws-sdk/hash-node": "3.296.0",
31
- "@aws-sdk/invalid-dependency": "3.296.0",
32
- "@aws-sdk/middleware-content-length": "3.296.0",
33
- "@aws-sdk/middleware-endpoint": "3.299.0",
34
- "@aws-sdk/middleware-host-header": "3.296.0",
35
- "@aws-sdk/middleware-logger": "3.296.0",
36
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
37
- "@aws-sdk/middleware-retry": "3.300.0",
38
- "@aws-sdk/middleware-sdk-glacier": "3.296.0",
39
- "@aws-sdk/middleware-serde": "3.296.0",
40
- "@aws-sdk/middleware-signing": "3.299.0",
41
- "@aws-sdk/middleware-stack": "3.296.0",
42
- "@aws-sdk/middleware-user-agent": "3.299.0",
43
- "@aws-sdk/node-config-provider": "3.300.0",
44
- "@aws-sdk/node-http-handler": "3.296.0",
45
- "@aws-sdk/protocol-http": "3.296.0",
46
- "@aws-sdk/smithy-client": "3.296.0",
47
- "@aws-sdk/types": "3.296.0",
48
- "@aws-sdk/url-parser": "3.296.0",
49
- "@aws-sdk/util-base64": "3.295.0",
50
- "@aws-sdk/util-body-length-browser": "3.295.0",
51
- "@aws-sdk/util-body-length-node": "3.295.0",
52
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
53
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
54
- "@aws-sdk/util-endpoints": "3.296.0",
55
- "@aws-sdk/util-retry": "3.296.0",
56
- "@aws-sdk/util-stream-browser": "3.296.0",
57
- "@aws-sdk/util-stream-node": "3.296.0",
58
- "@aws-sdk/util-user-agent-browser": "3.299.0",
59
- "@aws-sdk/util-user-agent-node": "3.300.0",
60
- "@aws-sdk/util-utf8": "3.295.0",
61
- "@aws-sdk/util-waiter": "3.296.0",
24
+ "@aws-sdk/body-checksum-browser": "3.303.0",
25
+ "@aws-sdk/body-checksum-node": "3.303.0",
26
+ "@aws-sdk/client-sts": "3.303.0",
27
+ "@aws-sdk/config-resolver": "3.303.0",
28
+ "@aws-sdk/credential-provider-node": "3.303.0",
29
+ "@aws-sdk/fetch-http-handler": "3.303.0",
30
+ "@aws-sdk/hash-node": "3.303.0",
31
+ "@aws-sdk/invalid-dependency": "3.303.0",
32
+ "@aws-sdk/middleware-content-length": "3.303.0",
33
+ "@aws-sdk/middleware-endpoint": "3.303.0",
34
+ "@aws-sdk/middleware-host-header": "3.303.0",
35
+ "@aws-sdk/middleware-logger": "3.303.0",
36
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
37
+ "@aws-sdk/middleware-retry": "3.303.0",
38
+ "@aws-sdk/middleware-sdk-glacier": "3.303.0",
39
+ "@aws-sdk/middleware-serde": "3.303.0",
40
+ "@aws-sdk/middleware-signing": "3.303.0",
41
+ "@aws-sdk/middleware-stack": "3.303.0",
42
+ "@aws-sdk/middleware-user-agent": "3.303.0",
43
+ "@aws-sdk/node-config-provider": "3.303.0",
44
+ "@aws-sdk/node-http-handler": "3.303.0",
45
+ "@aws-sdk/protocol-http": "3.303.0",
46
+ "@aws-sdk/smithy-client": "3.303.0",
47
+ "@aws-sdk/types": "3.303.0",
48
+ "@aws-sdk/url-parser": "3.303.0",
49
+ "@aws-sdk/util-base64": "3.303.0",
50
+ "@aws-sdk/util-body-length-browser": "3.303.0",
51
+ "@aws-sdk/util-body-length-node": "3.303.0",
52
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
53
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
54
+ "@aws-sdk/util-endpoints": "3.303.0",
55
+ "@aws-sdk/util-retry": "3.303.0",
56
+ "@aws-sdk/util-stream-browser": "3.303.0",
57
+ "@aws-sdk/util-stream-node": "3.303.0",
58
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
59
+ "@aws-sdk/util-user-agent-node": "3.303.0",
60
+ "@aws-sdk/util-utf8": "3.303.0",
61
+ "@aws-sdk/util-waiter": "3.303.0",
62
62
  "tslib": "^2.5.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
65
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
66
66
  "@tsconfig/node14": "1.0.3",
67
67
  "@types/node": "^14.14.31",
68
68
  "concurrently": "7.0.0",