@aws-sdk/client-snowball 3.300.0 → 3.303.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/models/models_0.js +88 -102
- package/dist-es/models/models_0.js +88 -102
- package/dist-types/commands/CancelClusterCommand.d.ts +1 -1
- package/dist-types/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateAddressCommand.d.ts +2 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +21 -21
- package/dist-types/commands/CreateJobCommand.d.ts +24 -24
- package/dist-types/commands/CreateLongTermPricingCommand.d.ts +1 -1
- package/dist-types/commands/CreateReturnShippingLabelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAddressesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReturnShippingLabelCommand.d.ts +1 -1
- package/dist-types/commands/GetJobManifestCommand.d.ts +1 -1
- package/dist-types/commands/GetJobUnlockCodeCommand.d.ts +1 -1
- package/dist-types/commands/GetSoftwareUpdatesCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListCompatibleImagesCommand.d.ts +1 -1
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListLongTermPricingCommand.d.ts +1 -1
- package/dist-types/commands/ListServiceVersionsCommand.d.ts +4 -4
- package/dist-types/commands/UpdateClusterCommand.d.ts +19 -19
- package/dist-types/commands/UpdateJobCommand.d.ts +19 -19
- package/dist-types/commands/UpdateJobShipmentStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLongTermPricingCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +158 -88
- package/dist-types/ts3.4/models/models_0.d.ts +109 -88
- package/package.json +34 -34
|
@@ -73,66 +73,58 @@ class UnsupportedAddressException extends SnowballServiceException_1.SnowballSer
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
exports.UnsupportedAddressException = UnsupportedAddressException;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
SnowballType["EDGE_C"] = "EDGE_C";
|
|
129
|
-
SnowballType["EDGE_CG"] = "EDGE_CG";
|
|
130
|
-
SnowballType["EDGE_S"] = "EDGE_S";
|
|
131
|
-
SnowballType["SNC1_HDD"] = "SNC1_HDD";
|
|
132
|
-
SnowballType["SNC1_SSD"] = "SNC1_SSD";
|
|
133
|
-
SnowballType["STANDARD"] = "STANDARD";
|
|
134
|
-
SnowballType["V3_5C"] = "V3_5C";
|
|
135
|
-
})(SnowballType = exports.SnowballType || (exports.SnowballType = {}));
|
|
76
|
+
exports.JobType = {
|
|
77
|
+
EXPORT: "EXPORT",
|
|
78
|
+
IMPORT: "IMPORT",
|
|
79
|
+
LOCAL_USE: "LOCAL_USE",
|
|
80
|
+
};
|
|
81
|
+
exports.JobState = {
|
|
82
|
+
CANCELLED: "Cancelled",
|
|
83
|
+
COMPLETE: "Complete",
|
|
84
|
+
IN_PROGRESS: "InProgress",
|
|
85
|
+
IN_TRANSIT_TO_AWS: "InTransitToAWS",
|
|
86
|
+
IN_TRANSIT_TO_CUSTOMER: "InTransitToCustomer",
|
|
87
|
+
LISTING: "Listing",
|
|
88
|
+
NEW: "New",
|
|
89
|
+
PENDING: "Pending",
|
|
90
|
+
PREPARING_APPLIANCE: "PreparingAppliance",
|
|
91
|
+
PREPARING_SHIPMENT: "PreparingShipment",
|
|
92
|
+
WITH_AWS: "WithAWS",
|
|
93
|
+
WITH_AWS_SORTING_FACILITY: "WithAWSSortingFacility",
|
|
94
|
+
WITH_CUSTOMER: "WithCustomer",
|
|
95
|
+
};
|
|
96
|
+
exports.StorageUnit = {
|
|
97
|
+
TB: "TB",
|
|
98
|
+
};
|
|
99
|
+
exports.RemoteManagement = {
|
|
100
|
+
INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART",
|
|
101
|
+
INSTALLED_ONLY: "INSTALLED_ONLY",
|
|
102
|
+
};
|
|
103
|
+
exports.DeviceServiceName = {
|
|
104
|
+
NFS_ON_DEVICE_SERVICE: "NFS_ON_DEVICE_SERVICE",
|
|
105
|
+
S3_ON_DEVICE_SERVICE: "S3_ON_DEVICE_SERVICE",
|
|
106
|
+
};
|
|
107
|
+
exports.TransferOption = {
|
|
108
|
+
EXPORT: "EXPORT",
|
|
109
|
+
IMPORT: "IMPORT",
|
|
110
|
+
LOCAL_USE: "LOCAL_USE",
|
|
111
|
+
};
|
|
112
|
+
exports.ShippingOption = {
|
|
113
|
+
EXPRESS: "EXPRESS",
|
|
114
|
+
NEXT_DAY: "NEXT_DAY",
|
|
115
|
+
SECOND_DAY: "SECOND_DAY",
|
|
116
|
+
STANDARD: "STANDARD",
|
|
117
|
+
};
|
|
118
|
+
exports.SnowballType = {
|
|
119
|
+
EDGE: "EDGE",
|
|
120
|
+
EDGE_C: "EDGE_C",
|
|
121
|
+
EDGE_CG: "EDGE_CG",
|
|
122
|
+
EDGE_S: "EDGE_S",
|
|
123
|
+
SNC1_HDD: "SNC1_HDD",
|
|
124
|
+
SNC1_SSD: "SNC1_SSD",
|
|
125
|
+
STANDARD: "STANDARD",
|
|
126
|
+
V3_5C: "V3_5C",
|
|
127
|
+
};
|
|
136
128
|
class Ec2RequestFailedException extends SnowballServiceException_1.SnowballServiceException {
|
|
137
129
|
constructor(opts) {
|
|
138
130
|
super({
|
|
@@ -175,23 +167,21 @@ class ClusterLimitExceededException extends SnowballServiceException_1.SnowballS
|
|
|
175
167
|
}
|
|
176
168
|
}
|
|
177
169
|
exports.ClusterLimitExceededException = ClusterLimitExceededException;
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
LongTermPricingType["THREE_YEAR"] = "ThreeYear";
|
|
194
|
-
})(LongTermPricingType = exports.LongTermPricingType || (exports.LongTermPricingType = {}));
|
|
170
|
+
exports.SnowballCapacity = {
|
|
171
|
+
NO_PREFERENCE: "NoPreference",
|
|
172
|
+
T100: "T100",
|
|
173
|
+
T14: "T14",
|
|
174
|
+
T32: "T32",
|
|
175
|
+
T42: "T42",
|
|
176
|
+
T50: "T50",
|
|
177
|
+
T8: "T8",
|
|
178
|
+
T80: "T80",
|
|
179
|
+
T98: "T98",
|
|
180
|
+
};
|
|
181
|
+
exports.LongTermPricingType = {
|
|
182
|
+
ONE_YEAR: "OneYear",
|
|
183
|
+
THREE_YEAR: "ThreeYear",
|
|
184
|
+
};
|
|
195
185
|
class ConflictException extends SnowballServiceException_1.SnowballServiceException {
|
|
196
186
|
constructor(opts) {
|
|
197
187
|
super({
|
|
@@ -207,13 +197,12 @@ class ConflictException extends SnowballServiceException_1.SnowballServiceExcept
|
|
|
207
197
|
}
|
|
208
198
|
}
|
|
209
199
|
exports.ConflictException = ConflictException;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
})(ShippingLabelStatus = exports.ShippingLabelStatus || (exports.ShippingLabelStatus = {}));
|
|
200
|
+
exports.ShippingLabelStatus = {
|
|
201
|
+
FAILED: "Failed",
|
|
202
|
+
IN_PROGRESS: "InProgress",
|
|
203
|
+
SUCCEEDED: "Succeeded",
|
|
204
|
+
TIMED_OUT: "TimedOut",
|
|
205
|
+
};
|
|
217
206
|
class ReturnShippingLabelAlreadyExistsException extends SnowballServiceException_1.SnowballServiceException {
|
|
218
207
|
constructor(opts) {
|
|
219
208
|
super({
|
|
@@ -242,21 +231,18 @@ class InvalidNextTokenException extends SnowballServiceException_1.SnowballServi
|
|
|
242
231
|
}
|
|
243
232
|
}
|
|
244
233
|
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
ShipmentState["RECEIVED"] = "RECEIVED";
|
|
261
|
-
ShipmentState["RETURNED"] = "RETURNED";
|
|
262
|
-
})(ShipmentState = exports.ShipmentState || (exports.ShipmentState = {}));
|
|
234
|
+
exports.ClusterState = {
|
|
235
|
+
AWAITING_QUORUM: "AwaitingQuorum",
|
|
236
|
+
CANCELLED: "Cancelled",
|
|
237
|
+
COMPLETE: "Complete",
|
|
238
|
+
IN_USE: "InUse",
|
|
239
|
+
PENDING: "Pending",
|
|
240
|
+
};
|
|
241
|
+
exports.ServiceName = {
|
|
242
|
+
EKS_ANYWHERE: "EKS_ANYWHERE",
|
|
243
|
+
KUBERNETES: "KUBERNETES",
|
|
244
|
+
};
|
|
245
|
+
exports.ShipmentState = {
|
|
246
|
+
RECEIVED: "RECEIVED",
|
|
247
|
+
RETURNED: "RETURNED",
|
|
248
|
+
};
|
|
@@ -65,66 +65,58 @@ export class UnsupportedAddressException extends __BaseException {
|
|
|
65
65
|
this.Message = opts.Message;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
export
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
99
|
-
export
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
export
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
export
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
SnowballType["EDGE_C"] = "EDGE_C";
|
|
121
|
-
SnowballType["EDGE_CG"] = "EDGE_CG";
|
|
122
|
-
SnowballType["EDGE_S"] = "EDGE_S";
|
|
123
|
-
SnowballType["SNC1_HDD"] = "SNC1_HDD";
|
|
124
|
-
SnowballType["SNC1_SSD"] = "SNC1_SSD";
|
|
125
|
-
SnowballType["STANDARD"] = "STANDARD";
|
|
126
|
-
SnowballType["V3_5C"] = "V3_5C";
|
|
127
|
-
})(SnowballType || (SnowballType = {}));
|
|
68
|
+
export const JobType = {
|
|
69
|
+
EXPORT: "EXPORT",
|
|
70
|
+
IMPORT: "IMPORT",
|
|
71
|
+
LOCAL_USE: "LOCAL_USE",
|
|
72
|
+
};
|
|
73
|
+
export const JobState = {
|
|
74
|
+
CANCELLED: "Cancelled",
|
|
75
|
+
COMPLETE: "Complete",
|
|
76
|
+
IN_PROGRESS: "InProgress",
|
|
77
|
+
IN_TRANSIT_TO_AWS: "InTransitToAWS",
|
|
78
|
+
IN_TRANSIT_TO_CUSTOMER: "InTransitToCustomer",
|
|
79
|
+
LISTING: "Listing",
|
|
80
|
+
NEW: "New",
|
|
81
|
+
PENDING: "Pending",
|
|
82
|
+
PREPARING_APPLIANCE: "PreparingAppliance",
|
|
83
|
+
PREPARING_SHIPMENT: "PreparingShipment",
|
|
84
|
+
WITH_AWS: "WithAWS",
|
|
85
|
+
WITH_AWS_SORTING_FACILITY: "WithAWSSortingFacility",
|
|
86
|
+
WITH_CUSTOMER: "WithCustomer",
|
|
87
|
+
};
|
|
88
|
+
export const StorageUnit = {
|
|
89
|
+
TB: "TB",
|
|
90
|
+
};
|
|
91
|
+
export const RemoteManagement = {
|
|
92
|
+
INSTALLED_AUTOSTART: "INSTALLED_AUTOSTART",
|
|
93
|
+
INSTALLED_ONLY: "INSTALLED_ONLY",
|
|
94
|
+
};
|
|
95
|
+
export const DeviceServiceName = {
|
|
96
|
+
NFS_ON_DEVICE_SERVICE: "NFS_ON_DEVICE_SERVICE",
|
|
97
|
+
S3_ON_DEVICE_SERVICE: "S3_ON_DEVICE_SERVICE",
|
|
98
|
+
};
|
|
99
|
+
export const TransferOption = {
|
|
100
|
+
EXPORT: "EXPORT",
|
|
101
|
+
IMPORT: "IMPORT",
|
|
102
|
+
LOCAL_USE: "LOCAL_USE",
|
|
103
|
+
};
|
|
104
|
+
export const ShippingOption = {
|
|
105
|
+
EXPRESS: "EXPRESS",
|
|
106
|
+
NEXT_DAY: "NEXT_DAY",
|
|
107
|
+
SECOND_DAY: "SECOND_DAY",
|
|
108
|
+
STANDARD: "STANDARD",
|
|
109
|
+
};
|
|
110
|
+
export const SnowballType = {
|
|
111
|
+
EDGE: "EDGE",
|
|
112
|
+
EDGE_C: "EDGE_C",
|
|
113
|
+
EDGE_CG: "EDGE_CG",
|
|
114
|
+
EDGE_S: "EDGE_S",
|
|
115
|
+
SNC1_HDD: "SNC1_HDD",
|
|
116
|
+
SNC1_SSD: "SNC1_SSD",
|
|
117
|
+
STANDARD: "STANDARD",
|
|
118
|
+
V3_5C: "V3_5C",
|
|
119
|
+
};
|
|
128
120
|
export class Ec2RequestFailedException extends __BaseException {
|
|
129
121
|
constructor(opts) {
|
|
130
122
|
super({
|
|
@@ -164,23 +156,21 @@ export class ClusterLimitExceededException extends __BaseException {
|
|
|
164
156
|
this.Message = opts.Message;
|
|
165
157
|
}
|
|
166
158
|
}
|
|
167
|
-
export
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
LongTermPricingType["THREE_YEAR"] = "ThreeYear";
|
|
183
|
-
})(LongTermPricingType || (LongTermPricingType = {}));
|
|
159
|
+
export const SnowballCapacity = {
|
|
160
|
+
NO_PREFERENCE: "NoPreference",
|
|
161
|
+
T100: "T100",
|
|
162
|
+
T14: "T14",
|
|
163
|
+
T32: "T32",
|
|
164
|
+
T42: "T42",
|
|
165
|
+
T50: "T50",
|
|
166
|
+
T8: "T8",
|
|
167
|
+
T80: "T80",
|
|
168
|
+
T98: "T98",
|
|
169
|
+
};
|
|
170
|
+
export const LongTermPricingType = {
|
|
171
|
+
ONE_YEAR: "OneYear",
|
|
172
|
+
THREE_YEAR: "ThreeYear",
|
|
173
|
+
};
|
|
184
174
|
export class ConflictException extends __BaseException {
|
|
185
175
|
constructor(opts) {
|
|
186
176
|
super({
|
|
@@ -195,13 +185,12 @@ export class ConflictException extends __BaseException {
|
|
|
195
185
|
this.Message = opts.Message;
|
|
196
186
|
}
|
|
197
187
|
}
|
|
198
|
-
export
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
})(ShippingLabelStatus || (ShippingLabelStatus = {}));
|
|
188
|
+
export const ShippingLabelStatus = {
|
|
189
|
+
FAILED: "Failed",
|
|
190
|
+
IN_PROGRESS: "InProgress",
|
|
191
|
+
SUCCEEDED: "Succeeded",
|
|
192
|
+
TIMED_OUT: "TimedOut",
|
|
193
|
+
};
|
|
205
194
|
export class ReturnShippingLabelAlreadyExistsException extends __BaseException {
|
|
206
195
|
constructor(opts) {
|
|
207
196
|
super({
|
|
@@ -228,21 +217,18 @@ export class InvalidNextTokenException extends __BaseException {
|
|
|
228
217
|
this.Message = opts.Message;
|
|
229
218
|
}
|
|
230
219
|
}
|
|
231
|
-
export
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
ShipmentState["RECEIVED"] = "RECEIVED";
|
|
247
|
-
ShipmentState["RETURNED"] = "RETURNED";
|
|
248
|
-
})(ShipmentState || (ShipmentState = {}));
|
|
220
|
+
export const ClusterState = {
|
|
221
|
+
AWAITING_QUORUM: "AwaitingQuorum",
|
|
222
|
+
CANCELLED: "Cancelled",
|
|
223
|
+
COMPLETE: "Complete",
|
|
224
|
+
IN_USE: "InUse",
|
|
225
|
+
PENDING: "Pending",
|
|
226
|
+
};
|
|
227
|
+
export const ServiceName = {
|
|
228
|
+
EKS_ANYWHERE: "EKS_ANYWHERE",
|
|
229
|
+
KUBERNETES: "KUBERNETES",
|
|
230
|
+
};
|
|
231
|
+
export const ShipmentState = {
|
|
232
|
+
RECEIVED: "RECEIVED",
|
|
233
|
+
RETURNED: "RETURNED",
|
|
234
|
+
};
|
|
@@ -28,7 +28,7 @@ export interface CancelClusterCommandOutput extends CancelClusterResult, __Metad
|
|
|
28
28
|
* import { SnowballClient, CancelClusterCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
29
29
|
* // const { SnowballClient, CancelClusterCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
30
30
|
* const client = new SnowballClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // CancelClusterRequest
|
|
32
32
|
* ClusterId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new CancelClusterCommand(input);
|
|
@@ -29,7 +29,7 @@ export interface CancelJobCommandOutput extends CancelJobResult, __MetadataBeare
|
|
|
29
29
|
* import { SnowballClient, CancelJobCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
30
30
|
* // const { SnowballClient, CancelJobCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
31
31
|
* const client = new SnowballClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CancelJobRequest
|
|
33
33
|
* JobId: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new CancelJobCommand(input);
|
|
@@ -29,8 +29,8 @@ export interface CreateAddressCommandOutput extends CreateAddressResult, __Metad
|
|
|
29
29
|
* import { SnowballClient, CreateAddressCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
30
30
|
* // const { SnowballClient, CreateAddressCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
31
31
|
* const client = new SnowballClient(config);
|
|
32
|
-
* const input = {
|
|
33
|
-
* Address: {
|
|
32
|
+
* const input = { // CreateAddressRequest
|
|
33
|
+
* Address: { // Address
|
|
34
34
|
* AddressId: "STRING_VALUE",
|
|
35
35
|
* Name: "STRING_VALUE",
|
|
36
36
|
* Company: "STRING_VALUE",
|
|
@@ -27,51 +27,51 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
27
27
|
* import { SnowballClient, CreateClusterCommand } from "@aws-sdk/client-snowball"; // ES Modules import
|
|
28
28
|
* // const { SnowballClient, CreateClusterCommand } = require("@aws-sdk/client-snowball"); // CommonJS import
|
|
29
29
|
* const client = new SnowballClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateClusterRequest
|
|
31
31
|
* JobType: "IMPORT" || "EXPORT" || "LOCAL_USE", // required
|
|
32
|
-
* Resources: {
|
|
33
|
-
* S3Resources: [
|
|
34
|
-
* {
|
|
32
|
+
* Resources: { // JobResource
|
|
33
|
+
* S3Resources: [ // S3ResourceList
|
|
34
|
+
* { // S3Resource
|
|
35
35
|
* BucketArn: "STRING_VALUE",
|
|
36
|
-
* KeyRange: {
|
|
36
|
+
* KeyRange: { // KeyRange
|
|
37
37
|
* BeginMarker: "STRING_VALUE",
|
|
38
38
|
* EndMarker: "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
|
-
* TargetOnDeviceServices: [
|
|
41
|
-
* {
|
|
40
|
+
* TargetOnDeviceServices: [ // TargetOnDeviceServiceList
|
|
41
|
+
* { // TargetOnDeviceService
|
|
42
42
|
* ServiceName: "NFS_ON_DEVICE_SERVICE" || "S3_ON_DEVICE_SERVICE",
|
|
43
43
|
* TransferOption: "IMPORT" || "EXPORT" || "LOCAL_USE",
|
|
44
44
|
* },
|
|
45
45
|
* ],
|
|
46
46
|
* },
|
|
47
47
|
* ],
|
|
48
|
-
* LambdaResources: [
|
|
49
|
-
* {
|
|
48
|
+
* LambdaResources: [ // LambdaResourceList
|
|
49
|
+
* { // LambdaResource
|
|
50
50
|
* LambdaArn: "STRING_VALUE",
|
|
51
|
-
* EventTriggers: [
|
|
52
|
-
* {
|
|
51
|
+
* EventTriggers: [ // EventTriggerDefinitionList
|
|
52
|
+
* { // EventTriggerDefinition
|
|
53
53
|
* EventResourceARN: "STRING_VALUE",
|
|
54
54
|
* },
|
|
55
55
|
* ],
|
|
56
56
|
* },
|
|
57
57
|
* ],
|
|
58
|
-
* Ec2AmiResources: [
|
|
59
|
-
* {
|
|
58
|
+
* Ec2AmiResources: [ // Ec2AmiResourceList
|
|
59
|
+
* { // Ec2AmiResource
|
|
60
60
|
* AmiId: "STRING_VALUE", // required
|
|
61
61
|
* SnowballAmiId: "STRING_VALUE",
|
|
62
62
|
* },
|
|
63
63
|
* ],
|
|
64
64
|
* },
|
|
65
|
-
* OnDeviceServiceConfiguration: {
|
|
66
|
-
* NFSOnDeviceService: {
|
|
65
|
+
* OnDeviceServiceConfiguration: { // OnDeviceServiceConfiguration
|
|
66
|
+
* NFSOnDeviceService: { // NFSOnDeviceServiceConfiguration
|
|
67
67
|
* StorageLimit: Number("int"),
|
|
68
68
|
* StorageUnit: "TB",
|
|
69
69
|
* },
|
|
70
|
-
* TGWOnDeviceService: {
|
|
70
|
+
* TGWOnDeviceService: { // TGWOnDeviceServiceConfiguration
|
|
71
71
|
* StorageLimit: Number("int"),
|
|
72
72
|
* StorageUnit: "TB",
|
|
73
73
|
* },
|
|
74
|
-
* EKSOnDeviceService: {
|
|
74
|
+
* EKSOnDeviceService: { // EKSOnDeviceServiceConfiguration
|
|
75
75
|
* KubernetesVersion: "STRING_VALUE",
|
|
76
76
|
* EKSAnywhereVersion: "STRING_VALUE",
|
|
77
77
|
* },
|
|
@@ -82,16 +82,16 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
|
|
|
82
82
|
* RoleARN: "STRING_VALUE", // required
|
|
83
83
|
* SnowballType: "STANDARD" || "EDGE" || "EDGE_C" || "EDGE_CG" || "EDGE_S" || "SNC1_HDD" || "SNC1_SSD" || "V3_5C", // required
|
|
84
84
|
* ShippingOption: "SECOND_DAY" || "NEXT_DAY" || "EXPRESS" || "STANDARD", // required
|
|
85
|
-
* Notification: {
|
|
85
|
+
* Notification: { // Notification
|
|
86
86
|
* SnsTopicARN: "STRING_VALUE",
|
|
87
|
-
* JobStatesToNotify: [
|
|
87
|
+
* JobStatesToNotify: [ // JobStateList
|
|
88
88
|
* "New" || "PreparingAppliance" || "PreparingShipment" || "InTransitToCustomer" || "WithCustomer" || "InTransitToAWS" || "WithAWSSortingFacility" || "WithAWS" || "InProgress" || "Complete" || "Cancelled" || "Listing" || "Pending",
|
|
89
89
|
* ],
|
|
90
90
|
* NotifyAll: true || false,
|
|
91
91
|
* },
|
|
92
92
|
* ForwardingAddressId: "STRING_VALUE",
|
|
93
|
-
* TaxDocuments: {
|
|
94
|
-
* IND: {
|
|
93
|
+
* TaxDocuments: { // TaxDocuments
|
|
94
|
+
* IND: { // INDTaxDocuments
|
|
95
95
|
* GSTIN: "STRING_VALUE",
|
|
96
96
|
* },
|
|
97
97
|
* },
|