@aws-sdk/client-glacier 3.490.0 → 3.495.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/Glacier.js +1 -77
- package/dist-cjs/GlacierClient.js +1 -58
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -43
- package/dist-cjs/commands/AbortMultipartUploadCommand.js +1 -28
- package/dist-cjs/commands/AbortVaultLockCommand.js +1 -28
- package/dist-cjs/commands/AddTagsToVaultCommand.js +1 -28
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +1 -28
- package/dist-cjs/commands/CompleteVaultLockCommand.js +1 -28
- package/dist-cjs/commands/CreateVaultCommand.js +1 -28
- package/dist-cjs/commands/DeleteArchiveCommand.js +1 -28
- package/dist-cjs/commands/DeleteVaultAccessPolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteVaultCommand.js +1 -28
- package/dist-cjs/commands/DeleteVaultNotificationsCommand.js +1 -28
- package/dist-cjs/commands/DescribeJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeVaultCommand.js +1 -28
- package/dist-cjs/commands/GetDataRetrievalPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetJobOutputCommand.js +1 -29
- package/dist-cjs/commands/GetVaultAccessPolicyCommand.js +1 -28
- package/dist-cjs/commands/GetVaultLockCommand.js +1 -28
- package/dist-cjs/commands/GetVaultNotificationsCommand.js +1 -28
- package/dist-cjs/commands/InitiateJobCommand.js +1 -28
- package/dist-cjs/commands/InitiateMultipartUploadCommand.js +1 -28
- package/dist-cjs/commands/InitiateVaultLockCommand.js +1 -28
- package/dist-cjs/commands/ListJobsCommand.js +1 -28
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +1 -28
- package/dist-cjs/commands/ListPartsCommand.js +1 -28
- package/dist-cjs/commands/ListProvisionedCapacityCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForVaultCommand.js +1 -28
- package/dist-cjs/commands/ListVaultsCommand.js +1 -28
- package/dist-cjs/commands/PurchaseProvisionedCapacityCommand.js +1 -28
- package/dist-cjs/commands/RemoveTagsFromVaultCommand.js +1 -28
- package/dist-cjs/commands/SetDataRetrievalPolicyCommand.js +1 -28
- package/dist-cjs/commands/SetVaultAccessPolicyCommand.js +1 -28
- package/dist-cjs/commands/SetVaultNotificationsCommand.js +1 -28
- package/dist-cjs/commands/UploadArchiveCommand.js +1 -29
- package/dist-cjs/commands/UploadMultipartPartCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -36
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3220 -12
- package/dist-cjs/models/GlacierServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -188
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListMultipartUploadsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPartsPaginator.js +1 -7
- package/dist-cjs/pagination/ListVaultsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -8
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2074
- package/dist-cjs/runtimeExtensions.js +1 -25
- package/dist-cjs/waiters/index.js +1 -5
- package/dist-cjs/waiters/waitForVaultExists.js +1 -31
- package/dist-cjs/waiters/waitForVaultNotExists.js +1 -31
- package/package.json +45 -45
|
@@ -1,25 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
|
|
8
|
-
const asPartial = (t) => t;
|
|
9
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
10
|
-
const extensionConfiguration = {
|
|
11
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
14
|
-
...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
|
|
15
|
-
};
|
|
16
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
17
|
-
return {
|
|
18
|
-
...runtimeConfig,
|
|
19
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
20
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
21
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
22
|
-
...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./waitForVaultExists"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./waitForVaultNotExists"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilVaultExists = exports.waitForVaultExists = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeVaultCommand_1 = require("../commands/DescribeVaultCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeVaultCommand_1.DescribeVaultCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
12
|
-
}
|
|
13
|
-
catch (exception) {
|
|
14
|
-
reason = exception;
|
|
15
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
16
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
20
|
-
};
|
|
21
|
-
const waitForVaultExists = async (params, input) => {
|
|
22
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
23
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
24
|
-
};
|
|
25
|
-
exports.waitForVaultExists = waitForVaultExists;
|
|
26
|
-
const waitUntilVaultExists = async (params, input) => {
|
|
27
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
28
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
29
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
30
|
-
};
|
|
31
|
-
exports.waitUntilVaultExists = waitUntilVaultExists;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.waitUntilVaultNotExists = exports.waitForVaultNotExists = void 0;
|
|
4
|
-
const util_waiter_1 = require("@smithy/util-waiter");
|
|
5
|
-
const DescribeVaultCommand_1 = require("../commands/DescribeVaultCommand");
|
|
6
|
-
const checkState = async (client, input) => {
|
|
7
|
-
let reason;
|
|
8
|
-
try {
|
|
9
|
-
const result = await client.send(new DescribeVaultCommand_1.DescribeVaultCommand(input));
|
|
10
|
-
reason = result;
|
|
11
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
12
|
-
}
|
|
13
|
-
catch (exception) {
|
|
14
|
-
reason = exception;
|
|
15
|
-
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
16
|
-
return { state: util_waiter_1.WaiterState.SUCCESS, reason };
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
return { state: util_waiter_1.WaiterState.RETRY, reason };
|
|
20
|
-
};
|
|
21
|
-
const waitForVaultNotExists = async (params, input) => {
|
|
22
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
23
|
-
return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
24
|
-
};
|
|
25
|
-
exports.waitForVaultNotExists = waitForVaultNotExists;
|
|
26
|
-
const waitUntilVaultNotExists = async (params, input) => {
|
|
27
|
-
const serviceDefaults = { minDelay: 3, maxDelay: 120 };
|
|
28
|
-
const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
29
|
-
return (0, util_waiter_1.checkExceptions)(result);
|
|
30
|
-
};
|
|
31
|
-
exports.waitUntilVaultNotExists = waitUntilVaultNotExists;
|
|
1
|
+
module.exports = require("../index.js");
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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.
|
|
4
|
+
"version": "3.495.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-glacier",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,52 +20,52 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/body-checksum-browser": "3.
|
|
24
|
-
"@aws-sdk/body-checksum-node": "3.
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-sdk-glacier": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
-
"@smithy/config-resolver": "^2.0
|
|
39
|
-
"@smithy/core": "^1.
|
|
40
|
-
"@smithy/fetch-http-handler": "^2.
|
|
41
|
-
"@smithy/hash-node": "^2.0
|
|
42
|
-
"@smithy/invalid-dependency": "^2.0
|
|
43
|
-
"@smithy/middleware-content-length": "^2.0
|
|
44
|
-
"@smithy/middleware-endpoint": "^2.
|
|
45
|
-
"@smithy/middleware-retry": "^2.0
|
|
46
|
-
"@smithy/middleware-serde": "^2.0
|
|
47
|
-
"@smithy/middleware-stack": "^2.0
|
|
48
|
-
"@smithy/node-config-provider": "^2.
|
|
49
|
-
"@smithy/node-http-handler": "^2.
|
|
50
|
-
"@smithy/protocol-http": "^3.0
|
|
51
|
-
"@smithy/smithy-client": "^2.
|
|
52
|
-
"@smithy/types": "^2.
|
|
53
|
-
"@smithy/url-parser": "^2.0
|
|
54
|
-
"@smithy/util-base64": "^2.0
|
|
55
|
-
"@smithy/util-body-length-browser": "^2.0
|
|
56
|
-
"@smithy/util-body-length-node": "^2.
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^2.0
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^2.0
|
|
59
|
-
"@smithy/util-endpoints": "^1.0
|
|
60
|
-
"@smithy/util-middleware": "^2.0
|
|
61
|
-
"@smithy/util-retry": "^2.0
|
|
62
|
-
"@smithy/util-stream": "^2.0
|
|
63
|
-
"@smithy/util-utf8": "^2.0
|
|
64
|
-
"@smithy/util-waiter": "^2.0
|
|
23
|
+
"@aws-sdk/body-checksum-browser": "3.495.0",
|
|
24
|
+
"@aws-sdk/body-checksum-node": "3.495.0",
|
|
25
|
+
"@aws-sdk/client-sts": "3.495.0",
|
|
26
|
+
"@aws-sdk/core": "3.495.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.495.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.495.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.495.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.495.0",
|
|
31
|
+
"@aws-sdk/middleware-sdk-glacier": "3.495.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.495.0",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "3.495.0",
|
|
34
|
+
"@aws-sdk/types": "3.495.0",
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.495.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "3.495.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.495.0",
|
|
38
|
+
"@smithy/config-resolver": "^2.1.0",
|
|
39
|
+
"@smithy/core": "^1.3.0",
|
|
40
|
+
"@smithy/fetch-http-handler": "^2.4.0",
|
|
41
|
+
"@smithy/hash-node": "^2.1.0",
|
|
42
|
+
"@smithy/invalid-dependency": "^2.1.0",
|
|
43
|
+
"@smithy/middleware-content-length": "^2.1.0",
|
|
44
|
+
"@smithy/middleware-endpoint": "^2.4.0",
|
|
45
|
+
"@smithy/middleware-retry": "^2.1.0",
|
|
46
|
+
"@smithy/middleware-serde": "^2.1.0",
|
|
47
|
+
"@smithy/middleware-stack": "^2.1.0",
|
|
48
|
+
"@smithy/node-config-provider": "^2.2.0",
|
|
49
|
+
"@smithy/node-http-handler": "^2.3.0",
|
|
50
|
+
"@smithy/protocol-http": "^3.1.0",
|
|
51
|
+
"@smithy/smithy-client": "^2.3.0",
|
|
52
|
+
"@smithy/types": "^2.9.0",
|
|
53
|
+
"@smithy/url-parser": "^2.1.0",
|
|
54
|
+
"@smithy/util-base64": "^2.1.0",
|
|
55
|
+
"@smithy/util-body-length-browser": "^2.1.0",
|
|
56
|
+
"@smithy/util-body-length-node": "^2.2.0",
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^2.1.0",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^2.1.0",
|
|
59
|
+
"@smithy/util-endpoints": "^1.1.0",
|
|
60
|
+
"@smithy/util-middleware": "^2.1.0",
|
|
61
|
+
"@smithy/util-retry": "^2.1.0",
|
|
62
|
+
"@smithy/util-stream": "^2.1.0",
|
|
63
|
+
"@smithy/util-utf8": "^2.1.0",
|
|
64
|
+
"@smithy/util-waiter": "^2.1.0",
|
|
65
65
|
"tslib": "^2.5.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
68
|
+
"@smithy/service-client-documentation-generator": "^2.1.0",
|
|
69
69
|
"@tsconfig/node14": "1.0.3",
|
|
70
70
|
"@types/node": "^14.14.31",
|
|
71
71
|
"concurrently": "7.0.0",
|