@aws-sdk/client-apigatewayv2 3.934.0 → 3.936.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 (107) hide show
  1. package/README.md +215 -7
  2. package/dist-cjs/index.js +4158 -1317
  3. package/dist-es/ApiGatewayV2.js +52 -0
  4. package/dist-es/commands/CreatePortalCommand.js +16 -0
  5. package/dist-es/commands/CreatePortalProductCommand.js +16 -0
  6. package/dist-es/commands/CreateProductPageCommand.js +16 -0
  7. package/dist-es/commands/CreateProductRestEndpointPageCommand.js +16 -0
  8. package/dist-es/commands/DeletePortalCommand.js +16 -0
  9. package/dist-es/commands/DeletePortalProductCommand.js +16 -0
  10. package/dist-es/commands/DeletePortalProductSharingPolicyCommand.js +16 -0
  11. package/dist-es/commands/DeleteProductPageCommand.js +16 -0
  12. package/dist-es/commands/DeleteProductRestEndpointPageCommand.js +16 -0
  13. package/dist-es/commands/DisablePortalCommand.js +16 -0
  14. package/dist-es/commands/GetPortalCommand.js +16 -0
  15. package/dist-es/commands/GetPortalProductCommand.js +16 -0
  16. package/dist-es/commands/GetPortalProductSharingPolicyCommand.js +16 -0
  17. package/dist-es/commands/GetProductPageCommand.js +16 -0
  18. package/dist-es/commands/GetProductRestEndpointPageCommand.js +16 -0
  19. package/dist-es/commands/ListPortalProductsCommand.js +16 -0
  20. package/dist-es/commands/ListPortalsCommand.js +16 -0
  21. package/dist-es/commands/ListProductPagesCommand.js +16 -0
  22. package/dist-es/commands/ListProductRestEndpointPagesCommand.js +16 -0
  23. package/dist-es/commands/PreviewPortalCommand.js +16 -0
  24. package/dist-es/commands/PublishPortalCommand.js +16 -0
  25. package/dist-es/commands/PutPortalProductSharingPolicyCommand.js +16 -0
  26. package/dist-es/commands/UpdatePortalCommand.js +16 -0
  27. package/dist-es/commands/UpdatePortalProductCommand.js +16 -0
  28. package/dist-es/commands/UpdateProductPageCommand.js +16 -0
  29. package/dist-es/commands/UpdateProductRestEndpointPageCommand.js +16 -0
  30. package/dist-es/commands/index.js +26 -0
  31. package/dist-es/index.js +2 -1
  32. package/dist-es/models/enums.js +97 -0
  33. package/dist-es/models/errors.js +75 -0
  34. package/dist-es/models/models_0.js +1 -152
  35. package/dist-es/schemas/schemas_0.js +4211 -1758
  36. package/dist-types/ApiGatewayV2.d.ts +184 -0
  37. package/dist-types/ApiGatewayV2Client.d.ts +28 -2
  38. package/dist-types/commands/CreatePortalCommand.d.ts +164 -0
  39. package/dist-types/commands/CreatePortalProductCommand.d.ts +107 -0
  40. package/dist-types/commands/CreateProductPageCommand.d.ts +95 -0
  41. package/dist-types/commands/CreateProductRestEndpointPageCommand.d.ts +123 -0
  42. package/dist-types/commands/DeletePortalCommand.d.ts +80 -0
  43. package/dist-types/commands/DeletePortalProductCommand.d.ts +83 -0
  44. package/dist-types/commands/DeletePortalProductSharingPolicyCommand.d.ts +83 -0
  45. package/dist-types/commands/DeleteProductPageCommand.d.ts +84 -0
  46. package/dist-types/commands/DeleteProductRestEndpointPageCommand.d.ts +84 -0
  47. package/dist-types/commands/DisablePortalCommand.d.ts +86 -0
  48. package/dist-types/commands/GetPortalCommand.d.ts +138 -0
  49. package/dist-types/commands/GetPortalProductCommand.d.ts +107 -0
  50. package/dist-types/commands/GetPortalProductSharingPolicyCommand.d.ts +86 -0
  51. package/dist-types/commands/GetProductPageCommand.d.ts +93 -0
  52. package/dist-types/commands/GetProductRestEndpointPageCommand.d.ts +110 -0
  53. package/dist-types/commands/ListPortalProductsCommand.d.ts +96 -0
  54. package/dist-types/commands/ListPortalsCommand.d.ts +141 -0
  55. package/dist-types/commands/ListProductPagesCommand.d.ts +96 -0
  56. package/dist-types/commands/ListProductRestEndpointPagesCommand.d.ts +111 -0
  57. package/dist-types/commands/PreviewPortalCommand.d.ts +86 -0
  58. package/dist-types/commands/PublishPortalCommand.d.ts +87 -0
  59. package/dist-types/commands/PutPortalProductSharingPolicyCommand.d.ts +84 -0
  60. package/dist-types/commands/UpdatePortalCommand.d.ts +176 -0
  61. package/dist-types/commands/UpdatePortalProductCommand.d.ts +122 -0
  62. package/dist-types/commands/UpdateProductPageCommand.d.ts +96 -0
  63. package/dist-types/commands/UpdateProductRestEndpointPageCommand.d.ts +116 -0
  64. package/dist-types/commands/index.d.ts +26 -0
  65. package/dist-types/index.d.ts +3 -1
  66. package/dist-types/models/enums.d.ts +257 -0
  67. package/dist-types/models/errors.d.ts +92 -0
  68. package/dist-types/models/models_0.d.ts +2564 -1172
  69. package/dist-types/schemas/schemas_0.d.ts +101 -0
  70. package/dist-types/ts3.4/ApiGatewayV2.d.ts +444 -0
  71. package/dist-types/ts3.4/ApiGatewayV2Client.d.ts +156 -0
  72. package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +47 -0
  73. package/dist-types/ts3.4/commands/CreatePortalProductCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/CreateProductPageCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/CreateProductRestEndpointPageCommand.d.ts +51 -0
  76. package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +45 -0
  77. package/dist-types/ts3.4/commands/DeletePortalProductCommand.d.ts +46 -0
  78. package/dist-types/ts3.4/commands/DeletePortalProductSharingPolicyCommand.d.ts +47 -0
  79. package/dist-types/ts3.4/commands/DeleteProductPageCommand.d.ts +46 -0
  80. package/dist-types/ts3.4/commands/DeleteProductRestEndpointPageCommand.d.ts +47 -0
  81. package/dist-types/ts3.4/commands/DisablePortalCommand.d.ts +45 -0
  82. package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +47 -0
  83. package/dist-types/ts3.4/commands/GetPortalProductCommand.d.ts +50 -0
  84. package/dist-types/ts3.4/commands/GetPortalProductSharingPolicyCommand.d.ts +51 -0
  85. package/dist-types/ts3.4/commands/GetProductPageCommand.d.ts +50 -0
  86. package/dist-types/ts3.4/commands/GetProductRestEndpointPageCommand.d.ts +51 -0
  87. package/dist-types/ts3.4/commands/ListPortalProductsCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +47 -0
  89. package/dist-types/ts3.4/commands/ListProductPagesCommand.d.ts +50 -0
  90. package/dist-types/ts3.4/commands/ListProductRestEndpointPagesCommand.d.ts +51 -0
  91. package/dist-types/ts3.4/commands/PreviewPortalCommand.d.ts +50 -0
  92. package/dist-types/ts3.4/commands/PublishPortalCommand.d.ts +50 -0
  93. package/dist-types/ts3.4/commands/PutPortalProductSharingPolicyCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +47 -0
  95. package/dist-types/ts3.4/commands/UpdatePortalProductCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/UpdateProductPageCommand.d.ts +51 -0
  97. package/dist-types/ts3.4/commands/UpdateProductRestEndpointPageCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  99. package/dist-types/ts3.4/index.d.ts +3 -1
  100. package/dist-types/ts3.4/models/enums.d.ts +127 -0
  101. package/dist-types/ts3.4/models/errors.d.ts +40 -0
  102. package/dist-types/ts3.4/models/models_0.d.ts +417 -142
  103. package/dist-types/ts3.4/schemas/schemas_0.d.ts +101 -0
  104. package/package.json +19 -19
  105. package/dist-es/models/index.js +0 -1
  106. package/dist-types/models/index.d.ts +0 -1
  107. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -8,6 +8,10 @@ import { CreateDomainNameCommandInput, CreateDomainNameCommandOutput } from "./c
8
8
  import { CreateIntegrationCommandInput, CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
9
9
  import { CreateIntegrationResponseCommandInput, CreateIntegrationResponseCommandOutput } from "./commands/CreateIntegrationResponseCommand";
10
10
  import { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand";
11
+ import { CreatePortalCommandInput, CreatePortalCommandOutput } from "./commands/CreatePortalCommand";
12
+ import { CreatePortalProductCommandInput, CreatePortalProductCommandOutput } from "./commands/CreatePortalProductCommand";
13
+ import { CreateProductPageCommandInput, CreateProductPageCommandOutput } from "./commands/CreateProductPageCommand";
14
+ import { CreateProductRestEndpointPageCommandInput, CreateProductRestEndpointPageCommandOutput } from "./commands/CreateProductRestEndpointPageCommand";
11
15
  import { CreateRouteCommandInput, CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
12
16
  import { CreateRouteResponseCommandInput, CreateRouteResponseCommandOutput } from "./commands/CreateRouteResponseCommand";
13
17
  import { CreateRoutingRuleCommandInput, CreateRoutingRuleCommandOutput } from "./commands/CreateRoutingRuleCommand";
@@ -23,6 +27,11 @@ import { DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput } from "./c
23
27
  import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
24
28
  import { DeleteIntegrationResponseCommandInput, DeleteIntegrationResponseCommandOutput } from "./commands/DeleteIntegrationResponseCommand";
25
29
  import { DeleteModelCommandInput, DeleteModelCommandOutput } from "./commands/DeleteModelCommand";
30
+ import { DeletePortalCommandInput, DeletePortalCommandOutput } from "./commands/DeletePortalCommand";
31
+ import { DeletePortalProductCommandInput, DeletePortalProductCommandOutput } from "./commands/DeletePortalProductCommand";
32
+ import { DeletePortalProductSharingPolicyCommandInput, DeletePortalProductSharingPolicyCommandOutput } from "./commands/DeletePortalProductSharingPolicyCommand";
33
+ import { DeleteProductPageCommandInput, DeleteProductPageCommandOutput } from "./commands/DeleteProductPageCommand";
34
+ import { DeleteProductRestEndpointPageCommandInput, DeleteProductRestEndpointPageCommandOutput } from "./commands/DeleteProductRestEndpointPageCommand";
26
35
  import { DeleteRouteCommandInput, DeleteRouteCommandOutput } from "./commands/DeleteRouteCommand";
27
36
  import { DeleteRouteRequestParameterCommandInput, DeleteRouteRequestParameterCommandOutput } from "./commands/DeleteRouteRequestParameterCommand";
28
37
  import { DeleteRouteResponseCommandInput, DeleteRouteResponseCommandOutput } from "./commands/DeleteRouteResponseCommand";
@@ -30,6 +39,7 @@ import { DeleteRouteSettingsCommandInput, DeleteRouteSettingsCommandOutput } fro
30
39
  import { DeleteRoutingRuleCommandInput, DeleteRoutingRuleCommandOutput } from "./commands/DeleteRoutingRuleCommand";
31
40
  import { DeleteStageCommandInput, DeleteStageCommandOutput } from "./commands/DeleteStageCommand";
32
41
  import { DeleteVpcLinkCommandInput, DeleteVpcLinkCommandOutput } from "./commands/DeleteVpcLinkCommand";
42
+ import { DisablePortalCommandInput, DisablePortalCommandOutput } from "./commands/DisablePortalCommand";
33
43
  import { ExportApiCommandInput, ExportApiCommandOutput } from "./commands/ExportApiCommand";
34
44
  import { GetApiCommandInput, GetApiCommandOutput } from "./commands/GetApiCommand";
35
45
  import { GetApiMappingCommandInput, GetApiMappingCommandOutput } from "./commands/GetApiMappingCommand";
@@ -48,6 +58,11 @@ import { GetIntegrationsCommandInput, GetIntegrationsCommandOutput } from "./com
48
58
  import { GetModelCommandInput, GetModelCommandOutput } from "./commands/GetModelCommand";
49
59
  import { GetModelsCommandInput, GetModelsCommandOutput } from "./commands/GetModelsCommand";
50
60
  import { GetModelTemplateCommandInput, GetModelTemplateCommandOutput } from "./commands/GetModelTemplateCommand";
61
+ import { GetPortalCommandInput, GetPortalCommandOutput } from "./commands/GetPortalCommand";
62
+ import { GetPortalProductCommandInput, GetPortalProductCommandOutput } from "./commands/GetPortalProductCommand";
63
+ import { GetPortalProductSharingPolicyCommandInput, GetPortalProductSharingPolicyCommandOutput } from "./commands/GetPortalProductSharingPolicyCommand";
64
+ import { GetProductPageCommandInput, GetProductPageCommandOutput } from "./commands/GetProductPageCommand";
65
+ import { GetProductRestEndpointPageCommandInput, GetProductRestEndpointPageCommandOutput } from "./commands/GetProductRestEndpointPageCommand";
51
66
  import { GetRouteCommandInput, GetRouteCommandOutput } from "./commands/GetRouteCommand";
52
67
  import { GetRouteResponseCommandInput, GetRouteResponseCommandOutput } from "./commands/GetRouteResponseCommand";
53
68
  import { GetRouteResponsesCommandInput, GetRouteResponsesCommandOutput } from "./commands/GetRouteResponsesCommand";
@@ -59,7 +74,14 @@ import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCom
59
74
  import { GetVpcLinkCommandInput, GetVpcLinkCommandOutput } from "./commands/GetVpcLinkCommand";
60
75
  import { GetVpcLinksCommandInput, GetVpcLinksCommandOutput } from "./commands/GetVpcLinksCommand";
61
76
  import { ImportApiCommandInput, ImportApiCommandOutput } from "./commands/ImportApiCommand";
77
+ import { ListPortalProductsCommandInput, ListPortalProductsCommandOutput } from "./commands/ListPortalProductsCommand";
78
+ import { ListPortalsCommandInput, ListPortalsCommandOutput } from "./commands/ListPortalsCommand";
79
+ import { ListProductPagesCommandInput, ListProductPagesCommandOutput } from "./commands/ListProductPagesCommand";
80
+ import { ListProductRestEndpointPagesCommandInput, ListProductRestEndpointPagesCommandOutput } from "./commands/ListProductRestEndpointPagesCommand";
62
81
  import { ListRoutingRulesCommandInput, ListRoutingRulesCommandOutput } from "./commands/ListRoutingRulesCommand";
82
+ import { PreviewPortalCommandInput, PreviewPortalCommandOutput } from "./commands/PreviewPortalCommand";
83
+ import { PublishPortalCommandInput, PublishPortalCommandOutput } from "./commands/PublishPortalCommand";
84
+ import { PutPortalProductSharingPolicyCommandInput, PutPortalProductSharingPolicyCommandOutput } from "./commands/PutPortalProductSharingPolicyCommand";
63
85
  import { PutRoutingRuleCommandInput, PutRoutingRuleCommandOutput } from "./commands/PutRoutingRuleCommand";
64
86
  import { ReimportApiCommandInput, ReimportApiCommandOutput } from "./commands/ReimportApiCommand";
65
87
  import { ResetAuthorizersCacheCommandInput, ResetAuthorizersCacheCommandOutput } from "./commands/ResetAuthorizersCacheCommand";
@@ -73,6 +95,10 @@ import { UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput } from "./c
73
95
  import { UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput } from "./commands/UpdateIntegrationCommand";
74
96
  import { UpdateIntegrationResponseCommandInput, UpdateIntegrationResponseCommandOutput } from "./commands/UpdateIntegrationResponseCommand";
75
97
  import { UpdateModelCommandInput, UpdateModelCommandOutput } from "./commands/UpdateModelCommand";
98
+ import { UpdatePortalCommandInput, UpdatePortalCommandOutput } from "./commands/UpdatePortalCommand";
99
+ import { UpdatePortalProductCommandInput, UpdatePortalProductCommandOutput } from "./commands/UpdatePortalProductCommand";
100
+ import { UpdateProductPageCommandInput, UpdateProductPageCommandOutput } from "./commands/UpdateProductPageCommand";
101
+ import { UpdateProductRestEndpointPageCommandInput, UpdateProductRestEndpointPageCommandOutput } from "./commands/UpdateProductRestEndpointPageCommand";
76
102
  import { UpdateRouteCommandInput, UpdateRouteCommandOutput } from "./commands/UpdateRouteCommand";
77
103
  import { UpdateRouteResponseCommandInput, UpdateRouteResponseCommandOutput } from "./commands/UpdateRouteResponseCommand";
78
104
  import { UpdateStageCommandInput, UpdateStageCommandOutput } from "./commands/UpdateStageCommand";
@@ -126,6 +152,30 @@ export interface ApiGatewayV2 {
126
152
  createModel(args: CreateModelCommandInput, options?: __HttpHandlerOptions): Promise<CreateModelCommandOutput>;
127
153
  createModel(args: CreateModelCommandInput, cb: (err: any, data?: CreateModelCommandOutput) => void): void;
128
154
  createModel(args: CreateModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateModelCommandOutput) => void): void;
155
+ /**
156
+ * @see {@link CreatePortalCommand}
157
+ */
158
+ createPortal(args: CreatePortalCommandInput, options?: __HttpHandlerOptions): Promise<CreatePortalCommandOutput>;
159
+ createPortal(args: CreatePortalCommandInput, cb: (err: any, data?: CreatePortalCommandOutput) => void): void;
160
+ createPortal(args: CreatePortalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePortalCommandOutput) => void): void;
161
+ /**
162
+ * @see {@link CreatePortalProductCommand}
163
+ */
164
+ createPortalProduct(args: CreatePortalProductCommandInput, options?: __HttpHandlerOptions): Promise<CreatePortalProductCommandOutput>;
165
+ createPortalProduct(args: CreatePortalProductCommandInput, cb: (err: any, data?: CreatePortalProductCommandOutput) => void): void;
166
+ createPortalProduct(args: CreatePortalProductCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePortalProductCommandOutput) => void): void;
167
+ /**
168
+ * @see {@link CreateProductPageCommand}
169
+ */
170
+ createProductPage(args: CreateProductPageCommandInput, options?: __HttpHandlerOptions): Promise<CreateProductPageCommandOutput>;
171
+ createProductPage(args: CreateProductPageCommandInput, cb: (err: any, data?: CreateProductPageCommandOutput) => void): void;
172
+ createProductPage(args: CreateProductPageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProductPageCommandOutput) => void): void;
173
+ /**
174
+ * @see {@link CreateProductRestEndpointPageCommand}
175
+ */
176
+ createProductRestEndpointPage(args: CreateProductRestEndpointPageCommandInput, options?: __HttpHandlerOptions): Promise<CreateProductRestEndpointPageCommandOutput>;
177
+ createProductRestEndpointPage(args: CreateProductRestEndpointPageCommandInput, cb: (err: any, data?: CreateProductRestEndpointPageCommandOutput) => void): void;
178
+ createProductRestEndpointPage(args: CreateProductRestEndpointPageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProductRestEndpointPageCommandOutput) => void): void;
129
179
  /**
130
180
  * @see {@link CreateRouteCommand}
131
181
  */
@@ -216,6 +266,36 @@ export interface ApiGatewayV2 {
216
266
  deleteModel(args: DeleteModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteModelCommandOutput>;
217
267
  deleteModel(args: DeleteModelCommandInput, cb: (err: any, data?: DeleteModelCommandOutput) => void): void;
218
268
  deleteModel(args: DeleteModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteModelCommandOutput) => void): void;
269
+ /**
270
+ * @see {@link DeletePortalCommand}
271
+ */
272
+ deletePortal(args: DeletePortalCommandInput, options?: __HttpHandlerOptions): Promise<DeletePortalCommandOutput>;
273
+ deletePortal(args: DeletePortalCommandInput, cb: (err: any, data?: DeletePortalCommandOutput) => void): void;
274
+ deletePortal(args: DeletePortalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePortalCommandOutput) => void): void;
275
+ /**
276
+ * @see {@link DeletePortalProductCommand}
277
+ */
278
+ deletePortalProduct(args: DeletePortalProductCommandInput, options?: __HttpHandlerOptions): Promise<DeletePortalProductCommandOutput>;
279
+ deletePortalProduct(args: DeletePortalProductCommandInput, cb: (err: any, data?: DeletePortalProductCommandOutput) => void): void;
280
+ deletePortalProduct(args: DeletePortalProductCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePortalProductCommandOutput) => void): void;
281
+ /**
282
+ * @see {@link DeletePortalProductSharingPolicyCommand}
283
+ */
284
+ deletePortalProductSharingPolicy(args: DeletePortalProductSharingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeletePortalProductSharingPolicyCommandOutput>;
285
+ deletePortalProductSharingPolicy(args: DeletePortalProductSharingPolicyCommandInput, cb: (err: any, data?: DeletePortalProductSharingPolicyCommandOutput) => void): void;
286
+ deletePortalProductSharingPolicy(args: DeletePortalProductSharingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePortalProductSharingPolicyCommandOutput) => void): void;
287
+ /**
288
+ * @see {@link DeleteProductPageCommand}
289
+ */
290
+ deleteProductPage(args: DeleteProductPageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProductPageCommandOutput>;
291
+ deleteProductPage(args: DeleteProductPageCommandInput, cb: (err: any, data?: DeleteProductPageCommandOutput) => void): void;
292
+ deleteProductPage(args: DeleteProductPageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProductPageCommandOutput) => void): void;
293
+ /**
294
+ * @see {@link DeleteProductRestEndpointPageCommand}
295
+ */
296
+ deleteProductRestEndpointPage(args: DeleteProductRestEndpointPageCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProductRestEndpointPageCommandOutput>;
297
+ deleteProductRestEndpointPage(args: DeleteProductRestEndpointPageCommandInput, cb: (err: any, data?: DeleteProductRestEndpointPageCommandOutput) => void): void;
298
+ deleteProductRestEndpointPage(args: DeleteProductRestEndpointPageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProductRestEndpointPageCommandOutput) => void): void;
219
299
  /**
220
300
  * @see {@link DeleteRouteCommand}
221
301
  */
@@ -258,6 +338,12 @@ export interface ApiGatewayV2 {
258
338
  deleteVpcLink(args: DeleteVpcLinkCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVpcLinkCommandOutput>;
259
339
  deleteVpcLink(args: DeleteVpcLinkCommandInput, cb: (err: any, data?: DeleteVpcLinkCommandOutput) => void): void;
260
340
  deleteVpcLink(args: DeleteVpcLinkCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVpcLinkCommandOutput) => void): void;
341
+ /**
342
+ * @see {@link DisablePortalCommand}
343
+ */
344
+ disablePortal(args: DisablePortalCommandInput, options?: __HttpHandlerOptions): Promise<DisablePortalCommandOutput>;
345
+ disablePortal(args: DisablePortalCommandInput, cb: (err: any, data?: DisablePortalCommandOutput) => void): void;
346
+ disablePortal(args: DisablePortalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisablePortalCommandOutput) => void): void;
261
347
  /**
262
348
  * @see {@link ExportApiCommand}
263
349
  */
@@ -368,6 +454,36 @@ export interface ApiGatewayV2 {
368
454
  getModelTemplate(args: GetModelTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetModelTemplateCommandOutput>;
369
455
  getModelTemplate(args: GetModelTemplateCommandInput, cb: (err: any, data?: GetModelTemplateCommandOutput) => void): void;
370
456
  getModelTemplate(args: GetModelTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetModelTemplateCommandOutput) => void): void;
457
+ /**
458
+ * @see {@link GetPortalCommand}
459
+ */
460
+ getPortal(args: GetPortalCommandInput, options?: __HttpHandlerOptions): Promise<GetPortalCommandOutput>;
461
+ getPortal(args: GetPortalCommandInput, cb: (err: any, data?: GetPortalCommandOutput) => void): void;
462
+ getPortal(args: GetPortalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPortalCommandOutput) => void): void;
463
+ /**
464
+ * @see {@link GetPortalProductCommand}
465
+ */
466
+ getPortalProduct(args: GetPortalProductCommandInput, options?: __HttpHandlerOptions): Promise<GetPortalProductCommandOutput>;
467
+ getPortalProduct(args: GetPortalProductCommandInput, cb: (err: any, data?: GetPortalProductCommandOutput) => void): void;
468
+ getPortalProduct(args: GetPortalProductCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPortalProductCommandOutput) => void): void;
469
+ /**
470
+ * @see {@link GetPortalProductSharingPolicyCommand}
471
+ */
472
+ getPortalProductSharingPolicy(args: GetPortalProductSharingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetPortalProductSharingPolicyCommandOutput>;
473
+ getPortalProductSharingPolicy(args: GetPortalProductSharingPolicyCommandInput, cb: (err: any, data?: GetPortalProductSharingPolicyCommandOutput) => void): void;
474
+ getPortalProductSharingPolicy(args: GetPortalProductSharingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPortalProductSharingPolicyCommandOutput) => void): void;
475
+ /**
476
+ * @see {@link GetProductPageCommand}
477
+ */
478
+ getProductPage(args: GetProductPageCommandInput, options?: __HttpHandlerOptions): Promise<GetProductPageCommandOutput>;
479
+ getProductPage(args: GetProductPageCommandInput, cb: (err: any, data?: GetProductPageCommandOutput) => void): void;
480
+ getProductPage(args: GetProductPageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProductPageCommandOutput) => void): void;
481
+ /**
482
+ * @see {@link GetProductRestEndpointPageCommand}
483
+ */
484
+ getProductRestEndpointPage(args: GetProductRestEndpointPageCommandInput, options?: __HttpHandlerOptions): Promise<GetProductRestEndpointPageCommandOutput>;
485
+ getProductRestEndpointPage(args: GetProductRestEndpointPageCommandInput, cb: (err: any, data?: GetProductRestEndpointPageCommandOutput) => void): void;
486
+ getProductRestEndpointPage(args: GetProductRestEndpointPageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProductRestEndpointPageCommandOutput) => void): void;
371
487
  /**
372
488
  * @see {@link GetRouteCommand}
373
489
  */
@@ -435,12 +551,56 @@ export interface ApiGatewayV2 {
435
551
  importApi(args: ImportApiCommandInput, options?: __HttpHandlerOptions): Promise<ImportApiCommandOutput>;
436
552
  importApi(args: ImportApiCommandInput, cb: (err: any, data?: ImportApiCommandOutput) => void): void;
437
553
  importApi(args: ImportApiCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportApiCommandOutput) => void): void;
554
+ /**
555
+ * @see {@link ListPortalProductsCommand}
556
+ */
557
+ listPortalProducts(): Promise<ListPortalProductsCommandOutput>;
558
+ listPortalProducts(args: ListPortalProductsCommandInput, options?: __HttpHandlerOptions): Promise<ListPortalProductsCommandOutput>;
559
+ listPortalProducts(args: ListPortalProductsCommandInput, cb: (err: any, data?: ListPortalProductsCommandOutput) => void): void;
560
+ listPortalProducts(args: ListPortalProductsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPortalProductsCommandOutput) => void): void;
561
+ /**
562
+ * @see {@link ListPortalsCommand}
563
+ */
564
+ listPortals(): Promise<ListPortalsCommandOutput>;
565
+ listPortals(args: ListPortalsCommandInput, options?: __HttpHandlerOptions): Promise<ListPortalsCommandOutput>;
566
+ listPortals(args: ListPortalsCommandInput, cb: (err: any, data?: ListPortalsCommandOutput) => void): void;
567
+ listPortals(args: ListPortalsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPortalsCommandOutput) => void): void;
568
+ /**
569
+ * @see {@link ListProductPagesCommand}
570
+ */
571
+ listProductPages(args: ListProductPagesCommandInput, options?: __HttpHandlerOptions): Promise<ListProductPagesCommandOutput>;
572
+ listProductPages(args: ListProductPagesCommandInput, cb: (err: any, data?: ListProductPagesCommandOutput) => void): void;
573
+ listProductPages(args: ListProductPagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProductPagesCommandOutput) => void): void;
574
+ /**
575
+ * @see {@link ListProductRestEndpointPagesCommand}
576
+ */
577
+ listProductRestEndpointPages(args: ListProductRestEndpointPagesCommandInput, options?: __HttpHandlerOptions): Promise<ListProductRestEndpointPagesCommandOutput>;
578
+ listProductRestEndpointPages(args: ListProductRestEndpointPagesCommandInput, cb: (err: any, data?: ListProductRestEndpointPagesCommandOutput) => void): void;
579
+ listProductRestEndpointPages(args: ListProductRestEndpointPagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProductRestEndpointPagesCommandOutput) => void): void;
438
580
  /**
439
581
  * @see {@link ListRoutingRulesCommand}
440
582
  */
441
583
  listRoutingRules(args: ListRoutingRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListRoutingRulesCommandOutput>;
442
584
  listRoutingRules(args: ListRoutingRulesCommandInput, cb: (err: any, data?: ListRoutingRulesCommandOutput) => void): void;
443
585
  listRoutingRules(args: ListRoutingRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRoutingRulesCommandOutput) => void): void;
586
+ /**
587
+ * @see {@link PreviewPortalCommand}
588
+ */
589
+ previewPortal(args: PreviewPortalCommandInput, options?: __HttpHandlerOptions): Promise<PreviewPortalCommandOutput>;
590
+ previewPortal(args: PreviewPortalCommandInput, cb: (err: any, data?: PreviewPortalCommandOutput) => void): void;
591
+ previewPortal(args: PreviewPortalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PreviewPortalCommandOutput) => void): void;
592
+ /**
593
+ * @see {@link PublishPortalCommand}
594
+ */
595
+ publishPortal(args: PublishPortalCommandInput, options?: __HttpHandlerOptions): Promise<PublishPortalCommandOutput>;
596
+ publishPortal(args: PublishPortalCommandInput, cb: (err: any, data?: PublishPortalCommandOutput) => void): void;
597
+ publishPortal(args: PublishPortalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishPortalCommandOutput) => void): void;
598
+ /**
599
+ * @see {@link PutPortalProductSharingPolicyCommand}
600
+ */
601
+ putPortalProductSharingPolicy(args: PutPortalProductSharingPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutPortalProductSharingPolicyCommandOutput>;
602
+ putPortalProductSharingPolicy(args: PutPortalProductSharingPolicyCommandInput, cb: (err: any, data?: PutPortalProductSharingPolicyCommandOutput) => void): void;
603
+ putPortalProductSharingPolicy(args: PutPortalProductSharingPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPortalProductSharingPolicyCommandOutput) => void): void;
444
604
  /**
445
605
  * @see {@link PutRoutingRuleCommand}
446
606
  */
@@ -519,6 +679,30 @@ export interface ApiGatewayV2 {
519
679
  updateModel(args: UpdateModelCommandInput, options?: __HttpHandlerOptions): Promise<UpdateModelCommandOutput>;
520
680
  updateModel(args: UpdateModelCommandInput, cb: (err: any, data?: UpdateModelCommandOutput) => void): void;
521
681
  updateModel(args: UpdateModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateModelCommandOutput) => void): void;
682
+ /**
683
+ * @see {@link UpdatePortalCommand}
684
+ */
685
+ updatePortal(args: UpdatePortalCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePortalCommandOutput>;
686
+ updatePortal(args: UpdatePortalCommandInput, cb: (err: any, data?: UpdatePortalCommandOutput) => void): void;
687
+ updatePortal(args: UpdatePortalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePortalCommandOutput) => void): void;
688
+ /**
689
+ * @see {@link UpdatePortalProductCommand}
690
+ */
691
+ updatePortalProduct(args: UpdatePortalProductCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePortalProductCommandOutput>;
692
+ updatePortalProduct(args: UpdatePortalProductCommandInput, cb: (err: any, data?: UpdatePortalProductCommandOutput) => void): void;
693
+ updatePortalProduct(args: UpdatePortalProductCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePortalProductCommandOutput) => void): void;
694
+ /**
695
+ * @see {@link UpdateProductPageCommand}
696
+ */
697
+ updateProductPage(args: UpdateProductPageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProductPageCommandOutput>;
698
+ updateProductPage(args: UpdateProductPageCommandInput, cb: (err: any, data?: UpdateProductPageCommandOutput) => void): void;
699
+ updateProductPage(args: UpdateProductPageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProductPageCommandOutput) => void): void;
700
+ /**
701
+ * @see {@link UpdateProductRestEndpointPageCommand}
702
+ */
703
+ updateProductRestEndpointPage(args: UpdateProductRestEndpointPageCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProductRestEndpointPageCommandOutput>;
704
+ updateProductRestEndpointPage(args: UpdateProductRestEndpointPageCommandInput, cb: (err: any, data?: UpdateProductRestEndpointPageCommandOutput) => void): void;
705
+ updateProductRestEndpointPage(args: UpdateProductRestEndpointPageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProductRestEndpointPageCommandOutput) => void): void;
522
706
  /**
523
707
  * @see {@link UpdateRouteCommand}
524
708
  */
@@ -15,6 +15,10 @@ import { CreateDomainNameCommandInput, CreateDomainNameCommandOutput } from "./c
15
15
  import { CreateIntegrationCommandInput, CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
16
16
  import { CreateIntegrationResponseCommandInput, CreateIntegrationResponseCommandOutput } from "./commands/CreateIntegrationResponseCommand";
17
17
  import { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/CreateModelCommand";
18
+ import { CreatePortalCommandInput, CreatePortalCommandOutput } from "./commands/CreatePortalCommand";
19
+ import { CreatePortalProductCommandInput, CreatePortalProductCommandOutput } from "./commands/CreatePortalProductCommand";
20
+ import { CreateProductPageCommandInput, CreateProductPageCommandOutput } from "./commands/CreateProductPageCommand";
21
+ import { CreateProductRestEndpointPageCommandInput, CreateProductRestEndpointPageCommandOutput } from "./commands/CreateProductRestEndpointPageCommand";
18
22
  import { CreateRouteCommandInput, CreateRouteCommandOutput } from "./commands/CreateRouteCommand";
19
23
  import { CreateRouteResponseCommandInput, CreateRouteResponseCommandOutput } from "./commands/CreateRouteResponseCommand";
20
24
  import { CreateRoutingRuleCommandInput, CreateRoutingRuleCommandOutput } from "./commands/CreateRoutingRuleCommand";
@@ -30,6 +34,11 @@ import { DeleteDomainNameCommandInput, DeleteDomainNameCommandOutput } from "./c
30
34
  import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
31
35
  import { DeleteIntegrationResponseCommandInput, DeleteIntegrationResponseCommandOutput } from "./commands/DeleteIntegrationResponseCommand";
32
36
  import { DeleteModelCommandInput, DeleteModelCommandOutput } from "./commands/DeleteModelCommand";
37
+ import { DeletePortalCommandInput, DeletePortalCommandOutput } from "./commands/DeletePortalCommand";
38
+ import { DeletePortalProductCommandInput, DeletePortalProductCommandOutput } from "./commands/DeletePortalProductCommand";
39
+ import { DeletePortalProductSharingPolicyCommandInput, DeletePortalProductSharingPolicyCommandOutput } from "./commands/DeletePortalProductSharingPolicyCommand";
40
+ import { DeleteProductPageCommandInput, DeleteProductPageCommandOutput } from "./commands/DeleteProductPageCommand";
41
+ import { DeleteProductRestEndpointPageCommandInput, DeleteProductRestEndpointPageCommandOutput } from "./commands/DeleteProductRestEndpointPageCommand";
33
42
  import { DeleteRouteCommandInput, DeleteRouteCommandOutput } from "./commands/DeleteRouteCommand";
34
43
  import { DeleteRouteRequestParameterCommandInput, DeleteRouteRequestParameterCommandOutput } from "./commands/DeleteRouteRequestParameterCommand";
35
44
  import { DeleteRouteResponseCommandInput, DeleteRouteResponseCommandOutput } from "./commands/DeleteRouteResponseCommand";
@@ -37,6 +46,7 @@ import { DeleteRouteSettingsCommandInput, DeleteRouteSettingsCommandOutput } fro
37
46
  import { DeleteRoutingRuleCommandInput, DeleteRoutingRuleCommandOutput } from "./commands/DeleteRoutingRuleCommand";
38
47
  import { DeleteStageCommandInput, DeleteStageCommandOutput } from "./commands/DeleteStageCommand";
39
48
  import { DeleteVpcLinkCommandInput, DeleteVpcLinkCommandOutput } from "./commands/DeleteVpcLinkCommand";
49
+ import { DisablePortalCommandInput, DisablePortalCommandOutput } from "./commands/DisablePortalCommand";
40
50
  import { ExportApiCommandInput, ExportApiCommandOutput } from "./commands/ExportApiCommand";
41
51
  import { GetApiCommandInput, GetApiCommandOutput } from "./commands/GetApiCommand";
42
52
  import { GetApiMappingCommandInput, GetApiMappingCommandOutput } from "./commands/GetApiMappingCommand";
@@ -55,6 +65,11 @@ import { GetIntegrationsCommandInput, GetIntegrationsCommandOutput } from "./com
55
65
  import { GetModelCommandInput, GetModelCommandOutput } from "./commands/GetModelCommand";
56
66
  import { GetModelsCommandInput, GetModelsCommandOutput } from "./commands/GetModelsCommand";
57
67
  import { GetModelTemplateCommandInput, GetModelTemplateCommandOutput } from "./commands/GetModelTemplateCommand";
68
+ import { GetPortalCommandInput, GetPortalCommandOutput } from "./commands/GetPortalCommand";
69
+ import { GetPortalProductCommandInput, GetPortalProductCommandOutput } from "./commands/GetPortalProductCommand";
70
+ import { GetPortalProductSharingPolicyCommandInput, GetPortalProductSharingPolicyCommandOutput } from "./commands/GetPortalProductSharingPolicyCommand";
71
+ import { GetProductPageCommandInput, GetProductPageCommandOutput } from "./commands/GetProductPageCommand";
72
+ import { GetProductRestEndpointPageCommandInput, GetProductRestEndpointPageCommandOutput } from "./commands/GetProductRestEndpointPageCommand";
58
73
  import { GetRouteCommandInput, GetRouteCommandOutput } from "./commands/GetRouteCommand";
59
74
  import { GetRouteResponseCommandInput, GetRouteResponseCommandOutput } from "./commands/GetRouteResponseCommand";
60
75
  import { GetRouteResponsesCommandInput, GetRouteResponsesCommandOutput } from "./commands/GetRouteResponsesCommand";
@@ -66,7 +81,14 @@ import { GetTagsCommandInput, GetTagsCommandOutput } from "./commands/GetTagsCom
66
81
  import { GetVpcLinkCommandInput, GetVpcLinkCommandOutput } from "./commands/GetVpcLinkCommand";
67
82
  import { GetVpcLinksCommandInput, GetVpcLinksCommandOutput } from "./commands/GetVpcLinksCommand";
68
83
  import { ImportApiCommandInput, ImportApiCommandOutput } from "./commands/ImportApiCommand";
84
+ import { ListPortalProductsCommandInput, ListPortalProductsCommandOutput } from "./commands/ListPortalProductsCommand";
85
+ import { ListPortalsCommandInput, ListPortalsCommandOutput } from "./commands/ListPortalsCommand";
86
+ import { ListProductPagesCommandInput, ListProductPagesCommandOutput } from "./commands/ListProductPagesCommand";
87
+ import { ListProductRestEndpointPagesCommandInput, ListProductRestEndpointPagesCommandOutput } from "./commands/ListProductRestEndpointPagesCommand";
69
88
  import { ListRoutingRulesCommandInput, ListRoutingRulesCommandOutput } from "./commands/ListRoutingRulesCommand";
89
+ import { PreviewPortalCommandInput, PreviewPortalCommandOutput } from "./commands/PreviewPortalCommand";
90
+ import { PublishPortalCommandInput, PublishPortalCommandOutput } from "./commands/PublishPortalCommand";
91
+ import { PutPortalProductSharingPolicyCommandInput, PutPortalProductSharingPolicyCommandOutput } from "./commands/PutPortalProductSharingPolicyCommand";
70
92
  import { PutRoutingRuleCommandInput, PutRoutingRuleCommandOutput } from "./commands/PutRoutingRuleCommand";
71
93
  import { ReimportApiCommandInput, ReimportApiCommandOutput } from "./commands/ReimportApiCommand";
72
94
  import { ResetAuthorizersCacheCommandInput, ResetAuthorizersCacheCommandOutput } from "./commands/ResetAuthorizersCacheCommand";
@@ -80,6 +102,10 @@ import { UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput } from "./c
80
102
  import { UpdateIntegrationCommandInput, UpdateIntegrationCommandOutput } from "./commands/UpdateIntegrationCommand";
81
103
  import { UpdateIntegrationResponseCommandInput, UpdateIntegrationResponseCommandOutput } from "./commands/UpdateIntegrationResponseCommand";
82
104
  import { UpdateModelCommandInput, UpdateModelCommandOutput } from "./commands/UpdateModelCommand";
105
+ import { UpdatePortalCommandInput, UpdatePortalCommandOutput } from "./commands/UpdatePortalCommand";
106
+ import { UpdatePortalProductCommandInput, UpdatePortalProductCommandOutput } from "./commands/UpdatePortalProductCommand";
107
+ import { UpdateProductPageCommandInput, UpdateProductPageCommandOutput } from "./commands/UpdateProductPageCommand";
108
+ import { UpdateProductRestEndpointPageCommandInput, UpdateProductRestEndpointPageCommandOutput } from "./commands/UpdateProductRestEndpointPageCommand";
83
109
  import { UpdateRouteCommandInput, UpdateRouteCommandOutput } from "./commands/UpdateRouteCommand";
84
110
  import { UpdateRouteResponseCommandInput, UpdateRouteResponseCommandOutput } from "./commands/UpdateRouteResponseCommand";
85
111
  import { UpdateStageCommandInput, UpdateStageCommandOutput } from "./commands/UpdateStageCommand";
@@ -90,11 +116,11 @@ export { __Client };
90
116
  /**
91
117
  * @public
92
118
  */
93
- export type ServiceInputTypes = CreateApiCommandInput | CreateApiMappingCommandInput | CreateAuthorizerCommandInput | CreateDeploymentCommandInput | CreateDomainNameCommandInput | CreateIntegrationCommandInput | CreateIntegrationResponseCommandInput | CreateModelCommandInput | CreateRouteCommandInput | CreateRouteResponseCommandInput | CreateRoutingRuleCommandInput | CreateStageCommandInput | CreateVpcLinkCommandInput | DeleteAccessLogSettingsCommandInput | DeleteApiCommandInput | DeleteApiMappingCommandInput | DeleteAuthorizerCommandInput | DeleteCorsConfigurationCommandInput | DeleteDeploymentCommandInput | DeleteDomainNameCommandInput | DeleteIntegrationCommandInput | DeleteIntegrationResponseCommandInput | DeleteModelCommandInput | DeleteRouteCommandInput | DeleteRouteRequestParameterCommandInput | DeleteRouteResponseCommandInput | DeleteRouteSettingsCommandInput | DeleteRoutingRuleCommandInput | DeleteStageCommandInput | DeleteVpcLinkCommandInput | ExportApiCommandInput | GetApiCommandInput | GetApiMappingCommandInput | GetApiMappingsCommandInput | GetApisCommandInput | GetAuthorizerCommandInput | GetAuthorizersCommandInput | GetDeploymentCommandInput | GetDeploymentsCommandInput | GetDomainNameCommandInput | GetDomainNamesCommandInput | GetIntegrationCommandInput | GetIntegrationResponseCommandInput | GetIntegrationResponsesCommandInput | GetIntegrationsCommandInput | GetModelCommandInput | GetModelTemplateCommandInput | GetModelsCommandInput | GetRouteCommandInput | GetRouteResponseCommandInput | GetRouteResponsesCommandInput | GetRoutesCommandInput | GetRoutingRuleCommandInput | GetStageCommandInput | GetStagesCommandInput | GetTagsCommandInput | GetVpcLinkCommandInput | GetVpcLinksCommandInput | ImportApiCommandInput | ListRoutingRulesCommandInput | PutRoutingRuleCommandInput | ReimportApiCommandInput | ResetAuthorizersCacheCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCommandInput | UpdateApiMappingCommandInput | UpdateAuthorizerCommandInput | UpdateDeploymentCommandInput | UpdateDomainNameCommandInput | UpdateIntegrationCommandInput | UpdateIntegrationResponseCommandInput | UpdateModelCommandInput | UpdateRouteCommandInput | UpdateRouteResponseCommandInput | UpdateStageCommandInput | UpdateVpcLinkCommandInput;
119
+ export type ServiceInputTypes = CreateApiCommandInput | CreateApiMappingCommandInput | CreateAuthorizerCommandInput | CreateDeploymentCommandInput | CreateDomainNameCommandInput | CreateIntegrationCommandInput | CreateIntegrationResponseCommandInput | CreateModelCommandInput | CreatePortalCommandInput | CreatePortalProductCommandInput | CreateProductPageCommandInput | CreateProductRestEndpointPageCommandInput | CreateRouteCommandInput | CreateRouteResponseCommandInput | CreateRoutingRuleCommandInput | CreateStageCommandInput | CreateVpcLinkCommandInput | DeleteAccessLogSettingsCommandInput | DeleteApiCommandInput | DeleteApiMappingCommandInput | DeleteAuthorizerCommandInput | DeleteCorsConfigurationCommandInput | DeleteDeploymentCommandInput | DeleteDomainNameCommandInput | DeleteIntegrationCommandInput | DeleteIntegrationResponseCommandInput | DeleteModelCommandInput | DeletePortalCommandInput | DeletePortalProductCommandInput | DeletePortalProductSharingPolicyCommandInput | DeleteProductPageCommandInput | DeleteProductRestEndpointPageCommandInput | DeleteRouteCommandInput | DeleteRouteRequestParameterCommandInput | DeleteRouteResponseCommandInput | DeleteRouteSettingsCommandInput | DeleteRoutingRuleCommandInput | DeleteStageCommandInput | DeleteVpcLinkCommandInput | DisablePortalCommandInput | ExportApiCommandInput | GetApiCommandInput | GetApiMappingCommandInput | GetApiMappingsCommandInput | GetApisCommandInput | GetAuthorizerCommandInput | GetAuthorizersCommandInput | GetDeploymentCommandInput | GetDeploymentsCommandInput | GetDomainNameCommandInput | GetDomainNamesCommandInput | GetIntegrationCommandInput | GetIntegrationResponseCommandInput | GetIntegrationResponsesCommandInput | GetIntegrationsCommandInput | GetModelCommandInput | GetModelTemplateCommandInput | GetModelsCommandInput | GetPortalCommandInput | GetPortalProductCommandInput | GetPortalProductSharingPolicyCommandInput | GetProductPageCommandInput | GetProductRestEndpointPageCommandInput | GetRouteCommandInput | GetRouteResponseCommandInput | GetRouteResponsesCommandInput | GetRoutesCommandInput | GetRoutingRuleCommandInput | GetStageCommandInput | GetStagesCommandInput | GetTagsCommandInput | GetVpcLinkCommandInput | GetVpcLinksCommandInput | ImportApiCommandInput | ListPortalProductsCommandInput | ListPortalsCommandInput | ListProductPagesCommandInput | ListProductRestEndpointPagesCommandInput | ListRoutingRulesCommandInput | PreviewPortalCommandInput | PublishPortalCommandInput | PutPortalProductSharingPolicyCommandInput | PutRoutingRuleCommandInput | ReimportApiCommandInput | ResetAuthorizersCacheCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApiCommandInput | UpdateApiMappingCommandInput | UpdateAuthorizerCommandInput | UpdateDeploymentCommandInput | UpdateDomainNameCommandInput | UpdateIntegrationCommandInput | UpdateIntegrationResponseCommandInput | UpdateModelCommandInput | UpdatePortalCommandInput | UpdatePortalProductCommandInput | UpdateProductPageCommandInput | UpdateProductRestEndpointPageCommandInput | UpdateRouteCommandInput | UpdateRouteResponseCommandInput | UpdateStageCommandInput | UpdateVpcLinkCommandInput;
94
120
  /**
95
121
  * @public
96
122
  */
97
- export type ServiceOutputTypes = CreateApiCommandOutput | CreateApiMappingCommandOutput | CreateAuthorizerCommandOutput | CreateDeploymentCommandOutput | CreateDomainNameCommandOutput | CreateIntegrationCommandOutput | CreateIntegrationResponseCommandOutput | CreateModelCommandOutput | CreateRouteCommandOutput | CreateRouteResponseCommandOutput | CreateRoutingRuleCommandOutput | CreateStageCommandOutput | CreateVpcLinkCommandOutput | DeleteAccessLogSettingsCommandOutput | DeleteApiCommandOutput | DeleteApiMappingCommandOutput | DeleteAuthorizerCommandOutput | DeleteCorsConfigurationCommandOutput | DeleteDeploymentCommandOutput | DeleteDomainNameCommandOutput | DeleteIntegrationCommandOutput | DeleteIntegrationResponseCommandOutput | DeleteModelCommandOutput | DeleteRouteCommandOutput | DeleteRouteRequestParameterCommandOutput | DeleteRouteResponseCommandOutput | DeleteRouteSettingsCommandOutput | DeleteRoutingRuleCommandOutput | DeleteStageCommandOutput | DeleteVpcLinkCommandOutput | ExportApiCommandOutput | GetApiCommandOutput | GetApiMappingCommandOutput | GetApiMappingsCommandOutput | GetApisCommandOutput | GetAuthorizerCommandOutput | GetAuthorizersCommandOutput | GetDeploymentCommandOutput | GetDeploymentsCommandOutput | GetDomainNameCommandOutput | GetDomainNamesCommandOutput | GetIntegrationCommandOutput | GetIntegrationResponseCommandOutput | GetIntegrationResponsesCommandOutput | GetIntegrationsCommandOutput | GetModelCommandOutput | GetModelTemplateCommandOutput | GetModelsCommandOutput | GetRouteCommandOutput | GetRouteResponseCommandOutput | GetRouteResponsesCommandOutput | GetRoutesCommandOutput | GetRoutingRuleCommandOutput | GetStageCommandOutput | GetStagesCommandOutput | GetTagsCommandOutput | GetVpcLinkCommandOutput | GetVpcLinksCommandOutput | ImportApiCommandOutput | ListRoutingRulesCommandOutput | PutRoutingRuleCommandOutput | ReimportApiCommandOutput | ResetAuthorizersCacheCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCommandOutput | UpdateApiMappingCommandOutput | UpdateAuthorizerCommandOutput | UpdateDeploymentCommandOutput | UpdateDomainNameCommandOutput | UpdateIntegrationCommandOutput | UpdateIntegrationResponseCommandOutput | UpdateModelCommandOutput | UpdateRouteCommandOutput | UpdateRouteResponseCommandOutput | UpdateStageCommandOutput | UpdateVpcLinkCommandOutput;
123
+ export type ServiceOutputTypes = CreateApiCommandOutput | CreateApiMappingCommandOutput | CreateAuthorizerCommandOutput | CreateDeploymentCommandOutput | CreateDomainNameCommandOutput | CreateIntegrationCommandOutput | CreateIntegrationResponseCommandOutput | CreateModelCommandOutput | CreatePortalCommandOutput | CreatePortalProductCommandOutput | CreateProductPageCommandOutput | CreateProductRestEndpointPageCommandOutput | CreateRouteCommandOutput | CreateRouteResponseCommandOutput | CreateRoutingRuleCommandOutput | CreateStageCommandOutput | CreateVpcLinkCommandOutput | DeleteAccessLogSettingsCommandOutput | DeleteApiCommandOutput | DeleteApiMappingCommandOutput | DeleteAuthorizerCommandOutput | DeleteCorsConfigurationCommandOutput | DeleteDeploymentCommandOutput | DeleteDomainNameCommandOutput | DeleteIntegrationCommandOutput | DeleteIntegrationResponseCommandOutput | DeleteModelCommandOutput | DeletePortalCommandOutput | DeletePortalProductCommandOutput | DeletePortalProductSharingPolicyCommandOutput | DeleteProductPageCommandOutput | DeleteProductRestEndpointPageCommandOutput | DeleteRouteCommandOutput | DeleteRouteRequestParameterCommandOutput | DeleteRouteResponseCommandOutput | DeleteRouteSettingsCommandOutput | DeleteRoutingRuleCommandOutput | DeleteStageCommandOutput | DeleteVpcLinkCommandOutput | DisablePortalCommandOutput | ExportApiCommandOutput | GetApiCommandOutput | GetApiMappingCommandOutput | GetApiMappingsCommandOutput | GetApisCommandOutput | GetAuthorizerCommandOutput | GetAuthorizersCommandOutput | GetDeploymentCommandOutput | GetDeploymentsCommandOutput | GetDomainNameCommandOutput | GetDomainNamesCommandOutput | GetIntegrationCommandOutput | GetIntegrationResponseCommandOutput | GetIntegrationResponsesCommandOutput | GetIntegrationsCommandOutput | GetModelCommandOutput | GetModelTemplateCommandOutput | GetModelsCommandOutput | GetPortalCommandOutput | GetPortalProductCommandOutput | GetPortalProductSharingPolicyCommandOutput | GetProductPageCommandOutput | GetProductRestEndpointPageCommandOutput | GetRouteCommandOutput | GetRouteResponseCommandOutput | GetRouteResponsesCommandOutput | GetRoutesCommandOutput | GetRoutingRuleCommandOutput | GetStageCommandOutput | GetStagesCommandOutput | GetTagsCommandOutput | GetVpcLinkCommandOutput | GetVpcLinksCommandOutput | ImportApiCommandOutput | ListPortalProductsCommandOutput | ListPortalsCommandOutput | ListProductPagesCommandOutput | ListProductRestEndpointPagesCommandOutput | ListRoutingRulesCommandOutput | PreviewPortalCommandOutput | PublishPortalCommandOutput | PutPortalProductSharingPolicyCommandOutput | PutRoutingRuleCommandOutput | ReimportApiCommandOutput | ResetAuthorizersCacheCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApiCommandOutput | UpdateApiMappingCommandOutput | UpdateAuthorizerCommandOutput | UpdateDeploymentCommandOutput | UpdateDomainNameCommandOutput | UpdateIntegrationCommandOutput | UpdateIntegrationResponseCommandOutput | UpdateModelCommandOutput | UpdatePortalCommandOutput | UpdatePortalProductCommandOutput | UpdateProductPageCommandOutput | UpdateProductRestEndpointPageCommandOutput | UpdateRouteCommandOutput | UpdateRouteResponseCommandOutput | UpdateStageCommandOutput | UpdateVpcLinkCommandOutput;
98
124
  /**
99
125
  * @public
100
126
  */
@@ -0,0 +1,164 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApiGatewayV2Client";
4
+ import { CreatePortalRequest, CreatePortalResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreatePortalCommand}.
14
+ */
15
+ export interface CreatePortalCommandInput extends CreatePortalRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreatePortalCommand}.
21
+ */
22
+ export interface CreatePortalCommandOutput extends CreatePortalResponse, __MetadataBearer {
23
+ }
24
+ declare const CreatePortalCommand_base: {
25
+ new (input: CreatePortalCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePortalCommandInput, CreatePortalCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreatePortalCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePortalCommandInput, CreatePortalCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a portal.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ApiGatewayV2Client, CreatePortalCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
35
+ * // const { ApiGatewayV2Client, CreatePortalCommand } = require("@aws-sdk/client-apigatewayv2"); // CommonJS import
36
+ * // import type { ApiGatewayV2ClientConfig } from "@aws-sdk/client-apigatewayv2";
37
+ * const config = {}; // type is ApiGatewayV2ClientConfig
38
+ * const client = new ApiGatewayV2Client(config);
39
+ * const input = { // CreatePortalRequest
40
+ * Authorization: { // Authorization
41
+ * CognitoConfig: { // CognitoConfig
42
+ * AppClientId: "STRING_VALUE", // required
43
+ * UserPoolArn: "STRING_VALUE", // required
44
+ * UserPoolDomain: "STRING_VALUE", // required
45
+ * },
46
+ * None: {},
47
+ * },
48
+ * EndpointConfiguration: { // EndpointConfigurationRequest
49
+ * AcmManaged: { // ACMManaged
50
+ * CertificateArn: "STRING_VALUE", // required
51
+ * DomainName: "STRING_VALUE", // required
52
+ * },
53
+ * None: {},
54
+ * },
55
+ * IncludedPortalProductArns: [ // __listOf__stringMin20Max2048
56
+ * "STRING_VALUE",
57
+ * ],
58
+ * LogoUri: "STRING_VALUE",
59
+ * PortalContent: { // PortalContent
60
+ * Description: "STRING_VALUE",
61
+ * DisplayName: "STRING_VALUE", // required
62
+ * Theme: { // PortalTheme
63
+ * CustomColors: { // CustomColors
64
+ * AccentColor: "STRING_VALUE", // required
65
+ * BackgroundColor: "STRING_VALUE", // required
66
+ * ErrorValidationColor: "STRING_VALUE", // required
67
+ * HeaderColor: "STRING_VALUE", // required
68
+ * NavigationColor: "STRING_VALUE", // required
69
+ * TextColor: "STRING_VALUE", // required
70
+ * },
71
+ * LogoLastUploaded: new Date("TIMESTAMP"),
72
+ * },
73
+ * },
74
+ * RumAppMonitorName: "STRING_VALUE",
75
+ * Tags: { // Tags
76
+ * "<keys>": "STRING_VALUE",
77
+ * },
78
+ * };
79
+ * const command = new CreatePortalCommand(input);
80
+ * const response = await client.send(command);
81
+ * // { // CreatePortalResponse
82
+ * // Authorization: { // Authorization
83
+ * // CognitoConfig: { // CognitoConfig
84
+ * // AppClientId: "STRING_VALUE", // required
85
+ * // UserPoolArn: "STRING_VALUE", // required
86
+ * // UserPoolDomain: "STRING_VALUE", // required
87
+ * // },
88
+ * // None: {},
89
+ * // },
90
+ * // EndpointConfiguration: { // EndpointConfigurationResponse
91
+ * // CertificateArn: "STRING_VALUE",
92
+ * // DomainName: "STRING_VALUE",
93
+ * // PortalDefaultDomainName: "STRING_VALUE", // required
94
+ * // PortalDomainHostedZoneId: "STRING_VALUE", // required
95
+ * // },
96
+ * // IncludedPortalProductArns: [ // __listOf__stringMin20Max2048
97
+ * // "STRING_VALUE",
98
+ * // ],
99
+ * // LastModified: new Date("TIMESTAMP"),
100
+ * // LastPublished: new Date("TIMESTAMP"),
101
+ * // LastPublishedDescription: "STRING_VALUE",
102
+ * // PortalArn: "STRING_VALUE",
103
+ * // PortalContent: { // PortalContent
104
+ * // Description: "STRING_VALUE",
105
+ * // DisplayName: "STRING_VALUE", // required
106
+ * // Theme: { // PortalTheme
107
+ * // CustomColors: { // CustomColors
108
+ * // AccentColor: "STRING_VALUE", // required
109
+ * // BackgroundColor: "STRING_VALUE", // required
110
+ * // ErrorValidationColor: "STRING_VALUE", // required
111
+ * // HeaderColor: "STRING_VALUE", // required
112
+ * // NavigationColor: "STRING_VALUE", // required
113
+ * // TextColor: "STRING_VALUE", // required
114
+ * // },
115
+ * // LogoLastUploaded: new Date("TIMESTAMP"),
116
+ * // },
117
+ * // },
118
+ * // PortalId: "STRING_VALUE",
119
+ * // PublishStatus: "PUBLISHED" || "PUBLISH_IN_PROGRESS" || "PUBLISH_FAILED" || "DISABLED",
120
+ * // RumAppMonitorName: "STRING_VALUE",
121
+ * // StatusException: { // StatusException
122
+ * // Exception: "STRING_VALUE",
123
+ * // Message: "STRING_VALUE",
124
+ * // },
125
+ * // Tags: { // Tags
126
+ * // "<keys>": "STRING_VALUE",
127
+ * // },
128
+ * // };
129
+ *
130
+ * ```
131
+ *
132
+ * @param CreatePortalCommandInput - {@link CreatePortalCommandInput}
133
+ * @returns {@link CreatePortalCommandOutput}
134
+ * @see {@link CreatePortalCommandInput} for command's `input` shape.
135
+ * @see {@link CreatePortalCommandOutput} for command's `response` shape.
136
+ * @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
137
+ *
138
+ * @throws {@link AccessDeniedException} (client fault)
139
+ *
140
+ * @throws {@link BadRequestException} (client fault)
141
+ * <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
142
+ *
143
+ * @throws {@link TooManyRequestsException} (client fault)
144
+ * <p>A limit has been exceeded. See the accompanying error message for details.</p>
145
+ *
146
+ * @throws {@link ApiGatewayV2ServiceException}
147
+ * <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
148
+ *
149
+ *
150
+ * @public
151
+ */
152
+ export declare class CreatePortalCommand extends CreatePortalCommand_base {
153
+ /** @internal type navigation helper, not in runtime. */
154
+ protected static __types: {
155
+ api: {
156
+ input: CreatePortalRequest;
157
+ output: CreatePortalResponse;
158
+ };
159
+ sdk: {
160
+ input: CreatePortalCommandInput;
161
+ output: CreatePortalCommandOutput;
162
+ };
163
+ };
164
+ }