@aws-sdk/client-apigatewayv2 3.300.0 → 3.303.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/models/models_0.js +68 -82
- package/dist-es/models/models_0.js +68 -82
- package/dist-types/commands/CreateApiCommand.d.ts +6 -6
- package/dist-types/commands/CreateApiMappingCommand.d.ts +1 -1
- package/dist-types/commands/CreateAuthorizerCommand.d.ts +4 -4
- package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainNameCommand.d.ts +5 -5
- package/dist-types/commands/CreateIntegrationCommand.d.ts +5 -5
- package/dist-types/commands/CreateIntegrationResponseCommand.d.ts +3 -3
- package/dist-types/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/commands/CreateRouteCommand.d.ts +5 -5
- package/dist-types/commands/CreateRouteResponseCommand.d.ts +4 -4
- package/dist-types/commands/CreateStageCommand.d.ts +6 -6
- package/dist-types/commands/CreateVpcLinkCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAccessLogSettingsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApiCommand.d.ts +1 -1
- package/dist-types/commands/DeleteApiMappingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCorsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntegrationResponseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteRequestParameterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteResponseCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteSettingsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcLinkCommand.d.ts +1 -1
- package/dist-types/commands/GetApiCommand.d.ts +1 -1
- package/dist-types/commands/GetApiMappingCommand.d.ts +1 -1
- package/dist-types/commands/GetApiMappingsCommand.d.ts +1 -1
- package/dist-types/commands/GetApisCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizerCommand.d.ts +1 -1
- package/dist-types/commands/GetAuthorizersCommand.d.ts +1 -1
- package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/GetDeploymentsCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainNameCommand.d.ts +1 -1
- package/dist-types/commands/GetDomainNamesCommand.d.ts +1 -1
- package/dist-types/commands/GetIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/GetIntegrationResponseCommand.d.ts +1 -1
- package/dist-types/commands/GetIntegrationResponsesCommand.d.ts +1 -1
- package/dist-types/commands/GetIntegrationsCommand.d.ts +1 -1
- package/dist-types/commands/GetModelCommand.d.ts +1 -1
- package/dist-types/commands/GetModelTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetModelsCommand.d.ts +1 -1
- package/dist-types/commands/GetRouteCommand.d.ts +1 -1
- package/dist-types/commands/GetRouteResponseCommand.d.ts +1 -1
- package/dist-types/commands/GetRouteResponsesCommand.d.ts +1 -1
- package/dist-types/commands/GetRoutesCommand.d.ts +1 -1
- package/dist-types/commands/GetStageCommand.d.ts +1 -1
- package/dist-types/commands/GetStagesCommand.d.ts +1 -1
- package/dist-types/commands/GetTagsCommand.d.ts +1 -1
- package/dist-types/commands/GetVpcLinkCommand.d.ts +1 -1
- package/dist-types/commands/GetVpcLinksCommand.d.ts +1 -1
- package/dist-types/commands/ImportApiCommand.d.ts +1 -1
- package/dist-types/commands/ReimportApiCommand.d.ts +1 -1
- package/dist-types/commands/ResetAuthorizersCacheCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateApiCommand.d.ts +5 -5
- package/dist-types/commands/UpdateApiMappingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAuthorizerCommand.d.ts +4 -4
- package/dist-types/commands/UpdateDeploymentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +4 -4
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +5 -5
- package/dist-types/commands/UpdateIntegrationResponseCommand.d.ts +3 -3
- package/dist-types/commands/UpdateModelCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRouteCommand.d.ts +5 -5
- package/dist-types/commands/UpdateRouteResponseCommand.d.ts +4 -4
- package/dist-types/commands/UpdateStageCommand.d.ts +5 -5
- package/dist-types/commands/UpdateVpcLinkCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +138 -68
- package/dist-types/ts3.4/models/models_0.d.ts +92 -68
- package/package.json +34 -34
|
@@ -2,88 +2,74 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TooManyRequestsException = exports.NotFoundException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = exports.VpcLinkVersion = exports.VpcLinkStatus = exports.LoggingLevel = exports.AuthorizationType = exports.PassthroughBehavior = exports.IntegrationType = exports.ContentHandlingStrategy = exports.ConnectionType = exports.SecurityPolicy = exports.EndpointType = exports.DomainNameStatus = exports.DeploymentStatus = exports.AuthorizerType = exports.ProtocolType = void 0;
|
|
4
4
|
const ApiGatewayV2ServiceException_1 = require("./ApiGatewayV2ServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
LoggingLevel["OFF"] = "OFF";
|
|
74
|
-
})(LoggingLevel = exports.LoggingLevel || (exports.LoggingLevel = {}));
|
|
75
|
-
var VpcLinkStatus;
|
|
76
|
-
(function (VpcLinkStatus) {
|
|
77
|
-
VpcLinkStatus["AVAILABLE"] = "AVAILABLE";
|
|
78
|
-
VpcLinkStatus["DELETING"] = "DELETING";
|
|
79
|
-
VpcLinkStatus["FAILED"] = "FAILED";
|
|
80
|
-
VpcLinkStatus["INACTIVE"] = "INACTIVE";
|
|
81
|
-
VpcLinkStatus["PENDING"] = "PENDING";
|
|
82
|
-
})(VpcLinkStatus = exports.VpcLinkStatus || (exports.VpcLinkStatus = {}));
|
|
83
|
-
var VpcLinkVersion;
|
|
84
|
-
(function (VpcLinkVersion) {
|
|
85
|
-
VpcLinkVersion["V2"] = "V2";
|
|
86
|
-
})(VpcLinkVersion = exports.VpcLinkVersion || (exports.VpcLinkVersion = {}));
|
|
5
|
+
exports.ProtocolType = {
|
|
6
|
+
HTTP: "HTTP",
|
|
7
|
+
WEBSOCKET: "WEBSOCKET",
|
|
8
|
+
};
|
|
9
|
+
exports.AuthorizerType = {
|
|
10
|
+
JWT: "JWT",
|
|
11
|
+
REQUEST: "REQUEST",
|
|
12
|
+
};
|
|
13
|
+
exports.DeploymentStatus = {
|
|
14
|
+
DEPLOYED: "DEPLOYED",
|
|
15
|
+
FAILED: "FAILED",
|
|
16
|
+
PENDING: "PENDING",
|
|
17
|
+
};
|
|
18
|
+
exports.DomainNameStatus = {
|
|
19
|
+
AVAILABLE: "AVAILABLE",
|
|
20
|
+
PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT",
|
|
21
|
+
PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION",
|
|
22
|
+
UPDATING: "UPDATING",
|
|
23
|
+
};
|
|
24
|
+
exports.EndpointType = {
|
|
25
|
+
EDGE: "EDGE",
|
|
26
|
+
REGIONAL: "REGIONAL",
|
|
27
|
+
};
|
|
28
|
+
exports.SecurityPolicy = {
|
|
29
|
+
TLS_1_0: "TLS_1_0",
|
|
30
|
+
TLS_1_2: "TLS_1_2",
|
|
31
|
+
};
|
|
32
|
+
exports.ConnectionType = {
|
|
33
|
+
INTERNET: "INTERNET",
|
|
34
|
+
VPC_LINK: "VPC_LINK",
|
|
35
|
+
};
|
|
36
|
+
exports.ContentHandlingStrategy = {
|
|
37
|
+
CONVERT_TO_BINARY: "CONVERT_TO_BINARY",
|
|
38
|
+
CONVERT_TO_TEXT: "CONVERT_TO_TEXT",
|
|
39
|
+
};
|
|
40
|
+
exports.IntegrationType = {
|
|
41
|
+
AWS: "AWS",
|
|
42
|
+
AWS_PROXY: "AWS_PROXY",
|
|
43
|
+
HTTP: "HTTP",
|
|
44
|
+
HTTP_PROXY: "HTTP_PROXY",
|
|
45
|
+
MOCK: "MOCK",
|
|
46
|
+
};
|
|
47
|
+
exports.PassthroughBehavior = {
|
|
48
|
+
NEVER: "NEVER",
|
|
49
|
+
WHEN_NO_MATCH: "WHEN_NO_MATCH",
|
|
50
|
+
WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES",
|
|
51
|
+
};
|
|
52
|
+
exports.AuthorizationType = {
|
|
53
|
+
AWS_IAM: "AWS_IAM",
|
|
54
|
+
CUSTOM: "CUSTOM",
|
|
55
|
+
JWT: "JWT",
|
|
56
|
+
NONE: "NONE",
|
|
57
|
+
};
|
|
58
|
+
exports.LoggingLevel = {
|
|
59
|
+
ERROR: "ERROR",
|
|
60
|
+
INFO: "INFO",
|
|
61
|
+
OFF: "OFF",
|
|
62
|
+
};
|
|
63
|
+
exports.VpcLinkStatus = {
|
|
64
|
+
AVAILABLE: "AVAILABLE",
|
|
65
|
+
DELETING: "DELETING",
|
|
66
|
+
FAILED: "FAILED",
|
|
67
|
+
INACTIVE: "INACTIVE",
|
|
68
|
+
PENDING: "PENDING",
|
|
69
|
+
};
|
|
70
|
+
exports.VpcLinkVersion = {
|
|
71
|
+
V2: "V2",
|
|
72
|
+
};
|
|
87
73
|
class AccessDeniedException extends ApiGatewayV2ServiceException_1.ApiGatewayV2ServiceException {
|
|
88
74
|
constructor(opts) {
|
|
89
75
|
super({
|
|
@@ -1,86 +1,72 @@
|
|
|
1
1
|
import { ApiGatewayV2ServiceException as __BaseException } from "./ApiGatewayV2ServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
export
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
LoggingLevel["OFF"] = "OFF";
|
|
71
|
-
})(LoggingLevel || (LoggingLevel = {}));
|
|
72
|
-
export var VpcLinkStatus;
|
|
73
|
-
(function (VpcLinkStatus) {
|
|
74
|
-
VpcLinkStatus["AVAILABLE"] = "AVAILABLE";
|
|
75
|
-
VpcLinkStatus["DELETING"] = "DELETING";
|
|
76
|
-
VpcLinkStatus["FAILED"] = "FAILED";
|
|
77
|
-
VpcLinkStatus["INACTIVE"] = "INACTIVE";
|
|
78
|
-
VpcLinkStatus["PENDING"] = "PENDING";
|
|
79
|
-
})(VpcLinkStatus || (VpcLinkStatus = {}));
|
|
80
|
-
export var VpcLinkVersion;
|
|
81
|
-
(function (VpcLinkVersion) {
|
|
82
|
-
VpcLinkVersion["V2"] = "V2";
|
|
83
|
-
})(VpcLinkVersion || (VpcLinkVersion = {}));
|
|
2
|
+
export const ProtocolType = {
|
|
3
|
+
HTTP: "HTTP",
|
|
4
|
+
WEBSOCKET: "WEBSOCKET",
|
|
5
|
+
};
|
|
6
|
+
export const AuthorizerType = {
|
|
7
|
+
JWT: "JWT",
|
|
8
|
+
REQUEST: "REQUEST",
|
|
9
|
+
};
|
|
10
|
+
export const DeploymentStatus = {
|
|
11
|
+
DEPLOYED: "DEPLOYED",
|
|
12
|
+
FAILED: "FAILED",
|
|
13
|
+
PENDING: "PENDING",
|
|
14
|
+
};
|
|
15
|
+
export const DomainNameStatus = {
|
|
16
|
+
AVAILABLE: "AVAILABLE",
|
|
17
|
+
PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT",
|
|
18
|
+
PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION",
|
|
19
|
+
UPDATING: "UPDATING",
|
|
20
|
+
};
|
|
21
|
+
export const EndpointType = {
|
|
22
|
+
EDGE: "EDGE",
|
|
23
|
+
REGIONAL: "REGIONAL",
|
|
24
|
+
};
|
|
25
|
+
export const SecurityPolicy = {
|
|
26
|
+
TLS_1_0: "TLS_1_0",
|
|
27
|
+
TLS_1_2: "TLS_1_2",
|
|
28
|
+
};
|
|
29
|
+
export const ConnectionType = {
|
|
30
|
+
INTERNET: "INTERNET",
|
|
31
|
+
VPC_LINK: "VPC_LINK",
|
|
32
|
+
};
|
|
33
|
+
export const ContentHandlingStrategy = {
|
|
34
|
+
CONVERT_TO_BINARY: "CONVERT_TO_BINARY",
|
|
35
|
+
CONVERT_TO_TEXT: "CONVERT_TO_TEXT",
|
|
36
|
+
};
|
|
37
|
+
export const IntegrationType = {
|
|
38
|
+
AWS: "AWS",
|
|
39
|
+
AWS_PROXY: "AWS_PROXY",
|
|
40
|
+
HTTP: "HTTP",
|
|
41
|
+
HTTP_PROXY: "HTTP_PROXY",
|
|
42
|
+
MOCK: "MOCK",
|
|
43
|
+
};
|
|
44
|
+
export const PassthroughBehavior = {
|
|
45
|
+
NEVER: "NEVER",
|
|
46
|
+
WHEN_NO_MATCH: "WHEN_NO_MATCH",
|
|
47
|
+
WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES",
|
|
48
|
+
};
|
|
49
|
+
export const AuthorizationType = {
|
|
50
|
+
AWS_IAM: "AWS_IAM",
|
|
51
|
+
CUSTOM: "CUSTOM",
|
|
52
|
+
JWT: "JWT",
|
|
53
|
+
NONE: "NONE",
|
|
54
|
+
};
|
|
55
|
+
export const LoggingLevel = {
|
|
56
|
+
ERROR: "ERROR",
|
|
57
|
+
INFO: "INFO",
|
|
58
|
+
OFF: "OFF",
|
|
59
|
+
};
|
|
60
|
+
export const VpcLinkStatus = {
|
|
61
|
+
AVAILABLE: "AVAILABLE",
|
|
62
|
+
DELETING: "DELETING",
|
|
63
|
+
FAILED: "FAILED",
|
|
64
|
+
INACTIVE: "INACTIVE",
|
|
65
|
+
PENDING: "PENDING",
|
|
66
|
+
};
|
|
67
|
+
export const VpcLinkVersion = {
|
|
68
|
+
V2: "V2",
|
|
69
|
+
};
|
|
84
70
|
export class AccessDeniedException extends __BaseException {
|
|
85
71
|
constructor(opts) {
|
|
86
72
|
super({
|
|
@@ -26,17 +26,17 @@ export interface CreateApiCommandOutput extends CreateApiResponse, __MetadataBea
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateApiCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateApiCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateApiRequest
|
|
30
30
|
* ApiKeySelectionExpression: "STRING_VALUE",
|
|
31
|
-
* CorsConfiguration: {
|
|
31
|
+
* CorsConfiguration: { // Cors
|
|
32
32
|
* AllowCredentials: true || false,
|
|
33
|
-
* AllowHeaders: [
|
|
33
|
+
* AllowHeaders: [ // CorsHeaderList
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
|
-
* AllowMethods: [
|
|
36
|
+
* AllowMethods: [ // CorsMethodList
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
|
-
* AllowOrigins: [
|
|
39
|
+
* AllowOrigins: [ // CorsOriginList
|
|
40
40
|
* "STRING_VALUE",
|
|
41
41
|
* ],
|
|
42
42
|
* ExposeHeaders: [
|
|
@@ -52,7 +52,7 @@ export interface CreateApiCommandOutput extends CreateApiResponse, __MetadataBea
|
|
|
52
52
|
* ProtocolType: "STRING_VALUE", // required
|
|
53
53
|
* RouteKey: "STRING_VALUE",
|
|
54
54
|
* RouteSelectionExpression: "STRING_VALUE",
|
|
55
|
-
* Tags: {
|
|
55
|
+
* Tags: { // Tags
|
|
56
56
|
* "<keys>": "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
58
|
* Target: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface CreateApiMappingCommandOutput extends CreateApiMappingResponse,
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateApiMappingCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateApiMappingCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateApiMappingRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* ApiMappingKey: "STRING_VALUE",
|
|
32
32
|
* DomainName: "STRING_VALUE", // required
|
|
@@ -26,7 +26,7 @@ export interface CreateAuthorizerCommandOutput extends CreateAuthorizerResponse,
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateAuthorizerCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateAuthorizerCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateAuthorizerRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* AuthorizerCredentialsArn: "STRING_VALUE",
|
|
32
32
|
* AuthorizerPayloadFormatVersion: "STRING_VALUE",
|
|
@@ -34,12 +34,12 @@ export interface CreateAuthorizerCommandOutput extends CreateAuthorizerResponse,
|
|
|
34
34
|
* AuthorizerType: "STRING_VALUE", // required
|
|
35
35
|
* AuthorizerUri: "STRING_VALUE",
|
|
36
36
|
* EnableSimpleResponses: true || false,
|
|
37
|
-
* IdentitySource: [ // required
|
|
37
|
+
* IdentitySource: [ // IdentitySourceList // required
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* IdentityValidationExpression: "STRING_VALUE",
|
|
41
|
-
* JwtConfiguration: {
|
|
42
|
-
* Audience: [
|
|
41
|
+
* JwtConfiguration: { // JWTConfiguration
|
|
42
|
+
* Audience: [ // __listOf__string
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
45
|
* Issuer: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResponse,
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateDeploymentCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateDeploymentCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateDeploymentRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* Description: "STRING_VALUE",
|
|
32
32
|
* StageName: "STRING_VALUE",
|
|
@@ -26,10 +26,10 @@ export interface CreateDomainNameCommandOutput extends CreateDomainNameResponse,
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateDomainNameCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateDomainNameCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateDomainNameRequest
|
|
30
30
|
* DomainName: "STRING_VALUE", // required
|
|
31
|
-
* DomainNameConfigurations: [
|
|
32
|
-
* {
|
|
31
|
+
* DomainNameConfigurations: [ // DomainNameConfigurations
|
|
32
|
+
* { // DomainNameConfiguration
|
|
33
33
|
* ApiGatewayDomainName: "STRING_VALUE",
|
|
34
34
|
* CertificateArn: "STRING_VALUE",
|
|
35
35
|
* CertificateName: "STRING_VALUE",
|
|
@@ -42,11 +42,11 @@ export interface CreateDomainNameCommandOutput extends CreateDomainNameResponse,
|
|
|
42
42
|
* OwnershipVerificationCertificateArn: "STRING_VALUE",
|
|
43
43
|
* },
|
|
44
44
|
* ],
|
|
45
|
-
* MutualTlsAuthentication: {
|
|
45
|
+
* MutualTlsAuthentication: { // MutualTlsAuthenticationInput
|
|
46
46
|
* TruststoreUri: "STRING_VALUE",
|
|
47
47
|
* TruststoreVersion: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
|
-
* Tags: {
|
|
49
|
+
* Tags: { // Tags
|
|
50
50
|
* "<keys>": "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* };
|
|
@@ -26,7 +26,7 @@ export interface CreateIntegrationCommandOutput extends CreateIntegrationResult,
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateIntegrationCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateIntegrationCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateIntegrationRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* ConnectionId: "STRING_VALUE",
|
|
32
32
|
* ConnectionType: "STRING_VALUE",
|
|
@@ -39,20 +39,20 @@ export interface CreateIntegrationCommandOutput extends CreateIntegrationResult,
|
|
|
39
39
|
* IntegrationUri: "STRING_VALUE",
|
|
40
40
|
* PassthroughBehavior: "STRING_VALUE",
|
|
41
41
|
* PayloadFormatVersion: "STRING_VALUE",
|
|
42
|
-
* RequestParameters: {
|
|
42
|
+
* RequestParameters: { // IntegrationParameters
|
|
43
43
|
* "<keys>": "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
|
-
* RequestTemplates: {
|
|
45
|
+
* RequestTemplates: { // TemplateMap
|
|
46
46
|
* "<keys>": "STRING_VALUE",
|
|
47
47
|
* },
|
|
48
|
-
* ResponseParameters: {
|
|
48
|
+
* ResponseParameters: { // ResponseParameters
|
|
49
49
|
* "<keys>": {
|
|
50
50
|
* "<keys>": "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* },
|
|
53
53
|
* TemplateSelectionExpression: "STRING_VALUE",
|
|
54
54
|
* TimeoutInMillis: Number("int"),
|
|
55
|
-
* TlsConfig: {
|
|
55
|
+
* TlsConfig: { // TlsConfigInput
|
|
56
56
|
* ServerNameToVerify: "STRING_VALUE",
|
|
57
57
|
* },
|
|
58
58
|
* };
|
|
@@ -26,15 +26,15 @@ export interface CreateIntegrationResponseCommandOutput extends CreateIntegratio
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateIntegrationResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateIntegrationResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateIntegrationResponseRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* ContentHandlingStrategy: "STRING_VALUE",
|
|
32
32
|
* IntegrationId: "STRING_VALUE", // required
|
|
33
33
|
* IntegrationResponseKey: "STRING_VALUE", // required
|
|
34
|
-
* ResponseParameters: {
|
|
34
|
+
* ResponseParameters: { // IntegrationParameters
|
|
35
35
|
* "<keys>": "STRING_VALUE",
|
|
36
36
|
* },
|
|
37
|
-
* ResponseTemplates: {
|
|
37
|
+
* ResponseTemplates: { // TemplateMap
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* TemplateSelectionExpression: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface CreateModelCommandOutput extends CreateModelResponse, __Metadat
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateModelCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateModelCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateModelRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* ContentType: "STRING_VALUE",
|
|
32
32
|
* Description: "STRING_VALUE",
|
|
@@ -26,21 +26,21 @@ export interface CreateRouteCommandOutput extends CreateRouteResult, __MetadataB
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateRouteCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateRouteCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateRouteRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* ApiKeyRequired: true || false,
|
|
32
|
-
* AuthorizationScopes: [
|
|
32
|
+
* AuthorizationScopes: [ // AuthorizationScopes
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* AuthorizationType: "STRING_VALUE",
|
|
36
36
|
* AuthorizerId: "STRING_VALUE",
|
|
37
37
|
* ModelSelectionExpression: "STRING_VALUE",
|
|
38
38
|
* OperationName: "STRING_VALUE",
|
|
39
|
-
* RequestModels: {
|
|
39
|
+
* RequestModels: { // RouteModels
|
|
40
40
|
* "<keys>": "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
|
-
* RequestParameters: {
|
|
43
|
-
* "<keys>": {
|
|
42
|
+
* RequestParameters: { // RouteParameters
|
|
43
|
+
* "<keys>": { // ParameterConstraints
|
|
44
44
|
* Required: true || false,
|
|
45
45
|
* },
|
|
46
46
|
* },
|
|
@@ -26,14 +26,14 @@ export interface CreateRouteResponseCommandOutput extends CreateRouteResponseRes
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateRouteResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateRouteResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateRouteResponseRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* ModelSelectionExpression: "STRING_VALUE",
|
|
32
|
-
* ResponseModels: {
|
|
32
|
+
* ResponseModels: { // RouteModels
|
|
33
33
|
* "<keys>": "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
|
-
* ResponseParameters: {
|
|
36
|
-
* "<keys>": {
|
|
35
|
+
* ResponseParameters: { // RouteParameters
|
|
36
|
+
* "<keys>": { // ParameterConstraints
|
|
37
37
|
* Required: true || false,
|
|
38
38
|
* },
|
|
39
39
|
* },
|
|
@@ -26,15 +26,15 @@ export interface CreateStageCommandOutput extends CreateStageResponse, __Metadat
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateStageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateStageCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* AccessLogSettings: {
|
|
29
|
+
* const input = { // CreateStageRequest
|
|
30
|
+
* AccessLogSettings: { // AccessLogSettings
|
|
31
31
|
* DestinationArn: "STRING_VALUE",
|
|
32
32
|
* Format: "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* ApiId: "STRING_VALUE", // required
|
|
35
35
|
* AutoDeploy: true || false,
|
|
36
36
|
* ClientCertificateId: "STRING_VALUE",
|
|
37
|
-
* DefaultRouteSettings: {
|
|
37
|
+
* DefaultRouteSettings: { // RouteSettings
|
|
38
38
|
* DataTraceEnabled: true || false,
|
|
39
39
|
* DetailedMetricsEnabled: true || false,
|
|
40
40
|
* LoggingLevel: "STRING_VALUE",
|
|
@@ -43,7 +43,7 @@ export interface CreateStageCommandOutput extends CreateStageResponse, __Metadat
|
|
|
43
43
|
* },
|
|
44
44
|
* DeploymentId: "STRING_VALUE",
|
|
45
45
|
* Description: "STRING_VALUE",
|
|
46
|
-
* RouteSettings: {
|
|
46
|
+
* RouteSettings: { // RouteSettingsMap
|
|
47
47
|
* "<keys>": {
|
|
48
48
|
* DataTraceEnabled: true || false,
|
|
49
49
|
* DetailedMetricsEnabled: true || false,
|
|
@@ -53,10 +53,10 @@ export interface CreateStageCommandOutput extends CreateStageResponse, __Metadat
|
|
|
53
53
|
* },
|
|
54
54
|
* },
|
|
55
55
|
* StageName: "STRING_VALUE", // required
|
|
56
|
-
* StageVariables: {
|
|
56
|
+
* StageVariables: { // StageVariablesMap
|
|
57
57
|
* "<keys>": "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
|
-
* Tags: {
|
|
59
|
+
* Tags: { // Tags
|
|
60
60
|
* "<keys>": "STRING_VALUE",
|
|
61
61
|
* },
|
|
62
62
|
* };
|
|
@@ -26,15 +26,15 @@ export interface CreateVpcLinkCommandOutput extends CreateVpcLinkResponse, __Met
|
|
|
26
26
|
* import { ApiGatewayV2Client, CreateVpcLinkCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, CreateVpcLinkCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // CreateVpcLinkRequest
|
|
30
30
|
* Name: "STRING_VALUE", // required
|
|
31
|
-
* SecurityGroupIds: [
|
|
31
|
+
* SecurityGroupIds: [ // SecurityGroupIdList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
|
-
* SubnetIds: [ // required
|
|
34
|
+
* SubnetIds: [ // SubnetIdList // required
|
|
35
35
|
* "STRING_VALUE",
|
|
36
36
|
* ],
|
|
37
|
-
* Tags: {
|
|
37
|
+
* Tags: { // Tags
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteAccessLogSettingsCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ApiGatewayV2Client, DeleteAccessLogSettingsCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, DeleteAccessLogSettingsCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteAccessLogSettingsRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* StageName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteApiCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ApiGatewayV2Client, DeleteApiCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, DeleteApiCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteApiRequest
|
|
30
30
|
* ApiId: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteApiCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteApiMappingCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { ApiGatewayV2Client, DeleteApiMappingCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
27
27
|
* // const { ApiGatewayV2Client, DeleteApiMappingCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
|
|
28
28
|
* const client = new ApiGatewayV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteApiMappingRequest
|
|
30
30
|
* ApiMappingId: "STRING_VALUE", // required
|
|
31
31
|
* DomainName: "STRING_VALUE", // required
|
|
32
32
|
* };
|