@aws-sdk/client-glacier 3.370.0 → 3.378.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-types/commands/GetJobOutputCommand.d.ts +3 -2
- package/dist-types/commands/UploadArchiveCommand.d.ts +3 -9
- package/dist-types/commands/UploadMultipartPartCommand.d.ts +3 -9
- package/dist-types/models/models_0.d.ts +4 -5
- package/dist-types/ts3.4/commands/GetJobOutputCommand.d.ts +5 -3
- package/dist-types/ts3.4/commands/UploadArchiveCommand.d.ts +4 -7
- package/dist-types/ts3.4/commands/UploadMultipartPartCommand.d.ts +7 -7
- package/dist-types/ts3.4/models/models_0.d.ts +4 -4
- package/package.json +40 -40
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadOutputTypes } from "@smithy/types";
|
|
4
4
|
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
5
5
|
import { GetJobOutputInput, GetJobOutputOutput } from "../models/models_0";
|
|
6
6
|
/**
|
|
@@ -19,7 +19,8 @@ export interface GetJobOutputCommandInput extends GetJobOutputInput {
|
|
|
19
19
|
*
|
|
20
20
|
* The output of {@link GetJobOutputCommand}.
|
|
21
21
|
*/
|
|
22
|
-
export interface GetJobOutputCommandOutput extends
|
|
22
|
+
export interface GetJobOutputCommandOutput extends Omit<GetJobOutputOutput, "body">, __MetadataBearer {
|
|
23
|
+
body?: StreamingBlobPayloadOutputTypes;
|
|
23
24
|
}
|
|
24
25
|
/**
|
|
25
26
|
* @public
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes } from "@smithy/types";
|
|
5
4
|
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
6
5
|
import { ArchiveCreationOutput, UploadArchiveInput } from "../models/models_0";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
10
9
|
export { __MetadataBearer, $Command };
|
|
11
|
-
export type UploadArchiveCommandInputType = Omit<UploadArchiveInput, "body"> & {
|
|
12
|
-
/**
|
|
13
|
-
* For *`UploadArchiveInput["body"]`*, see {@link UploadArchiveInput.body}.
|
|
14
|
-
*/
|
|
15
|
-
body?: UploadArchiveInput["body"] | string | Uint8Array | Buffer;
|
|
16
|
-
};
|
|
17
10
|
/**
|
|
18
11
|
* @public
|
|
19
12
|
*
|
|
20
13
|
* The input for {@link UploadArchiveCommand}.
|
|
21
14
|
*/
|
|
22
|
-
export interface UploadArchiveCommandInput extends
|
|
15
|
+
export interface UploadArchiveCommandInput extends Omit<UploadArchiveInput, "body"> {
|
|
16
|
+
body?: StreamingBlobPayloadInputTypes;
|
|
23
17
|
}
|
|
24
18
|
/**
|
|
25
19
|
* @public
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes } from "@smithy/types";
|
|
5
4
|
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
6
5
|
import { UploadMultipartPartInput, UploadMultipartPartOutput } from "../models/models_0";
|
|
7
6
|
/**
|
|
8
7
|
* @public
|
|
9
8
|
*/
|
|
10
9
|
export { __MetadataBearer, $Command };
|
|
11
|
-
export type UploadMultipartPartCommandInputType = Omit<UploadMultipartPartInput, "body"> & {
|
|
12
|
-
/**
|
|
13
|
-
* For *`UploadMultipartPartInput["body"]`*, see {@link UploadMultipartPartInput.body}.
|
|
14
|
-
*/
|
|
15
|
-
body?: UploadMultipartPartInput["body"] | string | Uint8Array | Buffer;
|
|
16
|
-
};
|
|
17
10
|
/**
|
|
18
11
|
* @public
|
|
19
12
|
*
|
|
20
13
|
* The input for {@link UploadMultipartPartCommand}.
|
|
21
14
|
*/
|
|
22
|
-
export interface UploadMultipartPartCommandInput extends
|
|
15
|
+
export interface UploadMultipartPartCommandInput extends Omit<UploadMultipartPartInput, "body"> {
|
|
16
|
+
body?: StreamingBlobPayloadInputTypes;
|
|
23
17
|
}
|
|
24
18
|
/**
|
|
25
19
|
* @public
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { StreamingBlobTypes } from "@smithy/types";
|
|
4
3
|
import { GlacierServiceException as __BaseException } from "./GlacierServiceException";
|
|
5
4
|
/**
|
|
6
5
|
* @public
|
|
@@ -1078,7 +1077,7 @@ export interface GetJobOutputOutput {
|
|
|
1078
1077
|
/**
|
|
1079
1078
|
* <p>The job data, either archive data or inventory data.</p>
|
|
1080
1079
|
*/
|
|
1081
|
-
body?:
|
|
1080
|
+
body?: StreamingBlobTypes;
|
|
1082
1081
|
/**
|
|
1083
1082
|
* <p>The checksum of the data in the response. This header is returned only when
|
|
1084
1083
|
* retrieving the output for an archive retrieval job. Furthermore, this header appears only
|
|
@@ -2012,7 +2011,7 @@ export interface UploadArchiveInput {
|
|
|
2012
2011
|
/**
|
|
2013
2012
|
* <p>The data to upload.</p>
|
|
2014
2013
|
*/
|
|
2015
|
-
body?:
|
|
2014
|
+
body?: StreamingBlobTypes;
|
|
2016
2015
|
}
|
|
2017
2016
|
/**
|
|
2018
2017
|
* @public
|
|
@@ -2050,7 +2049,7 @@ export interface UploadMultipartPartInput {
|
|
|
2050
2049
|
/**
|
|
2051
2050
|
* <p>The data to upload.</p>
|
|
2052
2051
|
*/
|
|
2053
|
-
body?:
|
|
2052
|
+
body?: StreamingBlobTypes;
|
|
2054
2053
|
}
|
|
2055
2054
|
/**
|
|
2056
2055
|
* @public
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
|
-
|
|
8
|
+
StreamingBlobPayloadOutputTypes,
|
|
9
9
|
} from "@smithy/types";
|
|
10
10
|
import {
|
|
11
11
|
GlacierClientResolvedConfig,
|
|
@@ -16,8 +16,10 @@ import { GetJobOutputInput, GetJobOutputOutput } from "../models/models_0";
|
|
|
16
16
|
export { __MetadataBearer, $Command };
|
|
17
17
|
export interface GetJobOutputCommandInput extends GetJobOutputInput {}
|
|
18
18
|
export interface GetJobOutputCommandOutput
|
|
19
|
-
extends
|
|
20
|
-
__MetadataBearer {
|
|
19
|
+
extends Pick<GetJobOutputOutput, Exclude<keyof GetJobOutputOutput, "body">>,
|
|
20
|
+
__MetadataBearer {
|
|
21
|
+
body?: StreamingBlobPayloadOutputTypes;
|
|
22
|
+
}
|
|
21
23
|
export declare class GetJobOutputCommand extends $Command<
|
|
22
24
|
GetJobOutputCommandInput,
|
|
23
25
|
GetJobOutputCommandOutput,
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
|
+
StreamingBlobPayloadInputTypes,
|
|
8
9
|
} from "@smithy/types";
|
|
9
10
|
import {
|
|
10
11
|
GlacierClientResolvedConfig,
|
|
@@ -13,14 +14,10 @@ import {
|
|
|
13
14
|
} from "../GlacierClient";
|
|
14
15
|
import { ArchiveCreationOutput, UploadArchiveInput } from "../models/models_0";
|
|
15
16
|
export { __MetadataBearer, $Command };
|
|
16
|
-
export type UploadArchiveCommandInputType = Pick<
|
|
17
|
-
UploadArchiveInput,
|
|
18
|
-
Exclude<keyof UploadArchiveInput, "body">
|
|
19
|
-
> & {
|
|
20
|
-
body?: UploadArchiveInput["body"] | string | Uint8Array | Buffer;
|
|
21
|
-
};
|
|
22
17
|
export interface UploadArchiveCommandInput
|
|
23
|
-
extends
|
|
18
|
+
extends Pick<UploadArchiveInput, Exclude<keyof UploadArchiveInput, "body">> {
|
|
19
|
+
body?: StreamingBlobPayloadInputTypes;
|
|
20
|
+
}
|
|
24
21
|
export interface UploadArchiveCommandOutput
|
|
25
22
|
extends ArchiveCreationOutput,
|
|
26
23
|
__MetadataBearer {}
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
|
+
StreamingBlobPayloadInputTypes,
|
|
8
9
|
} from "@smithy/types";
|
|
9
10
|
import {
|
|
10
11
|
GlacierClientResolvedConfig,
|
|
@@ -16,14 +17,13 @@ import {
|
|
|
16
17
|
UploadMultipartPartOutput,
|
|
17
18
|
} from "../models/models_0";
|
|
18
19
|
export { __MetadataBearer, $Command };
|
|
19
|
-
export type UploadMultipartPartCommandInputType = Pick<
|
|
20
|
-
UploadMultipartPartInput,
|
|
21
|
-
Exclude<keyof UploadMultipartPartInput, "body">
|
|
22
|
-
> & {
|
|
23
|
-
body?: UploadMultipartPartInput["body"] | string | Uint8Array | Buffer;
|
|
24
|
-
};
|
|
25
20
|
export interface UploadMultipartPartCommandInput
|
|
26
|
-
extends
|
|
21
|
+
extends Pick<
|
|
22
|
+
UploadMultipartPartInput,
|
|
23
|
+
Exclude<keyof UploadMultipartPartInput, "body">
|
|
24
|
+
> {
|
|
25
|
+
body?: StreamingBlobPayloadInputTypes;
|
|
26
|
+
}
|
|
27
27
|
export interface UploadMultipartPartCommandOutput
|
|
28
28
|
extends UploadMultipartPartOutput,
|
|
29
29
|
__MetadataBearer {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import {
|
|
2
|
+
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
3
|
import { GlacierServiceException as __BaseException } from "./GlacierServiceException";
|
|
4
4
|
export interface AbortMultipartUploadInput {
|
|
5
5
|
accountId: string | undefined;
|
|
@@ -289,7 +289,7 @@ export interface GetJobOutputInput {
|
|
|
289
289
|
range?: string;
|
|
290
290
|
}
|
|
291
291
|
export interface GetJobOutputOutput {
|
|
292
|
-
body?:
|
|
292
|
+
body?: StreamingBlobTypes;
|
|
293
293
|
checksum?: string;
|
|
294
294
|
status?: number;
|
|
295
295
|
contentRange?: string;
|
|
@@ -510,7 +510,7 @@ export interface UploadArchiveInput {
|
|
|
510
510
|
accountId: string | undefined;
|
|
511
511
|
archiveDescription?: string;
|
|
512
512
|
checksum?: string;
|
|
513
|
-
body?:
|
|
513
|
+
body?: StreamingBlobTypes;
|
|
514
514
|
}
|
|
515
515
|
export interface UploadMultipartPartInput {
|
|
516
516
|
accountId: string | undefined;
|
|
@@ -518,7 +518,7 @@ export interface UploadMultipartPartInput {
|
|
|
518
518
|
uploadId: string | undefined;
|
|
519
519
|
checksum?: string;
|
|
520
520
|
range?: string;
|
|
521
|
-
body?:
|
|
521
|
+
body?: StreamingBlobTypes;
|
|
522
522
|
}
|
|
523
523
|
export interface UploadMultipartPartOutput {
|
|
524
524
|
checksum?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-glacier",
|
|
3
3
|
"description": "AWS SDK for JavaScript Glacier Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.378.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,48 +21,48 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/body-checksum-browser": "3.
|
|
25
|
-
"@aws-sdk/body-checksum-node": "3.
|
|
26
|
-
"@aws-sdk/client-sts": "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-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-user-agent": "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": "^
|
|
39
|
-
"@smithy/fetch-http-handler": "^
|
|
40
|
-
"@smithy/hash-node": "^
|
|
41
|
-
"@smithy/invalid-dependency": "^
|
|
42
|
-
"@smithy/middleware-content-length": "^
|
|
43
|
-
"@smithy/middleware-endpoint": "^
|
|
44
|
-
"@smithy/middleware-retry": "^
|
|
45
|
-
"@smithy/middleware-serde": "^
|
|
46
|
-
"@smithy/middleware-stack": "^
|
|
47
|
-
"@smithy/node-config-provider": "^
|
|
48
|
-
"@smithy/node-http-handler": "^
|
|
49
|
-
"@smithy/protocol-http": "^
|
|
50
|
-
"@smithy/smithy-client": "^
|
|
51
|
-
"@smithy/types": "^
|
|
52
|
-
"@smithy/url-parser": "^
|
|
53
|
-
"@smithy/util-base64": "^
|
|
54
|
-
"@smithy/util-body-length-browser": "^
|
|
55
|
-
"@smithy/util-body-length-node": "^
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^
|
|
58
|
-
"@smithy/util-retry": "^
|
|
59
|
-
"@smithy/util-stream": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
61
|
-
"@smithy/util-waiter": "^
|
|
24
|
+
"@aws-sdk/body-checksum-browser": "3.378.0",
|
|
25
|
+
"@aws-sdk/body-checksum-node": "3.378.0",
|
|
26
|
+
"@aws-sdk/client-sts": "3.378.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.378.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.378.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.378.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
31
|
+
"@aws-sdk/middleware-sdk-glacier": "3.378.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.378.0",
|
|
33
|
+
"@aws-sdk/middleware-user-agent": "3.378.0",
|
|
34
|
+
"@aws-sdk/types": "3.378.0",
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.378.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
38
|
+
"@smithy/config-resolver": "^2.0.1",
|
|
39
|
+
"@smithy/fetch-http-handler": "^2.0.1",
|
|
40
|
+
"@smithy/hash-node": "^2.0.1",
|
|
41
|
+
"@smithy/invalid-dependency": "^2.0.1",
|
|
42
|
+
"@smithy/middleware-content-length": "^2.0.1",
|
|
43
|
+
"@smithy/middleware-endpoint": "^2.0.1",
|
|
44
|
+
"@smithy/middleware-retry": "^2.0.1",
|
|
45
|
+
"@smithy/middleware-serde": "^2.0.1",
|
|
46
|
+
"@smithy/middleware-stack": "^2.0.0",
|
|
47
|
+
"@smithy/node-config-provider": "^2.0.1",
|
|
48
|
+
"@smithy/node-http-handler": "^2.0.1",
|
|
49
|
+
"@smithy/protocol-http": "^2.0.1",
|
|
50
|
+
"@smithy/smithy-client": "^2.0.1",
|
|
51
|
+
"@smithy/types": "^2.0.2",
|
|
52
|
+
"@smithy/url-parser": "^2.0.1",
|
|
53
|
+
"@smithy/util-base64": "^2.0.0",
|
|
54
|
+
"@smithy/util-body-length-browser": "^2.0.0",
|
|
55
|
+
"@smithy/util-body-length-node": "^2.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^2.0.1",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^2.0.1",
|
|
58
|
+
"@smithy/util-retry": "^2.0.0",
|
|
59
|
+
"@smithy/util-stream": "^2.0.1",
|
|
60
|
+
"@smithy/util-utf8": "^2.0.0",
|
|
61
|
+
"@smithy/util-waiter": "^2.0.1",
|
|
62
62
|
"tslib": "^2.5.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@smithy/service-client-documentation-generator": "^
|
|
65
|
+
"@smithy/service-client-documentation-generator": "^2.0.0",
|
|
66
66
|
"@tsconfig/node14": "1.0.3",
|
|
67
67
|
"@types/node": "^14.14.31",
|
|
68
68
|
"concurrently": "7.0.0",
|