@aws-sdk/client-apigatewayv2 3.934.0 → 3.935.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 +12 -12
  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
@@ -1,5 +1,25 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ApiGatewayV2ServiceException as __BaseException } from "./ApiGatewayV2ServiceException";
1
+ import {
2
+ AuthorizationType,
3
+ AuthorizerType,
4
+ ConnectionType,
5
+ ContentHandlingStrategy,
6
+ DeploymentStatus,
7
+ DomainNameStatus,
8
+ EndpointType,
9
+ IntegrationType,
10
+ IpAddressType,
11
+ LoggingLevel,
12
+ PassthroughBehavior,
13
+ PreviewStatus,
14
+ ProtocolType,
15
+ PublishStatus,
16
+ RoutingMode,
17
+ SecurityPolicy,
18
+ Status,
19
+ TryItState,
20
+ VpcLinkStatus,
21
+ VpcLinkVersion,
22
+ } from "./enums";
3
23
  export interface Cors {
4
24
  AllowCredentials?: boolean | undefined;
5
25
  AllowHeaders?: string[] | undefined;
@@ -8,16 +28,6 @@ export interface Cors {
8
28
  ExposeHeaders?: string[] | undefined;
9
29
  MaxAge?: number | undefined;
10
30
  }
11
- export declare const IpAddressType: {
12
- readonly dualstack: "dualstack";
13
- readonly ipv4: "ipv4";
14
- };
15
- export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
16
- export declare const ProtocolType: {
17
- readonly HTTP: "HTTP";
18
- readonly WEBSOCKET: "WEBSOCKET";
19
- };
20
- export type ProtocolType = (typeof ProtocolType)[keyof typeof ProtocolType];
21
31
  export interface Api {
22
32
  ApiEndpoint?: string | undefined;
23
33
  ApiGatewayManaged?: boolean | undefined;
@@ -43,12 +53,6 @@ export interface ApiMapping {
43
53
  ApiMappingKey?: string | undefined;
44
54
  Stage: string | undefined;
45
55
  }
46
- export declare const AuthorizerType: {
47
- readonly JWT: "JWT";
48
- readonly REQUEST: "REQUEST";
49
- };
50
- export type AuthorizerType =
51
- (typeof AuthorizerType)[keyof typeof AuthorizerType];
52
56
  export interface JWTConfiguration {
53
57
  Audience?: string[] | undefined;
54
58
  Issuer?: string | undefined;
@@ -66,13 +70,6 @@ export interface Authorizer {
66
70
  JwtConfiguration?: JWTConfiguration | undefined;
67
71
  Name: string | undefined;
68
72
  }
69
- export declare const DeploymentStatus: {
70
- readonly DEPLOYED: "DEPLOYED";
71
- readonly FAILED: "FAILED";
72
- readonly PENDING: "PENDING";
73
- };
74
- export type DeploymentStatus =
75
- (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
76
73
  export interface Deployment {
77
74
  AutoDeployed?: boolean | undefined;
78
75
  CreatedDate?: Date | undefined;
@@ -81,25 +78,6 @@ export interface Deployment {
81
78
  DeploymentStatusMessage?: string | undefined;
82
79
  Description?: string | undefined;
83
80
  }
84
- export declare const DomainNameStatus: {
85
- readonly AVAILABLE: "AVAILABLE";
86
- readonly PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT";
87
- readonly PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION";
88
- readonly UPDATING: "UPDATING";
89
- };
90
- export type DomainNameStatus =
91
- (typeof DomainNameStatus)[keyof typeof DomainNameStatus];
92
- export declare const EndpointType: {
93
- readonly EDGE: "EDGE";
94
- readonly REGIONAL: "REGIONAL";
95
- };
96
- export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
97
- export declare const SecurityPolicy: {
98
- readonly TLS_1_0: "TLS_1_0";
99
- readonly TLS_1_2: "TLS_1_2";
100
- };
101
- export type SecurityPolicy =
102
- (typeof SecurityPolicy)[keyof typeof SecurityPolicy];
103
81
  export interface DomainNameConfiguration {
104
82
  ApiGatewayDomainName?: string | undefined;
105
83
  CertificateArn?: string | undefined;
@@ -118,12 +96,6 @@ export interface MutualTlsAuthentication {
118
96
  TruststoreVersion?: string | undefined;
119
97
  TruststoreWarnings?: string[] | undefined;
120
98
  }
121
- export declare const RoutingMode: {
122
- readonly API_MAPPING_ONLY: "API_MAPPING_ONLY";
123
- readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
124
- readonly ROUTING_RULE_THEN_API_MAPPING: "ROUTING_RULE_THEN_API_MAPPING";
125
- };
126
- export type RoutingMode = (typeof RoutingMode)[keyof typeof RoutingMode];
127
99
  export interface DomainName {
128
100
  ApiMappingSelectionExpression?: string | undefined;
129
101
  DomainName: string | undefined;
@@ -133,34 +105,6 @@ export interface DomainName {
133
105
  RoutingMode?: RoutingMode | undefined;
134
106
  Tags?: Record<string, string> | undefined;
135
107
  }
136
- export declare const ConnectionType: {
137
- readonly INTERNET: "INTERNET";
138
- readonly VPC_LINK: "VPC_LINK";
139
- };
140
- export type ConnectionType =
141
- (typeof ConnectionType)[keyof typeof ConnectionType];
142
- export declare const ContentHandlingStrategy: {
143
- readonly CONVERT_TO_BINARY: "CONVERT_TO_BINARY";
144
- readonly CONVERT_TO_TEXT: "CONVERT_TO_TEXT";
145
- };
146
- export type ContentHandlingStrategy =
147
- (typeof ContentHandlingStrategy)[keyof typeof ContentHandlingStrategy];
148
- export declare const IntegrationType: {
149
- readonly AWS: "AWS";
150
- readonly AWS_PROXY: "AWS_PROXY";
151
- readonly HTTP: "HTTP";
152
- readonly HTTP_PROXY: "HTTP_PROXY";
153
- readonly MOCK: "MOCK";
154
- };
155
- export type IntegrationType =
156
- (typeof IntegrationType)[keyof typeof IntegrationType];
157
- export declare const PassthroughBehavior: {
158
- readonly NEVER: "NEVER";
159
- readonly WHEN_NO_MATCH: "WHEN_NO_MATCH";
160
- readonly WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES";
161
- };
162
- export type PassthroughBehavior =
163
- (typeof PassthroughBehavior)[keyof typeof PassthroughBehavior];
164
108
  export interface TlsConfig {
165
109
  ServerNameToVerify?: string | undefined;
166
110
  }
@@ -201,14 +145,98 @@ export interface Model {
201
145
  Name: string | undefined;
202
146
  Schema?: string | undefined;
203
147
  }
204
- export declare const AuthorizationType: {
205
- readonly AWS_IAM: "AWS_IAM";
206
- readonly CUSTOM: "CUSTOM";
207
- readonly JWT: "JWT";
208
- readonly NONE: "NONE";
209
- };
210
- export type AuthorizationType =
211
- (typeof AuthorizationType)[keyof typeof AuthorizationType];
148
+ export interface PortalProductSummary {
149
+ Description: string | undefined;
150
+ DisplayName: string | undefined;
151
+ LastModified: Date | undefined;
152
+ PortalProductArn: string | undefined;
153
+ PortalProductId: string | undefined;
154
+ Tags?: Record<string, string> | undefined;
155
+ }
156
+ export interface CognitoConfig {
157
+ AppClientId: string | undefined;
158
+ UserPoolArn: string | undefined;
159
+ UserPoolDomain: string | undefined;
160
+ }
161
+ export interface None {}
162
+ export interface Authorization {
163
+ CognitoConfig?: CognitoConfig | undefined;
164
+ None?: None | undefined;
165
+ }
166
+ export interface EndpointConfigurationResponse {
167
+ CertificateArn?: string | undefined;
168
+ DomainName?: string | undefined;
169
+ PortalDefaultDomainName: string | undefined;
170
+ PortalDomainHostedZoneId: string | undefined;
171
+ }
172
+ export interface CustomColors {
173
+ AccentColor: string | undefined;
174
+ BackgroundColor: string | undefined;
175
+ ErrorValidationColor: string | undefined;
176
+ HeaderColor: string | undefined;
177
+ NavigationColor: string | undefined;
178
+ TextColor: string | undefined;
179
+ }
180
+ export interface PortalTheme {
181
+ CustomColors: CustomColors | undefined;
182
+ LogoLastUploaded?: Date | undefined;
183
+ }
184
+ export interface PortalContent {
185
+ Description?: string | undefined;
186
+ DisplayName: string | undefined;
187
+ Theme: PortalTheme | undefined;
188
+ }
189
+ export interface StatusException {
190
+ Exception?: string | undefined;
191
+ Message?: string | undefined;
192
+ }
193
+ export interface Preview {
194
+ PreviewStatus: PreviewStatus | undefined;
195
+ PreviewUrl?: string | undefined;
196
+ StatusException?: StatusException | undefined;
197
+ }
198
+ export interface PortalSummary {
199
+ Authorization: Authorization | undefined;
200
+ EndpointConfiguration: EndpointConfigurationResponse | undefined;
201
+ IncludedPortalProductArns: string[] | undefined;
202
+ LastModified: Date | undefined;
203
+ LastPublished?: Date | undefined;
204
+ LastPublishedDescription?: string | undefined;
205
+ PortalArn: string | undefined;
206
+ PortalContent: PortalContent | undefined;
207
+ PortalId: string | undefined;
208
+ Preview?: Preview | undefined;
209
+ PublishStatus?: PublishStatus | undefined;
210
+ RumAppMonitorName?: string | undefined;
211
+ StatusException?: StatusException | undefined;
212
+ Tags?: Record<string, string> | undefined;
213
+ }
214
+ export interface ProductPageSummaryNoBody {
215
+ LastModified: Date | undefined;
216
+ PageTitle: string | undefined;
217
+ ProductPageArn: string | undefined;
218
+ ProductPageId: string | undefined;
219
+ }
220
+ export interface IdentifierParts {
221
+ Method: string | undefined;
222
+ Path: string | undefined;
223
+ RestApiId: string | undefined;
224
+ Stage: string | undefined;
225
+ }
226
+ export interface RestEndpointIdentifier {
227
+ IdentifierParts?: IdentifierParts | undefined;
228
+ }
229
+ export interface ProductRestEndpointPageSummaryNoBody {
230
+ Endpoint: string | undefined;
231
+ LastModified: Date | undefined;
232
+ OperationName?: string | undefined;
233
+ ProductRestEndpointPageArn: string | undefined;
234
+ ProductRestEndpointPageId: string | undefined;
235
+ RestEndpointIdentifier: RestEndpointIdentifier | undefined;
236
+ Status: Status | undefined;
237
+ StatusException?: StatusException | undefined;
238
+ TryItState: TryItState | undefined;
239
+ }
212
240
  export interface ParameterConstraints {
213
241
  Required?: boolean | undefined;
214
242
  }
@@ -263,16 +291,14 @@ export interface RoutingRule {
263
291
  RoutingRuleArn?: string | undefined;
264
292
  RoutingRuleId?: string | undefined;
265
293
  }
294
+ export interface Section {
295
+ ProductRestEndpointPageArns: string[] | undefined;
296
+ SectionName: string | undefined;
297
+ }
266
298
  export interface AccessLogSettings {
267
299
  DestinationArn?: string | undefined;
268
300
  Format?: string | undefined;
269
301
  }
270
- export declare const LoggingLevel: {
271
- readonly ERROR: "ERROR";
272
- readonly INFO: "INFO";
273
- readonly OFF: "OFF";
274
- };
275
- export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
276
302
  export interface RouteSettings {
277
303
  DataTraceEnabled?: boolean | undefined;
278
304
  DetailedMetricsEnabled?: boolean | undefined;
@@ -296,19 +322,6 @@ export interface Stage {
296
322
  StageVariables?: Record<string, string> | undefined;
297
323
  Tags?: Record<string, string> | undefined;
298
324
  }
299
- export declare const VpcLinkStatus: {
300
- readonly AVAILABLE: "AVAILABLE";
301
- readonly DELETING: "DELETING";
302
- readonly FAILED: "FAILED";
303
- readonly INACTIVE: "INACTIVE";
304
- readonly PENDING: "PENDING";
305
- };
306
- export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
307
- export declare const VpcLinkVersion: {
308
- readonly V2: "V2";
309
- };
310
- export type VpcLinkVersion =
311
- (typeof VpcLinkVersion)[keyof typeof VpcLinkVersion];
312
325
  export interface VpcLink {
313
326
  CreatedDate?: Date | undefined;
314
327
  Name: string | undefined;
@@ -320,27 +333,9 @@ export interface VpcLink {
320
333
  VpcLinkStatusMessage?: string | undefined;
321
334
  VpcLinkVersion?: VpcLinkVersion | undefined;
322
335
  }
323
- export declare class AccessDeniedException extends __BaseException {
324
- readonly name: "AccessDeniedException";
325
- readonly $fault: "client";
326
- Message?: string | undefined;
327
- constructor(
328
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
329
- );
330
- }
331
- export declare class BadRequestException extends __BaseException {
332
- readonly name: "BadRequestException";
333
- readonly $fault: "client";
334
- Message?: string | undefined;
335
- constructor(
336
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
337
- );
338
- }
339
- export declare class ConflictException extends __BaseException {
340
- readonly name: "ConflictException";
341
- readonly $fault: "client";
342
- Message?: string | undefined;
343
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
336
+ export interface ACMManaged {
337
+ CertificateArn: string | undefined;
338
+ DomainName: string | undefined;
344
339
  }
345
340
  export interface CreateApiRequest {
346
341
  ApiKeySelectionExpression?: string | undefined;
@@ -377,22 +372,6 @@ export interface CreateApiResponse {
377
372
  Version?: string | undefined;
378
373
  Warnings?: string[] | undefined;
379
374
  }
380
- export declare class NotFoundException extends __BaseException {
381
- readonly name: "NotFoundException";
382
- readonly $fault: "client";
383
- Message?: string | undefined;
384
- ResourceType?: string | undefined;
385
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
386
- }
387
- export declare class TooManyRequestsException extends __BaseException {
388
- readonly name: "TooManyRequestsException";
389
- readonly $fault: "client";
390
- LimitType?: string | undefined;
391
- Message?: string | undefined;
392
- constructor(
393
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
394
- );
395
- }
396
375
  export interface CreateApiMappingRequest {
397
376
  ApiId: string | undefined;
398
377
  ApiMappingKey?: string | undefined;
@@ -540,6 +519,97 @@ export interface CreateModelResponse {
540
519
  Name?: string | undefined;
541
520
  Schema?: string | undefined;
542
521
  }
522
+ export interface EndpointConfigurationRequest {
523
+ AcmManaged?: ACMManaged | undefined;
524
+ None?: None | undefined;
525
+ }
526
+ export interface CreatePortalRequest {
527
+ Authorization: Authorization | undefined;
528
+ EndpointConfiguration: EndpointConfigurationRequest | undefined;
529
+ IncludedPortalProductArns?: string[] | undefined;
530
+ LogoUri?: string | undefined;
531
+ PortalContent: PortalContent | undefined;
532
+ RumAppMonitorName?: string | undefined;
533
+ Tags?: Record<string, string> | undefined;
534
+ }
535
+ export interface CreatePortalResponse {
536
+ Authorization?: Authorization | undefined;
537
+ EndpointConfiguration?: EndpointConfigurationResponse | undefined;
538
+ IncludedPortalProductArns?: string[] | undefined;
539
+ LastModified?: Date | undefined;
540
+ LastPublished?: Date | undefined;
541
+ LastPublishedDescription?: string | undefined;
542
+ PortalArn?: string | undefined;
543
+ PortalContent?: PortalContent | undefined;
544
+ PortalId?: string | undefined;
545
+ PublishStatus?: PublishStatus | undefined;
546
+ RumAppMonitorName?: string | undefined;
547
+ StatusException?: StatusException | undefined;
548
+ Tags?: Record<string, string> | undefined;
549
+ }
550
+ export interface CreatePortalProductRequest {
551
+ Description?: string | undefined;
552
+ DisplayName: string | undefined;
553
+ Tags?: Record<string, string> | undefined;
554
+ }
555
+ export interface DisplayOrder {
556
+ Contents?: Section[] | undefined;
557
+ OverviewPageArn?: string | undefined;
558
+ ProductPageArns?: string[] | undefined;
559
+ }
560
+ export interface CreatePortalProductResponse {
561
+ Description?: string | undefined;
562
+ DisplayName?: string | undefined;
563
+ DisplayOrder?: DisplayOrder | undefined;
564
+ LastModified?: Date | undefined;
565
+ PortalProductArn?: string | undefined;
566
+ PortalProductId?: string | undefined;
567
+ Tags?: Record<string, string> | undefined;
568
+ }
569
+ export interface DisplayContent {
570
+ Body: string | undefined;
571
+ Title: string | undefined;
572
+ }
573
+ export interface CreateProductPageRequest {
574
+ DisplayContent: DisplayContent | undefined;
575
+ PortalProductId: string | undefined;
576
+ }
577
+ export interface CreateProductPageResponse {
578
+ DisplayContent?: DisplayContent | undefined;
579
+ LastModified?: Date | undefined;
580
+ ProductPageArn?: string | undefined;
581
+ ProductPageId?: string | undefined;
582
+ }
583
+ export interface DisplayContentOverrides {
584
+ Body?: string | undefined;
585
+ Endpoint?: string | undefined;
586
+ OperationName?: string | undefined;
587
+ }
588
+ export interface EndpointDisplayContent {
589
+ None?: None | undefined;
590
+ Overrides?: DisplayContentOverrides | undefined;
591
+ }
592
+ export interface CreateProductRestEndpointPageRequest {
593
+ DisplayContent?: EndpointDisplayContent | undefined;
594
+ PortalProductId: string | undefined;
595
+ RestEndpointIdentifier: RestEndpointIdentifier | undefined;
596
+ TryItState?: TryItState | undefined;
597
+ }
598
+ export interface EndpointDisplayContentResponse {
599
+ Body?: string | undefined;
600
+ Endpoint: string | undefined;
601
+ OperationName?: string | undefined;
602
+ }
603
+ export interface CreateProductRestEndpointPageResponse {
604
+ DisplayContent?: EndpointDisplayContentResponse | undefined;
605
+ LastModified?: Date | undefined;
606
+ ProductRestEndpointPageArn?: string | undefined;
607
+ ProductRestEndpointPageId?: string | undefined;
608
+ RestEndpointIdentifier?: RestEndpointIdentifier | undefined;
609
+ Status?: Status | undefined;
610
+ StatusException?: StatusException | undefined;
611
+ TryItState?: TryItState | undefined;
612
+ }
543
613
  export interface CreateRouteRequest {
544
614
  ApiId: string | undefined;
545
615
  ApiKeyRequired?: boolean | undefined;
@@ -682,6 +752,23 @@ export interface DeleteModelRequest {
682
752
  ApiId: string | undefined;
683
753
  ModelId: string | undefined;
684
754
  }
755
+ export interface DeletePortalRequest {
756
+ PortalId: string | undefined;
757
+ }
758
+ export interface DeletePortalProductRequest {
759
+ PortalProductId: string | undefined;
760
+ }
761
+ export interface DeletePortalProductSharingPolicyRequest {
762
+ PortalProductId: string | undefined;
763
+ }
764
+ export interface DeleteProductPageRequest {
765
+ PortalProductId: string | undefined;
766
+ ProductPageId: string | undefined;
767
+ }
768
+ export interface DeleteProductRestEndpointPageRequest {
769
+ PortalProductId: string | undefined;
770
+ ProductRestEndpointPageId: string | undefined;
771
+ }
685
772
  export interface DeleteRouteRequest {
686
773
  ApiId: string | undefined;
687
774
  RouteId: string | undefined;
@@ -714,6 +801,9 @@ export interface DeleteVpcLinkRequest {
714
801
  VpcLinkId: string | undefined;
715
802
  }
716
803
  export interface DeleteVpcLinkResponse {}
804
+ export interface DisablePortalRequest {
805
+ PortalId: string | undefined;
806
+ }
717
807
  export interface ExportApiRequest {
718
808
  ApiId: string | undefined;
719
809
  ExportVersion?: string | undefined;
@@ -926,6 +1016,73 @@ export interface GetModelTemplateRequest {
926
1016
  export interface GetModelTemplateResponse {
927
1017
  Value?: string | undefined;
928
1018
  }
1019
+ export interface GetPortalRequest {
1020
+ PortalId: string | undefined;
1021
+ }
1022
+ export interface GetPortalResponse {
1023
+ Authorization?: Authorization | undefined;
1024
+ EndpointConfiguration?: EndpointConfigurationResponse | undefined;
1025
+ IncludedPortalProductArns?: string[] | undefined;
1026
+ LastModified?: Date | undefined;
1027
+ LastPublished?: Date | undefined;
1028
+ LastPublishedDescription?: string | undefined;
1029
+ PortalArn?: string | undefined;
1030
+ PortalContent?: PortalContent | undefined;
1031
+ PortalId?: string | undefined;
1032
+ Preview?: Preview | undefined;
1033
+ PublishStatus?: PublishStatus | undefined;
1034
+ RumAppMonitorName?: string | undefined;
1035
+ StatusException?: StatusException | undefined;
1036
+ Tags?: Record<string, string> | undefined;
1037
+ }
1038
+ export interface GetPortalProductRequest {
1039
+ PortalProductId: string | undefined;
1040
+ ResourceOwnerAccountId?: string | undefined;
1041
+ }
1042
+ export interface GetPortalProductResponse {
1043
+ Description?: string | undefined;
1044
+ DisplayName?: string | undefined;
1045
+ DisplayOrder?: DisplayOrder | undefined;
1046
+ LastModified?: Date | undefined;
1047
+ PortalProductArn?: string | undefined;
1048
+ PortalProductId?: string | undefined;
1049
+ Tags?: Record<string, string> | undefined;
1050
+ }
1051
+ export interface GetPortalProductSharingPolicyRequest {
1052
+ PortalProductId: string | undefined;
1053
+ }
1054
+ export interface GetPortalProductSharingPolicyResponse {
1055
+ PolicyDocument?: string | undefined;
1056
+ PortalProductId?: string | undefined;
1057
+ }
1058
+ export interface GetProductPageRequest {
1059
+ PortalProductId: string | undefined;
1060
+ ProductPageId: string | undefined;
1061
+ ResourceOwnerAccountId?: string | undefined;
1062
+ }
1063
+ export interface GetProductPageResponse {
1064
+ DisplayContent?: DisplayContent | undefined;
1065
+ LastModified?: Date | undefined;
1066
+ ProductPageArn?: string | undefined;
1067
+ ProductPageId?: string | undefined;
1068
+ }
1069
+ export interface GetProductRestEndpointPageRequest {
1070
+ IncludeRawDisplayContent?: string | undefined;
1071
+ PortalProductId: string | undefined;
1072
+ ProductRestEndpointPageId: string | undefined;
1073
+ ResourceOwnerAccountId?: string | undefined;
1074
+ }
1075
+ export interface GetProductRestEndpointPageResponse {
1076
+ DisplayContent?: EndpointDisplayContentResponse | undefined;
1077
+ LastModified?: Date | undefined;
1078
+ ProductRestEndpointPageArn?: string | undefined;
1079
+ ProductRestEndpointPageId?: string | undefined;
1080
+ RawDisplayContent?: string | undefined;
1081
+ RestEndpointIdentifier?: RestEndpointIdentifier | undefined;
1082
+ Status?: Status | undefined;
1083
+ StatusException?: StatusException | undefined;
1084
+ TryItState?: TryItState | undefined;
1085
+ }
929
1086
  export interface GetRouteRequest {
930
1087
  ApiId: string | undefined;
931
1088
  RouteId: string | undefined;
@@ -1069,6 +1226,43 @@ export interface ImportApiResponse {
1069
1226
  Version?: string | undefined;
1070
1227
  Warnings?: string[] | undefined;
1071
1228
  }
1229
+ export interface ListPortalProductsRequest {
1230
+ MaxResults?: string | undefined;
1231
+ NextToken?: string | undefined;
1232
+ ResourceOwner?: string | undefined;
1233
+ }
1234
+ export interface ListPortalProductsResponse {
1235
+ Items?: PortalProductSummary[] | undefined;
1236
+ NextToken?: string | undefined;
1237
+ }
1238
+ export interface ListPortalsRequest {
1239
+ MaxResults?: string | undefined;
1240
+ NextToken?: string | undefined;
1241
+ }
1242
+ export interface ListPortalsResponse {
1243
+ Items?: PortalSummary[] | undefined;
1244
+ NextToken?: string | undefined;
1245
+ }
1246
+ export interface ListProductPagesRequest {
1247
+ MaxResults?: string | undefined;
1248
+ NextToken?: string | undefined;
1249
+ PortalProductId: string | undefined;
1250
+ ResourceOwnerAccountId?: string | undefined;
1251
+ }
1252
+ export interface ListProductPagesResponse {
1253
+ Items?: ProductPageSummaryNoBody[] | undefined;
1254
+ NextToken?: string | undefined;
1255
+ }
1256
+ export interface ListProductRestEndpointPagesRequest {
1257
+ MaxResults?: string | undefined;
1258
+ NextToken?: string | undefined;
1259
+ PortalProductId: string | undefined;
1260
+ ResourceOwnerAccountId?: string | undefined;
1261
+ }
1262
+ export interface ListProductRestEndpointPagesResponse {
1263
+ Items?: ProductRestEndpointPageSummaryNoBody[] | undefined;
1264
+ NextToken?: string | undefined;
1265
+ }
1072
1266
  export interface ListRoutingRulesRequest {
1073
1267
  DomainName: string | undefined;
1074
1268
  DomainNameId?: string | undefined;
@@ -1079,6 +1273,20 @@ export interface ListRoutingRulesResponse {
1079
1273
  NextToken?: string | undefined;
1080
1274
  RoutingRules?: RoutingRule[] | undefined;
1081
1275
  }
1276
+ export interface PreviewPortalRequest {
1277
+ PortalId: string | undefined;
1278
+ }
1279
+ export interface PreviewPortalResponse {}
1280
+ export interface PublishPortalRequest {
1281
+ Description?: string | undefined;
1282
+ PortalId: string | undefined;
1283
+ }
1284
+ export interface PublishPortalResponse {}
1285
+ export interface PutPortalProductSharingPolicyRequest {
1286
+ PolicyDocument: string | undefined;
1287
+ PortalProductId: string | undefined;
1288
+ }
1289
+ export interface PutPortalProductSharingPolicyResponse {}
1082
1290
  export interface PutRoutingRuleRequest {
1083
1291
  Actions: RoutingRuleAction[] | undefined;
1084
1292
  Conditions: RoutingRuleCondition[] | undefined;
@@ -1310,6 +1518,73 @@ export interface UpdateModelResponse {
1310
1518
  Name?: string | undefined;
1311
1519
  Schema?: string | undefined;
1312
1520
  }
1521
+ export interface UpdatePortalRequest {
1522
+ Authorization?: Authorization | undefined;
1523
+ EndpointConfiguration?: EndpointConfigurationRequest | undefined;
1524
+ IncludedPortalProductArns?: string[] | undefined;
1525
+ LogoUri?: string | undefined;
1526
+ PortalContent?: PortalContent | undefined;
1527
+ PortalId: string | undefined;
1528
+ RumAppMonitorName?: string | undefined;
1529
+ }
1530
+ export interface UpdatePortalResponse {
1531
+ Authorization?: Authorization | undefined;
1532
+ EndpointConfiguration?: EndpointConfigurationResponse | undefined;
1533
+ IncludedPortalProductArns?: string[] | undefined;
1534
+ LastModified?: Date | undefined;
1535
+ LastPublished?: Date | undefined;
1536
+ LastPublishedDescription?: string | undefined;
1537
+ PortalArn?: string | undefined;
1538
+ PortalContent?: PortalContent | undefined;
1539
+ PortalId?: string | undefined;
1540
+ Preview?: Preview | undefined;
1541
+ PublishStatus?: PublishStatus | undefined;
1542
+ RumAppMonitorName?: string | undefined;
1543
+ StatusException?: StatusException | undefined;
1544
+ Tags?: Record<string, string> | undefined;
1545
+ }
1546
+ export interface UpdatePortalProductRequest {
1547
+ Description?: string | undefined;
1548
+ DisplayName?: string | undefined;
1549
+ DisplayOrder?: DisplayOrder | undefined;
1550
+ PortalProductId: string | undefined;
1551
+ }
1552
+ export interface UpdatePortalProductResponse {
1553
+ Description?: string | undefined;
1554
+ DisplayName?: string | undefined;
1555
+ DisplayOrder?: DisplayOrder | undefined;
1556
+ LastModified?: Date | undefined;
1557
+ PortalProductArn?: string | undefined;
1558
+ PortalProductId?: string | undefined;
1559
+ Tags?: Record<string, string> | undefined;
1560
+ }
1561
+ export interface UpdateProductPageRequest {
1562
+ DisplayContent?: DisplayContent | undefined;
1563
+ PortalProductId: string | undefined;
1564
+ ProductPageId: string | undefined;
1565
+ }
1566
+ export interface UpdateProductPageResponse {
1567
+ DisplayContent?: DisplayContent | undefined;
1568
+ LastModified?: Date | undefined;
1569
+ ProductPageArn?: string | undefined;
1570
+ ProductPageId?: string | undefined;
1571
+ }
1572
+ export interface UpdateProductRestEndpointPageRequest {
1573
+ DisplayContent?: EndpointDisplayContent | undefined;
1574
+ PortalProductId: string | undefined;
1575
+ ProductRestEndpointPageId: string | undefined;
1576
+ TryItState?: TryItState | undefined;
1577
+ }
1578
+ export interface UpdateProductRestEndpointPageResponse {
1579
+ DisplayContent?: EndpointDisplayContentResponse | undefined;
1580
+ LastModified?: Date | undefined;
1581
+ ProductRestEndpointPageArn?: string | undefined;
1582
+ ProductRestEndpointPageId?: string | undefined;
1583
+ RestEndpointIdentifier?: RestEndpointIdentifier | undefined;
1584
+ Status?: Status | undefined;
1585
+ StatusException?: StatusException | undefined;
1586
+ TryItState?: TryItState | undefined;
1587
+ }
1313
1588
  export interface UpdateRouteRequest {
1314
1589
  ApiId: string | undefined;
1315
1590
  ApiKeyRequired?: boolean | undefined;