@aws-sdk/client-ebs 3.50.0 → 3.53.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/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/EBSServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +119 -1
- package/dist-cjs/protocols/Aws_restJson1.js +118 -352
- package/dist-es/index.js +1 -0
- package/dist-es/models/EBSServiceException.js +12 -0
- package/dist-es/models/models_0.js +111 -1
- package/dist-es/protocols/Aws_restJson1.js +189 -385
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/EBSServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -25
- package/dist-types/ts3.4/EBS.d.ts +35 -0
- package/dist-types/ts3.4/EBSClient.d.ts +79 -0
- package/dist-types/ts3.4/commands/CompleteSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSnapshotBlockCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListChangedBlocksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/StartSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/EBSServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +342 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListChangedBlocksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListSnapshotBlocksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +20 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from EBS service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class EBSServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Readable } from "stream";
|
|
4
|
+
import { EBSServiceException as __BaseException } from "./EBSServiceException";
|
|
4
5
|
export declare enum AccessDeniedExceptionReason {
|
|
5
6
|
DEPENDENCY_ACCESS_DENIED = "DEPENDENCY_ACCESS_DENIED",
|
|
6
7
|
UNAUTHORIZED_ACCOUNT = "UNAUTHORIZED_ACCOUNT"
|
|
@@ -8,14 +9,18 @@ export declare enum AccessDeniedExceptionReason {
|
|
|
8
9
|
/**
|
|
9
10
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
10
11
|
*/
|
|
11
|
-
export
|
|
12
|
-
name: "AccessDeniedException";
|
|
13
|
-
$fault: "client";
|
|
12
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
13
|
+
readonly name: "AccessDeniedException";
|
|
14
|
+
readonly $fault: "client";
|
|
14
15
|
Message?: string;
|
|
15
16
|
/**
|
|
16
17
|
* <p>The reason for the exception.</p>
|
|
17
18
|
*/
|
|
18
19
|
Reason: AccessDeniedExceptionReason | string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
19
24
|
}
|
|
20
25
|
/**
|
|
21
26
|
* <p>A block of data in an Amazon Elastic Block Store snapshot.</p>
|
|
@@ -124,10 +129,14 @@ export declare namespace CompleteSnapshotResponse {
|
|
|
124
129
|
/**
|
|
125
130
|
* <p>An internal error has occurred.</p>
|
|
126
131
|
*/
|
|
127
|
-
export
|
|
128
|
-
name: "InternalServerException";
|
|
129
|
-
$fault: "server";
|
|
132
|
+
export declare class InternalServerException extends __BaseException {
|
|
133
|
+
readonly name: "InternalServerException";
|
|
134
|
+
readonly $fault: "server";
|
|
130
135
|
Message?: string;
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
131
140
|
}
|
|
132
141
|
export declare enum RequestThrottledExceptionReason {
|
|
133
142
|
ACCOUNT_THROTTLED = "ACCOUNT_THROTTLED",
|
|
@@ -137,14 +146,18 @@ export declare enum RequestThrottledExceptionReason {
|
|
|
137
146
|
* <p>The number of API requests has exceed the maximum allowed API request throttling
|
|
138
147
|
* limit.</p>
|
|
139
148
|
*/
|
|
140
|
-
export
|
|
141
|
-
name: "RequestThrottledException";
|
|
142
|
-
$fault: "client";
|
|
149
|
+
export declare class RequestThrottledException extends __BaseException {
|
|
150
|
+
readonly name: "RequestThrottledException";
|
|
151
|
+
readonly $fault: "client";
|
|
143
152
|
Message?: string;
|
|
144
153
|
/**
|
|
145
154
|
* <p>The reason for the exception.</p>
|
|
146
155
|
*/
|
|
147
156
|
Reason?: RequestThrottledExceptionReason | string;
|
|
157
|
+
/**
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
constructor(opts: __ExceptionOptionType<RequestThrottledException, __BaseException>);
|
|
148
161
|
}
|
|
149
162
|
export declare enum ResourceNotFoundExceptionReason {
|
|
150
163
|
DEPENDENCY_RESOURCE_NOT_FOUND = "DEPENDENCY_RESOURCE_NOT_FOUND",
|
|
@@ -153,14 +166,18 @@ export declare enum ResourceNotFoundExceptionReason {
|
|
|
153
166
|
/**
|
|
154
167
|
* <p>The specified resource does not exist.</p>
|
|
155
168
|
*/
|
|
156
|
-
export
|
|
157
|
-
name: "ResourceNotFoundException";
|
|
158
|
-
$fault: "client";
|
|
169
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
170
|
+
readonly name: "ResourceNotFoundException";
|
|
171
|
+
readonly $fault: "client";
|
|
159
172
|
Message?: string;
|
|
160
173
|
/**
|
|
161
174
|
* <p>The reason for the exception.</p>
|
|
162
175
|
*/
|
|
163
176
|
Reason?: ResourceNotFoundExceptionReason | string;
|
|
177
|
+
/**
|
|
178
|
+
* @internal
|
|
179
|
+
*/
|
|
180
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
164
181
|
}
|
|
165
182
|
export declare enum ServiceQuotaExceededExceptionReason {
|
|
166
183
|
DEPENDENCY_SERVICE_QUOTA_EXCEEDED = "DEPENDENCY_SERVICE_QUOTA_EXCEEDED"
|
|
@@ -168,14 +185,18 @@ export declare enum ServiceQuotaExceededExceptionReason {
|
|
|
168
185
|
/**
|
|
169
186
|
* <p>Your current service quotas do not allow you to perform this action.</p>
|
|
170
187
|
*/
|
|
171
|
-
export
|
|
172
|
-
name: "ServiceQuotaExceededException";
|
|
173
|
-
$fault: "client";
|
|
188
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
189
|
+
readonly name: "ServiceQuotaExceededException";
|
|
190
|
+
readonly $fault: "client";
|
|
174
191
|
Message?: string;
|
|
175
192
|
/**
|
|
176
193
|
* <p>The reason for the exception.</p>
|
|
177
194
|
*/
|
|
178
195
|
Reason?: ServiceQuotaExceededExceptionReason | string;
|
|
196
|
+
/**
|
|
197
|
+
* @internal
|
|
198
|
+
*/
|
|
199
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
179
200
|
}
|
|
180
201
|
export declare enum ValidationExceptionReason {
|
|
181
202
|
INVALID_BLOCK = "INVALID_BLOCK",
|
|
@@ -193,33 +214,45 @@ export declare enum ValidationExceptionReason {
|
|
|
193
214
|
/**
|
|
194
215
|
* <p>The input fails to satisfy the constraints of the EBS direct APIs.</p>
|
|
195
216
|
*/
|
|
196
|
-
export
|
|
197
|
-
name: "ValidationException";
|
|
198
|
-
$fault: "client";
|
|
217
|
+
export declare class ValidationException extends __BaseException {
|
|
218
|
+
readonly name: "ValidationException";
|
|
219
|
+
readonly $fault: "client";
|
|
199
220
|
Message?: string;
|
|
200
221
|
/**
|
|
201
222
|
* <p>The reason for the validation exception.</p>
|
|
202
223
|
*/
|
|
203
224
|
Reason?: ValidationExceptionReason | string;
|
|
225
|
+
/**
|
|
226
|
+
* @internal
|
|
227
|
+
*/
|
|
228
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
204
229
|
}
|
|
205
230
|
/**
|
|
206
231
|
* <p>You have reached the limit for concurrent API requests. For more information, see
|
|
207
232
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapi-performance">Optimizing performance of the EBS direct APIs</a> in the <i>Amazon Elastic Compute Cloud
|
|
208
233
|
* User Guide</i>.</p>
|
|
209
234
|
*/
|
|
210
|
-
export
|
|
211
|
-
name: "ConcurrentLimitExceededException";
|
|
212
|
-
$fault: "client";
|
|
235
|
+
export declare class ConcurrentLimitExceededException extends __BaseException {
|
|
236
|
+
readonly name: "ConcurrentLimitExceededException";
|
|
237
|
+
readonly $fault: "client";
|
|
213
238
|
Message?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
constructor(opts: __ExceptionOptionType<ConcurrentLimitExceededException, __BaseException>);
|
|
214
243
|
}
|
|
215
244
|
/**
|
|
216
245
|
* <p>The request uses the same client token as a previous, but non-identical
|
|
217
246
|
* request.</p>
|
|
218
247
|
*/
|
|
219
|
-
export
|
|
220
|
-
name: "ConflictException";
|
|
221
|
-
$fault: "server";
|
|
248
|
+
export declare class ConflictException extends __BaseException {
|
|
249
|
+
readonly name: "ConflictException";
|
|
250
|
+
readonly $fault: "server";
|
|
222
251
|
Message?: string;
|
|
252
|
+
/**
|
|
253
|
+
* @internal
|
|
254
|
+
*/
|
|
255
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
223
256
|
}
|
|
224
257
|
export interface GetSnapshotBlockRequest {
|
|
225
258
|
/**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
|
|
3
|
+
import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
|
|
4
|
+
import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
|
|
5
|
+
import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from "./commands/ListSnapshotBlocksCommand";
|
|
6
|
+
import { PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput } from "./commands/PutSnapshotBlockCommand";
|
|
7
|
+
import { StartSnapshotCommandInput, StartSnapshotCommandOutput } from "./commands/StartSnapshotCommand";
|
|
8
|
+
import { EBSClient } from "./EBSClient";
|
|
9
|
+
|
|
10
|
+
export declare class EBS extends EBSClient {
|
|
11
|
+
|
|
12
|
+
completeSnapshot(args: CompleteSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<CompleteSnapshotCommandOutput>;
|
|
13
|
+
completeSnapshot(args: CompleteSnapshotCommandInput, cb: (err: any, data?: CompleteSnapshotCommandOutput) => void): void;
|
|
14
|
+
completeSnapshot(args: CompleteSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CompleteSnapshotCommandOutput) => void): void;
|
|
15
|
+
|
|
16
|
+
getSnapshotBlock(args: GetSnapshotBlockCommandInput, options?: __HttpHandlerOptions): Promise<GetSnapshotBlockCommandOutput>;
|
|
17
|
+
getSnapshotBlock(args: GetSnapshotBlockCommandInput, cb: (err: any, data?: GetSnapshotBlockCommandOutput) => void): void;
|
|
18
|
+
getSnapshotBlock(args: GetSnapshotBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSnapshotBlockCommandOutput) => void): void;
|
|
19
|
+
|
|
20
|
+
listChangedBlocks(args: ListChangedBlocksCommandInput, options?: __HttpHandlerOptions): Promise<ListChangedBlocksCommandOutput>;
|
|
21
|
+
listChangedBlocks(args: ListChangedBlocksCommandInput, cb: (err: any, data?: ListChangedBlocksCommandOutput) => void): void;
|
|
22
|
+
listChangedBlocks(args: ListChangedBlocksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChangedBlocksCommandOutput) => void): void;
|
|
23
|
+
|
|
24
|
+
listSnapshotBlocks(args: ListSnapshotBlocksCommandInput, options?: __HttpHandlerOptions): Promise<ListSnapshotBlocksCommandOutput>;
|
|
25
|
+
listSnapshotBlocks(args: ListSnapshotBlocksCommandInput, cb: (err: any, data?: ListSnapshotBlocksCommandOutput) => void): void;
|
|
26
|
+
listSnapshotBlocks(args: ListSnapshotBlocksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSnapshotBlocksCommandOutput) => void): void;
|
|
27
|
+
|
|
28
|
+
putSnapshotBlock(args: PutSnapshotBlockCommandInput, options?: __HttpHandlerOptions): Promise<PutSnapshotBlockCommandOutput>;
|
|
29
|
+
putSnapshotBlock(args: PutSnapshotBlockCommandInput, cb: (err: any, data?: PutSnapshotBlockCommandOutput) => void): void;
|
|
30
|
+
putSnapshotBlock(args: PutSnapshotBlockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSnapshotBlockCommandOutput) => void): void;
|
|
31
|
+
|
|
32
|
+
startSnapshot(args: StartSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<StartSnapshotCommandOutput>;
|
|
33
|
+
startSnapshot(args: StartSnapshotCommandInput, cb: (err: any, data?: StartSnapshotCommandOutput) => void): void;
|
|
34
|
+
startSnapshot(args: StartSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSnapshotCommandOutput) => void): void;
|
|
35
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
|
|
10
|
+
import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
|
|
11
|
+
import { ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput } from "./commands/ListChangedBlocksCommand";
|
|
12
|
+
import { ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput } from "./commands/ListSnapshotBlocksCommand";
|
|
13
|
+
import { PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput } from "./commands/PutSnapshotBlockCommand";
|
|
14
|
+
import { StartSnapshotCommandInput, StartSnapshotCommandOutput } from "./commands/StartSnapshotCommand";
|
|
15
|
+
export declare type ServiceInputTypes = CompleteSnapshotCommandInput | GetSnapshotBlockCommandInput | ListChangedBlocksCommandInput | ListSnapshotBlocksCommandInput | PutSnapshotBlockCommandInput | StartSnapshotCommandInput;
|
|
16
|
+
export declare type ServiceOutputTypes = CompleteSnapshotCommandOutput | GetSnapshotBlockCommandOutput | ListChangedBlocksCommandOutput | ListSnapshotBlocksCommandOutput | PutSnapshotBlockCommandOutput | StartSnapshotCommandOutput;
|
|
17
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
18
|
+
|
|
19
|
+
requestHandler?: __HttpHandler;
|
|
20
|
+
|
|
21
|
+
sha256?: __HashConstructor;
|
|
22
|
+
|
|
23
|
+
urlParser?: __UrlParser;
|
|
24
|
+
|
|
25
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
26
|
+
|
|
27
|
+
streamCollector?: __StreamCollector;
|
|
28
|
+
|
|
29
|
+
base64Decoder?: __Decoder;
|
|
30
|
+
|
|
31
|
+
base64Encoder?: __Encoder;
|
|
32
|
+
|
|
33
|
+
utf8Decoder?: __Decoder;
|
|
34
|
+
|
|
35
|
+
utf8Encoder?: __Encoder;
|
|
36
|
+
|
|
37
|
+
runtime?: string;
|
|
38
|
+
|
|
39
|
+
disableHostPrefix?: boolean;
|
|
40
|
+
|
|
41
|
+
maxAttempts?: number | __Provider<number>;
|
|
42
|
+
|
|
43
|
+
retryMode?: string | __Provider<string>;
|
|
44
|
+
|
|
45
|
+
logger?: __Logger;
|
|
46
|
+
|
|
47
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
48
|
+
|
|
49
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
50
|
+
|
|
51
|
+
serviceId?: string;
|
|
52
|
+
|
|
53
|
+
region?: string | __Provider<string>;
|
|
54
|
+
|
|
55
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
56
|
+
|
|
57
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
58
|
+
|
|
59
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
60
|
+
|
|
61
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
62
|
+
}
|
|
63
|
+
declare type EBSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
64
|
+
|
|
65
|
+
export interface EBSClientConfig extends EBSClientConfigType {
|
|
66
|
+
}
|
|
67
|
+
declare type EBSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
68
|
+
|
|
69
|
+
export interface EBSClientResolvedConfig extends EBSClientResolvedConfigType {
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export declare class EBSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EBSClientResolvedConfig> {
|
|
73
|
+
|
|
74
|
+
readonly config: EBSClientResolvedConfig;
|
|
75
|
+
constructor(configuration: EBSClientConfig);
|
|
76
|
+
|
|
77
|
+
destroy(): void;
|
|
78
|
+
}
|
|
79
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
4
|
+
import { CompleteSnapshotRequest, CompleteSnapshotResponse } from "../models/models_0";
|
|
5
|
+
export interface CompleteSnapshotCommandInput extends CompleteSnapshotRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CompleteSnapshotCommandOutput extends CompleteSnapshotResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class CompleteSnapshotCommand extends $Command<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput, EBSClientResolvedConfig> {
|
|
11
|
+
readonly input: CompleteSnapshotCommandInput;
|
|
12
|
+
constructor(input: CompleteSnapshotCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
4
|
+
import { GetSnapshotBlockRequest, GetSnapshotBlockResponse } from "../models/models_0";
|
|
5
|
+
export interface GetSnapshotBlockCommandInput extends GetSnapshotBlockRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetSnapshotBlockCommandOutput extends GetSnapshotBlockResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetSnapshotBlockCommand extends $Command<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput, EBSClientResolvedConfig> {
|
|
11
|
+
readonly input: GetSnapshotBlockCommandInput;
|
|
12
|
+
constructor(input: GetSnapshotBlockCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
4
|
+
import { ListChangedBlocksRequest, ListChangedBlocksResponse } from "../models/models_0";
|
|
5
|
+
export interface ListChangedBlocksCommandInput extends ListChangedBlocksRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListChangedBlocksCommandOutput extends ListChangedBlocksResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListChangedBlocksCommand extends $Command<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput, EBSClientResolvedConfig> {
|
|
11
|
+
readonly input: ListChangedBlocksCommandInput;
|
|
12
|
+
constructor(input: ListChangedBlocksCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChangedBlocksCommandInput, ListChangedBlocksCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
4
|
+
import { ListSnapshotBlocksRequest, ListSnapshotBlocksResponse } from "../models/models_0";
|
|
5
|
+
export interface ListSnapshotBlocksCommandInput extends ListSnapshotBlocksRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListSnapshotBlocksCommandOutput extends ListSnapshotBlocksResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class ListSnapshotBlocksCommand extends $Command<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput, EBSClientResolvedConfig> {
|
|
11
|
+
readonly input: ListSnapshotBlocksCommandInput;
|
|
12
|
+
constructor(input: ListSnapshotBlocksCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListSnapshotBlocksCommandInput, ListSnapshotBlocksCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
5
|
+
import { PutSnapshotBlockRequest, PutSnapshotBlockResponse } from "../models/models_0";
|
|
6
|
+
declare type PutSnapshotBlockCommandInputType = Pick<PutSnapshotBlockRequest, Exclude<keyof PutSnapshotBlockRequest, "BlockData">> & {
|
|
7
|
+
|
|
8
|
+
BlockData: PutSnapshotBlockRequest["BlockData"] | string | Uint8Array | Buffer;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export interface PutSnapshotBlockCommandInput extends PutSnapshotBlockCommandInputType {
|
|
12
|
+
}
|
|
13
|
+
export interface PutSnapshotBlockCommandOutput extends PutSnapshotBlockResponse, __MetadataBearer {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export declare class PutSnapshotBlockCommand extends $Command<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput, EBSClientResolvedConfig> {
|
|
17
|
+
readonly input: PutSnapshotBlockCommandInput;
|
|
18
|
+
constructor(input: PutSnapshotBlockCommandInput);
|
|
19
|
+
|
|
20
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutSnapshotBlockCommandInput, PutSnapshotBlockCommandOutput>;
|
|
21
|
+
private serialize;
|
|
22
|
+
private deserialize;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { EBSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EBSClient";
|
|
4
|
+
import { StartSnapshotRequest, StartSnapshotResponse } from "../models/models_0";
|
|
5
|
+
export interface StartSnapshotCommandInput extends StartSnapshotRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartSnapshotCommandOutput extends StartSnapshotResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class StartSnapshotCommand extends $Command<StartSnapshotCommandInput, StartSnapshotCommandOutput, EBSClientResolvedConfig> {
|
|
11
|
+
readonly input: StartSnapshotCommandInput;
|
|
12
|
+
constructor(input: StartSnapshotCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EBSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSnapshotCommandInput, StartSnapshotCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|