@aws-sdk/client-apigatewayv2 3.298.0 → 3.300.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 +12 -12
@@ -26,6 +26,10 @@ export interface GetIntegrationCommandOutput extends GetIntegrationResult, __Met
26
26
  * import { ApiGatewayV2Client, GetIntegrationCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetIntegrationCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * IntegrationId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetIntegrationCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetIntegrationResponseCommandOutput extends GetIntegrationRespo
26
26
  * import { ApiGatewayV2Client, GetIntegrationResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetIntegrationResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * IntegrationId: "STRING_VALUE", // required
32
+ * IntegrationResponseId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetIntegrationResponseCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,12 @@ export interface GetIntegrationResponsesCommandOutput extends GetIntegrationResp
26
26
  * import { ApiGatewayV2Client, GetIntegrationResponsesCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetIntegrationResponsesCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * IntegrationId: "STRING_VALUE", // required
32
+ * MaxResults: "STRING_VALUE",
33
+ * NextToken: "STRING_VALUE",
34
+ * };
29
35
  * const command = new GetIntegrationResponsesCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,11 @@ export interface GetIntegrationsCommandOutput extends GetIntegrationsResponse, _
26
26
  * import { ApiGatewayV2Client, GetIntegrationsCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetIntegrationsCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * MaxResults: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new GetIntegrationsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface GetModelCommandOutput extends GetModelResponse, __MetadataBeare
26
26
  * import { ApiGatewayV2Client, GetModelCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetModelCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ModelId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetModelCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,10 @@ export interface GetModelTemplateCommandOutput extends GetModelTemplateResponse,
26
26
  * import { ApiGatewayV2Client, GetModelTemplateCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetModelTemplateCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ModelId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetModelTemplateCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetModelsCommandOutput extends GetModelsResponse, __MetadataBea
26
26
  * import { ApiGatewayV2Client, GetModelsCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetModelsCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * MaxResults: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new GetModelsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface GetRouteCommandOutput extends GetRouteResult, __MetadataBearer
26
26
  * import { ApiGatewayV2Client, GetRouteCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetRouteCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * RouteId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetRouteCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetRouteResponseCommandOutput extends GetRouteResponseResponse,
26
26
  * import { ApiGatewayV2Client, GetRouteResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetRouteResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * RouteId: "STRING_VALUE", // required
32
+ * RouteResponseId: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetRouteResponseCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,12 @@ export interface GetRouteResponsesCommandOutput extends GetRouteResponsesRespons
26
26
  * import { ApiGatewayV2Client, GetRouteResponsesCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetRouteResponsesCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * MaxResults: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * RouteId: "STRING_VALUE", // required
34
+ * };
29
35
  * const command = new GetRouteResponsesCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,11 @@ export interface GetRoutesCommandOutput extends GetRoutesResponse, __MetadataBea
26
26
  * import { ApiGatewayV2Client, GetRoutesCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetRoutesCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * MaxResults: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new GetRoutesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,10 @@ export interface GetStageCommandOutput extends GetStageResponse, __MetadataBeare
26
26
  * import { ApiGatewayV2Client, GetStageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetStageCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * StageName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetStageCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface GetStagesCommandOutput extends GetStagesResponse, __MetadataBea
26
26
  * import { ApiGatewayV2Client, GetStagesCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetStagesCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * MaxResults: "STRING_VALUE",
32
+ * NextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new GetStagesCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,9 @@ export interface GetTagsCommandOutput extends GetTagsResponse, __MetadataBearer
26
26
  * import { ApiGatewayV2Client, GetTagsCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetTagsCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetTagsCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,9 @@ export interface GetVpcLinkCommandOutput extends GetVpcLinkResponse, __MetadataB
26
26
  * import { ApiGatewayV2Client, GetVpcLinkCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetVpcLinkCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * VpcLinkId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetVpcLinkCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,10 @@ export interface GetVpcLinksCommandOutput extends GetVpcLinksResponse, __Metadat
26
26
  * import { ApiGatewayV2Client, GetVpcLinksCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, GetVpcLinksCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * MaxResults: "STRING_VALUE",
31
+ * NextToken: "STRING_VALUE",
32
+ * };
29
33
  * const command = new GetVpcLinksCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,11 @@ export interface ImportApiCommandOutput extends ImportApiResponse, __MetadataBea
26
26
  * import { ApiGatewayV2Client, ImportApiCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, ImportApiCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * Basepath: "STRING_VALUE",
31
+ * Body: "STRING_VALUE", // required
32
+ * FailOnWarnings: true || false,
33
+ * };
29
34
  * const command = new ImportApiCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,12 @@ export interface ReimportApiCommandOutput extends ReimportApiResponse, __Metadat
26
26
  * import { ApiGatewayV2Client, ReimportApiCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, ReimportApiCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * Basepath: "STRING_VALUE",
32
+ * Body: "STRING_VALUE", // required
33
+ * FailOnWarnings: true || false,
34
+ * };
29
35
  * const command = new ReimportApiCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,10 @@ export interface ResetAuthorizersCacheCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, ResetAuthorizersCacheCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, ResetAuthorizersCacheCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * StageName: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new ResetAuthorizersCacheCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -26,6 +26,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { ApiGatewayV2Client, TagResourceCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, TagResourceCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * Tags: {
32
+ * "<keys>": "STRING_VALUE",
33
+ * },
34
+ * };
29
35
  * const command = new TagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
26
26
  * import { ApiGatewayV2Client, UntagResourceCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UntagResourceCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ResourceArn: "STRING_VALUE", // required
31
+ * TagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,35 @@ export interface UpdateApiCommandOutput extends UpdateApiResponse, __MetadataBea
26
26
  * import { ApiGatewayV2Client, UpdateApiCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateApiCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ApiKeySelectionExpression: "STRING_VALUE",
32
+ * CorsConfiguration: {
33
+ * AllowCredentials: true || false,
34
+ * AllowHeaders: [
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * AllowMethods: [
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * AllowOrigins: [
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * ExposeHeaders: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * MaxAge: Number("int"),
47
+ * },
48
+ * CredentialsArn: "STRING_VALUE",
49
+ * Description: "STRING_VALUE",
50
+ * DisableSchemaValidation: true || false,
51
+ * DisableExecuteApiEndpoint: true || false,
52
+ * Name: "STRING_VALUE",
53
+ * RouteKey: "STRING_VALUE",
54
+ * RouteSelectionExpression: "STRING_VALUE",
55
+ * Target: "STRING_VALUE",
56
+ * Version: "STRING_VALUE",
57
+ * };
29
58
  * const command = new UpdateApiCommand(input);
30
59
  * const response = await client.send(command);
31
60
  * ```
@@ -26,6 +26,13 @@ export interface UpdateApiMappingCommandOutput extends UpdateApiMappingResponse,
26
26
  * import { ApiGatewayV2Client, UpdateApiMappingCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateApiMappingCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ApiMappingId: "STRING_VALUE", // required
32
+ * ApiMappingKey: "STRING_VALUE",
33
+ * DomainName: "STRING_VALUE", // required
34
+ * Stage: "STRING_VALUE",
35
+ * };
29
36
  * const command = new UpdateApiMappingCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -26,6 +26,27 @@ export interface UpdateAuthorizerCommandOutput extends UpdateAuthorizerResponse,
26
26
  * import { ApiGatewayV2Client, UpdateAuthorizerCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateAuthorizerCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * AuthorizerCredentialsArn: "STRING_VALUE",
32
+ * AuthorizerId: "STRING_VALUE", // required
33
+ * AuthorizerPayloadFormatVersion: "STRING_VALUE",
34
+ * AuthorizerResultTtlInSeconds: Number("int"),
35
+ * AuthorizerType: "STRING_VALUE",
36
+ * AuthorizerUri: "STRING_VALUE",
37
+ * EnableSimpleResponses: true || false,
38
+ * IdentitySource: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * IdentityValidationExpression: "STRING_VALUE",
42
+ * JwtConfiguration: {
43
+ * Audience: [
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * Issuer: "STRING_VALUE",
47
+ * },
48
+ * Name: "STRING_VALUE",
49
+ * };
29
50
  * const command = new UpdateAuthorizerCommand(input);
30
51
  * const response = await client.send(command);
31
52
  * ```
@@ -26,6 +26,11 @@ export interface UpdateDeploymentCommandOutput extends UpdateDeploymentResponse,
26
26
  * import { ApiGatewayV2Client, UpdateDeploymentCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateDeploymentCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * DeploymentId: "STRING_VALUE", // required
32
+ * Description: "STRING_VALUE",
33
+ * };
29
34
  * const command = new UpdateDeploymentCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,27 @@ export interface UpdateDomainNameCommandOutput extends UpdateDomainNameResponse,
26
26
  * import { ApiGatewayV2Client, UpdateDomainNameCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateDomainNameCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * DomainName: "STRING_VALUE", // required
31
+ * DomainNameConfigurations: [
32
+ * {
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: {
46
+ * TruststoreUri: "STRING_VALUE",
47
+ * TruststoreVersion: "STRING_VALUE",
48
+ * },
49
+ * };
29
50
  * const command = new UpdateDomainNameCommand(input);
30
51
  * const response = await client.send(command);
31
52
  * ```
@@ -26,6 +26,37 @@ export interface UpdateIntegrationCommandOutput extends UpdateIntegrationResult,
26
26
  * import { ApiGatewayV2Client, UpdateIntegrationCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateIntegrationCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
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
+ * IntegrationId: "STRING_VALUE", // required
37
+ * IntegrationMethod: "STRING_VALUE",
38
+ * IntegrationSubtype: "STRING_VALUE",
39
+ * IntegrationType: "STRING_VALUE",
40
+ * IntegrationUri: "STRING_VALUE",
41
+ * PassthroughBehavior: "STRING_VALUE",
42
+ * PayloadFormatVersion: "STRING_VALUE",
43
+ * RequestParameters: {
44
+ * "<keys>": "STRING_VALUE",
45
+ * },
46
+ * RequestTemplates: {
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * ResponseParameters: {
50
+ * "<keys>": {
51
+ * "<keys>": "STRING_VALUE",
52
+ * },
53
+ * },
54
+ * TemplateSelectionExpression: "STRING_VALUE",
55
+ * TimeoutInMillis: Number("int"),
56
+ * TlsConfig: {
57
+ * ServerNameToVerify: "STRING_VALUE",
58
+ * },
59
+ * };
29
60
  * const command = new UpdateIntegrationCommand(input);
30
61
  * const response = await client.send(command);
31
62
  * ```
@@ -26,6 +26,20 @@ export interface UpdateIntegrationResponseCommandOutput extends UpdateIntegratio
26
26
  * import { ApiGatewayV2Client, UpdateIntegrationResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateIntegrationResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ContentHandlingStrategy: "STRING_VALUE",
32
+ * IntegrationId: "STRING_VALUE", // required
33
+ * IntegrationResponseId: "STRING_VALUE", // required
34
+ * IntegrationResponseKey: "STRING_VALUE",
35
+ * ResponseParameters: {
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * ResponseTemplates: {
39
+ * "<keys>": "STRING_VALUE",
40
+ * },
41
+ * TemplateSelectionExpression: "STRING_VALUE",
42
+ * };
29
43
  * const command = new UpdateIntegrationResponseCommand(input);
30
44
  * const response = await client.send(command);
31
45
  * ```
@@ -26,6 +26,14 @@ export interface UpdateModelCommandOutput extends UpdateModelResponse, __Metadat
26
26
  * import { ApiGatewayV2Client, UpdateModelCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateModelCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ContentType: "STRING_VALUE",
32
+ * Description: "STRING_VALUE",
33
+ * ModelId: "STRING_VALUE", // required
34
+ * Name: "STRING_VALUE",
35
+ * Schema: "STRING_VALUE",
36
+ * };
29
37
  * const command = new UpdateModelCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,29 @@ export interface UpdateRouteCommandOutput extends UpdateRouteResult, __MetadataB
26
26
  * import { ApiGatewayV2Client, UpdateRouteCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateRouteCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ApiKeyRequired: true || false,
32
+ * AuthorizationScopes: [
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * AuthorizationType: "STRING_VALUE",
36
+ * AuthorizerId: "STRING_VALUE",
37
+ * ModelSelectionExpression: "STRING_VALUE",
38
+ * OperationName: "STRING_VALUE",
39
+ * RequestModels: {
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * RequestParameters: {
43
+ * "<keys>": {
44
+ * Required: true || false,
45
+ * },
46
+ * },
47
+ * RouteId: "STRING_VALUE", // required
48
+ * RouteKey: "STRING_VALUE",
49
+ * RouteResponseSelectionExpression: "STRING_VALUE",
50
+ * Target: "STRING_VALUE",
51
+ * };
29
52
  * const command = new UpdateRouteCommand(input);
30
53
  * const response = await client.send(command);
31
54
  * ```
@@ -26,6 +26,21 @@ export interface UpdateRouteResponseCommandOutput extends UpdateRouteResponseRes
26
26
  * import { ApiGatewayV2Client, UpdateRouteResponseCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateRouteResponseCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * ApiId: "STRING_VALUE", // required
31
+ * ModelSelectionExpression: "STRING_VALUE",
32
+ * ResponseModels: {
33
+ * "<keys>": "STRING_VALUE",
34
+ * },
35
+ * ResponseParameters: {
36
+ * "<keys>": {
37
+ * Required: true || false,
38
+ * },
39
+ * },
40
+ * RouteId: "STRING_VALUE", // required
41
+ * RouteResponseId: "STRING_VALUE", // required
42
+ * RouteResponseKey: "STRING_VALUE",
43
+ * };
29
44
  * const command = new UpdateRouteResponseCommand(input);
30
45
  * const response = await client.send(command);
31
46
  * ```
@@ -26,6 +26,37 @@ export interface UpdateStageCommandOutput extends UpdateStageResponse, __Metadat
26
26
  * import { ApiGatewayV2Client, UpdateStageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateStageCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * 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: {
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: {
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: {
57
+ * "<keys>": "STRING_VALUE",
58
+ * },
59
+ * };
29
60
  * const command = new UpdateStageCommand(input);
30
61
  * const response = await client.send(command);
31
62
  * ```
@@ -26,6 +26,10 @@ export interface UpdateVpcLinkCommandOutput extends UpdateVpcLinkResponse, __Met
26
26
  * import { ApiGatewayV2Client, UpdateVpcLinkCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
27
27
  * // const { ApiGatewayV2Client, UpdateVpcLinkCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
28
28
  * const client = new ApiGatewayV2Client(config);
29
+ * const input = {
30
+ * Name: "STRING_VALUE",
31
+ * VpcLinkId: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new UpdateVpcLinkCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-apigatewayv2",
3
3
  "description": "AWS SDK for JavaScript Apigatewayv2 Client for Node.js, Browser and React Native",
4
- "version": "3.298.0",
4
+ "version": "3.300.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,23 +21,23 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },