@aws-sdk/client-global-accelerator 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.
@@ -1,336 +1 @@
1
- import { GlobalAcceleratorServiceException as __BaseException } from "./GlobalAcceleratorServiceException";
2
- export const IpAddressType = {
3
- DUAL_STACK: "DUAL_STACK",
4
- IPV4: "IPV4",
5
- };
6
- export const IpAddressFamily = {
7
- IPv4: "IPv4",
8
- IPv6: "IPv6",
9
- };
10
- export const AcceleratorStatus = {
11
- DEPLOYED: "DEPLOYED",
12
- IN_PROGRESS: "IN_PROGRESS",
13
- };
14
- export class AcceleratorNotDisabledException extends __BaseException {
15
- name = "AcceleratorNotDisabledException";
16
- $fault = "client";
17
- Message;
18
- constructor(opts) {
19
- super({
20
- name: "AcceleratorNotDisabledException",
21
- $fault: "client",
22
- ...opts,
23
- });
24
- Object.setPrototypeOf(this, AcceleratorNotDisabledException.prototype);
25
- this.Message = opts.Message;
26
- }
27
- }
28
- export class AcceleratorNotFoundException extends __BaseException {
29
- name = "AcceleratorNotFoundException";
30
- $fault = "client";
31
- Message;
32
- constructor(opts) {
33
- super({
34
- name: "AcceleratorNotFoundException",
35
- $fault: "client",
36
- ...opts,
37
- });
38
- Object.setPrototypeOf(this, AcceleratorNotFoundException.prototype);
39
- this.Message = opts.Message;
40
- }
41
- }
42
- export class AccessDeniedException extends __BaseException {
43
- name = "AccessDeniedException";
44
- $fault = "client";
45
- Message;
46
- constructor(opts) {
47
- super({
48
- name: "AccessDeniedException",
49
- $fault: "client",
50
- ...opts,
51
- });
52
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
53
- this.Message = opts.Message;
54
- }
55
- }
56
- export class ConflictException extends __BaseException {
57
- name = "ConflictException";
58
- $fault = "client";
59
- Message;
60
- constructor(opts) {
61
- super({
62
- name: "ConflictException",
63
- $fault: "client",
64
- ...opts,
65
- });
66
- Object.setPrototypeOf(this, ConflictException.prototype);
67
- this.Message = opts.Message;
68
- }
69
- }
70
- export class EndpointAlreadyExistsException extends __BaseException {
71
- name = "EndpointAlreadyExistsException";
72
- $fault = "client";
73
- Message;
74
- constructor(opts) {
75
- super({
76
- name: "EndpointAlreadyExistsException",
77
- $fault: "client",
78
- ...opts,
79
- });
80
- Object.setPrototypeOf(this, EndpointAlreadyExistsException.prototype);
81
- this.Message = opts.Message;
82
- }
83
- }
84
- export class EndpointGroupNotFoundException extends __BaseException {
85
- name = "EndpointGroupNotFoundException";
86
- $fault = "client";
87
- Message;
88
- constructor(opts) {
89
- super({
90
- name: "EndpointGroupNotFoundException",
91
- $fault: "client",
92
- ...opts,
93
- });
94
- Object.setPrototypeOf(this, EndpointGroupNotFoundException.prototype);
95
- this.Message = opts.Message;
96
- }
97
- }
98
- export class InternalServiceErrorException extends __BaseException {
99
- name = "InternalServiceErrorException";
100
- $fault = "server";
101
- Message;
102
- constructor(opts) {
103
- super({
104
- name: "InternalServiceErrorException",
105
- $fault: "server",
106
- ...opts,
107
- });
108
- Object.setPrototypeOf(this, InternalServiceErrorException.prototype);
109
- this.Message = opts.Message;
110
- }
111
- }
112
- export class InvalidArgumentException extends __BaseException {
113
- name = "InvalidArgumentException";
114
- $fault = "client";
115
- Message;
116
- constructor(opts) {
117
- super({
118
- name: "InvalidArgumentException",
119
- $fault: "client",
120
- ...opts,
121
- });
122
- Object.setPrototypeOf(this, InvalidArgumentException.prototype);
123
- this.Message = opts.Message;
124
- }
125
- }
126
- export class LimitExceededException extends __BaseException {
127
- name = "LimitExceededException";
128
- $fault = "client";
129
- Message;
130
- constructor(opts) {
131
- super({
132
- name: "LimitExceededException",
133
- $fault: "client",
134
- ...opts,
135
- });
136
- Object.setPrototypeOf(this, LimitExceededException.prototype);
137
- this.Message = opts.Message;
138
- }
139
- }
140
- export const HealthState = {
141
- HEALTHY: "HEALTHY",
142
- INITIAL: "INITIAL",
143
- UNHEALTHY: "UNHEALTHY",
144
- };
145
- export class TransactionInProgressException extends __BaseException {
146
- name = "TransactionInProgressException";
147
- $fault = "client";
148
- Message;
149
- constructor(opts) {
150
- super({
151
- name: "TransactionInProgressException",
152
- $fault: "client",
153
- ...opts,
154
- });
155
- Object.setPrototypeOf(this, TransactionInProgressException.prototype);
156
- this.Message = opts.Message;
157
- }
158
- }
159
- export const ByoipCidrState = {
160
- ADVERTISING: "ADVERTISING",
161
- DEPROVISIONED: "DEPROVISIONED",
162
- FAILED_ADVERTISING: "FAILED_ADVERTISING",
163
- FAILED_DEPROVISION: "FAILED_DEPROVISION",
164
- FAILED_PROVISION: "FAILED_PROVISION",
165
- FAILED_WITHDRAW: "FAILED_WITHDRAW",
166
- PENDING_ADVERTISING: "PENDING_ADVERTISING",
167
- PENDING_DEPROVISIONING: "PENDING_DEPROVISIONING",
168
- PENDING_PROVISIONING: "PENDING_PROVISIONING",
169
- PENDING_WITHDRAWING: "PENDING_WITHDRAWING",
170
- READY: "READY",
171
- };
172
- export class ByoipCidrNotFoundException extends __BaseException {
173
- name = "ByoipCidrNotFoundException";
174
- $fault = "client";
175
- Message;
176
- constructor(opts) {
177
- super({
178
- name: "ByoipCidrNotFoundException",
179
- $fault: "client",
180
- ...opts,
181
- });
182
- Object.setPrototypeOf(this, ByoipCidrNotFoundException.prototype);
183
- this.Message = opts.Message;
184
- }
185
- }
186
- export class IncorrectCidrStateException extends __BaseException {
187
- name = "IncorrectCidrStateException";
188
- $fault = "client";
189
- Message;
190
- constructor(opts) {
191
- super({
192
- name: "IncorrectCidrStateException",
193
- $fault: "client",
194
- ...opts,
195
- });
196
- Object.setPrototypeOf(this, IncorrectCidrStateException.prototype);
197
- this.Message = opts.Message;
198
- }
199
- }
200
- export class AssociatedEndpointGroupFoundException extends __BaseException {
201
- name = "AssociatedEndpointGroupFoundException";
202
- $fault = "client";
203
- Message;
204
- constructor(opts) {
205
- super({
206
- name: "AssociatedEndpointGroupFoundException",
207
- $fault: "client",
208
- ...opts,
209
- });
210
- Object.setPrototypeOf(this, AssociatedEndpointGroupFoundException.prototype);
211
- this.Message = opts.Message;
212
- }
213
- }
214
- export class AssociatedListenerFoundException extends __BaseException {
215
- name = "AssociatedListenerFoundException";
216
- $fault = "client";
217
- Message;
218
- constructor(opts) {
219
- super({
220
- name: "AssociatedListenerFoundException",
221
- $fault: "client",
222
- ...opts,
223
- });
224
- Object.setPrototypeOf(this, AssociatedListenerFoundException.prototype);
225
- this.Message = opts.Message;
226
- }
227
- }
228
- export class AttachmentNotFoundException extends __BaseException {
229
- name = "AttachmentNotFoundException";
230
- $fault = "client";
231
- Message;
232
- constructor(opts) {
233
- super({
234
- name: "AttachmentNotFoundException",
235
- $fault: "client",
236
- ...opts,
237
- });
238
- Object.setPrototypeOf(this, AttachmentNotFoundException.prototype);
239
- this.Message = opts.Message;
240
- }
241
- }
242
- export const ClientAffinity = {
243
- NONE: "NONE",
244
- SOURCE_IP: "SOURCE_IP",
245
- };
246
- export const CustomRoutingAcceleratorStatus = {
247
- DEPLOYED: "DEPLOYED",
248
- IN_PROGRESS: "IN_PROGRESS",
249
- };
250
- export const CustomRoutingProtocol = {
251
- TCP: "TCP",
252
- UDP: "UDP",
253
- };
254
- export const Protocol = {
255
- TCP: "TCP",
256
- UDP: "UDP",
257
- };
258
- export class EndpointGroupAlreadyExistsException extends __BaseException {
259
- name = "EndpointGroupAlreadyExistsException";
260
- $fault = "client";
261
- Message;
262
- constructor(opts) {
263
- super({
264
- name: "EndpointGroupAlreadyExistsException",
265
- $fault: "client",
266
- ...opts,
267
- });
268
- Object.setPrototypeOf(this, EndpointGroupAlreadyExistsException.prototype);
269
- this.Message = opts.Message;
270
- }
271
- }
272
- export class InvalidPortRangeException extends __BaseException {
273
- name = "InvalidPortRangeException";
274
- $fault = "client";
275
- Message;
276
- constructor(opts) {
277
- super({
278
- name: "InvalidPortRangeException",
279
- $fault: "client",
280
- ...opts,
281
- });
282
- Object.setPrototypeOf(this, InvalidPortRangeException.prototype);
283
- this.Message = opts.Message;
284
- }
285
- }
286
- export class ListenerNotFoundException extends __BaseException {
287
- name = "ListenerNotFoundException";
288
- $fault = "client";
289
- Message;
290
- constructor(opts) {
291
- super({
292
- name: "ListenerNotFoundException",
293
- $fault: "client",
294
- ...opts,
295
- });
296
- Object.setPrototypeOf(this, ListenerNotFoundException.prototype);
297
- this.Message = opts.Message;
298
- }
299
- }
300
- export const HealthCheckProtocol = {
301
- HTTP: "HTTP",
302
- HTTPS: "HTTPS",
303
- TCP: "TCP",
304
- };
305
- export const CustomRoutingDestinationTrafficState = {
306
- ALLOW: "ALLOW",
307
- DENY: "DENY",
308
- };
309
- export class EndpointNotFoundException extends __BaseException {
310
- name = "EndpointNotFoundException";
311
- $fault = "client";
312
- Message;
313
- constructor(opts) {
314
- super({
315
- name: "EndpointNotFoundException",
316
- $fault: "client",
317
- ...opts,
318
- });
319
- Object.setPrototypeOf(this, EndpointNotFoundException.prototype);
320
- this.Message = opts.Message;
321
- }
322
- }
323
- export class InvalidNextTokenException extends __BaseException {
324
- name = "InvalidNextTokenException";
325
- $fault = "client";
326
- Message;
327
- constructor(opts) {
328
- super({
329
- name: "InvalidNextTokenException",
330
- $fault: "client",
331
- ...opts,
332
- });
333
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
334
- this.Message = opts.Message;
335
- }
336
- }
1
+ export {};
@@ -311,8 +311,8 @@ const _s = "server";
311
311
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.globalaccelerator";
312
312
  const n0 = "com.amazonaws.globalaccelerator";
313
313
  import { TypeRegistry } from "@smithy/core/schema";
314
+ import { AcceleratorNotDisabledException as __AcceleratorNotDisabledException, AcceleratorNotFoundException as __AcceleratorNotFoundException, AccessDeniedException as __AccessDeniedException, AssociatedEndpointGroupFoundException as __AssociatedEndpointGroupFoundException, AssociatedListenerFoundException as __AssociatedListenerFoundException, AttachmentNotFoundException as __AttachmentNotFoundException, ByoipCidrNotFoundException as __ByoipCidrNotFoundException, ConflictException as __ConflictException, EndpointAlreadyExistsException as __EndpointAlreadyExistsException, EndpointGroupAlreadyExistsException as __EndpointGroupAlreadyExistsException, EndpointGroupNotFoundException as __EndpointGroupNotFoundException, EndpointNotFoundException as __EndpointNotFoundException, IncorrectCidrStateException as __IncorrectCidrStateException, InternalServiceErrorException as __InternalServiceErrorException, InvalidArgumentException as __InvalidArgumentException, InvalidNextTokenException as __InvalidNextTokenException, InvalidPortRangeException as __InvalidPortRangeException, LimitExceededException as __LimitExceededException, ListenerNotFoundException as __ListenerNotFoundException, TransactionInProgressException as __TransactionInProgressException, } from "../models/errors";
314
315
  import { GlobalAcceleratorServiceException as __GlobalAcceleratorServiceException } from "../models/GlobalAcceleratorServiceException";
315
- import { AcceleratorNotDisabledException as __AcceleratorNotDisabledException, AcceleratorNotFoundException as __AcceleratorNotFoundException, AccessDeniedException as __AccessDeniedException, AssociatedEndpointGroupFoundException as __AssociatedEndpointGroupFoundException, AssociatedListenerFoundException as __AssociatedListenerFoundException, AttachmentNotFoundException as __AttachmentNotFoundException, ByoipCidrNotFoundException as __ByoipCidrNotFoundException, ConflictException as __ConflictException, EndpointAlreadyExistsException as __EndpointAlreadyExistsException, EndpointGroupAlreadyExistsException as __EndpointGroupAlreadyExistsException, EndpointGroupNotFoundException as __EndpointGroupNotFoundException, EndpointNotFoundException as __EndpointNotFoundException, IncorrectCidrStateException as __IncorrectCidrStateException, InternalServiceErrorException as __InternalServiceErrorException, InvalidArgumentException as __InvalidArgumentException, InvalidNextTokenException as __InvalidNextTokenException, InvalidPortRangeException as __InvalidPortRangeException, LimitExceededException as __LimitExceededException, ListenerNotFoundException as __ListenerNotFoundException, TransactionInProgressException as __TransactionInProgressException, } from "../models/index";
316
316
  export var Accelerator = [
317
317
  3,
318
318
  n0,
@@ -57,5 +57,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
57
57
  export type { GlobalAcceleratorExtensionConfiguration } from "./extensionConfiguration";
58
58
  export * from "./commands";
59
59
  export * from "./pagination";
60
- export * from "./models";
60
+ export * from "./models/enums";
61
+ export * from "./models/errors";
62
+ export type * from "./models/models_0";
61
63
  export { GlobalAcceleratorServiceException } from "./models/GlobalAcceleratorServiceException";
@@ -0,0 +1,143 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const IpAddressType: {
6
+ readonly DUAL_STACK: "DUAL_STACK";
7
+ readonly IPV4: "IPV4";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const IpAddressFamily: {
18
+ readonly IPv4: "IPv4";
19
+ readonly IPv6: "IPv6";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type IpAddressFamily = (typeof IpAddressFamily)[keyof typeof IpAddressFamily];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const AcceleratorStatus: {
30
+ readonly DEPLOYED: "DEPLOYED";
31
+ readonly IN_PROGRESS: "IN_PROGRESS";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type AcceleratorStatus = (typeof AcceleratorStatus)[keyof typeof AcceleratorStatus];
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const HealthState: {
42
+ readonly HEALTHY: "HEALTHY";
43
+ readonly INITIAL: "INITIAL";
44
+ readonly UNHEALTHY: "UNHEALTHY";
45
+ };
46
+ /**
47
+ * @public
48
+ */
49
+ export type HealthState = (typeof HealthState)[keyof typeof HealthState];
50
+ /**
51
+ * @public
52
+ * @enum
53
+ */
54
+ export declare const ByoipCidrState: {
55
+ readonly ADVERTISING: "ADVERTISING";
56
+ readonly DEPROVISIONED: "DEPROVISIONED";
57
+ readonly FAILED_ADVERTISING: "FAILED_ADVERTISING";
58
+ readonly FAILED_DEPROVISION: "FAILED_DEPROVISION";
59
+ readonly FAILED_PROVISION: "FAILED_PROVISION";
60
+ readonly FAILED_WITHDRAW: "FAILED_WITHDRAW";
61
+ readonly PENDING_ADVERTISING: "PENDING_ADVERTISING";
62
+ readonly PENDING_DEPROVISIONING: "PENDING_DEPROVISIONING";
63
+ readonly PENDING_PROVISIONING: "PENDING_PROVISIONING";
64
+ readonly PENDING_WITHDRAWING: "PENDING_WITHDRAWING";
65
+ readonly READY: "READY";
66
+ };
67
+ /**
68
+ * @public
69
+ */
70
+ export type ByoipCidrState = (typeof ByoipCidrState)[keyof typeof ByoipCidrState];
71
+ /**
72
+ * @public
73
+ * @enum
74
+ */
75
+ export declare const ClientAffinity: {
76
+ readonly NONE: "NONE";
77
+ readonly SOURCE_IP: "SOURCE_IP";
78
+ };
79
+ /**
80
+ * @public
81
+ */
82
+ export type ClientAffinity = (typeof ClientAffinity)[keyof typeof ClientAffinity];
83
+ /**
84
+ * @public
85
+ * @enum
86
+ */
87
+ export declare const CustomRoutingAcceleratorStatus: {
88
+ readonly DEPLOYED: "DEPLOYED";
89
+ readonly IN_PROGRESS: "IN_PROGRESS";
90
+ };
91
+ /**
92
+ * @public
93
+ */
94
+ export type CustomRoutingAcceleratorStatus = (typeof CustomRoutingAcceleratorStatus)[keyof typeof CustomRoutingAcceleratorStatus];
95
+ /**
96
+ * @public
97
+ * @enum
98
+ */
99
+ export declare const CustomRoutingProtocol: {
100
+ readonly TCP: "TCP";
101
+ readonly UDP: "UDP";
102
+ };
103
+ /**
104
+ * @public
105
+ */
106
+ export type CustomRoutingProtocol = (typeof CustomRoutingProtocol)[keyof typeof CustomRoutingProtocol];
107
+ /**
108
+ * @public
109
+ * @enum
110
+ */
111
+ export declare const Protocol: {
112
+ readonly TCP: "TCP";
113
+ readonly UDP: "UDP";
114
+ };
115
+ /**
116
+ * @public
117
+ */
118
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
119
+ /**
120
+ * @public
121
+ * @enum
122
+ */
123
+ export declare const HealthCheckProtocol: {
124
+ readonly HTTP: "HTTP";
125
+ readonly HTTPS: "HTTPS";
126
+ readonly TCP: "TCP";
127
+ };
128
+ /**
129
+ * @public
130
+ */
131
+ export type HealthCheckProtocol = (typeof HealthCheckProtocol)[keyof typeof HealthCheckProtocol];
132
+ /**
133
+ * @public
134
+ * @enum
135
+ */
136
+ export declare const CustomRoutingDestinationTrafficState: {
137
+ readonly ALLOW: "ALLOW";
138
+ readonly DENY: "DENY";
139
+ };
140
+ /**
141
+ * @public
142
+ */
143
+ export type CustomRoutingDestinationTrafficState = (typeof CustomRoutingDestinationTrafficState)[keyof typeof CustomRoutingDestinationTrafficState];