1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class Snowball extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: Snowball.Types.ClientConfiguration)
|
13 | config: Config & Snowball.Types.ClientConfiguration;
|
14 | /**
|
15 | * Cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status. You'll have at least an hour after creating a cluster job to cancel it.
|
16 | */
|
17 | cancelCluster(params: Snowball.Types.CancelClusterRequest, callback?: (err: AWSError, data: Snowball.Types.CancelClusterResult) => void): Request<Snowball.Types.CancelClusterResult, AWSError>;
|
18 | /**
|
19 | * Cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status. You'll have at least an hour after creating a cluster job to cancel it.
|
20 | */
|
21 | cancelCluster(callback?: (err: AWSError, data: Snowball.Types.CancelClusterResult) => void): Request<Snowball.Types.CancelClusterResult, AWSError>;
|
22 | /**
|
23 | * Cancels the specified job. You can only cancel a job before its JobState value changes to PreparingAppliance. Requesting the ListJobs or DescribeJob action returns a job's JobState as part of the response element data returned.
|
24 | */
|
25 | cancelJob(params: Snowball.Types.CancelJobRequest, callback?: (err: AWSError, data: Snowball.Types.CancelJobResult) => void): Request<Snowball.Types.CancelJobResult, AWSError>;
|
26 | /**
|
27 | * Cancels the specified job. You can only cancel a job before its JobState value changes to PreparingAppliance. Requesting the ListJobs or DescribeJob action returns a job's JobState as part of the response element data returned.
|
28 | */
|
29 | cancelJob(callback?: (err: AWSError, data: Snowball.Types.CancelJobResult) => void): Request<Snowball.Types.CancelJobResult, AWSError>;
|
30 | /**
|
31 | * Creates an address for a Snowball to be shipped to. In most regions, addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown.
|
32 | */
|
33 | createAddress(params: Snowball.Types.CreateAddressRequest, callback?: (err: AWSError, data: Snowball.Types.CreateAddressResult) => void): Request<Snowball.Types.CreateAddressResult, AWSError>;
|
34 | /**
|
35 | * Creates an address for a Snowball to be shipped to. In most regions, addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. If the address is invalid or unsupported, then an exception is thrown.
|
36 | */
|
37 | createAddress(callback?: (err: AWSError, data: Snowball.Types.CreateAddressResult) => void): Request<Snowball.Types.CreateAddressResult, AWSError>;
|
38 | /**
|
39 | * Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created.
|
40 | */
|
41 | createCluster(params: Snowball.Types.CreateClusterRequest, callback?: (err: AWSError, data: Snowball.Types.CreateClusterResult) => void): Request<Snowball.Types.CreateClusterResult, AWSError>;
|
42 | /**
|
43 | * Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob action separately to create the jobs for each of these nodes. The cluster does not ship until these five node jobs have been created.
|
44 | */
|
45 | createCluster(callback?: (err: AWSError, data: Snowball.Types.CreateClusterResult) => void): Request<Snowball.Types.CreateClusterResult, AWSError>;
|
46 | /**
|
47 | * Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for Snowball. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster.
|
48 | */
|
49 | createJob(params: Snowball.Types.CreateJobRequest, callback?: (err: AWSError, data: Snowball.Types.CreateJobResult) => void): Request<Snowball.Types.CreateJobResult, AWSError>;
|
50 | /**
|
51 | * Creates a job to import or export data between Amazon S3 and your on-premises data center. Your AWS account must have the right trust policies and permissions in place to create a job for Snowball. If you're creating a job for a node in a cluster, you only need to provide the clusterId value; the other job attributes are inherited from the cluster.
|
52 | */
|
53 | createJob(callback?: (err: AWSError, data: Snowball.Types.CreateJobResult) => void): Request<Snowball.Types.CreateJobResult, AWSError>;
|
54 | /**
|
55 | * Takes an AddressId and returns specific details about that address in the form of an Address object.
|
56 | */
|
57 | describeAddress(params: Snowball.Types.DescribeAddressRequest, callback?: (err: AWSError, data: Snowball.Types.DescribeAddressResult) => void): Request<Snowball.Types.DescribeAddressResult, AWSError>;
|
58 | /**
|
59 | * Takes an AddressId and returns specific details about that address in the form of an Address object.
|
60 | */
|
61 | describeAddress(callback?: (err: AWSError, data: Snowball.Types.DescribeAddressResult) => void): Request<Snowball.Types.DescribeAddressResult, AWSError>;
|
62 | /**
|
63 | * Returns a specified number of ADDRESS objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions.
|
64 | */
|
65 | describeAddresses(params: Snowball.Types.DescribeAddressesRequest, callback?: (err: AWSError, data: Snowball.Types.DescribeAddressesResult) => void): Request<Snowball.Types.DescribeAddressesResult, AWSError>;
|
66 | /**
|
67 | * Returns a specified number of ADDRESS objects. Calling this API in one of the US regions will return addresses from the list of all addresses associated with this account in all US regions.
|
68 | */
|
69 | describeAddresses(callback?: (err: AWSError, data: Snowball.Types.DescribeAddressesResult) => void): Request<Snowball.Types.DescribeAddressesResult, AWSError>;
|
70 | /**
|
71 | * Returns information about a specific cluster including shipping information, cluster status, and other important metadata.
|
72 | */
|
73 | describeCluster(params: Snowball.Types.DescribeClusterRequest, callback?: (err: AWSError, data: Snowball.Types.DescribeClusterResult) => void): Request<Snowball.Types.DescribeClusterResult, AWSError>;
|
74 | /**
|
75 | * Returns information about a specific cluster including shipping information, cluster status, and other important metadata.
|
76 | */
|
77 | describeCluster(callback?: (err: AWSError, data: Snowball.Types.DescribeClusterResult) => void): Request<Snowball.Types.DescribeClusterResult, AWSError>;
|
78 | /**
|
79 | * Returns information about a specific job including shipping information, job status, and other important metadata.
|
80 | */
|
81 | describeJob(params: Snowball.Types.DescribeJobRequest, callback?: (err: AWSError, data: Snowball.Types.DescribeJobResult) => void): Request<Snowball.Types.DescribeJobResult, AWSError>;
|
82 | /**
|
83 | * Returns information about a specific job including shipping information, job status, and other important metadata.
|
84 | */
|
85 | describeJob(callback?: (err: AWSError, data: Snowball.Types.DescribeJobResult) => void): Request<Snowball.Types.DescribeJobResult, AWSError>;
|
86 | /**
|
87 | * Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the GetJobManifest action. The manifest is an encrypted file that you can download after your job enters the WithCustomer status. The manifest is decrypted by using the UnlockCode code value, when you pass both values to the Snowball through the Snowball client when the client is started for the first time. As a best practice, we recommend that you don't save a copy of an UnlockCode value in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job. The credentials of a given job, including its manifest file and unlock code, expire 90 days after the job is created.
|
88 | */
|
89 | getJobManifest(params: Snowball.Types.GetJobManifestRequest, callback?: (err: AWSError, data: Snowball.Types.GetJobManifestResult) => void): Request<Snowball.Types.GetJobManifestResult, AWSError>;
|
90 | /**
|
91 | * Returns a link to an Amazon S3 presigned URL for the manifest file associated with the specified JobId value. You can access the manifest file for up to 60 minutes after this request has been made. To access the manifest file after 60 minutes have passed, you'll have to make another call to the GetJobManifest action. The manifest is an encrypted file that you can download after your job enters the WithCustomer status. The manifest is decrypted by using the UnlockCode code value, when you pass both values to the Snowball through the Snowball client when the client is started for the first time. As a best practice, we recommend that you don't save a copy of an UnlockCode value in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job. The credentials of a given job, including its manifest file and unlock code, expire 90 days after the job is created.
|
92 | */
|
93 | getJobManifest(callback?: (err: AWSError, data: Snowball.Types.GetJobManifestResult) => void): Request<Snowball.Types.GetJobManifestResult, AWSError>;
|
94 | /**
|
95 | * Returns the UnlockCode code value for the specified job. A particular UnlockCode value can be accessed for up to 90 days after the associated job has been created. The UnlockCode value is a 29-character code with 25 alphanumeric characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed along with the manifest to the Snowball through the Snowball client when the client is started for the first time. As a best practice, we recommend that you don't save a copy of the UnlockCode in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job.
|
96 | */
|
97 | getJobUnlockCode(params: Snowball.Types.GetJobUnlockCodeRequest, callback?: (err: AWSError, data: Snowball.Types.GetJobUnlockCodeResult) => void): Request<Snowball.Types.GetJobUnlockCodeResult, AWSError>;
|
98 | /**
|
99 | * Returns the UnlockCode code value for the specified job. A particular UnlockCode value can be accessed for up to 90 days after the associated job has been created. The UnlockCode value is a 29-character code with 25 alphanumeric characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed along with the manifest to the Snowball through the Snowball client when the client is started for the first time. As a best practice, we recommend that you don't save a copy of the UnlockCode in the same location as the manifest file for that job. Saving these separately helps prevent unauthorized parties from gaining access to the Snowball associated with that job.
|
100 | */
|
101 | getJobUnlockCode(callback?: (err: AWSError, data: Snowball.Types.GetJobUnlockCodeResult) => void): Request<Snowball.Types.GetJobUnlockCodeResult, AWSError>;
|
102 | /**
|
103 | * Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use. The default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support.
|
104 | */
|
105 | getSnowballUsage(params: Snowball.Types.GetSnowballUsageRequest, callback?: (err: AWSError, data: Snowball.Types.GetSnowballUsageResult) => void): Request<Snowball.Types.GetSnowballUsageResult, AWSError>;
|
106 | /**
|
107 | * Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use. The default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support.
|
108 | */
|
109 | getSnowballUsage(callback?: (err: AWSError, data: Snowball.Types.GetSnowballUsageResult) => void): Request<Snowball.Types.GetSnowballUsageResult, AWSError>;
|
110 | /**
|
111 | * Returns an Amazon S3 presigned URL for an update file associated with a specified JobId.
|
112 | */
|
113 | getSoftwareUpdates(params: Snowball.Types.GetSoftwareUpdatesRequest, callback?: (err: AWSError, data: Snowball.Types.GetSoftwareUpdatesResult) => void): Request<Snowball.Types.GetSoftwareUpdatesResult, AWSError>;
|
114 | /**
|
115 | * Returns an Amazon S3 presigned URL for an update file associated with a specified JobId.
|
116 | */
|
117 | getSoftwareUpdates(callback?: (err: AWSError, data: Snowball.Types.GetSoftwareUpdatesResult) => void): Request<Snowball.Types.GetSoftwareUpdatesResult, AWSError>;
|
118 | /**
|
119 | * Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information.
|
120 | */
|
121 | listClusterJobs(params: Snowball.Types.ListClusterJobsRequest, callback?: (err: AWSError, data: Snowball.Types.ListClusterJobsResult) => void): Request<Snowball.Types.ListClusterJobsResult, AWSError>;
|
122 | /**
|
123 | * Returns an array of JobListEntry objects of the specified length. Each JobListEntry object is for a job in the specified cluster and contains a job's state, a job's ID, and other information.
|
124 | */
|
125 | listClusterJobs(callback?: (err: AWSError, data: Snowball.Types.ListClusterJobsResult) => void): Request<Snowball.Types.ListClusterJobsResult, AWSError>;
|
126 | /**
|
127 | * Returns an array of ClusterListEntry objects of the specified length. Each ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status information.
|
128 | */
|
129 | listClusters(params: Snowball.Types.ListClustersRequest, callback?: (err: AWSError, data: Snowball.Types.ListClustersResult) => void): Request<Snowball.Types.ListClustersResult, AWSError>;
|
130 | /**
|
131 | * Returns an array of ClusterListEntry objects of the specified length. Each ClusterListEntry object contains a cluster's state, a cluster's ID, and other important status information.
|
132 | */
|
133 | listClusters(callback?: (err: AWSError, data: Snowball.Types.ListClustersResult) => void): Request<Snowball.Types.ListClustersResult, AWSError>;
|
134 | /**
|
135 | * This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs) that are owned by your AWS account that would be supported for use on a Snowball Edge device. Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM, Ubuntu Server 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the AWS Marketplace.
|
136 | */
|
137 | listCompatibleImages(params: Snowball.Types.ListCompatibleImagesRequest, callback?: (err: AWSError, data: Snowball.Types.ListCompatibleImagesResult) => void): Request<Snowball.Types.ListCompatibleImagesResult, AWSError>;
|
138 | /**
|
139 | * This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs) that are owned by your AWS account that would be supported for use on a Snowball Edge device. Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM, Ubuntu Server 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the AWS Marketplace.
|
140 | */
|
141 | listCompatibleImages(callback?: (err: AWSError, data: Snowball.Types.ListCompatibleImagesResult) => void): Request<Snowball.Types.ListCompatibleImagesResult, AWSError>;
|
142 | /**
|
143 | * Returns an array of JobListEntry objects of the specified length. Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. Calling this API action in one of the US regions will return jobs from the list of all jobs associated with this account in all US regions.
|
144 | */
|
145 | listJobs(params: Snowball.Types.ListJobsRequest, callback?: (err: AWSError, data: Snowball.Types.ListJobsResult) => void): Request<Snowball.Types.ListJobsResult, AWSError>;
|
146 | /**
|
147 | * Returns an array of JobListEntry objects of the specified length. Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of export jobs. Calling this API action in one of the US regions will return jobs from the list of all jobs associated with this account in all US regions.
|
148 | */
|
149 | listJobs(callback?: (err: AWSError, data: Snowball.Types.ListJobsResult) => void): Request<Snowball.Types.ListJobsResult, AWSError>;
|
150 | /**
|
151 | * While a cluster's ClusterState value is in the AwaitingQuorum state, you can update some of the information associated with a cluster. Once the cluster changes to a different job state, usually 60 minutes after the cluster being created, this action is no longer available.
|
152 | */
|
153 | updateCluster(params: Snowball.Types.UpdateClusterRequest, callback?: (err: AWSError, data: Snowball.Types.UpdateClusterResult) => void): Request<Snowball.Types.UpdateClusterResult, AWSError>;
|
154 | /**
|
155 | * While a cluster's ClusterState value is in the AwaitingQuorum state, you can update some of the information associated with a cluster. Once the cluster changes to a different job state, usually 60 minutes after the cluster being created, this action is no longer available.
|
156 | */
|
157 | updateCluster(callback?: (err: AWSError, data: Snowball.Types.UpdateClusterResult) => void): Request<Snowball.Types.UpdateClusterResult, AWSError>;
|
158 | /**
|
159 | * While a job's JobState value is New, you can update some of the information associated with a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available.
|
160 | */
|
161 | updateJob(params: Snowball.Types.UpdateJobRequest, callback?: (err: AWSError, data: Snowball.Types.UpdateJobResult) => void): Request<Snowball.Types.UpdateJobResult, AWSError>;
|
162 | /**
|
163 | * While a job's JobState value is New, you can update some of the information associated with a job. Once the job changes to a different job state, usually within 60 minutes of the job being created, this action is no longer available.
|
164 | */
|
165 | updateJob(callback?: (err: AWSError, data: Snowball.Types.UpdateJobResult) => void): Request<Snowball.Types.UpdateJobResult, AWSError>;
|
166 | }
|
167 | declare namespace Snowball {
|
168 | export interface Address {
|
169 | |
170 |
|
171 |
|
172 | AddressId?: AddressId;
|
173 | |
174 |
|
175 |
|
176 | Name?: String;
|
177 | |
178 |
|
179 |
|
180 | Company?: String;
|
181 | |
182 |
|
183 |
|
184 | Street1?: String;
|
185 | |
186 |
|
187 |
|
188 | Street2?: String;
|
189 | |
190 |
|
191 |
|
192 | Street3?: String;
|
193 | |
194 |
|
195 |
|
196 | City?: String;
|
197 | |
198 |
|
199 |
|
200 | StateOrProvince?: String;
|
201 | |
202 |
|
203 |
|
204 | PrefectureOrDistrict?: String;
|
205 | |
206 |
|
207 |
|
208 | Landmark?: String;
|
209 | |
210 |
|
211 |
|
212 | Country?: String;
|
213 | |
214 |
|
215 |
|
216 | PostalCode?: String;
|
217 | |
218 |
|
219 |
|
220 | PhoneNumber?: String;
|
221 | |
222 |
|
223 |
|
224 | IsRestricted?: Boolean;
|
225 | }
|
226 | export type AddressId = string;
|
227 | export type AddressList = Address[];
|
228 | export type AmiId = string;
|
229 | export type Boolean = boolean;
|
230 | export interface CancelClusterRequest {
|
231 | |
232 |
|
233 |
|
234 | ClusterId: ClusterId;
|
235 | }
|
236 | export interface CancelClusterResult {
|
237 | }
|
238 | export interface CancelJobRequest {
|
239 | |
240 |
|
241 |
|
242 | JobId: JobId;
|
243 | }
|
244 | export interface CancelJobResult {
|
245 | }
|
246 | export type ClusterId = string;
|
247 | export interface ClusterListEntry {
|
248 | |
249 |
|
250 |
|
251 | ClusterId?: String;
|
252 | |
253 |
|
254 |
|
255 | ClusterState?: ClusterState;
|
256 | |
257 |
|
258 |
|
259 | CreationDate?: Timestamp;
|
260 | |
261 |
|
262 |
|
263 | Description?: String;
|
264 | }
|
265 | export type ClusterListEntryList = ClusterListEntry[];
|
266 | export interface ClusterMetadata {
|
267 | |
268 |
|
269 |
|
270 | ClusterId?: String;
|
271 | |
272 |
|
273 |
|
274 | Description?: String;
|
275 | |
276 |
|
277 |
|
278 | KmsKeyARN?: KmsKeyARN;
|
279 | |
280 |
|
281 |
|
282 | RoleARN?: RoleARN;
|
283 | |
284 |
|
285 |
|
286 | ClusterState?: ClusterState;
|
287 | |
288 |
|
289 |
|
290 | JobType?: JobType;
|
291 | |
292 |
|
293 |
|
294 | SnowballType?: SnowballType;
|
295 | |
296 |
|
297 |
|
298 | CreationDate?: Timestamp;
|
299 | |
300 |
|
301 |
|
302 | Resources?: JobResource;
|
303 | |
304 |
|
305 |
|
306 | AddressId?: AddressId;
|
307 | |
308 |
|
309 |
|
310 | ShippingOption?: ShippingOption;
|
311 | |
312 |
|
313 |
|
314 | Notification?: Notification;
|
315 | |
316 |
|
317 |
|
318 | ForwardingAddressId?: AddressId;
|
319 | |
320 |
|
321 |
|
322 | TaxDocuments?: TaxDocuments;
|
323 | }
|
324 | export type ClusterState = "AwaitingQuorum"|"Pending"|"InUse"|"Complete"|"Cancelled"|string;
|
325 | export interface CompatibleImage {
|
326 | |
327 |
|
328 |
|
329 | AmiId?: String;
|
330 | |
331 |
|
332 |
|
333 | Name?: String;
|
334 | }
|
335 | export type CompatibleImageList = CompatibleImage[];
|
336 | export interface CreateAddressRequest {
|
337 | |
338 |
|
339 |
|
340 | Address: Address;
|
341 | }
|
342 | export interface CreateAddressResult {
|
343 | |
344 |
|
345 |
|
346 | AddressId?: String;
|
347 | }
|
348 | export interface CreateClusterRequest {
|
349 | |
350 |
|
351 |
|
352 | JobType: JobType;
|
353 | |
354 |
|
355 |
|
356 | Resources: JobResource;
|
357 | |
358 |
|
359 |
|
360 | Description?: String;
|
361 | |
362 |
|
363 |
|
364 | AddressId: AddressId;
|
365 | |
366 |
|
367 |
|
368 | KmsKeyARN?: KmsKeyARN;
|
369 | |
370 |
|
371 |
|
372 | RoleARN: RoleARN;
|
373 | |
374 |
|
375 |
|
376 | SnowballType?: SnowballType;
|
377 | |
378 |
|
379 |
|
380 | ShippingOption: ShippingOption;
|
381 | |
382 |
|
383 |
|
384 | Notification?: Notification;
|
385 | |
386 |
|
387 |
|
388 | ForwardingAddressId?: AddressId;
|
389 | |
390 |
|
391 |
|
392 | TaxDocuments?: TaxDocuments;
|
393 | }
|
394 | export interface CreateClusterResult {
|
395 | |
396 |
|
397 |
|
398 | ClusterId?: ClusterId;
|
399 | }
|
400 | export interface CreateJobRequest {
|
401 | |
402 |
|
403 |
|
404 | JobType?: JobType;
|
405 | |
406 |
|
407 |
|
408 | Resources?: JobResource;
|
409 | |
410 |
|
411 |
|
412 | Description?: String;
|
413 | |
414 |
|
415 |
|
416 | AddressId?: AddressId;
|
417 | |
418 |
|
419 |
|
420 | KmsKeyARN?: KmsKeyARN;
|
421 | |
422 |
|
423 |
|
424 | RoleARN?: RoleARN;
|
425 | |
426 |
|
427 |
|
428 | SnowballCapacityPreference?: SnowballCapacity;
|
429 | |
430 |
|
431 |
|
432 | ShippingOption?: ShippingOption;
|
433 | |
434 |
|
435 |
|
436 | Notification?: Notification;
|
437 | |
438 |
|
439 |
|
440 | ClusterId?: ClusterId;
|
441 | |
442 |
|
443 |
|
444 | SnowballType?: SnowballType;
|
445 | |
446 |
|
447 |
|
448 | ForwardingAddressId?: AddressId;
|
449 | |
450 |
|
451 |
|
452 | TaxDocuments?: TaxDocuments;
|
453 | }
|
454 | export interface CreateJobResult {
|
455 | |
456 |
|
457 |
|
458 | JobId?: JobId;
|
459 | }
|
460 | export interface DataTransfer {
|
461 | |
462 |
|
463 |
|
464 | BytesTransferred?: Long;
|
465 | |
466 |
|
467 |
|
468 | ObjectsTransferred?: Long;
|
469 | |
470 |
|
471 |
|
472 | TotalBytes?: Long;
|
473 | |
474 |
|
475 |
|
476 | TotalObjects?: Long;
|
477 | }
|
478 | export interface DescribeAddressRequest {
|
479 | |
480 |
|
481 |
|
482 | AddressId: AddressId;
|
483 | }
|
484 | export interface DescribeAddressResult {
|
485 | |
486 |
|
487 |
|
488 | Address?: Address;
|
489 | }
|
490 | export interface DescribeAddressesRequest {
|
491 | |
492 |
|
493 |
|
494 | MaxResults?: ListLimit;
|
495 | |
496 |
|
497 |
|
498 | NextToken?: String;
|
499 | }
|
500 | export interface DescribeAddressesResult {
|
501 | |
502 |
|
503 |
|
504 | Addresses?: AddressList;
|
505 | |
506 |
|
507 |
|
508 | NextToken?: String;
|
509 | }
|
510 | export interface DescribeClusterRequest {
|
511 | |
512 |
|
513 |
|
514 | ClusterId: ClusterId;
|
515 | }
|
516 | export interface DescribeClusterResult {
|
517 | |
518 |
|
519 |
|
520 | ClusterMetadata?: ClusterMetadata;
|
521 | }
|
522 | export interface DescribeJobRequest {
|
523 | |
524 |
|
525 |
|
526 | JobId: JobId;
|
527 | }
|
528 | export interface DescribeJobResult {
|
529 | |
530 |
|
531 |
|
532 | JobMetadata?: JobMetadata;
|
533 | |
534 |
|
535 |
|
536 | SubJobMetadata?: JobMetadataList;
|
537 | }
|
538 | export interface Ec2AmiResource {
|
539 | |
540 |
|
541 |
|
542 | AmiId: AmiId;
|
543 | |
544 |
|
545 |
|
546 | SnowballAmiId?: String;
|
547 | }
|
548 | export type Ec2AmiResourceList = Ec2AmiResource[];
|
549 | export interface EventTriggerDefinition {
|
550 | |
551 |
|
552 |
|
553 | EventResourceARN?: ResourceARN;
|
554 | }
|
555 | export type EventTriggerDefinitionList = EventTriggerDefinition[];
|
556 | export type GSTIN = string;
|
557 | export interface GetJobManifestRequest {
|
558 | |
559 |
|
560 |
|
561 | JobId: JobId;
|
562 | }
|
563 | export interface GetJobManifestResult {
|
564 | |
565 |
|
566 |
|
567 | ManifestURI?: String;
|
568 | }
|
569 | export interface GetJobUnlockCodeRequest {
|
570 | |
571 |
|
572 |
|
573 | JobId: JobId;
|
574 | }
|
575 | export interface GetJobUnlockCodeResult {
|
576 | |
577 |
|
578 |
|
579 | UnlockCode?: String;
|
580 | }
|
581 | export interface GetSnowballUsageRequest {
|
582 | }
|
583 | export interface GetSnowballUsageResult {
|
584 | |
585 |
|
586 |
|
587 | SnowballLimit?: Integer;
|
588 | |
589 |
|
590 |
|
591 | SnowballsInUse?: Integer;
|
592 | }
|
593 | export interface GetSoftwareUpdatesRequest {
|
594 | |
595 |
|
596 |
|
597 | JobId: JobId;
|
598 | }
|
599 | export interface GetSoftwareUpdatesResult {
|
600 | |
601 |
|
602 |
|
603 | UpdatesURI?: String;
|
604 | }
|
605 | export interface INDTaxDocuments {
|
606 | |
607 |
|
608 |
|
609 | GSTIN?: GSTIN;
|
610 | }
|
611 | export type Integer = number;
|
612 | export type JobId = string;
|
613 | export interface JobListEntry {
|
614 | |
615 |
|
616 |
|
617 | JobId?: String;
|
618 | |
619 |
|
620 |
|
621 | JobState?: JobState;
|
622 | |
623 |
|
624 |
|
625 | IsMaster?: Boolean;
|
626 | |
627 |
|
628 |
|
629 | JobType?: JobType;
|
630 | |
631 |
|
632 |
|
633 | SnowballType?: SnowballType;
|
634 | |
635 |
|
636 |
|
637 | CreationDate?: Timestamp;
|
638 | |
639 |
|
640 |
|
641 | Description?: String;
|
642 | }
|
643 | export type JobListEntryList = JobListEntry[];
|
644 | export interface JobLogs {
|
645 | |
646 |
|
647 |
|
648 | JobCompletionReportURI?: String;
|
649 | |
650 |
|
651 |
|
652 | JobSuccessLogURI?: String;
|
653 | |
654 |
|
655 |
|
656 | JobFailureLogURI?: String;
|
657 | }
|
658 | export interface JobMetadata {
|
659 | |
660 |
|
661 |
|
662 | JobId?: String;
|
663 | |
664 |
|
665 |
|
666 | JobState?: JobState;
|
667 | |
668 |
|
669 |
|
670 | JobType?: JobType;
|
671 | |
672 |
|
673 |
|
674 | SnowballType?: SnowballType;
|
675 | |
676 |
|
677 |
|
678 | CreationDate?: Timestamp;
|
679 | |
680 |
|
681 |
|
682 | Resources?: JobResource;
|
683 | |
684 |
|
685 |
|
686 | Description?: String;
|
687 | |
688 |
|
689 |
|
690 | KmsKeyARN?: KmsKeyARN;
|
691 | |
692 |
|
693 |
|
694 | RoleARN?: RoleARN;
|
695 | |
696 |
|
697 |
|
698 | AddressId?: AddressId;
|
699 | |
700 |
|
701 |
|
702 | ShippingDetails?: ShippingDetails;
|
703 | |
704 |
|
705 |
|
706 | SnowballCapacityPreference?: SnowballCapacity;
|
707 | |
708 |
|
709 |
|
710 | Notification?: Notification;
|
711 | |
712 |
|
713 |
|
714 | DataTransferProgress?: DataTransfer;
|
715 | |
716 |
|
717 |
|
718 | JobLogInfo?: JobLogs;
|
719 | |
720 |
|
721 |
|
722 | ClusterId?: String;
|
723 | |
724 |
|
725 |
|
726 | ForwardingAddressId?: AddressId;
|
727 | |
728 |
|
729 |
|
730 | TaxDocuments?: TaxDocuments;
|
731 | }
|
732 | export type JobMetadataList = JobMetadata[];
|
733 | export interface JobResource {
|
734 | |
735 |
|
736 |
|
737 | S3Resources?: S3ResourceList;
|
738 | |
739 |
|
740 |
|
741 | LambdaResources?: LambdaResourceList;
|
742 | |
743 |
|
744 |
|
745 | Ec2AmiResources?: Ec2AmiResourceList;
|
746 | }
|
747 | export type JobState = "New"|"PreparingAppliance"|"PreparingShipment"|"InTransitToCustomer"|"WithCustomer"|"InTransitToAWS"|"WithAWSSortingFacility"|"WithAWS"|"InProgress"|"Complete"|"Cancelled"|"Listing"|"Pending"|string;
|
748 | export type JobStateList = JobState[];
|
749 | export type JobType = "IMPORT"|"EXPORT"|"LOCAL_USE"|string;
|
750 | export interface KeyRange {
|
751 | |
752 |
|
753 |
|
754 | BeginMarker?: String;
|
755 | |
756 |
|
757 |
|
758 | EndMarker?: String;
|
759 | }
|
760 | export type KmsKeyARN = string;
|
761 | export interface LambdaResource {
|
762 | |
763 |
|
764 |
|
765 | LambdaArn?: ResourceARN;
|
766 | |
767 |
|
768 |
|
769 | EventTriggers?: EventTriggerDefinitionList;
|
770 | }
|
771 | export type LambdaResourceList = LambdaResource[];
|
772 | export interface ListClusterJobsRequest {
|
773 | |
774 |
|
775 |
|
776 | ClusterId: ClusterId;
|
777 | |
778 |
|
779 |
|
780 | MaxResults?: ListLimit;
|
781 | |
782 |
|
783 |
|
784 | NextToken?: String;
|
785 | }
|
786 | export interface ListClusterJobsResult {
|
787 | |
788 |
|
789 |
|
790 | JobListEntries?: JobListEntryList;
|
791 | |
792 |
|
793 |
|
794 | NextToken?: String;
|
795 | }
|
796 | export interface ListClustersRequest {
|
797 | |
798 |
|
799 |
|
800 | MaxResults?: ListLimit;
|
801 | |
802 |
|
803 |
|
804 | NextToken?: String;
|
805 | }
|
806 | export interface ListClustersResult {
|
807 | |
808 |
|
809 |
|
810 | ClusterListEntries?: ClusterListEntryList;
|
811 | |
812 |
|
813 |
|
814 | NextToken?: String;
|
815 | }
|
816 | export interface ListCompatibleImagesRequest {
|
817 | |
818 |
|
819 |
|
820 | MaxResults?: ListLimit;
|
821 | |
822 |
|
823 |
|
824 | NextToken?: String;
|
825 | }
|
826 | export interface ListCompatibleImagesResult {
|
827 | |
828 |
|
829 |
|
830 | CompatibleImages?: CompatibleImageList;
|
831 | |
832 |
|
833 |
|
834 | NextToken?: String;
|
835 | }
|
836 | export interface ListJobsRequest {
|
837 | |
838 |
|
839 |
|
840 | MaxResults?: ListLimit;
|
841 | |
842 |
|
843 |
|
844 | NextToken?: String;
|
845 | }
|
846 | export interface ListJobsResult {
|
847 | |
848 |
|
849 |
|
850 | JobListEntries?: JobListEntryList;
|
851 | |
852 |
|
853 |
|
854 | NextToken?: String;
|
855 | }
|
856 | export type ListLimit = number;
|
857 | export type Long = number;
|
858 | export interface Notification {
|
859 | |
860 |
|
861 |
|
862 | SnsTopicARN?: SnsTopicARN;
|
863 | |
864 |
|
865 |
|
866 | JobStatesToNotify?: JobStateList;
|
867 | |
868 |
|
869 |
|
870 | NotifyAll?: Boolean;
|
871 | }
|
872 | export type ResourceARN = string;
|
873 | export type RoleARN = string;
|
874 | export interface S3Resource {
|
875 | |
876 |
|
877 |
|
878 | BucketArn?: ResourceARN;
|
879 | |
880 |
|
881 |
|
882 | KeyRange?: KeyRange;
|
883 | }
|
884 | export type S3ResourceList = S3Resource[];
|
885 | export interface Shipment {
|
886 | |
887 |
|
888 |
|
889 | Status?: String;
|
890 | |
891 |
|
892 |
|
893 | TrackingNumber?: String;
|
894 | }
|
895 | export interface ShippingDetails {
|
896 | |
897 |
|
898 |
|
899 | ShippingOption?: ShippingOption;
|
900 | |
901 |
|
902 |
|
903 | InboundShipment?: Shipment;
|
904 | |
905 |
|
906 |
|
907 | OutboundShipment?: Shipment;
|
908 | }
|
909 | export type ShippingOption = "SECOND_DAY"|"NEXT_DAY"|"EXPRESS"|"STANDARD"|string;
|
910 | export type SnowballCapacity = "T50"|"T80"|"T100"|"T42"|"NoPreference"|string;
|
911 | export type SnowballType = "STANDARD"|"EDGE"|"EDGE_C"|"EDGE_CG"|string;
|
912 | export type SnsTopicARN = string;
|
913 | export type String = string;
|
914 | export interface TaxDocuments {
|
915 | |
916 |
|
917 |
|
918 | IND?: INDTaxDocuments;
|
919 | }
|
920 | export type Timestamp = Date;
|
921 | export interface UpdateClusterRequest {
|
922 | |
923 |
|
924 |
|
925 | ClusterId: ClusterId;
|
926 | |
927 |
|
928 |
|
929 | RoleARN?: RoleARN;
|
930 | |
931 |
|
932 |
|
933 | Description?: String;
|
934 | |
935 |
|
936 |
|
937 | Resources?: JobResource;
|
938 | |
939 |
|
940 |
|
941 | AddressId?: AddressId;
|
942 | |
943 |
|
944 |
|
945 | ShippingOption?: ShippingOption;
|
946 | |
947 |
|
948 |
|
949 | Notification?: Notification;
|
950 | |
951 |
|
952 |
|
953 | ForwardingAddressId?: AddressId;
|
954 | }
|
955 | export interface UpdateClusterResult {
|
956 | }
|
957 | export interface UpdateJobRequest {
|
958 | |
959 |
|
960 |
|
961 | JobId: JobId;
|
962 | |
963 |
|
964 |
|
965 | RoleARN?: RoleARN;
|
966 | |
967 |
|
968 |
|
969 | Notification?: Notification;
|
970 | |
971 |
|
972 |
|
973 | Resources?: JobResource;
|
974 | |
975 |
|
976 |
|
977 | AddressId?: AddressId;
|
978 | |
979 |
|
980 |
|
981 | ShippingOption?: ShippingOption;
|
982 | |
983 |
|
984 |
|
985 | Description?: String;
|
986 | |
987 |
|
988 |
|
989 | SnowballCapacityPreference?: SnowballCapacity;
|
990 | |
991 |
|
992 |
|
993 | ForwardingAddressId?: AddressId;
|
994 | }
|
995 | export interface UpdateJobResult {
|
996 | }
|
997 | |
998 |
|
999 |
|
1000 | export type apiVersion = "2016-06-30"|"latest"|string;
|
1001 | export interface ClientApiVersions {
|
1002 | |
1003 |
|
1004 |
|
1005 | apiVersion?: apiVersion;
|
1006 | }
|
1007 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1008 | |
1009 |
|
1010 |
|
1011 | export import Types = Snowball;
|
1012 | }
|
1013 | export = Snowball;
|