@aws-sdk/client-appstream 3.986.0 → 3.988.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 +107 -2852
- package/dist-cjs/models/AppStreamServiceException.js +12 -0
- package/dist-cjs/models/errors.js +229 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +2235 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +102 -96
- package/dist-types/schemas/schemas_0.d.ts +23 -16
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -16
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AppStreamServiceException = 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 AppStreamServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, AppStreamServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.AppStreamServiceException = AppStreamServiceException;
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceInUseException = exports.DryRunOperationException = exports.EntitlementAlreadyExistsException = exports.RequestLimitExceededException = exports.InvalidRoleException = exports.ResourceNotAvailableException = exports.ResourceAlreadyExistsException = exports.InvalidAccountStatusException = exports.IncompatibleImageException = exports.EntitlementNotFoundException = exports.ResourceNotFoundException = exports.OperationNotPermittedException = exports.LimitExceededException = exports.InvalidParameterCombinationException = exports.ConcurrentModificationException = void 0;
|
|
4
|
+
const AppStreamServiceException_1 = require("./AppStreamServiceException");
|
|
5
|
+
class ConcurrentModificationException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
6
|
+
name = "ConcurrentModificationException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "ConcurrentModificationException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts,
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
16
|
+
this.Message = opts.Message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
20
|
+
class InvalidParameterCombinationException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
21
|
+
name = "InvalidParameterCombinationException";
|
|
22
|
+
$fault = "client";
|
|
23
|
+
Message;
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "InvalidParameterCombinationException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
Object.setPrototypeOf(this, InvalidParameterCombinationException.prototype);
|
|
31
|
+
this.Message = opts.Message;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.InvalidParameterCombinationException = InvalidParameterCombinationException;
|
|
35
|
+
class LimitExceededException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
36
|
+
name = "LimitExceededException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "LimitExceededException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.LimitExceededException = LimitExceededException;
|
|
50
|
+
class OperationNotPermittedException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
51
|
+
name = "OperationNotPermittedException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "OperationNotPermittedException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.OperationNotPermittedException = OperationNotPermittedException;
|
|
65
|
+
class ResourceNotFoundException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
66
|
+
name = "ResourceNotFoundException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "ResourceNotFoundException",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
80
|
+
class EntitlementNotFoundException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
81
|
+
name = "EntitlementNotFoundException";
|
|
82
|
+
$fault = "client";
|
|
83
|
+
Message;
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "EntitlementNotFoundException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
Object.setPrototypeOf(this, EntitlementNotFoundException.prototype);
|
|
91
|
+
this.Message = opts.Message;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
exports.EntitlementNotFoundException = EntitlementNotFoundException;
|
|
95
|
+
class IncompatibleImageException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
96
|
+
name = "IncompatibleImageException";
|
|
97
|
+
$fault = "client";
|
|
98
|
+
Message;
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "IncompatibleImageException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, IncompatibleImageException.prototype);
|
|
106
|
+
this.Message = opts.Message;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.IncompatibleImageException = IncompatibleImageException;
|
|
110
|
+
class InvalidAccountStatusException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
111
|
+
name = "InvalidAccountStatusException";
|
|
112
|
+
$fault = "client";
|
|
113
|
+
Message;
|
|
114
|
+
constructor(opts) {
|
|
115
|
+
super({
|
|
116
|
+
name: "InvalidAccountStatusException",
|
|
117
|
+
$fault: "client",
|
|
118
|
+
...opts,
|
|
119
|
+
});
|
|
120
|
+
Object.setPrototypeOf(this, InvalidAccountStatusException.prototype);
|
|
121
|
+
this.Message = opts.Message;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.InvalidAccountStatusException = InvalidAccountStatusException;
|
|
125
|
+
class ResourceAlreadyExistsException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
126
|
+
name = "ResourceAlreadyExistsException";
|
|
127
|
+
$fault = "client";
|
|
128
|
+
Message;
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "ResourceAlreadyExistsException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
|
|
136
|
+
this.Message = opts.Message;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
140
|
+
class ResourceNotAvailableException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
141
|
+
name = "ResourceNotAvailableException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
Message;
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "ResourceNotAvailableException",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, ResourceNotAvailableException.prototype);
|
|
151
|
+
this.Message = opts.Message;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.ResourceNotAvailableException = ResourceNotAvailableException;
|
|
155
|
+
class InvalidRoleException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
156
|
+
name = "InvalidRoleException";
|
|
157
|
+
$fault = "client";
|
|
158
|
+
Message;
|
|
159
|
+
constructor(opts) {
|
|
160
|
+
super({
|
|
161
|
+
name: "InvalidRoleException",
|
|
162
|
+
$fault: "client",
|
|
163
|
+
...opts,
|
|
164
|
+
});
|
|
165
|
+
Object.setPrototypeOf(this, InvalidRoleException.prototype);
|
|
166
|
+
this.Message = opts.Message;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.InvalidRoleException = InvalidRoleException;
|
|
170
|
+
class RequestLimitExceededException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
171
|
+
name = "RequestLimitExceededException";
|
|
172
|
+
$fault = "client";
|
|
173
|
+
Message;
|
|
174
|
+
constructor(opts) {
|
|
175
|
+
super({
|
|
176
|
+
name: "RequestLimitExceededException",
|
|
177
|
+
$fault: "client",
|
|
178
|
+
...opts,
|
|
179
|
+
});
|
|
180
|
+
Object.setPrototypeOf(this, RequestLimitExceededException.prototype);
|
|
181
|
+
this.Message = opts.Message;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
exports.RequestLimitExceededException = RequestLimitExceededException;
|
|
185
|
+
class EntitlementAlreadyExistsException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
186
|
+
name = "EntitlementAlreadyExistsException";
|
|
187
|
+
$fault = "client";
|
|
188
|
+
Message;
|
|
189
|
+
constructor(opts) {
|
|
190
|
+
super({
|
|
191
|
+
name: "EntitlementAlreadyExistsException",
|
|
192
|
+
$fault: "client",
|
|
193
|
+
...opts,
|
|
194
|
+
});
|
|
195
|
+
Object.setPrototypeOf(this, EntitlementAlreadyExistsException.prototype);
|
|
196
|
+
this.Message = opts.Message;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
exports.EntitlementAlreadyExistsException = EntitlementAlreadyExistsException;
|
|
200
|
+
class DryRunOperationException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
201
|
+
name = "DryRunOperationException";
|
|
202
|
+
$fault = "client";
|
|
203
|
+
Message;
|
|
204
|
+
constructor(opts) {
|
|
205
|
+
super({
|
|
206
|
+
name: "DryRunOperationException",
|
|
207
|
+
$fault: "client",
|
|
208
|
+
...opts,
|
|
209
|
+
});
|
|
210
|
+
Object.setPrototypeOf(this, DryRunOperationException.prototype);
|
|
211
|
+
this.Message = opts.Message;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
exports.DryRunOperationException = DryRunOperationException;
|
|
215
|
+
class ResourceInUseException extends AppStreamServiceException_1.AppStreamServiceException {
|
|
216
|
+
name = "ResourceInUseException";
|
|
217
|
+
$fault = "client";
|
|
218
|
+
Message;
|
|
219
|
+
constructor(opts) {
|
|
220
|
+
super({
|
|
221
|
+
name: "ResourceInUseException",
|
|
222
|
+
$fault: "client",
|
|
223
|
+
...opts,
|
|
224
|
+
});
|
|
225
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
226
|
+
this.Message = opts.Message;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
@@ -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: "2016-12-01",
|
|
@@ -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.appstream",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2016-12-01",
|
|
33
35
|
serviceTarget: "PhotonAdminProxyService",
|
|
34
36
|
},
|