@aws-sdk/client-snow-device-management 3.934.0 → 3.935.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/index.js +0 -51
- package/dist-es/index.js +1 -1
- package/dist-es/models/errors.js +77 -0
- package/dist-es/models/models_0.js +0 -77
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +2 -1
- package/dist-types/models/errors.d.ts +78 -0
- package/dist-types/models/models_0.d.ts +0 -78
- package/dist-types/ts3.4/index.d.ts +2 -1
- package/dist-types/ts3.4/models/errors.d.ts +48 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -48
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -129,12 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends SnowDeviceMana
|
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
const AttachmentStatus = {
|
|
133
|
-
ATTACHED: "ATTACHED",
|
|
134
|
-
ATTACHING: "ATTACHING",
|
|
135
|
-
DETACHED: "DETACHED",
|
|
136
|
-
DETACHING: "DETACHING",
|
|
137
|
-
};
|
|
138
132
|
let InternalServerException$1 = class InternalServerException extends SnowDeviceManagementServiceException$1 {
|
|
139
133
|
name = "InternalServerException";
|
|
140
134
|
$fault = "server";
|
|
@@ -199,44 +193,6 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
199
193
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
200
194
|
}
|
|
201
195
|
};
|
|
202
|
-
const UnlockState = {
|
|
203
|
-
LOCKED: "LOCKED",
|
|
204
|
-
UNLOCKED: "UNLOCKED",
|
|
205
|
-
UNLOCKING: "UNLOCKING",
|
|
206
|
-
};
|
|
207
|
-
const IpAddressAssignment = {
|
|
208
|
-
DHCP: "DHCP",
|
|
209
|
-
STATIC: "STATIC",
|
|
210
|
-
};
|
|
211
|
-
const PhysicalConnectorType = {
|
|
212
|
-
QSFP: "QSFP",
|
|
213
|
-
RJ45: "RJ45",
|
|
214
|
-
RJ45_2: "RJ45_2",
|
|
215
|
-
SFP_PLUS: "SFP_PLUS",
|
|
216
|
-
WIFI: "WIFI",
|
|
217
|
-
};
|
|
218
|
-
const InstanceStateName = {
|
|
219
|
-
PENDING: "PENDING",
|
|
220
|
-
RUNNING: "RUNNING",
|
|
221
|
-
SHUTTING_DOWN: "SHUTTING_DOWN",
|
|
222
|
-
STOPPED: "STOPPED",
|
|
223
|
-
STOPPING: "STOPPING",
|
|
224
|
-
TERMINATED: "TERMINATED",
|
|
225
|
-
};
|
|
226
|
-
const ExecutionState = {
|
|
227
|
-
CANCELED: "CANCELED",
|
|
228
|
-
FAILED: "FAILED",
|
|
229
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
230
|
-
QUEUED: "QUEUED",
|
|
231
|
-
REJECTED: "REJECTED",
|
|
232
|
-
SUCCEEDED: "SUCCEEDED",
|
|
233
|
-
TIMED_OUT: "TIMED_OUT",
|
|
234
|
-
};
|
|
235
|
-
const TaskState = {
|
|
236
|
-
CANCELED: "CANCELED",
|
|
237
|
-
COMPLETED: "COMPLETED",
|
|
238
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
239
|
-
};
|
|
240
196
|
|
|
241
197
|
const _ADE = "AccessDeniedException";
|
|
242
198
|
const _C = "Capacity";
|
|
@@ -1054,32 +1010,25 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1054
1010
|
get: function () { return smithyClient.Client; }
|
|
1055
1011
|
});
|
|
1056
1012
|
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1057
|
-
exports.AttachmentStatus = AttachmentStatus;
|
|
1058
1013
|
exports.CancelTaskCommand = CancelTaskCommand;
|
|
1059
1014
|
exports.CreateTaskCommand = CreateTaskCommand;
|
|
1060
1015
|
exports.DescribeDeviceCommand = DescribeDeviceCommand;
|
|
1061
1016
|
exports.DescribeDeviceEc2InstancesCommand = DescribeDeviceEc2InstancesCommand;
|
|
1062
1017
|
exports.DescribeExecutionCommand = DescribeExecutionCommand;
|
|
1063
1018
|
exports.DescribeTaskCommand = DescribeTaskCommand;
|
|
1064
|
-
exports.ExecutionState = ExecutionState;
|
|
1065
|
-
exports.InstanceStateName = InstanceStateName;
|
|
1066
1019
|
exports.InternalServerException = InternalServerException$1;
|
|
1067
|
-
exports.IpAddressAssignment = IpAddressAssignment;
|
|
1068
1020
|
exports.ListDeviceResourcesCommand = ListDeviceResourcesCommand;
|
|
1069
1021
|
exports.ListDevicesCommand = ListDevicesCommand;
|
|
1070
1022
|
exports.ListExecutionsCommand = ListExecutionsCommand;
|
|
1071
1023
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1072
1024
|
exports.ListTasksCommand = ListTasksCommand;
|
|
1073
|
-
exports.PhysicalConnectorType = PhysicalConnectorType;
|
|
1074
1025
|
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1075
1026
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1076
1027
|
exports.SnowDeviceManagement = SnowDeviceManagement;
|
|
1077
1028
|
exports.SnowDeviceManagementClient = SnowDeviceManagementClient;
|
|
1078
1029
|
exports.SnowDeviceManagementServiceException = SnowDeviceManagementServiceException$1;
|
|
1079
1030
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1080
|
-
exports.TaskState = TaskState;
|
|
1081
1031
|
exports.ThrottlingException = ThrottlingException$1;
|
|
1082
|
-
exports.UnlockState = UnlockState;
|
|
1083
1032
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1084
1033
|
exports.ValidationException = ValidationException$1;
|
|
1085
1034
|
exports.paginateListDeviceResources = paginateListDeviceResources;
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,5 @@ export * from "./SnowDeviceManagementClient";
|
|
|
2
2
|
export * from "./SnowDeviceManagement";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/errors";
|
|
6
6
|
export { SnowDeviceManagementServiceException } from "./models/SnowDeviceManagementServiceException";
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { SnowDeviceManagementServiceException as __BaseException } from "./SnowDeviceManagementServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class InternalServerException extends __BaseException {
|
|
15
|
+
name = "InternalServerException";
|
|
16
|
+
$fault = "server";
|
|
17
|
+
$retryable = {};
|
|
18
|
+
constructor(opts) {
|
|
19
|
+
super({
|
|
20
|
+
name: "InternalServerException",
|
|
21
|
+
$fault: "server",
|
|
22
|
+
...opts,
|
|
23
|
+
});
|
|
24
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
28
|
+
name = "ResourceNotFoundException";
|
|
29
|
+
$fault = "client";
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super({
|
|
32
|
+
name: "ResourceNotFoundException",
|
|
33
|
+
$fault: "client",
|
|
34
|
+
...opts,
|
|
35
|
+
});
|
|
36
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export class ThrottlingException extends __BaseException {
|
|
40
|
+
name = "ThrottlingException";
|
|
41
|
+
$fault = "client";
|
|
42
|
+
$retryable = {
|
|
43
|
+
throttling: true,
|
|
44
|
+
};
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "ThrottlingException",
|
|
48
|
+
$fault: "client",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export class ValidationException extends __BaseException {
|
|
55
|
+
name = "ValidationException";
|
|
56
|
+
$fault = "client";
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "ValidationException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
67
|
+
name = "ServiceQuotaExceededException";
|
|
68
|
+
$fault = "client";
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ServiceQuotaExceededException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -1,86 +1,9 @@
|
|
|
1
|
-
import { SnowDeviceManagementServiceException as __BaseException } from "./SnowDeviceManagementServiceException";
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
1
|
export const AttachmentStatus = {
|
|
15
2
|
ATTACHED: "ATTACHED",
|
|
16
3
|
ATTACHING: "ATTACHING",
|
|
17
4
|
DETACHED: "DETACHED",
|
|
18
5
|
DETACHING: "DETACHING",
|
|
19
6
|
};
|
|
20
|
-
export class InternalServerException extends __BaseException {
|
|
21
|
-
name = "InternalServerException";
|
|
22
|
-
$fault = "server";
|
|
23
|
-
$retryable = {};
|
|
24
|
-
constructor(opts) {
|
|
25
|
-
super({
|
|
26
|
-
name: "InternalServerException",
|
|
27
|
-
$fault: "server",
|
|
28
|
-
...opts,
|
|
29
|
-
});
|
|
30
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
34
|
-
name = "ResourceNotFoundException";
|
|
35
|
-
$fault = "client";
|
|
36
|
-
constructor(opts) {
|
|
37
|
-
super({
|
|
38
|
-
name: "ResourceNotFoundException",
|
|
39
|
-
$fault: "client",
|
|
40
|
-
...opts,
|
|
41
|
-
});
|
|
42
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export class ThrottlingException extends __BaseException {
|
|
46
|
-
name = "ThrottlingException";
|
|
47
|
-
$fault = "client";
|
|
48
|
-
$retryable = {
|
|
49
|
-
throttling: true,
|
|
50
|
-
};
|
|
51
|
-
constructor(opts) {
|
|
52
|
-
super({
|
|
53
|
-
name: "ThrottlingException",
|
|
54
|
-
$fault: "client",
|
|
55
|
-
...opts,
|
|
56
|
-
});
|
|
57
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export class ValidationException extends __BaseException {
|
|
61
|
-
name = "ValidationException";
|
|
62
|
-
$fault = "client";
|
|
63
|
-
constructor(opts) {
|
|
64
|
-
super({
|
|
65
|
-
name: "ValidationException",
|
|
66
|
-
$fault: "client",
|
|
67
|
-
...opts,
|
|
68
|
-
});
|
|
69
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
73
|
-
name = "ServiceQuotaExceededException";
|
|
74
|
-
$fault = "client";
|
|
75
|
-
constructor(opts) {
|
|
76
|
-
super({
|
|
77
|
-
name: "ServiceQuotaExceededException",
|
|
78
|
-
$fault: "client",
|
|
79
|
-
...opts,
|
|
80
|
-
});
|
|
81
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
7
|
export const UnlockState = {
|
|
85
8
|
LOCKED: "LOCKED",
|
|
86
9
|
UNLOCKED: "UNLOCKED",
|
|
@@ -154,7 +154,7 @@ const _us = "used";
|
|
|
154
154
|
const _vI = "volumeId";
|
|
155
155
|
const n0 = "com.amazonaws.snowdevicemanagement";
|
|
156
156
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
157
|
-
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/
|
|
157
|
+
import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
|
|
158
158
|
import { SnowDeviceManagementServiceException as __SnowDeviceManagementServiceException } from "../models/SnowDeviceManagementServiceException";
|
|
159
159
|
export var AccessDeniedException = [
|
|
160
160
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { SnowDeviceManagementExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/errors";
|
|
14
|
+
export type * from "./models/models_0";
|
|
14
15
|
export { SnowDeviceManagementServiceException } from "./models/SnowDeviceManagementServiceException";
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SnowDeviceManagementServiceException as __BaseException } from "./SnowDeviceManagementServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>An unexpected error occurred while processing the request.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class InternalServerException extends __BaseException {
|
|
20
|
+
readonly name: "InternalServerException";
|
|
21
|
+
readonly $fault: "server";
|
|
22
|
+
$retryable: {};
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* <p>The request references a resource that doesn't exist.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
33
|
+
readonly name: "ResourceNotFoundException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* <p>The request was denied due to request throttling.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export declare class ThrottlingException extends __BaseException {
|
|
45
|
+
readonly name: "ThrottlingException";
|
|
46
|
+
readonly $fault: "client";
|
|
47
|
+
$retryable: {
|
|
48
|
+
throttling: boolean;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class ValidationException extends __BaseException {
|
|
60
|
+
readonly name: "ValidationException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* <p>The request would cause a service quota to be exceeded.</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
72
|
+
readonly name: "ServiceQuotaExceededException";
|
|
73
|
+
readonly $fault: "client";
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
78
|
+
}
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { SnowDeviceManagementServiceException as __BaseException } from "./SnowDeviceManagementServiceException";
|
|
3
|
-
/**
|
|
4
|
-
* <p>You don't have sufficient access to perform this action.</p>
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
-
readonly name: "AccessDeniedException";
|
|
9
|
-
readonly $fault: "client";
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
-
}
|
|
15
1
|
/**
|
|
16
2
|
* @public
|
|
17
3
|
* @enum
|
|
@@ -47,58 +33,6 @@ export interface CancelTaskOutput {
|
|
|
47
33
|
*/
|
|
48
34
|
taskId?: string | undefined;
|
|
49
35
|
}
|
|
50
|
-
/**
|
|
51
|
-
* <p>An unexpected error occurred while processing the request.</p>
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
|
-
export declare class InternalServerException extends __BaseException {
|
|
55
|
-
readonly name: "InternalServerException";
|
|
56
|
-
readonly $fault: "server";
|
|
57
|
-
$retryable: {};
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* <p>The request references a resource that doesn't exist.</p>
|
|
65
|
-
* @public
|
|
66
|
-
*/
|
|
67
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
68
|
-
readonly name: "ResourceNotFoundException";
|
|
69
|
-
readonly $fault: "client";
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* <p>The request was denied due to request throttling.</p>
|
|
77
|
-
* @public
|
|
78
|
-
*/
|
|
79
|
-
export declare class ThrottlingException extends __BaseException {
|
|
80
|
-
readonly name: "ThrottlingException";
|
|
81
|
-
readonly $fault: "client";
|
|
82
|
-
$retryable: {
|
|
83
|
-
throttling: boolean;
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
export declare class ValidationException extends __BaseException {
|
|
95
|
-
readonly name: "ValidationException";
|
|
96
|
-
readonly $fault: "client";
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
101
|
-
}
|
|
102
36
|
/**
|
|
103
37
|
* <p>The physical capacity of the Amazon Web Services Snow Family device. </p>
|
|
104
38
|
* @public
|
|
@@ -249,18 +183,6 @@ export interface CreateTaskOutput {
|
|
|
249
183
|
*/
|
|
250
184
|
taskArn?: string | undefined;
|
|
251
185
|
}
|
|
252
|
-
/**
|
|
253
|
-
* <p>The request would cause a service quota to be exceeded.</p>
|
|
254
|
-
* @public
|
|
255
|
-
*/
|
|
256
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
257
|
-
readonly name: "ServiceQuotaExceededException";
|
|
258
|
-
readonly $fault: "client";
|
|
259
|
-
/**
|
|
260
|
-
* @internal
|
|
261
|
-
*/
|
|
262
|
-
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
263
|
-
}
|
|
264
186
|
/**
|
|
265
187
|
* @public
|
|
266
188
|
*/
|
|
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { SnowDeviceManagementExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/errors";
|
|
9
|
+
export * from "./models/models_0";
|
|
9
10
|
export { SnowDeviceManagementServiceException } from "./models/SnowDeviceManagementServiceException";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { SnowDeviceManagementServiceException as __BaseException } from "./SnowDeviceManagementServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export declare class InternalServerException extends __BaseException {
|
|
11
|
+
readonly name: "InternalServerException";
|
|
12
|
+
readonly $fault: "server";
|
|
13
|
+
$retryable: {};
|
|
14
|
+
constructor(
|
|
15
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
19
|
+
readonly name: "ResourceNotFoundException";
|
|
20
|
+
readonly $fault: "client";
|
|
21
|
+
constructor(
|
|
22
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
export declare class ThrottlingException extends __BaseException {
|
|
26
|
+
readonly name: "ThrottlingException";
|
|
27
|
+
readonly $fault: "client";
|
|
28
|
+
$retryable: {
|
|
29
|
+
throttling: boolean;
|
|
30
|
+
};
|
|
31
|
+
constructor(
|
|
32
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
export declare class ValidationException extends __BaseException {
|
|
36
|
+
readonly name: "ValidationException";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
43
|
+
readonly name: "ServiceQuotaExceededException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
constructor(
|
|
46
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
47
|
+
);
|
|
48
|
+
}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { SnowDeviceManagementServiceException as __BaseException } from "./SnowDeviceManagementServiceException";
|
|
3
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
-
readonly name: "AccessDeniedException";
|
|
5
|
-
readonly $fault: "client";
|
|
6
|
-
constructor(
|
|
7
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
-
);
|
|
9
|
-
}
|
|
10
1
|
export declare const AttachmentStatus: {
|
|
11
2
|
readonly ATTACHED: "ATTACHED";
|
|
12
3
|
readonly ATTACHING: "ATTACHING";
|
|
@@ -21,38 +12,6 @@ export interface CancelTaskInput {
|
|
|
21
12
|
export interface CancelTaskOutput {
|
|
22
13
|
taskId?: string | undefined;
|
|
23
14
|
}
|
|
24
|
-
export declare class InternalServerException extends __BaseException {
|
|
25
|
-
readonly name: "InternalServerException";
|
|
26
|
-
readonly $fault: "server";
|
|
27
|
-
$retryable: {};
|
|
28
|
-
constructor(
|
|
29
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
30
|
-
);
|
|
31
|
-
}
|
|
32
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
33
|
-
readonly name: "ResourceNotFoundException";
|
|
34
|
-
readonly $fault: "client";
|
|
35
|
-
constructor(
|
|
36
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
export declare class ThrottlingException extends __BaseException {
|
|
40
|
-
readonly name: "ThrottlingException";
|
|
41
|
-
readonly $fault: "client";
|
|
42
|
-
$retryable: {
|
|
43
|
-
throttling: boolean;
|
|
44
|
-
};
|
|
45
|
-
constructor(
|
|
46
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
47
|
-
);
|
|
48
|
-
}
|
|
49
|
-
export declare class ValidationException extends __BaseException {
|
|
50
|
-
readonly name: "ValidationException";
|
|
51
|
-
readonly $fault: "client";
|
|
52
|
-
constructor(
|
|
53
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
15
|
export interface Capacity {
|
|
57
16
|
name?: string | undefined;
|
|
58
17
|
unit?: string | undefined;
|
|
@@ -103,13 +62,6 @@ export interface CreateTaskOutput {
|
|
|
103
62
|
taskId?: string | undefined;
|
|
104
63
|
taskArn?: string | undefined;
|
|
105
64
|
}
|
|
106
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
107
|
-
readonly name: "ServiceQuotaExceededException";
|
|
108
|
-
readonly $fault: "client";
|
|
109
|
-
constructor(
|
|
110
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
65
|
export interface DescribeDeviceInput {
|
|
114
66
|
managedDeviceId: string | undefined;
|
|
115
67
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-snow-device-management",
|
|
3
3
|
"description": "AWS SDK for JavaScript Snow Device Management Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.935.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-snow-device-management",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.935.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.935.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.935.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.935.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|