@aws-sdk/client-apigatewayv2 3.933.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.
- package/README.md +215 -7
- package/dist-cjs/index.js +4158 -1317
- package/dist-es/ApiGatewayV2.js +52 -0
- package/dist-es/commands/CreatePortalCommand.js +16 -0
- package/dist-es/commands/CreatePortalProductCommand.js +16 -0
- package/dist-es/commands/CreateProductPageCommand.js +16 -0
- package/dist-es/commands/CreateProductRestEndpointPageCommand.js +16 -0
- package/dist-es/commands/DeletePortalCommand.js +16 -0
- package/dist-es/commands/DeletePortalProductCommand.js +16 -0
- package/dist-es/commands/DeletePortalProductSharingPolicyCommand.js +16 -0
- package/dist-es/commands/DeleteProductPageCommand.js +16 -0
- package/dist-es/commands/DeleteProductRestEndpointPageCommand.js +16 -0
- package/dist-es/commands/DisablePortalCommand.js +16 -0
- package/dist-es/commands/GetPortalCommand.js +16 -0
- package/dist-es/commands/GetPortalProductCommand.js +16 -0
- package/dist-es/commands/GetPortalProductSharingPolicyCommand.js +16 -0
- package/dist-es/commands/GetProductPageCommand.js +16 -0
- package/dist-es/commands/GetProductRestEndpointPageCommand.js +16 -0
- package/dist-es/commands/ListPortalProductsCommand.js +16 -0
- package/dist-es/commands/ListPortalsCommand.js +16 -0
- package/dist-es/commands/ListProductPagesCommand.js +16 -0
- package/dist-es/commands/ListProductRestEndpointPagesCommand.js +16 -0
- package/dist-es/commands/PreviewPortalCommand.js +16 -0
- package/dist-es/commands/PublishPortalCommand.js +16 -0
- package/dist-es/commands/PutPortalProductSharingPolicyCommand.js +16 -0
- package/dist-es/commands/UpdatePortalCommand.js +16 -0
- package/dist-es/commands/UpdatePortalProductCommand.js +16 -0
- package/dist-es/commands/UpdateProductPageCommand.js +16 -0
- package/dist-es/commands/UpdateProductRestEndpointPageCommand.js +16 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +97 -0
- package/dist-es/models/errors.js +75 -0
- package/dist-es/models/models_0.js +1 -152
- package/dist-es/schemas/schemas_0.js +4211 -1758
- package/dist-types/ApiGatewayV2.d.ts +184 -0
- package/dist-types/ApiGatewayV2Client.d.ts +28 -2
- package/dist-types/commands/CreatePortalCommand.d.ts +164 -0
- package/dist-types/commands/CreatePortalProductCommand.d.ts +107 -0
- package/dist-types/commands/CreateProductPageCommand.d.ts +95 -0
- package/dist-types/commands/CreateProductRestEndpointPageCommand.d.ts +123 -0
- package/dist-types/commands/DeletePortalCommand.d.ts +80 -0
- package/dist-types/commands/DeletePortalProductCommand.d.ts +83 -0
- package/dist-types/commands/DeletePortalProductSharingPolicyCommand.d.ts +83 -0
- package/dist-types/commands/DeleteProductPageCommand.d.ts +84 -0
- package/dist-types/commands/DeleteProductRestEndpointPageCommand.d.ts +84 -0
- package/dist-types/commands/DisablePortalCommand.d.ts +86 -0
- package/dist-types/commands/GetPortalCommand.d.ts +138 -0
- package/dist-types/commands/GetPortalProductCommand.d.ts +107 -0
- package/dist-types/commands/GetPortalProductSharingPolicyCommand.d.ts +86 -0
- package/dist-types/commands/GetProductPageCommand.d.ts +93 -0
- package/dist-types/commands/GetProductRestEndpointPageCommand.d.ts +110 -0
- package/dist-types/commands/ListPortalProductsCommand.d.ts +96 -0
- package/dist-types/commands/ListPortalsCommand.d.ts +141 -0
- package/dist-types/commands/ListProductPagesCommand.d.ts +96 -0
- package/dist-types/commands/ListProductRestEndpointPagesCommand.d.ts +111 -0
- package/dist-types/commands/PreviewPortalCommand.d.ts +86 -0
- package/dist-types/commands/PublishPortalCommand.d.ts +87 -0
- package/dist-types/commands/PutPortalProductSharingPolicyCommand.d.ts +84 -0
- package/dist-types/commands/UpdatePortalCommand.d.ts +176 -0
- package/dist-types/commands/UpdatePortalProductCommand.d.ts +122 -0
- package/dist-types/commands/UpdateProductPageCommand.d.ts +96 -0
- package/dist-types/commands/UpdateProductRestEndpointPageCommand.d.ts +116 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +257 -0
- package/dist-types/models/errors.d.ts +92 -0
- package/dist-types/models/models_0.d.ts +2564 -1172
- package/dist-types/schemas/schemas_0.d.ts +101 -0
- package/dist-types/ts3.4/ApiGatewayV2.d.ts +444 -0
- package/dist-types/ts3.4/ApiGatewayV2Client.d.ts +156 -0
- package/dist-types/ts3.4/commands/CreatePortalCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreatePortalProductCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateProductPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateProductRestEndpointPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeletePortalCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeletePortalProductCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeletePortalProductSharingPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteProductPageCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteProductRestEndpointPageCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DisablePortalCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetPortalCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetPortalProductCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetPortalProductSharingPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetProductPageCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetProductRestEndpointPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPortalProductsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPortalsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListProductPagesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListProductRestEndpointPagesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PreviewPortalCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PublishPortalCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutPortalProductSharingPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdatePortalCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdatePortalProductCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateProductPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateProductRestEndpointPageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +127 -0
- package/dist-types/ts3.4/models/errors.d.ts +40 -0
- package/dist-types/ts3.4/models/models_0.d.ts +417 -142
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +101 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,116 @@
|
|
|
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 { UpdateProductRestEndpointPageRequest, UpdateProductRestEndpointPageResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateProductRestEndpointPageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateProductRestEndpointPageCommandInput extends UpdateProductRestEndpointPageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateProductRestEndpointPageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateProductRestEndpointPageCommandOutput extends UpdateProductRestEndpointPageResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateProductRestEndpointPageCommand_base: {
|
|
25
|
+
new (input: UpdateProductRestEndpointPageCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProductRestEndpointPageCommandInput, UpdateProductRestEndpointPageCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateProductRestEndpointPageCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProductRestEndpointPageCommandInput, UpdateProductRestEndpointPageCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates a product REST endpoint page.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ApiGatewayV2Client, UpdateProductRestEndpointPageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
35
|
+
* // const { ApiGatewayV2Client, UpdateProductRestEndpointPageCommand } = 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 = { // UpdateProductRestEndpointPageRequest
|
|
40
|
+
* DisplayContent: { // EndpointDisplayContent
|
|
41
|
+
* None: {},
|
|
42
|
+
* Overrides: { // DisplayContentOverrides
|
|
43
|
+
* Body: "STRING_VALUE",
|
|
44
|
+
* Endpoint: "STRING_VALUE",
|
|
45
|
+
* OperationName: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* PortalProductId: "STRING_VALUE", // required
|
|
49
|
+
* ProductRestEndpointPageId: "STRING_VALUE", // required
|
|
50
|
+
* TryItState: "ENABLED" || "DISABLED",
|
|
51
|
+
* };
|
|
52
|
+
* const command = new UpdateProductRestEndpointPageCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // UpdateProductRestEndpointPageResponse
|
|
55
|
+
* // DisplayContent: { // EndpointDisplayContentResponse
|
|
56
|
+
* // Body: "STRING_VALUE",
|
|
57
|
+
* // Endpoint: "STRING_VALUE", // required
|
|
58
|
+
* // OperationName: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // LastModified: new Date("TIMESTAMP"),
|
|
61
|
+
* // ProductRestEndpointPageArn: "STRING_VALUE",
|
|
62
|
+
* // ProductRestEndpointPageId: "STRING_VALUE",
|
|
63
|
+
* // RestEndpointIdentifier: { // RestEndpointIdentifier
|
|
64
|
+
* // IdentifierParts: { // IdentifierParts
|
|
65
|
+
* // Method: "STRING_VALUE", // required
|
|
66
|
+
* // Path: "STRING_VALUE", // required
|
|
67
|
+
* // RestApiId: "STRING_VALUE", // required
|
|
68
|
+
* // Stage: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // Status: "AVAILABLE" || "IN_PROGRESS" || "FAILED",
|
|
72
|
+
* // StatusException: { // StatusException
|
|
73
|
+
* // Exception: "STRING_VALUE",
|
|
74
|
+
* // Message: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // TryItState: "ENABLED" || "DISABLED",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param UpdateProductRestEndpointPageCommandInput - {@link UpdateProductRestEndpointPageCommandInput}
|
|
82
|
+
* @returns {@link UpdateProductRestEndpointPageCommandOutput}
|
|
83
|
+
* @see {@link UpdateProductRestEndpointPageCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link UpdateProductRestEndpointPageCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link BadRequestException} (client fault)
|
|
90
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link NotFoundException} (client fault)
|
|
93
|
+
* <p>The resource specified in the request was not found. See the message field for more information.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
96
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ApiGatewayV2ServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
|
|
100
|
+
*
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class UpdateProductRestEndpointPageCommand extends UpdateProductRestEndpointPageCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: UpdateProductRestEndpointPageRequest;
|
|
109
|
+
output: UpdateProductRestEndpointPageResponse;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: UpdateProductRestEndpointPageCommandInput;
|
|
113
|
+
output: UpdateProductRestEndpointPageCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -6,6 +6,10 @@ export * from "./CreateDomainNameCommand";
|
|
|
6
6
|
export * from "./CreateIntegrationCommand";
|
|
7
7
|
export * from "./CreateIntegrationResponseCommand";
|
|
8
8
|
export * from "./CreateModelCommand";
|
|
9
|
+
export * from "./CreatePortalCommand";
|
|
10
|
+
export * from "./CreatePortalProductCommand";
|
|
11
|
+
export * from "./CreateProductPageCommand";
|
|
12
|
+
export * from "./CreateProductRestEndpointPageCommand";
|
|
9
13
|
export * from "./CreateRouteCommand";
|
|
10
14
|
export * from "./CreateRouteResponseCommand";
|
|
11
15
|
export * from "./CreateRoutingRuleCommand";
|
|
@@ -21,6 +25,11 @@ export * from "./DeleteDomainNameCommand";
|
|
|
21
25
|
export * from "./DeleteIntegrationCommand";
|
|
22
26
|
export * from "./DeleteIntegrationResponseCommand";
|
|
23
27
|
export * from "./DeleteModelCommand";
|
|
28
|
+
export * from "./DeletePortalCommand";
|
|
29
|
+
export * from "./DeletePortalProductCommand";
|
|
30
|
+
export * from "./DeletePortalProductSharingPolicyCommand";
|
|
31
|
+
export * from "./DeleteProductPageCommand";
|
|
32
|
+
export * from "./DeleteProductRestEndpointPageCommand";
|
|
24
33
|
export * from "./DeleteRouteCommand";
|
|
25
34
|
export * from "./DeleteRouteRequestParameterCommand";
|
|
26
35
|
export * from "./DeleteRouteResponseCommand";
|
|
@@ -28,6 +37,7 @@ export * from "./DeleteRouteSettingsCommand";
|
|
|
28
37
|
export * from "./DeleteRoutingRuleCommand";
|
|
29
38
|
export * from "./DeleteStageCommand";
|
|
30
39
|
export * from "./DeleteVpcLinkCommand";
|
|
40
|
+
export * from "./DisablePortalCommand";
|
|
31
41
|
export * from "./ExportApiCommand";
|
|
32
42
|
export * from "./GetApiCommand";
|
|
33
43
|
export * from "./GetApiMappingCommand";
|
|
@@ -46,6 +56,11 @@ export * from "./GetIntegrationsCommand";
|
|
|
46
56
|
export * from "./GetModelCommand";
|
|
47
57
|
export * from "./GetModelTemplateCommand";
|
|
48
58
|
export * from "./GetModelsCommand";
|
|
59
|
+
export * from "./GetPortalCommand";
|
|
60
|
+
export * from "./GetPortalProductCommand";
|
|
61
|
+
export * from "./GetPortalProductSharingPolicyCommand";
|
|
62
|
+
export * from "./GetProductPageCommand";
|
|
63
|
+
export * from "./GetProductRestEndpointPageCommand";
|
|
49
64
|
export * from "./GetRouteCommand";
|
|
50
65
|
export * from "./GetRouteResponseCommand";
|
|
51
66
|
export * from "./GetRouteResponsesCommand";
|
|
@@ -57,7 +72,14 @@ export * from "./GetTagsCommand";
|
|
|
57
72
|
export * from "./GetVpcLinkCommand";
|
|
58
73
|
export * from "./GetVpcLinksCommand";
|
|
59
74
|
export * from "./ImportApiCommand";
|
|
75
|
+
export * from "./ListPortalProductsCommand";
|
|
76
|
+
export * from "./ListPortalsCommand";
|
|
77
|
+
export * from "./ListProductPagesCommand";
|
|
78
|
+
export * from "./ListProductRestEndpointPagesCommand";
|
|
60
79
|
export * from "./ListRoutingRulesCommand";
|
|
80
|
+
export * from "./PreviewPortalCommand";
|
|
81
|
+
export * from "./PublishPortalCommand";
|
|
82
|
+
export * from "./PutPortalProductSharingPolicyCommand";
|
|
61
83
|
export * from "./PutRoutingRuleCommand";
|
|
62
84
|
export * from "./ReimportApiCommand";
|
|
63
85
|
export * from "./ResetAuthorizersCacheCommand";
|
|
@@ -71,6 +93,10 @@ export * from "./UpdateDomainNameCommand";
|
|
|
71
93
|
export * from "./UpdateIntegrationCommand";
|
|
72
94
|
export * from "./UpdateIntegrationResponseCommand";
|
|
73
95
|
export * from "./UpdateModelCommand";
|
|
96
|
+
export * from "./UpdatePortalCommand";
|
|
97
|
+
export * from "./UpdatePortalProductCommand";
|
|
98
|
+
export * from "./UpdateProductPageCommand";
|
|
99
|
+
export * from "./UpdateProductRestEndpointPageCommand";
|
|
74
100
|
export * from "./UpdateRouteCommand";
|
|
75
101
|
export * from "./UpdateRouteResponseCommand";
|
|
76
102
|
export * from "./UpdateStageCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { ApiGatewayV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { ApiGatewayV2ServiceException } from "./models/ApiGatewayV2ServiceException";
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const IpAddressType: {
|
|
6
|
+
readonly dualstack: "dualstack";
|
|
7
|
+
readonly ipv4: "ipv4";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const ProtocolType: {
|
|
18
|
+
readonly HTTP: "HTTP";
|
|
19
|
+
readonly WEBSOCKET: "WEBSOCKET";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type ProtocolType = (typeof ProtocolType)[keyof typeof ProtocolType];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const AuthorizerType: {
|
|
30
|
+
readonly JWT: "JWT";
|
|
31
|
+
readonly REQUEST: "REQUEST";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type AuthorizerType = (typeof AuthorizerType)[keyof typeof AuthorizerType];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const DeploymentStatus: {
|
|
42
|
+
readonly DEPLOYED: "DEPLOYED";
|
|
43
|
+
readonly FAILED: "FAILED";
|
|
44
|
+
readonly PENDING: "PENDING";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type DeploymentStatus = (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* @enum
|
|
53
|
+
*/
|
|
54
|
+
export declare const DomainNameStatus: {
|
|
55
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
56
|
+
readonly PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT";
|
|
57
|
+
readonly PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION";
|
|
58
|
+
readonly UPDATING: "UPDATING";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export type DomainNameStatus = (typeof DomainNameStatus)[keyof typeof DomainNameStatus];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const EndpointType: {
|
|
69
|
+
readonly EDGE: "EDGE";
|
|
70
|
+
readonly REGIONAL: "REGIONAL";
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* @enum
|
|
79
|
+
*/
|
|
80
|
+
export declare const SecurityPolicy: {
|
|
81
|
+
readonly TLS_1_0: "TLS_1_0";
|
|
82
|
+
readonly TLS_1_2: "TLS_1_2";
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export type SecurityPolicy = (typeof SecurityPolicy)[keyof typeof SecurityPolicy];
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* @enum
|
|
91
|
+
*/
|
|
92
|
+
export declare const RoutingMode: {
|
|
93
|
+
readonly API_MAPPING_ONLY: "API_MAPPING_ONLY";
|
|
94
|
+
readonly ROUTING_RULE_ONLY: "ROUTING_RULE_ONLY";
|
|
95
|
+
readonly ROUTING_RULE_THEN_API_MAPPING: "ROUTING_RULE_THEN_API_MAPPING";
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export type RoutingMode = (typeof RoutingMode)[keyof typeof RoutingMode];
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* @enum
|
|
104
|
+
*/
|
|
105
|
+
export declare const ConnectionType: {
|
|
106
|
+
readonly INTERNET: "INTERNET";
|
|
107
|
+
readonly VPC_LINK: "VPC_LINK";
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
* @enum
|
|
116
|
+
*/
|
|
117
|
+
export declare const ContentHandlingStrategy: {
|
|
118
|
+
readonly CONVERT_TO_BINARY: "CONVERT_TO_BINARY";
|
|
119
|
+
readonly CONVERT_TO_TEXT: "CONVERT_TO_TEXT";
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export type ContentHandlingStrategy = (typeof ContentHandlingStrategy)[keyof typeof ContentHandlingStrategy];
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
* @enum
|
|
128
|
+
*/
|
|
129
|
+
export declare const IntegrationType: {
|
|
130
|
+
readonly AWS: "AWS";
|
|
131
|
+
readonly AWS_PROXY: "AWS_PROXY";
|
|
132
|
+
readonly HTTP: "HTTP";
|
|
133
|
+
readonly HTTP_PROXY: "HTTP_PROXY";
|
|
134
|
+
readonly MOCK: "MOCK";
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
* @enum
|
|
143
|
+
*/
|
|
144
|
+
export declare const PassthroughBehavior: {
|
|
145
|
+
readonly NEVER: "NEVER";
|
|
146
|
+
readonly WHEN_NO_MATCH: "WHEN_NO_MATCH";
|
|
147
|
+
readonly WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES";
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
*/
|
|
152
|
+
export type PassthroughBehavior = (typeof PassthroughBehavior)[keyof typeof PassthroughBehavior];
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
* @enum
|
|
156
|
+
*/
|
|
157
|
+
export declare const PreviewStatus: {
|
|
158
|
+
readonly PREVIEW_FAILED: "PREVIEW_FAILED";
|
|
159
|
+
readonly PREVIEW_IN_PROGRESS: "PREVIEW_IN_PROGRESS";
|
|
160
|
+
readonly PREVIEW_READY: "PREVIEW_READY";
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
export type PreviewStatus = (typeof PreviewStatus)[keyof typeof PreviewStatus];
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
* @enum
|
|
169
|
+
*/
|
|
170
|
+
export declare const PublishStatus: {
|
|
171
|
+
readonly DISABLED: "DISABLED";
|
|
172
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
173
|
+
readonly PUBLISH_FAILED: "PUBLISH_FAILED";
|
|
174
|
+
readonly PUBLISH_IN_PROGRESS: "PUBLISH_IN_PROGRESS";
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export type PublishStatus = (typeof PublishStatus)[keyof typeof PublishStatus];
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* @enum
|
|
183
|
+
*/
|
|
184
|
+
export declare const Status: {
|
|
185
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
186
|
+
readonly FAILED: "FAILED";
|
|
187
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
* @enum
|
|
196
|
+
*/
|
|
197
|
+
export declare const TryItState: {
|
|
198
|
+
readonly DISABLED: "DISABLED";
|
|
199
|
+
readonly ENABLED: "ENABLED";
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
204
|
+
export type TryItState = (typeof TryItState)[keyof typeof TryItState];
|
|
205
|
+
/**
|
|
206
|
+
* @public
|
|
207
|
+
* @enum
|
|
208
|
+
*/
|
|
209
|
+
export declare const AuthorizationType: {
|
|
210
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
211
|
+
readonly CUSTOM: "CUSTOM";
|
|
212
|
+
readonly JWT: "JWT";
|
|
213
|
+
readonly NONE: "NONE";
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* @public
|
|
217
|
+
*/
|
|
218
|
+
export type AuthorizationType = (typeof AuthorizationType)[keyof typeof AuthorizationType];
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
* @enum
|
|
222
|
+
*/
|
|
223
|
+
export declare const LoggingLevel: {
|
|
224
|
+
readonly ERROR: "ERROR";
|
|
225
|
+
readonly INFO: "INFO";
|
|
226
|
+
readonly OFF: "OFF";
|
|
227
|
+
};
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
* @enum
|
|
235
|
+
*/
|
|
236
|
+
export declare const VpcLinkStatus: {
|
|
237
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
238
|
+
readonly DELETING: "DELETING";
|
|
239
|
+
readonly FAILED: "FAILED";
|
|
240
|
+
readonly INACTIVE: "INACTIVE";
|
|
241
|
+
readonly PENDING: "PENDING";
|
|
242
|
+
};
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
* @enum
|
|
250
|
+
*/
|
|
251
|
+
export declare const VpcLinkVersion: {
|
|
252
|
+
readonly V2: "V2";
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
export type VpcLinkVersion = (typeof VpcLinkVersion)[keyof typeof VpcLinkVersion];
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ApiGatewayV2ServiceException as __BaseException } from "./ApiGatewayV2ServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
Message?: string | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class BadRequestException extends __BaseException {
|
|
20
|
+
readonly name: "BadRequestException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* <p>Describes the error encountered.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
Message?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* @internal
|
|
29
|
+
*/
|
|
30
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request. See the accompanying error message for details.</p>
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare class ConflictException extends __BaseException {
|
|
37
|
+
readonly name: "ConflictException";
|
|
38
|
+
readonly $fault: "client";
|
|
39
|
+
/**
|
|
40
|
+
* <p>Describes the error encountered.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
Message?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* <p>The resource specified in the request was not found. See the message field for more information.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export declare class NotFoundException extends __BaseException {
|
|
54
|
+
readonly name: "NotFoundException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
/**
|
|
57
|
+
* <p>Describes the error encountered.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
Message?: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The resource type.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
ResourceType?: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
76
|
+
readonly name: "TooManyRequestsException";
|
|
77
|
+
readonly $fault: "client";
|
|
78
|
+
/**
|
|
79
|
+
* <p>The limit type.</p>
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
LimitType?: string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* <p>Describes the error encountered.</p>
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
Message?: string | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
92
|
+
}
|