@aws-sdk/client-glacier 3.295.0 → 3.297.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/Glacier.d.ts +34 -0
- package/dist-types/GlacierClient.d.ts +24 -4
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +16 -0
- package/dist-types/commands/AbortVaultLockCommand.d.ts +16 -0
- package/dist-types/commands/AddTagsToVaultCommand.d.ts +16 -0
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +16 -0
- package/dist-types/commands/CompleteVaultLockCommand.d.ts +16 -0
- package/dist-types/commands/CreateVaultCommand.d.ts +16 -0
- package/dist-types/commands/DeleteArchiveCommand.d.ts +16 -0
- package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteVaultCommand.d.ts +16 -0
- package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +16 -0
- package/dist-types/commands/DescribeVaultCommand.d.ts +16 -0
- package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetJobOutputCommand.d.ts +16 -0
- package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +16 -0
- package/dist-types/commands/GetVaultLockCommand.d.ts +16 -0
- package/dist-types/commands/GetVaultNotificationsCommand.d.ts +16 -0
- package/dist-types/commands/InitiateJobCommand.d.ts +16 -0
- package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +16 -0
- package/dist-types/commands/InitiateVaultLockCommand.d.ts +16 -0
- package/dist-types/commands/ListJobsCommand.d.ts +16 -0
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +16 -0
- package/dist-types/commands/ListPartsCommand.d.ts +16 -0
- package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForVaultCommand.d.ts +16 -0
- package/dist-types/commands/ListVaultsCommand.d.ts +16 -0
- package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +16 -0
- package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +16 -0
- package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +16 -0
- package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +16 -0
- package/dist-types/commands/SetVaultNotificationsCommand.d.ts +16 -0
- package/dist-types/commands/UploadArchiveCommand.d.ts +17 -2
- package/dist-types/commands/UploadMultipartPartCommand.d.ts +17 -2
- package/dist-types/models/GlacierServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +120 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListJobsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMultipartUploadsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListPartsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListVaultsPaginator.d.ts +3 -0
- package/dist-types/ts3.4/commands/UploadArchiveCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UploadMultipartPartCommand.d.ts +1 -2
- package/package.json +35 -35
|
@@ -5,9 +5,11 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
5
5
|
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
6
6
|
import { ArchiveCreationOutput, UploadArchiveInput } from "../models/models_0";
|
|
7
7
|
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
8
10
|
* The input for {@link UploadArchiveCommand}.
|
|
9
11
|
*/
|
|
10
|
-
type UploadArchiveCommandInputType = Omit<UploadArchiveInput, "body"> & {
|
|
12
|
+
export type UploadArchiveCommandInputType = Omit<UploadArchiveInput, "body"> & {
|
|
11
13
|
/**
|
|
12
14
|
* For *`UploadArchiveInput["body"]`*, see {@link UploadArchiveInput.body}.
|
|
13
15
|
*/
|
|
@@ -19,11 +21,14 @@ type UploadArchiveCommandInputType = Omit<UploadArchiveInput, "body"> & {
|
|
|
19
21
|
export interface UploadArchiveCommandInput extends UploadArchiveCommandInputType {
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
22
26
|
* The output of {@link UploadArchiveCommand}.
|
|
23
27
|
*/
|
|
24
28
|
export interface UploadArchiveCommandOutput extends ArchiveCreationOutput, __MetadataBearer {
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
31
|
+
* @public
|
|
27
32
|
* <p>This operation adds an archive to a vault. This is a synchronous operation, and for a
|
|
28
33
|
* successful upload, your data is durably persisted. Amazon S3 Glacier returns the archive ID in
|
|
29
34
|
* the <code>x-amz-archive-id</code> header of the response. </p>
|
|
@@ -66,6 +71,8 @@ export interface UploadArchiveCommandOutput extends ArchiveCreationOutput, __Met
|
|
|
66
71
|
* const response = await client.send(command);
|
|
67
72
|
* ```
|
|
68
73
|
*
|
|
74
|
+
* @param UploadArchiveCommandInput - {@link UploadArchiveCommandInput}
|
|
75
|
+
* @returns {@link UploadArchiveCommandOutput}
|
|
69
76
|
* @see {@link UploadArchiveCommandInput} for command's `input` shape.
|
|
70
77
|
* @see {@link UploadArchiveCommandOutput} for command's `response` shape.
|
|
71
78
|
* @see {@link GlacierClientResolvedConfig | config} for GlacierClient's `config` shape.
|
|
@@ -114,12 +121,20 @@ export interface UploadArchiveCommandOutput extends ArchiveCreationOutput, __Met
|
|
|
114
121
|
export declare class UploadArchiveCommand extends $Command<UploadArchiveCommandInput, UploadArchiveCommandOutput, GlacierClientResolvedConfig> {
|
|
115
122
|
readonly input: UploadArchiveCommandInput;
|
|
116
123
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
124
|
+
/**
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
117
127
|
constructor(input: UploadArchiveCommandInput);
|
|
118
128
|
/**
|
|
119
129
|
* @internal
|
|
120
130
|
*/
|
|
121
131
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UploadArchiveCommandInput, UploadArchiveCommandOutput>;
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
122
135
|
private serialize;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
123
139
|
private deserialize;
|
|
124
140
|
}
|
|
125
|
-
export {};
|
|
@@ -5,9 +5,11 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
5
5
|
import { GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlacierClient";
|
|
6
6
|
import { UploadMultipartPartInput, UploadMultipartPartOutput } from "../models/models_0";
|
|
7
7
|
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
8
10
|
* The input for {@link UploadMultipartPartCommand}.
|
|
9
11
|
*/
|
|
10
|
-
type UploadMultipartPartCommandInputType = Omit<UploadMultipartPartInput, "body"> & {
|
|
12
|
+
export type UploadMultipartPartCommandInputType = Omit<UploadMultipartPartInput, "body"> & {
|
|
11
13
|
/**
|
|
12
14
|
* For *`UploadMultipartPartInput["body"]`*, see {@link UploadMultipartPartInput.body}.
|
|
13
15
|
*/
|
|
@@ -19,11 +21,14 @@ type UploadMultipartPartCommandInputType = Omit<UploadMultipartPartInput, "body"
|
|
|
19
21
|
export interface UploadMultipartPartCommandInput extends UploadMultipartPartCommandInputType {
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
22
26
|
* The output of {@link UploadMultipartPartCommand}.
|
|
23
27
|
*/
|
|
24
28
|
export interface UploadMultipartPartCommandOutput extends UploadMultipartPartOutput, __MetadataBearer {
|
|
25
29
|
}
|
|
26
30
|
/**
|
|
31
|
+
* @public
|
|
27
32
|
* <p>This operation uploads a part of an archive. You can upload archive parts in any
|
|
28
33
|
* order. You can also upload them in parallel. You can upload up to 10,000 parts for a
|
|
29
34
|
* multipart upload.</p>
|
|
@@ -85,6 +90,8 @@ export interface UploadMultipartPartCommandOutput extends UploadMultipartPartOut
|
|
|
85
90
|
* const response = await client.send(command);
|
|
86
91
|
* ```
|
|
87
92
|
*
|
|
93
|
+
* @param UploadMultipartPartCommandInput - {@link UploadMultipartPartCommandInput}
|
|
94
|
+
* @returns {@link UploadMultipartPartCommandOutput}
|
|
88
95
|
* @see {@link UploadMultipartPartCommandInput} for command's `input` shape.
|
|
89
96
|
* @see {@link UploadMultipartPartCommandOutput} for command's `response` shape.
|
|
90
97
|
* @see {@link GlacierClientResolvedConfig | config} for GlacierClient's `config` shape.
|
|
@@ -132,12 +139,20 @@ export interface UploadMultipartPartCommandOutput extends UploadMultipartPartOut
|
|
|
132
139
|
export declare class UploadMultipartPartCommand extends $Command<UploadMultipartPartCommandInput, UploadMultipartPartCommandOutput, GlacierClientResolvedConfig> {
|
|
133
140
|
readonly input: UploadMultipartPartCommandInput;
|
|
134
141
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
135
145
|
constructor(input: UploadMultipartPartCommandInput);
|
|
136
146
|
/**
|
|
137
147
|
* @internal
|
|
138
148
|
*/
|
|
139
149
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: GlacierClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UploadMultipartPartCommandInput, UploadMultipartPartCommandOutput>;
|
|
150
|
+
/**
|
|
151
|
+
* @internal
|
|
152
|
+
*/
|
|
140
153
|
private serialize;
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
141
157
|
private deserialize;
|
|
142
158
|
}
|
|
143
|
-
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Glacier service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class GlacierServiceException extends __ServiceException {
|