@aws-sdk/client-glacier 3.926.0 → 3.928.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.
- package/dist-cjs/index.js +1532 -1313
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/GlacierClient.js +2 -0
- package/dist-es/commands/AbortMultipartUploadCommand.js +3 -9
- package/dist-es/commands/AbortVaultLockCommand.js +3 -9
- package/dist-es/commands/AddTagsToVaultCommand.js +3 -9
- package/dist-es/commands/CompleteMultipartUploadCommand.js +3 -9
- package/dist-es/commands/CompleteVaultLockCommand.js +3 -9
- package/dist-es/commands/CreateVaultCommand.js +3 -9
- package/dist-es/commands/DeleteArchiveCommand.js +3 -9
- package/dist-es/commands/DeleteVaultAccessPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteVaultCommand.js +3 -9
- package/dist-es/commands/DeleteVaultNotificationsCommand.js +3 -9
- package/dist-es/commands/DescribeJobCommand.js +3 -9
- package/dist-es/commands/DescribeVaultCommand.js +3 -9
- package/dist-es/commands/GetDataRetrievalPolicyCommand.js +3 -9
- package/dist-es/commands/GetJobOutputCommand.js +3 -10
- package/dist-es/commands/GetVaultAccessPolicyCommand.js +3 -9
- package/dist-es/commands/GetVaultLockCommand.js +3 -9
- package/dist-es/commands/GetVaultNotificationsCommand.js +3 -9
- package/dist-es/commands/InitiateJobCommand.js +3 -9
- package/dist-es/commands/InitiateMultipartUploadCommand.js +3 -9
- package/dist-es/commands/InitiateVaultLockCommand.js +3 -9
- package/dist-es/commands/ListJobsCommand.js +3 -9
- package/dist-es/commands/ListMultipartUploadsCommand.js +3 -9
- package/dist-es/commands/ListPartsCommand.js +3 -9
- package/dist-es/commands/ListProvisionedCapacityCommand.js +3 -9
- package/dist-es/commands/ListTagsForVaultCommand.js +3 -9
- package/dist-es/commands/ListVaultsCommand.js +3 -9
- package/dist-es/commands/PurchaseProvisionedCapacityCommand.js +3 -9
- package/dist-es/commands/RemoveTagsFromVaultCommand.js +3 -9
- package/dist-es/commands/SetDataRetrievalPolicyCommand.js +3 -9
- package/dist-es/commands/SetVaultAccessPolicyCommand.js +3 -9
- package/dist-es/commands/SetVaultNotificationsCommand.js +3 -9
- package/dist-es/commands/UploadArchiveCommand.js +3 -10
- package/dist-es/commands/UploadMultipartPartCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1467 -0
- package/dist-types/GlacierClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +130 -0
- package/dist-types/ts3.4/GlacierClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +136 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_restJson1.js +0 -1070
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -299
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -404
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListParts } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPartsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Glacier", "ListParts", {})
|
|
17
13
|
.n("GlacierClient", "ListPartsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPartsCommand)
|
|
20
|
-
.de(de_ListPartsCommand)
|
|
14
|
+
.sc(ListParts)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListProvisionedCapacity } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListProvisionedCapacityCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Glacier", "ListProvisionedCapacity", {})
|
|
17
13
|
.n("GlacierClient", "ListProvisionedCapacityCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListProvisionedCapacityCommand)
|
|
20
|
-
.de(de_ListProvisionedCapacityCommand)
|
|
14
|
+
.sc(ListProvisionedCapacity)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListTagsForVault } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListTagsForVaultCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Glacier", "ListTagsForVault", {})
|
|
17
13
|
.n("GlacierClient", "ListTagsForVaultCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListTagsForVaultCommand)
|
|
20
|
-
.de(de_ListTagsForVaultCommand)
|
|
14
|
+
.sc(ListTagsForVault)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListVaults } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListVaultsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Glacier", "ListVaults", {})
|
|
17
13
|
.n("GlacierClient", "ListVaultsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListVaultsCommand)
|
|
20
|
-
.de(de_ListVaultsCommand)
|
|
14
|
+
.sc(ListVaults)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { PurchaseProvisionedCapacity } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class PurchaseProvisionedCapacityCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Glacier", "PurchaseProvisionedCapacity", {})
|
|
17
13
|
.n("GlacierClient", "PurchaseProvisionedCapacityCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_PurchaseProvisionedCapacityCommand)
|
|
20
|
-
.de(de_PurchaseProvisionedCapacityCommand)
|
|
14
|
+
.sc(PurchaseProvisionedCapacity)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { RemoveTagsFromVault } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class RemoveTagsFromVaultCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Glacier", "RemoveTagsFromVault", {})
|
|
17
13
|
.n("GlacierClient", "RemoveTagsFromVaultCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_RemoveTagsFromVaultCommand)
|
|
20
|
-
.de(de_RemoveTagsFromVaultCommand)
|
|
14
|
+
.sc(RemoveTagsFromVault)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SetDataRetrievalPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetDataRetrievalPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Glacier", "SetDataRetrievalPolicy", {})
|
|
17
13
|
.n("GlacierClient", "SetDataRetrievalPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetDataRetrievalPolicyCommand)
|
|
20
|
-
.de(de_SetDataRetrievalPolicyCommand)
|
|
14
|
+
.sc(SetDataRetrievalPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SetVaultAccessPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetVaultAccessPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Glacier", "SetVaultAccessPolicy", {})
|
|
17
13
|
.n("GlacierClient", "SetVaultAccessPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetVaultAccessPolicyCommand)
|
|
20
|
-
.de(de_SetVaultAccessPolicyCommand)
|
|
14
|
+
.sc(SetVaultAccessPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { SetVaultNotifications } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class SetVaultNotificationsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Glacier", "SetVaultNotifications", {})
|
|
17
13
|
.n("GlacierClient", "SetVaultNotificationsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_SetVaultNotificationsCommand)
|
|
20
|
-
.de(de_SetVaultNotificationsCommand)
|
|
14
|
+
.sc(SetVaultNotifications)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UploadArchiveCommand, se_UploadArchiveCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UploadArchive } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UploadArchiveCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("Glacier", "UploadArchive", {})
|
|
18
13
|
.n("GlacierClient", "UploadArchiveCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UploadArchiveCommand)
|
|
21
|
-
.de(de_UploadArchiveCommand)
|
|
14
|
+
.sc(UploadArchive)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UploadMultipartPartCommand, se_UploadMultipartPartCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UploadMultipartPart } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UploadMultipartPartCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("Glacier", "UploadMultipartPart", {})
|
|
18
13
|
.n("GlacierClient", "UploadMultipartPartCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UploadMultipartPartCommand)
|
|
21
|
-
.de(de_UploadMultipartPartCommand)
|
|
14
|
+
.sc(UploadMultipartPart)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -179,12 +179,3 @@ export class RequestTimeoutException extends __BaseException {
|
|
|
179
179
|
this.code = opts.code;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
export const GetJobOutputOutputFilterSensitiveLog = (obj) => ({
|
|
183
|
-
...obj,
|
|
184
|
-
});
|
|
185
|
-
export const UploadArchiveInputFilterSensitiveLog = (obj) => ({
|
|
186
|
-
...obj,
|
|
187
|
-
});
|
|
188
|
-
export const UploadMultipartPartInputFilterSensitiveLog = (obj) => ({
|
|
189
|
-
...obj,
|
|
190
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -23,6 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
24
|
},
|
|
24
25
|
],
|
|
25
26
|
logger: config?.logger ?? new NoOpLogger(),
|
|
27
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.glacier" }),
|
|
26
28
|
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
27
29
|
serviceId: config?.serviceId ?? "Glacier",
|
|
28
30
|
urlParser: config?.urlParser ?? parseUrl,
|