@aws-sdk/client-apigatewayv2 3.299.0 → 3.301.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 (72) hide show
  1. package/dist-types/commands/CreateApiCommand.d.ts +32 -0
  2. package/dist-types/commands/CreateApiMappingCommand.d.ts +6 -0
  3. package/dist-types/commands/CreateAuthorizerCommand.d.ts +20 -0
  4. package/dist-types/commands/CreateDeploymentCommand.d.ts +5 -0
  5. package/dist-types/commands/CreateDomainNameCommand.d.ts +24 -0
  6. package/dist-types/commands/CreateIntegrationCommand.d.ts +30 -0
  7. package/dist-types/commands/CreateIntegrationResponseCommand.d.ts +13 -0
  8. package/dist-types/commands/CreateModelCommand.d.ts +7 -0
  9. package/dist-types/commands/CreateRouteCommand.d.ts +22 -0
  10. package/dist-types/commands/CreateRouteResponseCommand.d.ts +14 -0
  11. package/dist-types/commands/CreateStageCommand.d.ts +34 -0
  12. package/dist-types/commands/CreateVpcLinkCommand.d.ts +12 -0
  13. package/dist-types/commands/DeleteAccessLogSettingsCommand.d.ts +4 -0
  14. package/dist-types/commands/DeleteApiCommand.d.ts +3 -0
  15. package/dist-types/commands/DeleteApiMappingCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteAuthorizerCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteCorsConfigurationCommand.d.ts +3 -0
  18. package/dist-types/commands/DeleteDeploymentCommand.d.ts +4 -0
  19. package/dist-types/commands/DeleteDomainNameCommand.d.ts +3 -0
  20. package/dist-types/commands/DeleteIntegrationCommand.d.ts +4 -0
  21. package/dist-types/commands/DeleteIntegrationResponseCommand.d.ts +5 -0
  22. package/dist-types/commands/DeleteModelCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteRouteCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteRouteRequestParameterCommand.d.ts +5 -0
  25. package/dist-types/commands/DeleteRouteResponseCommand.d.ts +5 -0
  26. package/dist-types/commands/DeleteRouteSettingsCommand.d.ts +5 -0
  27. package/dist-types/commands/DeleteStageCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteVpcLinkCommand.d.ts +3 -0
  29. package/dist-types/commands/GetApiCommand.d.ts +3 -0
  30. package/dist-types/commands/GetApiMappingCommand.d.ts +4 -0
  31. package/dist-types/commands/GetApiMappingsCommand.d.ts +5 -0
  32. package/dist-types/commands/GetApisCommand.d.ts +4 -0
  33. package/dist-types/commands/GetAuthorizerCommand.d.ts +4 -0
  34. package/dist-types/commands/GetAuthorizersCommand.d.ts +5 -0
  35. package/dist-types/commands/GetDeploymentCommand.d.ts +4 -0
  36. package/dist-types/commands/GetDeploymentsCommand.d.ts +5 -0
  37. package/dist-types/commands/GetDomainNameCommand.d.ts +3 -0
  38. package/dist-types/commands/GetDomainNamesCommand.d.ts +4 -0
  39. package/dist-types/commands/GetIntegrationCommand.d.ts +4 -0
  40. package/dist-types/commands/GetIntegrationResponseCommand.d.ts +5 -0
  41. package/dist-types/commands/GetIntegrationResponsesCommand.d.ts +6 -0
  42. package/dist-types/commands/GetIntegrationsCommand.d.ts +5 -0
  43. package/dist-types/commands/GetModelCommand.d.ts +4 -0
  44. package/dist-types/commands/GetModelTemplateCommand.d.ts +4 -0
  45. package/dist-types/commands/GetModelsCommand.d.ts +5 -0
  46. package/dist-types/commands/GetRouteCommand.d.ts +4 -0
  47. package/dist-types/commands/GetRouteResponseCommand.d.ts +5 -0
  48. package/dist-types/commands/GetRouteResponsesCommand.d.ts +6 -0
  49. package/dist-types/commands/GetRoutesCommand.d.ts +5 -0
  50. package/dist-types/commands/GetStageCommand.d.ts +4 -0
  51. package/dist-types/commands/GetStagesCommand.d.ts +5 -0
  52. package/dist-types/commands/GetTagsCommand.d.ts +3 -0
  53. package/dist-types/commands/GetVpcLinkCommand.d.ts +3 -0
  54. package/dist-types/commands/GetVpcLinksCommand.d.ts +4 -0
  55. package/dist-types/commands/ImportApiCommand.d.ts +5 -0
  56. package/dist-types/commands/ReimportApiCommand.d.ts +6 -0
  57. package/dist-types/commands/ResetAuthorizersCacheCommand.d.ts +4 -0
  58. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  59. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  60. package/dist-types/commands/UpdateApiCommand.d.ts +29 -0
  61. package/dist-types/commands/UpdateApiMappingCommand.d.ts +7 -0
  62. package/dist-types/commands/UpdateAuthorizerCommand.d.ts +21 -0
  63. package/dist-types/commands/UpdateDeploymentCommand.d.ts +5 -0
  64. package/dist-types/commands/UpdateDomainNameCommand.d.ts +21 -0
  65. package/dist-types/commands/UpdateIntegrationCommand.d.ts +31 -0
  66. package/dist-types/commands/UpdateIntegrationResponseCommand.d.ts +14 -0
  67. package/dist-types/commands/UpdateModelCommand.d.ts +8 -0
  68. package/dist-types/commands/UpdateRouteCommand.d.ts +23 -0
  69. package/dist-types/commands/UpdateRouteResponseCommand.d.ts +15 -0
  70. package/dist-types/commands/UpdateStageCommand.d.ts +31 -0
  71. package/dist-types/commands/UpdateVpcLinkCommand.d.ts +4 -0
  72. package/package.json +8 -8
@@ -26,6 +26,38 @@ 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 = { // CreateApiRequest
30
+ * ApiKeySelectionExpression: "STRING_VALUE",
31
+ * CorsConfiguration: { // Cors
32
+ * AllowCredentials: true || false,
33
+ * AllowHeaders: [ // CorsHeaderList
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * AllowMethods: [ // CorsMethodList
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * AllowOrigins: [ // CorsOriginList
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * ExposeHeaders: [
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * MaxAge: Number("int"),
46
+ * },
47
+ * CredentialsArn: "STRING_VALUE",
48
+ * Description: "STRING_VALUE",
49
+ * DisableSchemaValidation: true || false,
50
+ * DisableExecuteApiEndpoint: true || false,
51
+ * Name: "STRING_VALUE", // required
52
+ * ProtocolType: "STRING_VALUE", // required
53
+ * RouteKey: "STRING_VALUE",
54
+ * RouteSelectionExpression: "STRING_VALUE",
55
+ * Tags: { // Tags
56
+ * "<keys>": "STRING_VALUE",
57
+ * },
58
+ * Target: "STRING_VALUE",
59
+ * Version: "STRING_VALUE",
60
+ * };
29
61
  * const command = new CreateApiCommand(input);
30
62
  * const response = await client.send(command);
31
63
  * ```
@@ -26,6 +26,12 @@ 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 = { // CreateApiMappingRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ApiMappingKey: "STRING_VALUE",
32
+ * DomainName: "STRING_VALUE", // required
33
+ * Stage: "STRING_VALUE", // required
34
+ * };
29
35
  * const command = new CreateApiMappingCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,26 @@ 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 = { // CreateAuthorizerRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * AuthorizerCredentialsArn: "STRING_VALUE",
32
+ * AuthorizerPayloadFormatVersion: "STRING_VALUE",
33
+ * AuthorizerResultTtlInSeconds: Number("int"),
34
+ * AuthorizerType: "STRING_VALUE", // required
35
+ * AuthorizerUri: "STRING_VALUE",
36
+ * EnableSimpleResponses: true || false,
37
+ * IdentitySource: [ // IdentitySourceList // required
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * IdentityValidationExpression: "STRING_VALUE",
41
+ * JwtConfiguration: { // JWTConfiguration
42
+ * Audience: [ // __listOf__string
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * Issuer: "STRING_VALUE",
46
+ * },
47
+ * Name: "STRING_VALUE", // required
48
+ * };
29
49
  * const command = new CreateAuthorizerCommand(input);
30
50
  * const response = await client.send(command);
31
51
  * ```
@@ -26,6 +26,11 @@ 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 = { // CreateDeploymentRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * Description: "STRING_VALUE",
32
+ * StageName: "STRING_VALUE",
33
+ * };
29
34
  * const command = new CreateDeploymentCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,30 @@ 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 = { // CreateDomainNameRequest
30
+ * DomainName: "STRING_VALUE", // required
31
+ * DomainNameConfigurations: [ // DomainNameConfigurations
32
+ * { // DomainNameConfiguration
33
+ * ApiGatewayDomainName: "STRING_VALUE",
34
+ * CertificateArn: "STRING_VALUE",
35
+ * CertificateName: "STRING_VALUE",
36
+ * CertificateUploadDate: new Date("TIMESTAMP"),
37
+ * DomainNameStatus: "STRING_VALUE",
38
+ * DomainNameStatusMessage: "STRING_VALUE",
39
+ * EndpointType: "STRING_VALUE",
40
+ * HostedZoneId: "STRING_VALUE",
41
+ * SecurityPolicy: "STRING_VALUE",
42
+ * OwnershipVerificationCertificateArn: "STRING_VALUE",
43
+ * },
44
+ * ],
45
+ * MutualTlsAuthentication: { // MutualTlsAuthenticationInput
46
+ * TruststoreUri: "STRING_VALUE",
47
+ * TruststoreVersion: "STRING_VALUE",
48
+ * },
49
+ * Tags: { // Tags
50
+ * "<keys>": "STRING_VALUE",
51
+ * },
52
+ * };
29
53
  * const command = new CreateDomainNameCommand(input);
30
54
  * const response = await client.send(command);
31
55
  * ```
@@ -26,6 +26,36 @@ 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 = { // CreateIntegrationRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ConnectionId: "STRING_VALUE",
32
+ * ConnectionType: "STRING_VALUE",
33
+ * ContentHandlingStrategy: "STRING_VALUE",
34
+ * CredentialsArn: "STRING_VALUE",
35
+ * Description: "STRING_VALUE",
36
+ * IntegrationMethod: "STRING_VALUE",
37
+ * IntegrationSubtype: "STRING_VALUE",
38
+ * IntegrationType: "STRING_VALUE", // required
39
+ * IntegrationUri: "STRING_VALUE",
40
+ * PassthroughBehavior: "STRING_VALUE",
41
+ * PayloadFormatVersion: "STRING_VALUE",
42
+ * RequestParameters: { // IntegrationParameters
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * RequestTemplates: { // TemplateMap
46
+ * "<keys>": "STRING_VALUE",
47
+ * },
48
+ * ResponseParameters: { // ResponseParameters
49
+ * "<keys>": {
50
+ * "<keys>": "STRING_VALUE",
51
+ * },
52
+ * },
53
+ * TemplateSelectionExpression: "STRING_VALUE",
54
+ * TimeoutInMillis: Number("int"),
55
+ * TlsConfig: { // TlsConfigInput
56
+ * ServerNameToVerify: "STRING_VALUE",
57
+ * },
58
+ * };
29
59
  * const command = new CreateIntegrationCommand(input);
30
60
  * const response = await client.send(command);
31
61
  * ```
@@ -26,6 +26,19 @@ 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 = { // CreateIntegrationResponseRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ContentHandlingStrategy: "STRING_VALUE",
32
+ * IntegrationId: "STRING_VALUE", // required
33
+ * IntegrationResponseKey: "STRING_VALUE", // required
34
+ * ResponseParameters: { // IntegrationParameters
35
+ * "<keys>": "STRING_VALUE",
36
+ * },
37
+ * ResponseTemplates: { // TemplateMap
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * TemplateSelectionExpression: "STRING_VALUE",
41
+ * };
29
42
  * const command = new CreateIntegrationResponseCommand(input);
30
43
  * const response = await client.send(command);
31
44
  * ```
@@ -26,6 +26,13 @@ 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 = { // CreateModelRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ContentType: "STRING_VALUE",
32
+ * Description: "STRING_VALUE",
33
+ * Name: "STRING_VALUE", // required
34
+ * Schema: "STRING_VALUE", // required
35
+ * };
29
36
  * const command = new CreateModelCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,28 @@ 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 = { // CreateRouteRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ApiKeyRequired: true || false,
32
+ * AuthorizationScopes: [ // AuthorizationScopes
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * AuthorizationType: "STRING_VALUE",
36
+ * AuthorizerId: "STRING_VALUE",
37
+ * ModelSelectionExpression: "STRING_VALUE",
38
+ * OperationName: "STRING_VALUE",
39
+ * RequestModels: { // RouteModels
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * RequestParameters: { // RouteParameters
43
+ * "<keys>": { // ParameterConstraints
44
+ * Required: true || false,
45
+ * },
46
+ * },
47
+ * RouteKey: "STRING_VALUE", // required
48
+ * RouteResponseSelectionExpression: "STRING_VALUE",
49
+ * Target: "STRING_VALUE",
50
+ * };
29
51
  * const command = new CreateRouteCommand(input);
30
52
  * const response = await client.send(command);
31
53
  * ```
@@ -26,6 +26,20 @@ 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 = { // CreateRouteResponseRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ModelSelectionExpression: "STRING_VALUE",
32
+ * ResponseModels: { // RouteModels
33
+ * "<keys>": "STRING_VALUE",
34
+ * },
35
+ * ResponseParameters: { // RouteParameters
36
+ * "<keys>": { // ParameterConstraints
37
+ * Required: true || false,
38
+ * },
39
+ * },
40
+ * RouteId: "STRING_VALUE", // required
41
+ * RouteResponseKey: "STRING_VALUE", // required
42
+ * };
29
43
  * const command = new CreateRouteResponseCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -26,6 +26,40 @@ 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 = { // CreateStageRequest
30
+ * AccessLogSettings: { // AccessLogSettings
31
+ * DestinationArn: "STRING_VALUE",
32
+ * Format: "STRING_VALUE",
33
+ * },
34
+ * ApiId: "STRING_VALUE", // required
35
+ * AutoDeploy: true || false,
36
+ * ClientCertificateId: "STRING_VALUE",
37
+ * DefaultRouteSettings: { // RouteSettings
38
+ * DataTraceEnabled: true || false,
39
+ * DetailedMetricsEnabled: true || false,
40
+ * LoggingLevel: "STRING_VALUE",
41
+ * ThrottlingBurstLimit: Number("int"),
42
+ * ThrottlingRateLimit: Number("double"),
43
+ * },
44
+ * DeploymentId: "STRING_VALUE",
45
+ * Description: "STRING_VALUE",
46
+ * RouteSettings: { // RouteSettingsMap
47
+ * "<keys>": {
48
+ * DataTraceEnabled: true || false,
49
+ * DetailedMetricsEnabled: true || false,
50
+ * LoggingLevel: "STRING_VALUE",
51
+ * ThrottlingBurstLimit: Number("int"),
52
+ * ThrottlingRateLimit: Number("double"),
53
+ * },
54
+ * },
55
+ * StageName: "STRING_VALUE", // required
56
+ * StageVariables: { // StageVariablesMap
57
+ * "<keys>": "STRING_VALUE",
58
+ * },
59
+ * Tags: { // Tags
60
+ * "<keys>": "STRING_VALUE",
61
+ * },
62
+ * };
29
63
  * const command = new CreateStageCommand(input);
30
64
  * const response = await client.send(command);
31
65
  * ```
@@ -26,6 +26,18 @@ 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 = { // CreateVpcLinkRequest
30
+ * Name: "STRING_VALUE", // required
31
+ * SecurityGroupIds: [ // SecurityGroupIdList
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * SubnetIds: [ // SubnetIdList // required
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * Tags: { // Tags
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * };
29
41
  * const command = new CreateVpcLinkCommand(input);
30
42
  * const response = await client.send(command);
31
43
  * ```
@@ -26,6 +26,10 @@ 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 = { // DeleteAccessLogSettingsRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * StageName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteAccessLogSettingsCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ 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 = { // DeleteApiRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteApiCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ 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 = { // DeleteApiMappingRequest
30
+ * ApiMappingId: "STRING_VALUE", // required
31
+ * DomainName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteApiMappingCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface DeleteAuthorizerCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteAuthorizerCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteAuthorizerCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteAuthorizerRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * AuthorizerId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteAuthorizerCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface DeleteCorsConfigurationCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteCorsConfigurationCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteCorsConfigurationCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteCorsConfigurationRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteCorsConfigurationCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface DeleteDeploymentCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteDeploymentCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteDeploymentCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteDeploymentRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * DeploymentId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteDeploymentCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface DeleteDomainNameCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteDomainNameCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteDomainNameCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteDomainNameRequest
30
+ * DomainName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteDomainNameCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface DeleteIntegrationCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteIntegrationCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteIntegrationCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteIntegrationRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * IntegrationId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteIntegrationCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface DeleteIntegrationResponseCommandOutput extends __MetadataBearer
26
26
  * import { ApiGatewayV2Client, DeleteIntegrationResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteIntegrationResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteIntegrationResponseRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * IntegrationId: "STRING_VALUE", // required
32
+ * IntegrationResponseId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new DeleteIntegrationResponseCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface DeleteModelCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteModelCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteModelCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteModelRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ModelId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteModelCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface DeleteRouteCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteRouteCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteRouteCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteRouteRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * RouteId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteRouteCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface DeleteRouteRequestParameterCommandOutput extends __MetadataBear
26
26
  * import { ApiGatewayV2Client, DeleteRouteRequestParameterCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteRouteRequestParameterCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteRouteRequestParameterRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * RequestParameterKey: "STRING_VALUE", // required
32
+ * RouteId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new DeleteRouteRequestParameterCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface DeleteRouteResponseCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteRouteResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteRouteResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteRouteResponseRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * RouteId: "STRING_VALUE", // required
32
+ * RouteResponseId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new DeleteRouteResponseCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,11 @@ export interface DeleteRouteSettingsCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteRouteSettingsCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteRouteSettingsCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteRouteSettingsRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * RouteKey: "STRING_VALUE", // required
32
+ * StageName: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new DeleteRouteSettingsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface DeleteStageCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, DeleteStageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteStageCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteStageRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * StageName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new DeleteStageCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,9 @@ export interface DeleteVpcLinkCommandOutput extends DeleteVpcLinkResponse, __Met
26
26
  * import { ApiGatewayV2Client, DeleteVpcLinkCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, DeleteVpcLinkCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // DeleteVpcLinkRequest
30
+ * VpcLinkId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DeleteVpcLinkCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetApiCommandOutput extends GetApiResponse, __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, GetApiCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetApiCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetApiRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetApiCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface GetApiMappingCommandOutput extends GetApiMappingResponse, __Met
26
26
  * import { ApiGatewayV2Client, GetApiMappingCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetApiMappingCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetApiMappingRequest
30
+ * ApiMappingId: "STRING_VALUE", // required
31
+ * DomainName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetApiMappingCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetApiMappingsCommandOutput extends GetApiMappingsResponse, __M
26
26
  * import { ApiGatewayV2Client, GetApiMappingsCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetApiMappingsCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetApiMappingsRequest
30
+ * DomainName: "STRING_VALUE", // required
31
+ * MaxResults: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new GetApiMappingsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface GetApisCommandOutput extends GetApisResponse, __MetadataBearer
26
26
  * import { ApiGatewayV2Client, GetApisCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetApisCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetApisRequest
30
+ * MaxResults: "STRING_VALUE",
31
+ * NextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new GetApisCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface GetAuthorizerCommandOutput extends GetAuthorizerResponse, __Met
26
26
  * import { ApiGatewayV2Client, GetAuthorizerCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetAuthorizerCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetAuthorizerRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * AuthorizerId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetAuthorizerCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetAuthorizersCommandOutput extends GetAuthorizersResponse, __M
26
26
  * import { ApiGatewayV2Client, GetAuthorizersCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetAuthorizersCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetAuthorizersRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * MaxResults: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new GetAuthorizersCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface GetDeploymentCommandOutput extends GetDeploymentResponse, __Met
26
26
  * import { ApiGatewayV2Client, GetDeploymentCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetDeploymentCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetDeploymentRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * DeploymentId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetDeploymentCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetDeploymentsCommandOutput extends GetDeploymentsResponse, __M
26
26
  * import { ApiGatewayV2Client, GetDeploymentsCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetDeploymentsCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetDeploymentsRequest
30
+ * ApiId: "STRING_VALUE", // required
31
+ * MaxResults: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new GetDeploymentsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface GetDomainNameCommandOutput extends GetDomainNameResponse, __Met
26
26
  * import { ApiGatewayV2Client, GetDomainNameCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetDomainNameCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetDomainNameRequest
30
+ * DomainName: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetDomainNameCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface GetDomainNamesCommandOutput extends GetDomainNamesResponse, __M
26
26
  * import { ApiGatewayV2Client, GetDomainNamesCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetDomainNamesCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = { // GetDomainNamesRequest
30
+ * MaxResults: "STRING_VALUE",
31
+ * NextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new GetDomainNamesCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```