@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.
Files changed (76) hide show
  1. package/dist-cjs/models/models_0.js +68 -82
  2. package/dist-es/models/models_0.js +68 -82
  3. package/dist-types/commands/CreateApiCommand.d.ts +6 -6
  4. package/dist-types/commands/CreateApiMappingCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateAuthorizerCommand.d.ts +4 -4
  6. package/dist-types/commands/CreateDeploymentCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateDomainNameCommand.d.ts +5 -5
  8. package/dist-types/commands/CreateIntegrationCommand.d.ts +5 -5
  9. package/dist-types/commands/CreateIntegrationResponseCommand.d.ts +3 -3
  10. package/dist-types/commands/CreateModelCommand.d.ts +1 -1
  11. package/dist-types/commands/CreateRouteCommand.d.ts +5 -5
  12. package/dist-types/commands/CreateRouteResponseCommand.d.ts +4 -4
  13. package/dist-types/commands/CreateStageCommand.d.ts +6 -6
  14. package/dist-types/commands/CreateVpcLinkCommand.d.ts +4 -4
  15. package/dist-types/commands/DeleteAccessLogSettingsCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteApiCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteApiMappingCommand.d.ts +1 -1
  18. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +1 -1
  19. package/dist-types/commands/DeleteCorsConfigurationCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteDeploymentCommand.d.ts +1 -1
  21. package/dist-types/commands/DeleteDomainNameCommand.d.ts +1 -1
  22. package/dist-types/commands/DeleteIntegrationCommand.d.ts +1 -1
  23. package/dist-types/commands/DeleteIntegrationResponseCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteModelCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteRouteCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteRouteRequestParameterCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteRouteResponseCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteRouteSettingsCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteStageCommand.d.ts +1 -1
  30. package/dist-types/commands/DeleteVpcLinkCommand.d.ts +1 -1
  31. package/dist-types/commands/GetApiCommand.d.ts +1 -1
  32. package/dist-types/commands/GetApiMappingCommand.d.ts +1 -1
  33. package/dist-types/commands/GetApiMappingsCommand.d.ts +1 -1
  34. package/dist-types/commands/GetApisCommand.d.ts +1 -1
  35. package/dist-types/commands/GetAuthorizerCommand.d.ts +1 -1
  36. package/dist-types/commands/GetAuthorizersCommand.d.ts +1 -1
  37. package/dist-types/commands/GetDeploymentCommand.d.ts +1 -1
  38. package/dist-types/commands/GetDeploymentsCommand.d.ts +1 -1
  39. package/dist-types/commands/GetDomainNameCommand.d.ts +1 -1
  40. package/dist-types/commands/GetDomainNamesCommand.d.ts +1 -1
  41. package/dist-types/commands/GetIntegrationCommand.d.ts +1 -1
  42. package/dist-types/commands/GetIntegrationResponseCommand.d.ts +1 -1
  43. package/dist-types/commands/GetIntegrationResponsesCommand.d.ts +1 -1
  44. package/dist-types/commands/GetIntegrationsCommand.d.ts +1 -1
  45. package/dist-types/commands/GetModelCommand.d.ts +1 -1
  46. package/dist-types/commands/GetModelTemplateCommand.d.ts +1 -1
  47. package/dist-types/commands/GetModelsCommand.d.ts +1 -1
  48. package/dist-types/commands/GetRouteCommand.d.ts +1 -1
  49. package/dist-types/commands/GetRouteResponseCommand.d.ts +1 -1
  50. package/dist-types/commands/GetRouteResponsesCommand.d.ts +1 -1
  51. package/dist-types/commands/GetRoutesCommand.d.ts +1 -1
  52. package/dist-types/commands/GetStageCommand.d.ts +1 -1
  53. package/dist-types/commands/GetStagesCommand.d.ts +1 -1
  54. package/dist-types/commands/GetTagsCommand.d.ts +1 -1
  55. package/dist-types/commands/GetVpcLinkCommand.d.ts +1 -1
  56. package/dist-types/commands/GetVpcLinksCommand.d.ts +1 -1
  57. package/dist-types/commands/ImportApiCommand.d.ts +1 -1
  58. package/dist-types/commands/ReimportApiCommand.d.ts +1 -1
  59. package/dist-types/commands/ResetAuthorizersCacheCommand.d.ts +1 -1
  60. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  61. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  62. package/dist-types/commands/UpdateApiCommand.d.ts +5 -5
  63. package/dist-types/commands/UpdateApiMappingCommand.d.ts +1 -1
  64. package/dist-types/commands/UpdateAuthorizerCommand.d.ts +4 -4
  65. package/dist-types/commands/UpdateDeploymentCommand.d.ts +1 -1
  66. package/dist-types/commands/UpdateDomainNameCommand.d.ts +4 -4
  67. package/dist-types/commands/UpdateIntegrationCommand.d.ts +5 -5
  68. package/dist-types/commands/UpdateIntegrationResponseCommand.d.ts +3 -3
  69. package/dist-types/commands/UpdateModelCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateRouteCommand.d.ts +5 -5
  71. package/dist-types/commands/UpdateRouteResponseCommand.d.ts +4 -4
  72. package/dist-types/commands/UpdateStageCommand.d.ts +5 -5
  73. package/dist-types/commands/UpdateVpcLinkCommand.d.ts +1 -1
  74. package/dist-types/models/models_0.d.ts +138 -68
  75. package/dist-types/ts3.4/models/models_0.d.ts +92 -68
  76. 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
- var ProtocolType;
6
- (function (ProtocolType) {
7
- ProtocolType["HTTP"] = "HTTP";
8
- ProtocolType["WEBSOCKET"] = "WEBSOCKET";
9
- })(ProtocolType = exports.ProtocolType || (exports.ProtocolType = {}));
10
- var AuthorizerType;
11
- (function (AuthorizerType) {
12
- AuthorizerType["JWT"] = "JWT";
13
- AuthorizerType["REQUEST"] = "REQUEST";
14
- })(AuthorizerType = exports.AuthorizerType || (exports.AuthorizerType = {}));
15
- var DeploymentStatus;
16
- (function (DeploymentStatus) {
17
- DeploymentStatus["DEPLOYED"] = "DEPLOYED";
18
- DeploymentStatus["FAILED"] = "FAILED";
19
- DeploymentStatus["PENDING"] = "PENDING";
20
- })(DeploymentStatus = exports.DeploymentStatus || (exports.DeploymentStatus = {}));
21
- var DomainNameStatus;
22
- (function (DomainNameStatus) {
23
- DomainNameStatus["AVAILABLE"] = "AVAILABLE";
24
- DomainNameStatus["PENDING_CERTIFICATE_REIMPORT"] = "PENDING_CERTIFICATE_REIMPORT";
25
- DomainNameStatus["PENDING_OWNERSHIP_VERIFICATION"] = "PENDING_OWNERSHIP_VERIFICATION";
26
- DomainNameStatus["UPDATING"] = "UPDATING";
27
- })(DomainNameStatus = exports.DomainNameStatus || (exports.DomainNameStatus = {}));
28
- var EndpointType;
29
- (function (EndpointType) {
30
- EndpointType["EDGE"] = "EDGE";
31
- EndpointType["REGIONAL"] = "REGIONAL";
32
- })(EndpointType = exports.EndpointType || (exports.EndpointType = {}));
33
- var SecurityPolicy;
34
- (function (SecurityPolicy) {
35
- SecurityPolicy["TLS_1_0"] = "TLS_1_0";
36
- SecurityPolicy["TLS_1_2"] = "TLS_1_2";
37
- })(SecurityPolicy = exports.SecurityPolicy || (exports.SecurityPolicy = {}));
38
- var ConnectionType;
39
- (function (ConnectionType) {
40
- ConnectionType["INTERNET"] = "INTERNET";
41
- ConnectionType["VPC_LINK"] = "VPC_LINK";
42
- })(ConnectionType = exports.ConnectionType || (exports.ConnectionType = {}));
43
- var ContentHandlingStrategy;
44
- (function (ContentHandlingStrategy) {
45
- ContentHandlingStrategy["CONVERT_TO_BINARY"] = "CONVERT_TO_BINARY";
46
- ContentHandlingStrategy["CONVERT_TO_TEXT"] = "CONVERT_TO_TEXT";
47
- })(ContentHandlingStrategy = exports.ContentHandlingStrategy || (exports.ContentHandlingStrategy = {}));
48
- var IntegrationType;
49
- (function (IntegrationType) {
50
- IntegrationType["AWS"] = "AWS";
51
- IntegrationType["AWS_PROXY"] = "AWS_PROXY";
52
- IntegrationType["HTTP"] = "HTTP";
53
- IntegrationType["HTTP_PROXY"] = "HTTP_PROXY";
54
- IntegrationType["MOCK"] = "MOCK";
55
- })(IntegrationType = exports.IntegrationType || (exports.IntegrationType = {}));
56
- var PassthroughBehavior;
57
- (function (PassthroughBehavior) {
58
- PassthroughBehavior["NEVER"] = "NEVER";
59
- PassthroughBehavior["WHEN_NO_MATCH"] = "WHEN_NO_MATCH";
60
- PassthroughBehavior["WHEN_NO_TEMPLATES"] = "WHEN_NO_TEMPLATES";
61
- })(PassthroughBehavior = exports.PassthroughBehavior || (exports.PassthroughBehavior = {}));
62
- var AuthorizationType;
63
- (function (AuthorizationType) {
64
- AuthorizationType["AWS_IAM"] = "AWS_IAM";
65
- AuthorizationType["CUSTOM"] = "CUSTOM";
66
- AuthorizationType["JWT"] = "JWT";
67
- AuthorizationType["NONE"] = "NONE";
68
- })(AuthorizationType = exports.AuthorizationType || (exports.AuthorizationType = {}));
69
- var LoggingLevel;
70
- (function (LoggingLevel) {
71
- LoggingLevel["ERROR"] = "ERROR";
72
- LoggingLevel["INFO"] = "INFO";
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 var ProtocolType;
3
- (function (ProtocolType) {
4
- ProtocolType["HTTP"] = "HTTP";
5
- ProtocolType["WEBSOCKET"] = "WEBSOCKET";
6
- })(ProtocolType || (ProtocolType = {}));
7
- export var AuthorizerType;
8
- (function (AuthorizerType) {
9
- AuthorizerType["JWT"] = "JWT";
10
- AuthorizerType["REQUEST"] = "REQUEST";
11
- })(AuthorizerType || (AuthorizerType = {}));
12
- export var DeploymentStatus;
13
- (function (DeploymentStatus) {
14
- DeploymentStatus["DEPLOYED"] = "DEPLOYED";
15
- DeploymentStatus["FAILED"] = "FAILED";
16
- DeploymentStatus["PENDING"] = "PENDING";
17
- })(DeploymentStatus || (DeploymentStatus = {}));
18
- export var DomainNameStatus;
19
- (function (DomainNameStatus) {
20
- DomainNameStatus["AVAILABLE"] = "AVAILABLE";
21
- DomainNameStatus["PENDING_CERTIFICATE_REIMPORT"] = "PENDING_CERTIFICATE_REIMPORT";
22
- DomainNameStatus["PENDING_OWNERSHIP_VERIFICATION"] = "PENDING_OWNERSHIP_VERIFICATION";
23
- DomainNameStatus["UPDATING"] = "UPDATING";
24
- })(DomainNameStatus || (DomainNameStatus = {}));
25
- export var EndpointType;
26
- (function (EndpointType) {
27
- EndpointType["EDGE"] = "EDGE";
28
- EndpointType["REGIONAL"] = "REGIONAL";
29
- })(EndpointType || (EndpointType = {}));
30
- export var SecurityPolicy;
31
- (function (SecurityPolicy) {
32
- SecurityPolicy["TLS_1_0"] = "TLS_1_0";
33
- SecurityPolicy["TLS_1_2"] = "TLS_1_2";
34
- })(SecurityPolicy || (SecurityPolicy = {}));
35
- export var ConnectionType;
36
- (function (ConnectionType) {
37
- ConnectionType["INTERNET"] = "INTERNET";
38
- ConnectionType["VPC_LINK"] = "VPC_LINK";
39
- })(ConnectionType || (ConnectionType = {}));
40
- export var ContentHandlingStrategy;
41
- (function (ContentHandlingStrategy) {
42
- ContentHandlingStrategy["CONVERT_TO_BINARY"] = "CONVERT_TO_BINARY";
43
- ContentHandlingStrategy["CONVERT_TO_TEXT"] = "CONVERT_TO_TEXT";
44
- })(ContentHandlingStrategy || (ContentHandlingStrategy = {}));
45
- export var IntegrationType;
46
- (function (IntegrationType) {
47
- IntegrationType["AWS"] = "AWS";
48
- IntegrationType["AWS_PROXY"] = "AWS_PROXY";
49
- IntegrationType["HTTP"] = "HTTP";
50
- IntegrationType["HTTP_PROXY"] = "HTTP_PROXY";
51
- IntegrationType["MOCK"] = "MOCK";
52
- })(IntegrationType || (IntegrationType = {}));
53
- export var PassthroughBehavior;
54
- (function (PassthroughBehavior) {
55
- PassthroughBehavior["NEVER"] = "NEVER";
56
- PassthroughBehavior["WHEN_NO_MATCH"] = "WHEN_NO_MATCH";
57
- PassthroughBehavior["WHEN_NO_TEMPLATES"] = "WHEN_NO_TEMPLATES";
58
- })(PassthroughBehavior || (PassthroughBehavior = {}));
59
- export var AuthorizationType;
60
- (function (AuthorizationType) {
61
- AuthorizationType["AWS_IAM"] = "AWS_IAM";
62
- AuthorizationType["CUSTOM"] = "CUSTOM";
63
- AuthorizationType["JWT"] = "JWT";
64
- AuthorizationType["NONE"] = "NONE";
65
- })(AuthorizationType || (AuthorizationType = {}));
66
- export var LoggingLevel;
67
- (function (LoggingLevel) {
68
- LoggingLevel["ERROR"] = "ERROR";
69
- LoggingLevel["INFO"] = "INFO";
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
  * };