@aws-sdk/client-device-farm 3.987.0 → 3.989.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 +96 -2558
- package/dist-cjs/models/DeviceFarmServiceException.js +12 -0
- package/dist-cjs/models/errors.js +166 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +2045 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +95 -89
- package/dist-types/schemas/schemas_0.d.ts +20 -13
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -13
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeviceFarmServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class DeviceFarmServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, DeviceFarmServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.DeviceFarmServiceException = DeviceFarmServiceException;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TooManyTagsException = exports.TagPolicyException = exports.IdempotencyException = exports.NotEligibleException = exports.InvalidOperationException = exports.InternalServiceException = exports.TagOperationException = exports.ServiceAccountException = exports.NotFoundException = exports.LimitExceededException = exports.CannotDeleteException = exports.ArgumentException = void 0;
|
|
4
|
+
const DeviceFarmServiceException_1 = require("./DeviceFarmServiceException");
|
|
5
|
+
class ArgumentException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
6
|
+
name = "ArgumentException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "ArgumentException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, ArgumentException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.ArgumentException = ArgumentException;
|
|
18
|
+
class CannotDeleteException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
19
|
+
name = "CannotDeleteException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "CannotDeleteException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, CannotDeleteException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.CannotDeleteException = CannotDeleteException;
|
|
31
|
+
class LimitExceededException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
32
|
+
name = "LimitExceededException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "LimitExceededException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.LimitExceededException = LimitExceededException;
|
|
44
|
+
class NotFoundException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
45
|
+
name = "NotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "NotFoundException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.NotFoundException = NotFoundException;
|
|
57
|
+
class ServiceAccountException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
58
|
+
name = "ServiceAccountException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ServiceAccountException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, ServiceAccountException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.ServiceAccountException = ServiceAccountException;
|
|
70
|
+
class TagOperationException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
71
|
+
name = "TagOperationException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
resourceName;
|
|
74
|
+
constructor(opts) {
|
|
75
|
+
super({
|
|
76
|
+
name: "TagOperationException",
|
|
77
|
+
$fault: "client",
|
|
78
|
+
...opts,
|
|
79
|
+
});
|
|
80
|
+
Object.setPrototypeOf(this, TagOperationException.prototype);
|
|
81
|
+
this.resourceName = opts.resourceName;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.TagOperationException = TagOperationException;
|
|
85
|
+
class InternalServiceException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
86
|
+
name = "InternalServiceException";
|
|
87
|
+
$fault = "server";
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "InternalServiceException",
|
|
91
|
+
$fault: "server",
|
|
92
|
+
...opts,
|
|
93
|
+
});
|
|
94
|
+
Object.setPrototypeOf(this, InternalServiceException.prototype);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.InternalServiceException = InternalServiceException;
|
|
98
|
+
class InvalidOperationException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
99
|
+
name = "InvalidOperationException";
|
|
100
|
+
$fault = "client";
|
|
101
|
+
constructor(opts) {
|
|
102
|
+
super({
|
|
103
|
+
name: "InvalidOperationException",
|
|
104
|
+
$fault: "client",
|
|
105
|
+
...opts,
|
|
106
|
+
});
|
|
107
|
+
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.InvalidOperationException = InvalidOperationException;
|
|
111
|
+
class NotEligibleException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
112
|
+
name = "NotEligibleException";
|
|
113
|
+
$fault = "client";
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "NotEligibleException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, NotEligibleException.prototype);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
exports.NotEligibleException = NotEligibleException;
|
|
124
|
+
class IdempotencyException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
125
|
+
name = "IdempotencyException";
|
|
126
|
+
$fault = "client";
|
|
127
|
+
constructor(opts) {
|
|
128
|
+
super({
|
|
129
|
+
name: "IdempotencyException",
|
|
130
|
+
$fault: "client",
|
|
131
|
+
...opts,
|
|
132
|
+
});
|
|
133
|
+
Object.setPrototypeOf(this, IdempotencyException.prototype);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.IdempotencyException = IdempotencyException;
|
|
137
|
+
class TagPolicyException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
138
|
+
name = "TagPolicyException";
|
|
139
|
+
$fault = "client";
|
|
140
|
+
resourceName;
|
|
141
|
+
constructor(opts) {
|
|
142
|
+
super({
|
|
143
|
+
name: "TagPolicyException",
|
|
144
|
+
$fault: "client",
|
|
145
|
+
...opts,
|
|
146
|
+
});
|
|
147
|
+
Object.setPrototypeOf(this, TagPolicyException.prototype);
|
|
148
|
+
this.resourceName = opts.resourceName;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.TagPolicyException = TagPolicyException;
|
|
152
|
+
class TooManyTagsException extends DeviceFarmServiceException_1.DeviceFarmServiceException {
|
|
153
|
+
name = "TooManyTagsException";
|
|
154
|
+
$fault = "client";
|
|
155
|
+
resourceName;
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "TooManyTagsException",
|
|
159
|
+
$fault: "client",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
163
|
+
this.resourceName = opts.resourceName;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2015-06-23",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.devicefarm",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
xmlNamespace: "http://devicefarm.amazonaws.com/doc/2015-06-23/",
|
|
33
35
|
version: "2015-06-23",
|
|
34
36
|
serviceTarget: "DeviceFarm_20150623",
|