@aws-sdk/client-glacier 3.478.0 → 3.484.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/commands/AbortMultipartUploadCommand.js +18 -41
- package/dist-cjs/commands/AbortVaultLockCommand.js +18 -41
- package/dist-cjs/commands/AddTagsToVaultCommand.js +18 -41
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +18 -41
- package/dist-cjs/commands/CompleteVaultLockCommand.js +18 -41
- package/dist-cjs/commands/CreateVaultCommand.js +18 -41
- package/dist-cjs/commands/DeleteArchiveCommand.js +18 -41
- package/dist-cjs/commands/DeleteVaultAccessPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteVaultCommand.js +18 -41
- package/dist-cjs/commands/DeleteVaultNotificationsCommand.js +18 -41
- package/dist-cjs/commands/DescribeJobCommand.js +18 -41
- package/dist-cjs/commands/DescribeVaultCommand.js +18 -41
- package/dist-cjs/commands/GetDataRetrievalPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetJobOutputCommand.js +18 -41
- package/dist-cjs/commands/GetVaultAccessPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetVaultLockCommand.js +18 -41
- package/dist-cjs/commands/GetVaultNotificationsCommand.js +18 -41
- package/dist-cjs/commands/InitiateJobCommand.js +18 -41
- package/dist-cjs/commands/InitiateMultipartUploadCommand.js +18 -41
- package/dist-cjs/commands/InitiateVaultLockCommand.js +18 -41
- package/dist-cjs/commands/ListJobsCommand.js +18 -41
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +18 -41
- package/dist-cjs/commands/ListPartsCommand.js +18 -41
- package/dist-cjs/commands/ListProvisionedCapacityCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForVaultCommand.js +18 -41
- package/dist-cjs/commands/ListVaultsCommand.js +18 -41
- package/dist-cjs/commands/PurchaseProvisionedCapacityCommand.js +18 -41
- package/dist-cjs/commands/RemoveTagsFromVaultCommand.js +18 -41
- package/dist-cjs/commands/SetDataRetrievalPolicyCommand.js +18 -41
- package/dist-cjs/commands/SetVaultAccessPolicyCommand.js +18 -41
- package/dist-cjs/commands/SetVaultNotificationsCommand.js +18 -41
- package/dist-cjs/commands/UploadArchiveCommand.js +18 -41
- package/dist-cjs/commands/UploadMultipartPartCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AbortMultipartUploadCommand.js +18 -41
- package/dist-es/commands/AbortVaultLockCommand.js +18 -41
- package/dist-es/commands/AddTagsToVaultCommand.js +18 -41
- package/dist-es/commands/CompleteMultipartUploadCommand.js +18 -41
- package/dist-es/commands/CompleteVaultLockCommand.js +18 -41
- package/dist-es/commands/CreateVaultCommand.js +18 -41
- package/dist-es/commands/DeleteArchiveCommand.js +18 -41
- package/dist-es/commands/DeleteVaultAccessPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteVaultCommand.js +18 -41
- package/dist-es/commands/DeleteVaultNotificationsCommand.js +18 -41
- package/dist-es/commands/DescribeJobCommand.js +18 -41
- package/dist-es/commands/DescribeVaultCommand.js +18 -41
- package/dist-es/commands/GetDataRetrievalPolicyCommand.js +18 -41
- package/dist-es/commands/GetJobOutputCommand.js +18 -41
- package/dist-es/commands/GetVaultAccessPolicyCommand.js +18 -41
- package/dist-es/commands/GetVaultLockCommand.js +18 -41
- package/dist-es/commands/GetVaultNotificationsCommand.js +18 -41
- package/dist-es/commands/InitiateJobCommand.js +18 -41
- package/dist-es/commands/InitiateMultipartUploadCommand.js +18 -41
- package/dist-es/commands/InitiateVaultLockCommand.js +18 -41
- package/dist-es/commands/ListJobsCommand.js +18 -41
- package/dist-es/commands/ListMultipartUploadsCommand.js +18 -41
- package/dist-es/commands/ListPartsCommand.js +18 -41
- package/dist-es/commands/ListProvisionedCapacityCommand.js +18 -41
- package/dist-es/commands/ListTagsForVaultCommand.js +18 -41
- package/dist-es/commands/ListVaultsCommand.js +18 -41
- package/dist-es/commands/PurchaseProvisionedCapacityCommand.js +18 -41
- package/dist-es/commands/RemoveTagsFromVaultCommand.js +18 -41
- package/dist-es/commands/SetDataRetrievalPolicyCommand.js +18 -41
- package/dist-es/commands/SetVaultAccessPolicyCommand.js +18 -41
- package/dist-es/commands/SetVaultNotificationsCommand.js +18 -41
- package/dist-es/commands/UploadArchiveCommand.js +18 -41
- package/dist-es/commands/UploadMultipartPartCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +6 -21
- package/dist-types/commands/AbortVaultLockCommand.d.ts +6 -21
- package/dist-types/commands/AddTagsToVaultCommand.d.ts +6 -21
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +6 -21
- package/dist-types/commands/CompleteVaultLockCommand.d.ts +6 -21
- package/dist-types/commands/CreateVaultCommand.d.ts +6 -21
- package/dist-types/commands/DeleteArchiveCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVaultCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeJobCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVaultCommand.d.ts +6 -21
- package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetJobOutputCommand.d.ts +6 -21
- package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetVaultLockCommand.d.ts +6 -21
- package/dist-types/commands/GetVaultNotificationsCommand.d.ts +6 -21
- package/dist-types/commands/InitiateJobCommand.d.ts +6 -21
- package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +6 -21
- package/dist-types/commands/InitiateVaultLockCommand.d.ts +6 -21
- package/dist-types/commands/ListJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +6 -21
- package/dist-types/commands/ListPartsCommand.d.ts +6 -21
- package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForVaultCommand.d.ts +6 -21
- package/dist-types/commands/ListVaultsCommand.d.ts +6 -21
- package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +6 -21
- package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +6 -21
- package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +6 -21
- package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +6 -21
- package/dist-types/commands/SetVaultNotificationsCommand.d.ts +6 -21
- package/dist-types/commands/UploadArchiveCommand.d.ts +6 -21
- package/dist-types/commands/UploadMultipartPartCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/AbortVaultLockCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AddTagsToVaultCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CompleteVaultLockCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateVaultCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteVaultAccessPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteVaultCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteVaultNotificationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeVaultCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDataRetrievalPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetJobOutputCommand.d.ts +13 -20
- package/dist-types/ts3.4/commands/GetVaultAccessPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetVaultLockCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetVaultNotificationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/InitiateJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/InitiateMultipartUploadCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/InitiateVaultLockCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListProvisionedCapacityCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForVaultCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVaultsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PurchaseProvisionedCapacityCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveTagsFromVaultCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SetDataRetrievalPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetVaultAccessPolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SetVaultNotificationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UploadArchiveCommand.d.ts +13 -20
- package/dist-types/ts3.4/commands/UploadMultipartPartCommand.d.ts +13 -20
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class RemoveTagsFromVaultCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "GlacierClient";
|
|
29
|
-
const commandName = "RemoveTagsFromVaultCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Glacier",
|
|
38
|
-
operation: "RemoveTagsFromVault",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_RemoveTagsFromVaultCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_RemoveTagsFromVaultCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class RemoveTagsFromVaultCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Glacier", "RemoveTagsFromVault", {})
|
|
22
|
+
.n("GlacierClient", "RemoveTagsFromVaultCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_RemoveTagsFromVaultCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_RemoveTagsFromVaultCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.RemoveTagsFromVaultCommand = RemoveTagsFromVaultCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class SetDataRetrievalPolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "GlacierClient";
|
|
29
|
-
const commandName = "SetDataRetrievalPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Glacier",
|
|
38
|
-
operation: "SetDataRetrievalPolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_SetDataRetrievalPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_SetDataRetrievalPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class SetDataRetrievalPolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Glacier", "SetDataRetrievalPolicy", {})
|
|
22
|
+
.n("GlacierClient", "SetDataRetrievalPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_SetDataRetrievalPolicyCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_SetDataRetrievalPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.SetDataRetrievalPolicyCommand = SetDataRetrievalPolicyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class SetVaultAccessPolicyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "GlacierClient";
|
|
29
|
-
const commandName = "SetVaultAccessPolicyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Glacier",
|
|
38
|
-
operation: "SetVaultAccessPolicy",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_SetVaultAccessPolicyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_SetVaultAccessPolicyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class SetVaultAccessPolicyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Glacier", "SetVaultAccessPolicy", {})
|
|
22
|
+
.n("GlacierClient", "SetVaultAccessPolicyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_SetVaultAccessPolicyCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_SetVaultAccessPolicyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.SetVaultAccessPolicyCommand = SetVaultAccessPolicyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class SetVaultNotificationsCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "GlacierClient";
|
|
29
|
-
const commandName = "SetVaultNotificationsCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Glacier",
|
|
38
|
-
operation: "SetVaultNotifications",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_SetVaultNotificationsCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_SetVaultNotificationsCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class SetVaultNotificationsCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Glacier", "SetVaultNotifications", {})
|
|
22
|
+
.n("GlacierClient", "SetVaultNotificationsCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_SetVaultNotificationsCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_SetVaultNotificationsCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.SetVaultNotificationsCommand = SetVaultNotificationsCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class UploadArchiveCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "GlacierClient";
|
|
30
|
-
const commandName = "UploadArchiveCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UploadArchiveInputFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "Glacier",
|
|
39
|
-
operation: "UploadArchive",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UploadArchiveCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UploadArchiveCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UploadArchiveCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("Glacier", "UploadArchive", {})
|
|
23
|
+
.n("GlacierClient", "UploadArchiveCommand")
|
|
24
|
+
.f(models_0_1.UploadArchiveInputFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UploadArchiveCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UploadArchiveCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UploadArchiveCommand = UploadArchiveCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class UploadMultipartPartCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "GlacierClient";
|
|
30
|
-
const commandName = "UploadMultipartPartCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.UploadMultipartPartInputFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "Glacier",
|
|
39
|
-
operation: "UploadMultipartPart",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_UploadMultipartPartCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_UploadMultipartPartCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class UploadMultipartPartCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("Glacier", "UploadMultipartPart", {})
|
|
23
|
+
.n("GlacierClient", "UploadMultipartPartCommand")
|
|
24
|
+
.f(models_0_1.UploadMultipartPartInputFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_UploadMultipartPartCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_UploadMultipartPartCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.UploadMultipartPartCommand = UploadMultipartPartCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AbortMultipartUploadCommand, se_AbortMultipartUploadCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AbortMultipartUploadCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "GlacierClient";
|
|
26
|
-
const commandName = "AbortMultipartUploadCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Glacier",
|
|
35
|
-
operation: "AbortMultipartUpload",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AbortMultipartUploadCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AbortMultipartUploadCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AbortMultipartUploadCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Glacier", "AbortMultipartUpload", {})
|
|
19
|
+
.n("GlacierClient", "AbortMultipartUploadCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AbortMultipartUploadCommand)
|
|
22
|
+
.de(de_AbortMultipartUploadCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AbortVaultLockCommand, se_AbortVaultLockCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AbortVaultLockCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "GlacierClient";
|
|
26
|
-
const commandName = "AbortVaultLockCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Glacier",
|
|
35
|
-
operation: "AbortVaultLock",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AbortVaultLockCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AbortVaultLockCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AbortVaultLockCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Glacier", "AbortVaultLock", {})
|
|
19
|
+
.n("GlacierClient", "AbortVaultLockCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AbortVaultLockCommand)
|
|
22
|
+
.de(de_AbortVaultLockCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_AddTagsToVaultCommand, se_AddTagsToVaultCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AddTagsToVaultCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "GlacierClient";
|
|
26
|
-
const commandName = "AddTagsToVaultCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Glacier",
|
|
35
|
-
operation: "AddTagsToVault",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_AddTagsToVaultCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AddTagsToVaultCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AddTagsToVaultCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Glacier", "AddTagsToVault", {})
|
|
19
|
+
.n("GlacierClient", "AddTagsToVaultCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AddTagsToVaultCommand)
|
|
22
|
+
.de(de_AddTagsToVaultCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|