@aws-sdk/client-glacier 3.299.0 → 3.301.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 (34) hide show
  1. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +5 -0
  2. package/dist-types/commands/AbortVaultLockCommand.d.ts +4 -0
  3. package/dist-types/commands/AddTagsToVaultCommand.d.ts +7 -0
  4. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +7 -0
  5. package/dist-types/commands/CompleteVaultLockCommand.d.ts +5 -0
  6. package/dist-types/commands/CreateVaultCommand.d.ts +4 -0
  7. package/dist-types/commands/DeleteArchiveCommand.d.ts +5 -0
  8. package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteVaultCommand.d.ts +4 -0
  10. package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +4 -0
  11. package/dist-types/commands/DescribeJobCommand.d.ts +5 -0
  12. package/dist-types/commands/DescribeVaultCommand.d.ts +4 -0
  13. package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +3 -0
  14. package/dist-types/commands/GetJobOutputCommand.d.ts +6 -0
  15. package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +4 -0
  16. package/dist-types/commands/GetVaultLockCommand.d.ts +4 -0
  17. package/dist-types/commands/GetVaultNotificationsCommand.d.ts +4 -0
  18. package/dist-types/commands/InitiateJobCommand.d.ts +73 -0
  19. package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +6 -0
  20. package/dist-types/commands/InitiateVaultLockCommand.d.ts +7 -0
  21. package/dist-types/commands/ListJobsCommand.d.ts +8 -0
  22. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +6 -0
  23. package/dist-types/commands/ListPartsCommand.d.ts +7 -0
  24. package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +3 -0
  25. package/dist-types/commands/ListTagsForVaultCommand.d.ts +4 -0
  26. package/dist-types/commands/ListVaultsCommand.d.ts +5 -0
  27. package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +3 -0
  28. package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +7 -0
  29. package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +11 -0
  30. package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +7 -0
  31. package/dist-types/commands/SetVaultNotificationsCommand.d.ts +10 -0
  32. package/dist-types/commands/UploadArchiveCommand.d.ts +7 -0
  33. package/dist-types/commands/UploadMultipartPartCommand.d.ts +8 -0
  34. package/package.json +8 -8
@@ -43,6 +43,11 @@ 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 = { // AbortMultipartUploadInput
47
+ * accountId: "STRING_VALUE", // required
48
+ * vaultName: "STRING_VALUE", // required
49
+ * uploadId: "STRING_VALUE", // required
50
+ * };
46
51
  * const command = new AbortMultipartUploadCommand(input);
47
52
  * const response = await client.send(command);
48
53
  * ```
@@ -39,6 +39,10 @@ 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 = { // AbortVaultLockInput
43
+ * accountId: "STRING_VALUE", // required
44
+ * vaultName: "STRING_VALUE", // required
45
+ * };
42
46
  * const command = new AbortVaultLockCommand(input);
43
47
  * const response = await client.send(command);
44
48
  * ```
@@ -31,6 +31,13 @@ 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 = { // AddTagsToVaultInput
35
+ * accountId: "STRING_VALUE", // required
36
+ * vaultName: "STRING_VALUE", // required
37
+ * Tags: { // TagMap
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * };
34
41
  * const command = new AddTagsToVaultCommand(input);
35
42
  * const response = await client.send(command);
36
43
  * ```
@@ -63,6 +63,13 @@ 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 = { // CompleteMultipartUploadInput
67
+ * accountId: "STRING_VALUE", // required
68
+ * vaultName: "STRING_VALUE", // required
69
+ * uploadId: "STRING_VALUE", // required
70
+ * archiveSize: "STRING_VALUE",
71
+ * checksum: "STRING_VALUE",
72
+ * };
66
73
  * const command = new CompleteMultipartUploadCommand(input);
67
74
  * const response = await client.send(command);
68
75
  * ```
@@ -39,6 +39,11 @@ 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 = { // CompleteVaultLockInput
43
+ * accountId: "STRING_VALUE", // required
44
+ * vaultName: "STRING_VALUE", // required
45
+ * lockId: "STRING_VALUE", // required
46
+ * };
42
47
  * const command = new CompleteVaultLockCommand(input);
43
48
  * const response = await client.send(command);
44
49
  * ```
@@ -49,6 +49,10 @@ 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 = { // CreateVaultInput
53
+ * accountId: "STRING_VALUE", // required
54
+ * vaultName: "STRING_VALUE", // required
55
+ * };
52
56
  * const command = new CreateVaultCommand(input);
53
57
  * const response = await client.send(command);
54
58
  * ```
@@ -52,6 +52,11 @@ 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 = { // DeleteArchiveInput
56
+ * accountId: "STRING_VALUE", // required
57
+ * vaultName: "STRING_VALUE", // required
58
+ * archiveId: "STRING_VALUE", // required
59
+ * };
55
60
  * const command = new DeleteArchiveCommand(input);
56
61
  * const response = await client.send(command);
57
62
  * ```
@@ -32,6 +32,10 @@ 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 = { // DeleteVaultAccessPolicyInput
36
+ * accountId: "STRING_VALUE", // required
37
+ * vaultName: "STRING_VALUE", // required
38
+ * };
35
39
  * const command = new DeleteVaultAccessPolicyCommand(input);
36
40
  * const response = await client.send(command);
37
41
  * ```
@@ -45,6 +45,10 @@ 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 = { // DeleteVaultInput
49
+ * accountId: "STRING_VALUE", // required
50
+ * vaultName: "STRING_VALUE", // required
51
+ * };
48
52
  * const command = new DeleteVaultCommand(input);
49
53
  * const response = await client.send(command);
50
54
  * ```
@@ -38,6 +38,10 @@ 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 = { // DeleteVaultNotificationsInput
42
+ * accountId: "STRING_VALUE", // required
43
+ * vaultName: "STRING_VALUE", // required
44
+ * };
41
45
  * const command = new DeleteVaultNotificationsCommand(input);
42
46
  * const response = await client.send(command);
43
47
  * ```
@@ -49,6 +49,11 @@ 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 = { // DescribeJobInput
53
+ * accountId: "STRING_VALUE", // required
54
+ * vaultName: "STRING_VALUE", // required
55
+ * jobId: "STRING_VALUE", // required
56
+ * };
52
57
  * const command = new DescribeJobCommand(input);
53
58
  * const response = await client.send(command);
54
59
  * ```
@@ -43,6 +43,10 @@ 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 = { // DescribeVaultInput
47
+ * accountId: "STRING_VALUE", // required
48
+ * vaultName: "STRING_VALUE", // required
49
+ * };
46
50
  * const command = new DescribeVaultCommand(input);
47
51
  * const response = await client.send(command);
48
52
  * ```
@@ -28,6 +28,9 @@ 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 = { // GetDataRetrievalPolicyInput
32
+ * accountId: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new GetDataRetrievalPolicyCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -62,6 +62,12 @@ 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 = { // GetJobOutputInput
66
+ * accountId: "STRING_VALUE", // required
67
+ * vaultName: "STRING_VALUE", // required
68
+ * jobId: "STRING_VALUE", // required
69
+ * range: "STRING_VALUE",
70
+ * };
65
71
  * const command = new GetJobOutputCommand(input);
66
72
  * const response = await client.send(command);
67
73
  * ```
@@ -31,6 +31,10 @@ 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 = { // GetVaultAccessPolicyInput
35
+ * accountId: "STRING_VALUE", // required
36
+ * vaultName: "STRING_VALUE", // required
37
+ * };
34
38
  * const command = new GetVaultAccessPolicyCommand(input);
35
39
  * const response = await client.send(command);
36
40
  * ```
@@ -53,6 +53,10 @@ 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 = { // GetVaultLockInput
57
+ * accountId: "STRING_VALUE", // required
58
+ * vaultName: "STRING_VALUE", // required
59
+ * };
56
60
  * const command = new GetVaultLockCommand(input);
57
61
  * const response = await client.send(command);
58
62
  * ```
@@ -41,6 +41,10 @@ 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 = { // GetVaultNotificationsInput
45
+ * accountId: "STRING_VALUE", // required
46
+ * vaultName: "STRING_VALUE", // required
47
+ * };
44
48
  * const command = new GetVaultNotificationsCommand(input);
45
49
  * const response = await client.send(command);
46
50
  * ```
@@ -30,6 +30,79 @@ 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 = { // InitiateJobInput
34
+ * accountId: "STRING_VALUE", // required
35
+ * vaultName: "STRING_VALUE", // required
36
+ * jobParameters: { // JobParameters
37
+ * Format: "STRING_VALUE",
38
+ * Type: "STRING_VALUE",
39
+ * ArchiveId: "STRING_VALUE",
40
+ * Description: "STRING_VALUE",
41
+ * SNSTopic: "STRING_VALUE",
42
+ * RetrievalByteRange: "STRING_VALUE",
43
+ * Tier: "STRING_VALUE",
44
+ * InventoryRetrievalParameters: { // InventoryRetrievalJobInput
45
+ * StartDate: "STRING_VALUE",
46
+ * EndDate: "STRING_VALUE",
47
+ * Limit: "STRING_VALUE",
48
+ * Marker: "STRING_VALUE",
49
+ * },
50
+ * SelectParameters: { // SelectParameters
51
+ * InputSerialization: { // InputSerialization
52
+ * csv: { // CSVInput
53
+ * FileHeaderInfo: "USE" || "IGNORE" || "NONE",
54
+ * Comments: "STRING_VALUE",
55
+ * QuoteEscapeCharacter: "STRING_VALUE",
56
+ * RecordDelimiter: "STRING_VALUE",
57
+ * FieldDelimiter: "STRING_VALUE",
58
+ * QuoteCharacter: "STRING_VALUE",
59
+ * },
60
+ * },
61
+ * ExpressionType: "SQL",
62
+ * Expression: "STRING_VALUE",
63
+ * OutputSerialization: { // OutputSerialization
64
+ * csv: { // CSVOutput
65
+ * QuoteFields: "ALWAYS" || "ASNEEDED",
66
+ * QuoteEscapeCharacter: "STRING_VALUE",
67
+ * RecordDelimiter: "STRING_VALUE",
68
+ * FieldDelimiter: "STRING_VALUE",
69
+ * QuoteCharacter: "STRING_VALUE",
70
+ * },
71
+ * },
72
+ * },
73
+ * OutputLocation: { // OutputLocation
74
+ * S3: { // S3Location
75
+ * BucketName: "STRING_VALUE",
76
+ * Prefix: "STRING_VALUE",
77
+ * Encryption: { // Encryption
78
+ * EncryptionType: "aws:kms" || "AES256",
79
+ * KMSKeyId: "STRING_VALUE",
80
+ * KMSContext: "STRING_VALUE",
81
+ * },
82
+ * CannedACL: "private" || "public-read" || "public-read-write" || "aws-exec-read" || "authenticated-read" || "bucket-owner-read" || "bucket-owner-full-control",
83
+ * AccessControlList: [ // AccessControlPolicyList
84
+ * { // Grant
85
+ * Grantee: { // Grantee
86
+ * Type: "AmazonCustomerByEmail" || "CanonicalUser" || "Group", // required
87
+ * DisplayName: "STRING_VALUE",
88
+ * URI: "STRING_VALUE",
89
+ * ID: "STRING_VALUE",
90
+ * EmailAddress: "STRING_VALUE",
91
+ * },
92
+ * Permission: "FULL_CONTROL" || "WRITE" || "WRITE_ACP" || "READ" || "READ_ACP",
93
+ * },
94
+ * ],
95
+ * Tagging: { // hashmap
96
+ * "<keys>": "STRING_VALUE",
97
+ * },
98
+ * UserMetadata: {
99
+ * "<keys>": "STRING_VALUE",
100
+ * },
101
+ * StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA",
102
+ * },
103
+ * },
104
+ * },
105
+ * };
33
106
  * const command = new InitiateJobCommand(input);
34
107
  * const response = await client.send(command);
35
108
  * ```
@@ -59,6 +59,12 @@ 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 = { // InitiateMultipartUploadInput
63
+ * accountId: "STRING_VALUE", // required
64
+ * vaultName: "STRING_VALUE", // required
65
+ * archiveDescription: "STRING_VALUE",
66
+ * partSize: "STRING_VALUE",
67
+ * };
62
68
  * const command = new InitiateMultipartUploadCommand(input);
63
69
  * const response = await client.send(command);
64
70
  * ```
@@ -60,6 +60,13 @@ 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 = { // InitiateVaultLockInput
64
+ * accountId: "STRING_VALUE", // required
65
+ * vaultName: "STRING_VALUE", // required
66
+ * policy: { // VaultLockPolicy
67
+ * Policy: "STRING_VALUE",
68
+ * },
69
+ * };
63
70
  * const command = new InitiateVaultLockCommand(input);
64
71
  * const response = await client.send(command);
65
72
  * ```
@@ -61,6 +61,14 @@ 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 = { // ListJobsInput
65
+ * accountId: "STRING_VALUE", // required
66
+ * vaultName: "STRING_VALUE", // required
67
+ * limit: Number("int"),
68
+ * marker: "STRING_VALUE",
69
+ * statuscode: "STRING_VALUE",
70
+ * completed: "STRING_VALUE",
71
+ * };
64
72
  * const command = new ListJobsCommand(input);
65
73
  * const response = await client.send(command);
66
74
  * ```
@@ -51,6 +51,12 @@ 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 = { // ListMultipartUploadsInput
55
+ * accountId: "STRING_VALUE", // required
56
+ * vaultName: "STRING_VALUE", // required
57
+ * limit: Number("int"),
58
+ * marker: "STRING_VALUE",
59
+ * };
54
60
  * const command = new ListMultipartUploadsCommand(input);
55
61
  * const response = await client.send(command);
56
62
  * ```
@@ -47,6 +47,13 @@ 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 = { // ListPartsInput
51
+ * accountId: "STRING_VALUE", // required
52
+ * vaultName: "STRING_VALUE", // required
53
+ * uploadId: "STRING_VALUE", // required
54
+ * marker: "STRING_VALUE",
55
+ * limit: Number("int"),
56
+ * };
50
57
  * const command = new ListPartsCommand(input);
51
58
  * const response = await client.send(command);
52
59
  * ```
@@ -27,6 +27,9 @@ 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 = { // ListProvisionedCapacityInput
31
+ * accountId: "STRING_VALUE", // required
32
+ * };
30
33
  * const command = new ListProvisionedCapacityCommand(input);
31
34
  * const response = await client.send(command);
32
35
  * ```
@@ -28,6 +28,10 @@ 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 = { // ListTagsForVaultInput
32
+ * accountId: "STRING_VALUE", // required
33
+ * vaultName: "STRING_VALUE", // required
34
+ * };
31
35
  * const command = new ListTagsForVaultCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -44,6 +44,11 @@ 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 = { // ListVaultsInput
48
+ * accountId: "STRING_VALUE", // required
49
+ * marker: "STRING_VALUE",
50
+ * limit: Number("int"),
51
+ * };
47
52
  * const command = new ListVaultsCommand(input);
48
53
  * const response = await client.send(command);
49
54
  * ```
@@ -26,6 +26,9 @@ 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 = { // PurchaseProvisionedCapacityInput
30
+ * accountId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new PurchaseProvisionedCapacityCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -29,6 +29,13 @@ 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 = { // RemoveTagsFromVaultInput
33
+ * accountId: "STRING_VALUE", // required
34
+ * vaultName: "STRING_VALUE", // required
35
+ * TagKeys: [ // TagKeyList
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * };
32
39
  * const command = new RemoveTagsFromVaultCommand(input);
33
40
  * const response = await client.send(command);
34
41
  * ```
@@ -31,6 +31,17 @@ 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 = { // SetDataRetrievalPolicyInput
35
+ * accountId: "STRING_VALUE", // required
36
+ * Policy: { // DataRetrievalPolicy
37
+ * Rules: [ // DataRetrievalRulesList
38
+ * { // DataRetrievalRule
39
+ * Strategy: "STRING_VALUE",
40
+ * BytesPerHour: Number("long"),
41
+ * },
42
+ * ],
43
+ * },
44
+ * };
34
45
  * const command = new SetDataRetrievalPolicyCommand(input);
35
46
  * const response = await client.send(command);
36
47
  * ```
@@ -31,6 +31,13 @@ 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 = { // SetVaultAccessPolicyInput
35
+ * accountId: "STRING_VALUE", // required
36
+ * vaultName: "STRING_VALUE", // required
37
+ * policy: { // VaultAccessPolicy
38
+ * Policy: "STRING_VALUE",
39
+ * },
40
+ * };
34
41
  * const command = new SetVaultAccessPolicyCommand(input);
35
42
  * const response = await client.send(command);
36
43
  * ```
@@ -63,6 +63,16 @@ 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 = { // SetVaultNotificationsInput
67
+ * accountId: "STRING_VALUE", // required
68
+ * vaultName: "STRING_VALUE", // required
69
+ * vaultNotificationConfig: { // VaultNotificationConfig
70
+ * SNSTopic: "STRING_VALUE",
71
+ * Events: [ // NotificationEventList
72
+ * "STRING_VALUE",
73
+ * ],
74
+ * },
75
+ * };
66
76
  * const command = new SetVaultNotificationsCommand(input);
67
77
  * const response = await client.send(command);
68
78
  * ```
@@ -67,6 +67,13 @@ 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 = { // UploadArchiveInput
71
+ * vaultName: "STRING_VALUE", // required
72
+ * accountId: "STRING_VALUE", // required
73
+ * archiveDescription: "STRING_VALUE",
74
+ * checksum: "STRING_VALUE",
75
+ * body: "STREAMING_BLOB_VALUE",
76
+ * };
70
77
  * const command = new UploadArchiveCommand(input);
71
78
  * const response = await client.send(command);
72
79
  * ```
@@ -86,6 +86,14 @@ 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 = { // UploadMultipartPartInput
90
+ * accountId: "STRING_VALUE", // required
91
+ * vaultName: "STRING_VALUE", // required
92
+ * uploadId: "STRING_VALUE", // required
93
+ * checksum: "STRING_VALUE",
94
+ * range: "STRING_VALUE",
95
+ * body: "STREAMING_BLOB_VALUE",
96
+ * };
89
97
  * const command = new UploadMultipartPartCommand(input);
90
98
  * const response = await client.send(command);
91
99
  * ```
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.299.0",
4
+ "version": "3.301.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",
@@ -23,9 +23,9 @@
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
24
  "@aws-sdk/body-checksum-browser": "3.296.0",
25
25
  "@aws-sdk/body-checksum-node": "3.296.0",
26
- "@aws-sdk/client-sts": "3.299.0",
27
- "@aws-sdk/config-resolver": "3.299.0",
28
- "@aws-sdk/credential-provider-node": "3.299.0",
26
+ "@aws-sdk/client-sts": "3.301.0",
27
+ "@aws-sdk/config-resolver": "3.300.0",
28
+ "@aws-sdk/credential-provider-node": "3.301.0",
29
29
  "@aws-sdk/fetch-http-handler": "3.296.0",
30
30
  "@aws-sdk/hash-node": "3.296.0",
31
31
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -34,13 +34,13 @@
34
34
  "@aws-sdk/middleware-host-header": "3.296.0",
35
35
  "@aws-sdk/middleware-logger": "3.296.0",
36
36
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
37
- "@aws-sdk/middleware-retry": "3.296.0",
37
+ "@aws-sdk/middleware-retry": "3.300.0",
38
38
  "@aws-sdk/middleware-sdk-glacier": "3.296.0",
39
39
  "@aws-sdk/middleware-serde": "3.296.0",
40
40
  "@aws-sdk/middleware-signing": "3.299.0",
41
41
  "@aws-sdk/middleware-stack": "3.296.0",
42
42
  "@aws-sdk/middleware-user-agent": "3.299.0",
43
- "@aws-sdk/node-config-provider": "3.296.0",
43
+ "@aws-sdk/node-config-provider": "3.300.0",
44
44
  "@aws-sdk/node-http-handler": "3.296.0",
45
45
  "@aws-sdk/protocol-http": "3.296.0",
46
46
  "@aws-sdk/smithy-client": "3.296.0",
@@ -50,13 +50,13 @@
50
50
  "@aws-sdk/util-body-length-browser": "3.295.0",
51
51
  "@aws-sdk/util-body-length-node": "3.295.0",
52
52
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
53
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
53
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
54
54
  "@aws-sdk/util-endpoints": "3.296.0",
55
55
  "@aws-sdk/util-retry": "3.296.0",
56
56
  "@aws-sdk/util-stream-browser": "3.296.0",
57
57
  "@aws-sdk/util-stream-node": "3.296.0",
58
58
  "@aws-sdk/util-user-agent-browser": "3.299.0",
59
- "@aws-sdk/util-user-agent-node": "3.299.0",
59
+ "@aws-sdk/util-user-agent-node": "3.300.0",
60
60
  "@aws-sdk/util-utf8": "3.295.0",
61
61
  "@aws-sdk/util-waiter": "3.296.0",
62
62
  "tslib": "^2.5.0"