@aws-sdk/client-apigatewayv2 3.933.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/README.md +215 -7
- package/dist-cjs/index.js +4158 -1317
- package/dist-es/ApiGatewayV2.js +52 -0
- package/dist-es/commands/CreatePortalCommand.js +16 -0
- package/dist-es/commands/CreatePortalProductCommand.js +16 -0
- package/dist-es/commands/CreateProductPageCommand.js +16 -0
- package/dist-es/commands/CreateProductRestEndpointPageCommand.js +16 -0
- package/dist-es/commands/DeletePortalCommand.js +16 -0
- package/dist-es/commands/DeletePortalProductCommand.js +16 -0
- package/dist-es/commands/DeletePortalProductSharingPolicyCommand.js +16 -0
- package/dist-es/commands/DeleteProductPageCommand.js +16 -0
- package/dist-es/commands/DeleteProductRestEndpointPageCommand.js +16 -0
- package/dist-es/commands/DisablePortalCommand.js +16 -0
- package/dist-es/commands/GetPortalCommand.js +16 -0
- package/dist-es/commands/GetPortalProductCommand.js +16 -0
- package/dist-es/commands/GetPortalProductSharingPolicyCommand.js +16 -0
- package/dist-es/commands/GetProductPageCommand.js +16 -0
- package/dist-es/commands/GetProductRestEndpointPageCommand.js +16 -0
- package/dist-es/commands/ListPortalProductsCommand.js +16 -0
- package/dist-es/commands/ListPortalsCommand.js +16 -0
- package/dist-es/commands/ListProductPagesCommand.js +16 -0
- package/dist-es/commands/ListProductRestEndpointPagesCommand.js +16 -0
- package/dist-es/commands/PreviewPortalCommand.js +16 -0
- package/dist-es/commands/PublishPortalCommand.js +16 -0
- package/dist-es/commands/PutPortalProductSharingPolicyCommand.js +16 -0
- package/dist-es/commands/UpdatePortalCommand.js +16 -0
- package/dist-es/commands/UpdatePortalProductCommand.js +16 -0
- package/dist-es/commands/UpdateProductPageCommand.js +16 -0
- package/dist-es/commands/UpdateProductRestEndpointPageCommand.js +16 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +97 -0
- package/dist-es/models/errors.js +75 -0
- package/dist-es/models/models_0.js +1 -152
- package/dist-es/schemas/schemas_0.js +4211 -1758
- package/dist-types/ApiGatewayV2.d.ts +184 -0
- package/dist-types/ApiGatewayV2Client.d.ts +28 -2
- package/dist-types/commands/CreatePortalCommand.d.ts +164 -0
- package/dist-types/commands/CreatePortalProductCommand.d.ts +107 -0
- package/dist-types/commands/CreateProductPageCommand.d.ts +95 -0
- package/dist-types/commands/CreateProductRestEndpointPageCommand.d.ts +123 -0
- package/dist-types/commands/DeletePortalCommand.d.ts +80 -0
- package/dist-types/commands/DeletePortalProductCommand.d.ts +83 -0
- package/dist-types/commands/DeletePortalProductSharingPolicyCommand.d.ts +83 -0
- package/dist-types/commands/DeleteProductPageCommand.d.ts +84 -0
- package/dist-types/commands/DeleteProductRestEndpointPageCommand.d.ts +84 -0
- package/dist-types/commands/DisablePortalCommand.d.ts +86 -0
- package/dist-types/commands/GetPortalCommand.d.ts +138 -0
- package/dist-types/commands/GetPortalProductCommand.d.ts +107 -0
- package/dist-types/commands/GetPortalProductSharingPolicyCommand.d.ts +86 -0
- package/dist-types/commands/GetProductPageCommand.d.ts +93 -0
- package/dist-types/commands/GetProductRestEndpointPageCommand.d.ts +110 -0
- package/dist-types/commands/ListPortalProductsCommand.d.ts +96 -0
- package/dist-types/commands/ListPortalsCommand.d.ts +141 -0
- package/dist-types/commands/ListProductPagesCommand.d.ts +96 -0
- package/dist-types/commands/ListProductRestEndpointPagesCommand.d.ts +111 -0
- package/dist-types/commands/PreviewPortalCommand.d.ts +86 -0
- package/dist-types/commands/PublishPortalCommand.d.ts +87 -0
- package/dist-types/commands/PutPortalProductSharingPolicyCommand.d.ts +84 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +176 -0
- package/dist-types/commands/UpdatePortalProductCommand.d.ts +122 -0
- package/dist-types/commands/UpdateProductPageCommand.d.ts +96 -0
- package/dist-types/commands/UpdateProductRestEndpointPageCommand.d.ts +116 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +257 -0
- package/dist-types/models/errors.d.ts +92 -0
- package/dist-types/models/models_0.d.ts +2564 -1172
- package/dist-types/schemas/schemas_0.d.ts +101 -0
- package/dist-types/ts3.4/ApiGatewayV2.d.ts +444 -0
- package/dist-types/ts3.4/ApiGatewayV2Client.d.ts +156 -0
- package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreatePortalProductCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateProductPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateProductRestEndpointPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeletePortalProductCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeletePortalProductSharingPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteProductPageCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteProductRestEndpointPageCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DisablePortalCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetPortalProductCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPortalProductSharingPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetProductPageCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetProductRestEndpointPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPortalProductsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListProductPagesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListProductRestEndpointPagesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PreviewPortalCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PublishPortalCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutPortalProductSharingPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdatePortalProductCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateProductPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateProductRestEndpointPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +127 -0
- package/dist-types/ts3.4/models/errors.d.ts +40 -0
- package/dist-types/ts3.4/models/models_0.d.ts +417 -142
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +101 -0
- 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
|
@@ -6,6 +6,10 @@ export * from "./CreateDomainNameCommand";
|
|
|
6
6
|
export * from "./CreateIntegrationCommand";
|
|
7
7
|
export * from "./CreateIntegrationResponseCommand";
|
|
8
8
|
export * from "./CreateModelCommand";
|
|
9
|
+
export * from "./CreatePortalCommand";
|
|
10
|
+
export * from "./CreatePortalProductCommand";
|
|
11
|
+
export * from "./CreateProductPageCommand";
|
|
12
|
+
export * from "./CreateProductRestEndpointPageCommand";
|
|
9
13
|
export * from "./CreateRouteCommand";
|
|
10
14
|
export * from "./CreateRouteResponseCommand";
|
|
11
15
|
export * from "./CreateRoutingRuleCommand";
|
|
@@ -21,6 +25,11 @@ export * from "./DeleteDomainNameCommand";
|
|
|
21
25
|
export * from "./DeleteIntegrationCommand";
|
|
22
26
|
export * from "./DeleteIntegrationResponseCommand";
|
|
23
27
|
export * from "./DeleteModelCommand";
|
|
28
|
+
export * from "./DeletePortalCommand";
|
|
29
|
+
export * from "./DeletePortalProductCommand";
|
|
30
|
+
export * from "./DeletePortalProductSharingPolicyCommand";
|
|
31
|
+
export * from "./DeleteProductPageCommand";
|
|
32
|
+
export * from "./DeleteProductRestEndpointPageCommand";
|
|
24
33
|
export * from "./DeleteRouteCommand";
|
|
25
34
|
export * from "./DeleteRouteRequestParameterCommand";
|
|
26
35
|
export * from "./DeleteRouteResponseCommand";
|
|
@@ -28,6 +37,7 @@ export * from "./DeleteRouteSettingsCommand";
|
|
|
28
37
|
export * from "./DeleteRoutingRuleCommand";
|
|
29
38
|
export * from "./DeleteStageCommand";
|
|
30
39
|
export * from "./DeleteVpcLinkCommand";
|
|
40
|
+
export * from "./DisablePortalCommand";
|
|
31
41
|
export * from "./ExportApiCommand";
|
|
32
42
|
export * from "./GetApiCommand";
|
|
33
43
|
export * from "./GetApiMappingCommand";
|
|
@@ -46,6 +56,11 @@ export * from "./GetIntegrationsCommand";
|
|
|
46
56
|
export * from "./GetModelCommand";
|
|
47
57
|
export * from "./GetModelTemplateCommand";
|
|
48
58
|
export * from "./GetModelsCommand";
|
|
59
|
+
export * from "./GetPortalCommand";
|
|
60
|
+
export * from "./GetPortalProductCommand";
|
|
61
|
+
export * from "./GetPortalProductSharingPolicyCommand";
|
|
62
|
+
export * from "./GetProductPageCommand";
|
|
63
|
+
export * from "./GetProductRestEndpointPageCommand";
|
|
49
64
|
export * from "./GetRouteCommand";
|
|
50
65
|
export * from "./GetRouteResponseCommand";
|
|
51
66
|
export * from "./GetRouteResponsesCommand";
|
|
@@ -57,7 +72,14 @@ export * from "./GetTagsCommand";
|
|
|
57
72
|
export * from "./GetVpcLinkCommand";
|
|
58
73
|
export * from "./GetVpcLinksCommand";
|
|
59
74
|
export * from "./ImportApiCommand";
|
|
75
|
+
export * from "./ListPortalProductsCommand";
|
|
76
|
+
export * from "./ListPortalsCommand";
|
|
77
|
+
export * from "./ListProductPagesCommand";
|
|
78
|
+
export * from "./ListProductRestEndpointPagesCommand";
|
|
60
79
|
export * from "./ListRoutingRulesCommand";
|
|
80
|
+
export * from "./PreviewPortalCommand";
|
|
81
|
+
export * from "./PublishPortalCommand";
|
|
82
|
+
export * from "./PutPortalProductSharingPolicyCommand";
|
|
61
83
|
export * from "./PutRoutingRuleCommand";
|
|
62
84
|
export * from "./ReimportApiCommand";
|
|
63
85
|
export * from "./ResetAuthorizersCacheCommand";
|
|
@@ -71,6 +93,10 @@ export * from "./UpdateDomainNameCommand";
|
|
|
71
93
|
export * from "./UpdateIntegrationCommand";
|
|
72
94
|
export * from "./UpdateIntegrationResponseCommand";
|
|
73
95
|
export * from "./UpdateModelCommand";
|
|
96
|
+
export * from "./UpdatePortalCommand";
|
|
97
|
+
export * from "./UpdatePortalProductCommand";
|
|
98
|
+
export * from "./UpdateProductPageCommand";
|
|
99
|
+
export * from "./UpdateProductRestEndpointPageCommand";
|
|
74
100
|
export * from "./UpdateRouteCommand";
|
|
75
101
|
export * from "./UpdateRouteResponseCommand";
|
|
76
102
|
export * from "./UpdateStageCommand";
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./ApiGatewayV2Client";
|
|
|
2
2
|
export * from "./ApiGatewayV2";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { ApiGatewayV2ServiceException } from "./models/ApiGatewayV2ServiceException";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
export const IpAddressType = {
|
|
2
|
+
dualstack: "dualstack",
|
|
3
|
+
ipv4: "ipv4",
|
|
4
|
+
};
|
|
5
|
+
export const ProtocolType = {
|
|
6
|
+
HTTP: "HTTP",
|
|
7
|
+
WEBSOCKET: "WEBSOCKET",
|
|
8
|
+
};
|
|
9
|
+
export const AuthorizerType = {
|
|
10
|
+
JWT: "JWT",
|
|
11
|
+
REQUEST: "REQUEST",
|
|
12
|
+
};
|
|
13
|
+
export const DeploymentStatus = {
|
|
14
|
+
DEPLOYED: "DEPLOYED",
|
|
15
|
+
FAILED: "FAILED",
|
|
16
|
+
PENDING: "PENDING",
|
|
17
|
+
};
|
|
18
|
+
export const DomainNameStatus = {
|
|
19
|
+
AVAILABLE: "AVAILABLE",
|
|
20
|
+
PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT",
|
|
21
|
+
PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION",
|
|
22
|
+
UPDATING: "UPDATING",
|
|
23
|
+
};
|
|
24
|
+
export const EndpointType = {
|
|
25
|
+
EDGE: "EDGE",
|
|
26
|
+
REGIONAL: "REGIONAL",
|
|
27
|
+
};
|
|
28
|
+
export const SecurityPolicy = {
|
|
29
|
+
TLS_1_0: "TLS_1_0",
|
|
30
|
+
TLS_1_2: "TLS_1_2",
|
|
31
|
+
};
|
|
32
|
+
export const RoutingMode = {
|
|
33
|
+
API_MAPPING_ONLY: "API_MAPPING_ONLY",
|
|
34
|
+
ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY",
|
|
35
|
+
ROUTING_RULE_THEN_API_MAPPING: "ROUTING_RULE_THEN_API_MAPPING",
|
|
36
|
+
};
|
|
37
|
+
export const ConnectionType = {
|
|
38
|
+
INTERNET: "INTERNET",
|
|
39
|
+
VPC_LINK: "VPC_LINK",
|
|
40
|
+
};
|
|
41
|
+
export const ContentHandlingStrategy = {
|
|
42
|
+
CONVERT_TO_BINARY: "CONVERT_TO_BINARY",
|
|
43
|
+
CONVERT_TO_TEXT: "CONVERT_TO_TEXT",
|
|
44
|
+
};
|
|
45
|
+
export const IntegrationType = {
|
|
46
|
+
AWS: "AWS",
|
|
47
|
+
AWS_PROXY: "AWS_PROXY",
|
|
48
|
+
HTTP: "HTTP",
|
|
49
|
+
HTTP_PROXY: "HTTP_PROXY",
|
|
50
|
+
MOCK: "MOCK",
|
|
51
|
+
};
|
|
52
|
+
export const PassthroughBehavior = {
|
|
53
|
+
NEVER: "NEVER",
|
|
54
|
+
WHEN_NO_MATCH: "WHEN_NO_MATCH",
|
|
55
|
+
WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES",
|
|
56
|
+
};
|
|
57
|
+
export const PreviewStatus = {
|
|
58
|
+
PREVIEW_FAILED: "PREVIEW_FAILED",
|
|
59
|
+
PREVIEW_IN_PROGRESS: "PREVIEW_IN_PROGRESS",
|
|
60
|
+
PREVIEW_READY: "PREVIEW_READY",
|
|
61
|
+
};
|
|
62
|
+
export const PublishStatus = {
|
|
63
|
+
DISABLED: "DISABLED",
|
|
64
|
+
PUBLISHED: "PUBLISHED",
|
|
65
|
+
PUBLISH_FAILED: "PUBLISH_FAILED",
|
|
66
|
+
PUBLISH_IN_PROGRESS: "PUBLISH_IN_PROGRESS",
|
|
67
|
+
};
|
|
68
|
+
export const Status = {
|
|
69
|
+
AVAILABLE: "AVAILABLE",
|
|
70
|
+
FAILED: "FAILED",
|
|
71
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
72
|
+
};
|
|
73
|
+
export const TryItState = {
|
|
74
|
+
DISABLED: "DISABLED",
|
|
75
|
+
ENABLED: "ENABLED",
|
|
76
|
+
};
|
|
77
|
+
export const AuthorizationType = {
|
|
78
|
+
AWS_IAM: "AWS_IAM",
|
|
79
|
+
CUSTOM: "CUSTOM",
|
|
80
|
+
JWT: "JWT",
|
|
81
|
+
NONE: "NONE",
|
|
82
|
+
};
|
|
83
|
+
export const LoggingLevel = {
|
|
84
|
+
ERROR: "ERROR",
|
|
85
|
+
INFO: "INFO",
|
|
86
|
+
OFF: "OFF",
|
|
87
|
+
};
|
|
88
|
+
export const VpcLinkStatus = {
|
|
89
|
+
AVAILABLE: "AVAILABLE",
|
|
90
|
+
DELETING: "DELETING",
|
|
91
|
+
FAILED: "FAILED",
|
|
92
|
+
INACTIVE: "INACTIVE",
|
|
93
|
+
PENDING: "PENDING",
|
|
94
|
+
};
|
|
95
|
+
export const VpcLinkVersion = {
|
|
96
|
+
V2: "V2",
|
|
97
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ApiGatewayV2ServiceException as __BaseException } from "./ApiGatewayV2ServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "AccessDeniedException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export class BadRequestException extends __BaseException {
|
|
17
|
+
name = "BadRequestException";
|
|
18
|
+
$fault = "client";
|
|
19
|
+
Message;
|
|
20
|
+
constructor(opts) {
|
|
21
|
+
super({
|
|
22
|
+
name: "BadRequestException",
|
|
23
|
+
$fault: "client",
|
|
24
|
+
...opts,
|
|
25
|
+
});
|
|
26
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class ConflictException extends __BaseException {
|
|
31
|
+
name = "ConflictException";
|
|
32
|
+
$fault = "client";
|
|
33
|
+
Message;
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ConflictException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
41
|
+
this.Message = opts.Message;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export class NotFoundException extends __BaseException {
|
|
45
|
+
name = "NotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
Message;
|
|
48
|
+
ResourceType;
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "NotFoundException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
56
|
+
this.Message = opts.Message;
|
|
57
|
+
this.ResourceType = opts.ResourceType;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export class TooManyRequestsException extends __BaseException {
|
|
61
|
+
name = "TooManyRequestsException";
|
|
62
|
+
$fault = "client";
|
|
63
|
+
LimitType;
|
|
64
|
+
Message;
|
|
65
|
+
constructor(opts) {
|
|
66
|
+
super({
|
|
67
|
+
name: "TooManyRequestsException",
|
|
68
|
+
$fault: "client",
|
|
69
|
+
...opts,
|
|
70
|
+
});
|
|
71
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
72
|
+
this.LimitType = opts.LimitType;
|
|
73
|
+
this.Message = opts.Message;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -1,152 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export const IpAddressType = {
|
|
3
|
-
dualstack: "dualstack",
|
|
4
|
-
ipv4: "ipv4",
|
|
5
|
-
};
|
|
6
|
-
export const ProtocolType = {
|
|
7
|
-
HTTP: "HTTP",
|
|
8
|
-
WEBSOCKET: "WEBSOCKET",
|
|
9
|
-
};
|
|
10
|
-
export const AuthorizerType = {
|
|
11
|
-
JWT: "JWT",
|
|
12
|
-
REQUEST: "REQUEST",
|
|
13
|
-
};
|
|
14
|
-
export const DeploymentStatus = {
|
|
15
|
-
DEPLOYED: "DEPLOYED",
|
|
16
|
-
FAILED: "FAILED",
|
|
17
|
-
PENDING: "PENDING",
|
|
18
|
-
};
|
|
19
|
-
export const DomainNameStatus = {
|
|
20
|
-
AVAILABLE: "AVAILABLE",
|
|
21
|
-
PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT",
|
|
22
|
-
PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION",
|
|
23
|
-
UPDATING: "UPDATING",
|
|
24
|
-
};
|
|
25
|
-
export const EndpointType = {
|
|
26
|
-
EDGE: "EDGE",
|
|
27
|
-
REGIONAL: "REGIONAL",
|
|
28
|
-
};
|
|
29
|
-
export const SecurityPolicy = {
|
|
30
|
-
TLS_1_0: "TLS_1_0",
|
|
31
|
-
TLS_1_2: "TLS_1_2",
|
|
32
|
-
};
|
|
33
|
-
export const RoutingMode = {
|
|
34
|
-
API_MAPPING_ONLY: "API_MAPPING_ONLY",
|
|
35
|
-
ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY",
|
|
36
|
-
ROUTING_RULE_THEN_API_MAPPING: "ROUTING_RULE_THEN_API_MAPPING",
|
|
37
|
-
};
|
|
38
|
-
export const ConnectionType = {
|
|
39
|
-
INTERNET: "INTERNET",
|
|
40
|
-
VPC_LINK: "VPC_LINK",
|
|
41
|
-
};
|
|
42
|
-
export const ContentHandlingStrategy = {
|
|
43
|
-
CONVERT_TO_BINARY: "CONVERT_TO_BINARY",
|
|
44
|
-
CONVERT_TO_TEXT: "CONVERT_TO_TEXT",
|
|
45
|
-
};
|
|
46
|
-
export const IntegrationType = {
|
|
47
|
-
AWS: "AWS",
|
|
48
|
-
AWS_PROXY: "AWS_PROXY",
|
|
49
|
-
HTTP: "HTTP",
|
|
50
|
-
HTTP_PROXY: "HTTP_PROXY",
|
|
51
|
-
MOCK: "MOCK",
|
|
52
|
-
};
|
|
53
|
-
export const PassthroughBehavior = {
|
|
54
|
-
NEVER: "NEVER",
|
|
55
|
-
WHEN_NO_MATCH: "WHEN_NO_MATCH",
|
|
56
|
-
WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES",
|
|
57
|
-
};
|
|
58
|
-
export const AuthorizationType = {
|
|
59
|
-
AWS_IAM: "AWS_IAM",
|
|
60
|
-
CUSTOM: "CUSTOM",
|
|
61
|
-
JWT: "JWT",
|
|
62
|
-
NONE: "NONE",
|
|
63
|
-
};
|
|
64
|
-
export const LoggingLevel = {
|
|
65
|
-
ERROR: "ERROR",
|
|
66
|
-
INFO: "INFO",
|
|
67
|
-
OFF: "OFF",
|
|
68
|
-
};
|
|
69
|
-
export const VpcLinkStatus = {
|
|
70
|
-
AVAILABLE: "AVAILABLE",
|
|
71
|
-
DELETING: "DELETING",
|
|
72
|
-
FAILED: "FAILED",
|
|
73
|
-
INACTIVE: "INACTIVE",
|
|
74
|
-
PENDING: "PENDING",
|
|
75
|
-
};
|
|
76
|
-
export const VpcLinkVersion = {
|
|
77
|
-
V2: "V2",
|
|
78
|
-
};
|
|
79
|
-
export class AccessDeniedException extends __BaseException {
|
|
80
|
-
name = "AccessDeniedException";
|
|
81
|
-
$fault = "client";
|
|
82
|
-
Message;
|
|
83
|
-
constructor(opts) {
|
|
84
|
-
super({
|
|
85
|
-
name: "AccessDeniedException",
|
|
86
|
-
$fault: "client",
|
|
87
|
-
...opts,
|
|
88
|
-
});
|
|
89
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
90
|
-
this.Message = opts.Message;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
export class BadRequestException extends __BaseException {
|
|
94
|
-
name = "BadRequestException";
|
|
95
|
-
$fault = "client";
|
|
96
|
-
Message;
|
|
97
|
-
constructor(opts) {
|
|
98
|
-
super({
|
|
99
|
-
name: "BadRequestException",
|
|
100
|
-
$fault: "client",
|
|
101
|
-
...opts,
|
|
102
|
-
});
|
|
103
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
104
|
-
this.Message = opts.Message;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
export class ConflictException extends __BaseException {
|
|
108
|
-
name = "ConflictException";
|
|
109
|
-
$fault = "client";
|
|
110
|
-
Message;
|
|
111
|
-
constructor(opts) {
|
|
112
|
-
super({
|
|
113
|
-
name: "ConflictException",
|
|
114
|
-
$fault: "client",
|
|
115
|
-
...opts,
|
|
116
|
-
});
|
|
117
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
118
|
-
this.Message = opts.Message;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
export class NotFoundException extends __BaseException {
|
|
122
|
-
name = "NotFoundException";
|
|
123
|
-
$fault = "client";
|
|
124
|
-
Message;
|
|
125
|
-
ResourceType;
|
|
126
|
-
constructor(opts) {
|
|
127
|
-
super({
|
|
128
|
-
name: "NotFoundException",
|
|
129
|
-
$fault: "client",
|
|
130
|
-
...opts,
|
|
131
|
-
});
|
|
132
|
-
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
133
|
-
this.Message = opts.Message;
|
|
134
|
-
this.ResourceType = opts.ResourceType;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
export class TooManyRequestsException extends __BaseException {
|
|
138
|
-
name = "TooManyRequestsException";
|
|
139
|
-
$fault = "client";
|
|
140
|
-
LimitType;
|
|
141
|
-
Message;
|
|
142
|
-
constructor(opts) {
|
|
143
|
-
super({
|
|
144
|
-
name: "TooManyRequestsException",
|
|
145
|
-
$fault: "client",
|
|
146
|
-
...opts,
|
|
147
|
-
});
|
|
148
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
149
|
-
this.LimitType = opts.LimitType;
|
|
150
|
-
this.Message = opts.Message;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
1
|
+
export {};
|