@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,107 @@
|
|
|
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 { CreatePortalProductRequest, CreatePortalProductResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreatePortalProductCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreatePortalProductCommandInput extends CreatePortalProductRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreatePortalProductCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreatePortalProductCommandOutput extends CreatePortalProductResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreatePortalProductCommand_base: {
|
|
25
|
+
new (input: CreatePortalProductCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePortalProductCommandInput, CreatePortalProductCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreatePortalProductCommandInput): import("@smithy/smithy-client").CommandImpl<CreatePortalProductCommandInput, CreatePortalProductCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new portal product.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ApiGatewayV2Client, CreatePortalProductCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
35
|
+
* // const { ApiGatewayV2Client, CreatePortalProductCommand } = 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 = { // CreatePortalProductRequest
|
|
40
|
+
* Description: "STRING_VALUE",
|
|
41
|
+
* DisplayName: "STRING_VALUE", // required
|
|
42
|
+
* Tags: { // Tags
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CreatePortalProductCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // CreatePortalProductResponse
|
|
49
|
+
* // Description: "STRING_VALUE",
|
|
50
|
+
* // DisplayName: "STRING_VALUE",
|
|
51
|
+
* // DisplayOrder: { // DisplayOrder
|
|
52
|
+
* // Contents: [ // __listOfSection
|
|
53
|
+
* // { // Section
|
|
54
|
+
* // ProductRestEndpointPageArns: [ // __listOf__stringMin20Max2048 // required
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // SectionName: "STRING_VALUE", // required
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // OverviewPageArn: "STRING_VALUE",
|
|
61
|
+
* // ProductPageArns: [
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // LastModified: new Date("TIMESTAMP"),
|
|
66
|
+
* // PortalProductArn: "STRING_VALUE",
|
|
67
|
+
* // PortalProductId: "STRING_VALUE",
|
|
68
|
+
* // Tags: { // Tags
|
|
69
|
+
* // "<keys>": "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param CreatePortalProductCommandInput - {@link CreatePortalProductCommandInput}
|
|
76
|
+
* @returns {@link CreatePortalProductCommandOutput}
|
|
77
|
+
* @see {@link CreatePortalProductCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link CreatePortalProductCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link BadRequestException} (client fault)
|
|
84
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
87
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ApiGatewayV2ServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
|
|
91
|
+
*
|
|
92
|
+
*
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
export declare class CreatePortalProductCommand extends CreatePortalProductCommand_base {
|
|
96
|
+
/** @internal type navigation helper, not in runtime. */
|
|
97
|
+
protected static __types: {
|
|
98
|
+
api: {
|
|
99
|
+
input: CreatePortalProductRequest;
|
|
100
|
+
output: CreatePortalProductResponse;
|
|
101
|
+
};
|
|
102
|
+
sdk: {
|
|
103
|
+
input: CreatePortalProductCommandInput;
|
|
104
|
+
output: CreatePortalProductCommandOutput;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
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 { CreateProductPageRequest, CreateProductPageResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateProductPageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateProductPageCommandInput extends CreateProductPageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateProductPageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateProductPageCommandOutput extends CreateProductPageResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateProductPageCommand_base: {
|
|
25
|
+
new (input: CreateProductPageCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProductPageCommandInput, CreateProductPageCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateProductPageCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProductPageCommandInput, CreateProductPageCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new product page for a portal product.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ApiGatewayV2Client, CreateProductPageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
35
|
+
* // const { ApiGatewayV2Client, CreateProductPageCommand } = 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 = { // CreateProductPageRequest
|
|
40
|
+
* DisplayContent: { // DisplayContent
|
|
41
|
+
* Body: "STRING_VALUE", // required
|
|
42
|
+
* Title: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* PortalProductId: "STRING_VALUE", // required
|
|
45
|
+
* };
|
|
46
|
+
* const command = new CreateProductPageCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // CreateProductPageResponse
|
|
49
|
+
* // DisplayContent: { // DisplayContent
|
|
50
|
+
* // Body: "STRING_VALUE", // required
|
|
51
|
+
* // Title: "STRING_VALUE", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // LastModified: new Date("TIMESTAMP"),
|
|
54
|
+
* // ProductPageArn: "STRING_VALUE",
|
|
55
|
+
* // ProductPageId: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param CreateProductPageCommandInput - {@link CreateProductPageCommandInput}
|
|
61
|
+
* @returns {@link CreateProductPageCommandOutput}
|
|
62
|
+
* @see {@link CreateProductPageCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link CreateProductPageCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link BadRequestException} (client fault)
|
|
69
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NotFoundException} (client fault)
|
|
72
|
+
* <p>The resource specified in the request was not found. See the message field for more information.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
75
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ApiGatewayV2ServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class CreateProductPageCommand extends CreateProductPageCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: CreateProductPageRequest;
|
|
88
|
+
output: CreateProductPageResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: CreateProductPageCommandInput;
|
|
92
|
+
output: CreateProductPageCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 { CreateProductRestEndpointPageRequest, CreateProductRestEndpointPageResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateProductRestEndpointPageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateProductRestEndpointPageCommandInput extends CreateProductRestEndpointPageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateProductRestEndpointPageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateProductRestEndpointPageCommandOutput extends CreateProductRestEndpointPageResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateProductRestEndpointPageCommand_base: {
|
|
25
|
+
new (input: CreateProductRestEndpointPageCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProductRestEndpointPageCommandInput, CreateProductRestEndpointPageCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateProductRestEndpointPageCommandInput): import("@smithy/smithy-client").CommandImpl<CreateProductRestEndpointPageCommandInput, CreateProductRestEndpointPageCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a product REST endpoint page for a portal product.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ApiGatewayV2Client, CreateProductRestEndpointPageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
35
|
+
* // const { ApiGatewayV2Client, CreateProductRestEndpointPageCommand } = 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 = { // CreateProductRestEndpointPageRequest
|
|
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
|
+
* RestEndpointIdentifier: { // RestEndpointIdentifier
|
|
50
|
+
* IdentifierParts: { // IdentifierParts
|
|
51
|
+
* Method: "STRING_VALUE", // required
|
|
52
|
+
* Path: "STRING_VALUE", // required
|
|
53
|
+
* RestApiId: "STRING_VALUE", // required
|
|
54
|
+
* Stage: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* TryItState: "ENABLED" || "DISABLED",
|
|
58
|
+
* };
|
|
59
|
+
* const command = new CreateProductRestEndpointPageCommand(input);
|
|
60
|
+
* const response = await client.send(command);
|
|
61
|
+
* // { // CreateProductRestEndpointPageResponse
|
|
62
|
+
* // DisplayContent: { // EndpointDisplayContentResponse
|
|
63
|
+
* // Body: "STRING_VALUE",
|
|
64
|
+
* // Endpoint: "STRING_VALUE", // required
|
|
65
|
+
* // OperationName: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // LastModified: new Date("TIMESTAMP"),
|
|
68
|
+
* // ProductRestEndpointPageArn: "STRING_VALUE",
|
|
69
|
+
* // ProductRestEndpointPageId: "STRING_VALUE",
|
|
70
|
+
* // RestEndpointIdentifier: { // RestEndpointIdentifier
|
|
71
|
+
* // IdentifierParts: { // IdentifierParts
|
|
72
|
+
* // Method: "STRING_VALUE", // required
|
|
73
|
+
* // Path: "STRING_VALUE", // required
|
|
74
|
+
* // RestApiId: "STRING_VALUE", // required
|
|
75
|
+
* // Stage: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // Status: "AVAILABLE" || "IN_PROGRESS" || "FAILED",
|
|
79
|
+
* // StatusException: { // StatusException
|
|
80
|
+
* // Exception: "STRING_VALUE",
|
|
81
|
+
* // Message: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // TryItState: "ENABLED" || "DISABLED",
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param CreateProductRestEndpointPageCommandInput - {@link CreateProductRestEndpointPageCommandInput}
|
|
89
|
+
* @returns {@link CreateProductRestEndpointPageCommandOutput}
|
|
90
|
+
* @see {@link CreateProductRestEndpointPageCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link CreateProductRestEndpointPageCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link BadRequestException} (client fault)
|
|
97
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link NotFoundException} (client fault)
|
|
100
|
+
* <p>The resource specified in the request was not found. See the message field for more information.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
103
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ApiGatewayV2ServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class CreateProductRestEndpointPageCommand extends CreateProductRestEndpointPageCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: CreateProductRestEndpointPageRequest;
|
|
116
|
+
output: CreateProductRestEndpointPageResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: CreateProductRestEndpointPageCommandInput;
|
|
120
|
+
output: CreateProductRestEndpointPageCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 { DeletePortalRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePortalCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePortalCommandInput extends DeletePortalRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePortalCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePortalCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePortalCommand_base: {
|
|
25
|
+
new (input: DeletePortalCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePortalCommandInput, DeletePortalCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePortalCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePortalCommandInput, DeletePortalCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes 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, DeletePortalCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
35
|
+
* // const { ApiGatewayV2Client, DeletePortalCommand } = 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 = { // DeletePortalRequest
|
|
40
|
+
* PortalId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeletePortalCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeletePortalCommandInput - {@link DeletePortalCommandInput}
|
|
49
|
+
* @returns {@link DeletePortalCommandOutput}
|
|
50
|
+
* @see {@link DeletePortalCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeletePortalCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link BadRequestException} (client fault)
|
|
57
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
60
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ApiGatewayV2ServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
|
|
64
|
+
*
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class DeletePortalCommand extends DeletePortalCommand_base {
|
|
69
|
+
/** @internal type navigation helper, not in runtime. */
|
|
70
|
+
protected static __types: {
|
|
71
|
+
api: {
|
|
72
|
+
input: DeletePortalRequest;
|
|
73
|
+
output: {};
|
|
74
|
+
};
|
|
75
|
+
sdk: {
|
|
76
|
+
input: DeletePortalCommandInput;
|
|
77
|
+
output: DeletePortalCommandOutput;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { DeletePortalProductRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePortalProductCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePortalProductCommandInput extends DeletePortalProductRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePortalProductCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePortalProductCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePortalProductCommand_base: {
|
|
25
|
+
new (input: DeletePortalProductCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePortalProductCommandInput, DeletePortalProductCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePortalProductCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePortalProductCommandInput, DeletePortalProductCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a portal product.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ApiGatewayV2Client, DeletePortalProductCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
35
|
+
* // const { ApiGatewayV2Client, DeletePortalProductCommand } = 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 = { // DeletePortalProductRequest
|
|
40
|
+
* PortalProductId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeletePortalProductCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeletePortalProductCommandInput - {@link DeletePortalProductCommandInput}
|
|
49
|
+
* @returns {@link DeletePortalProductCommandOutput}
|
|
50
|
+
* @see {@link DeletePortalProductCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeletePortalProductCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link BadRequestException} (client fault)
|
|
57
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link NotFoundException} (client fault)
|
|
60
|
+
* <p>The resource specified in the request was not found. See the message field for more information.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
63
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ApiGatewayV2ServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class DeletePortalProductCommand extends DeletePortalProductCommand_base {
|
|
72
|
+
/** @internal type navigation helper, not in runtime. */
|
|
73
|
+
protected static __types: {
|
|
74
|
+
api: {
|
|
75
|
+
input: DeletePortalProductRequest;
|
|
76
|
+
output: {};
|
|
77
|
+
};
|
|
78
|
+
sdk: {
|
|
79
|
+
input: DeletePortalProductCommandInput;
|
|
80
|
+
output: DeletePortalProductCommandOutput;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 { DeletePortalProductSharingPolicyRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeletePortalProductSharingPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeletePortalProductSharingPolicyCommandInput extends DeletePortalProductSharingPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeletePortalProductSharingPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeletePortalProductSharingPolicyCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeletePortalProductSharingPolicyCommand_base: {
|
|
25
|
+
new (input: DeletePortalProductSharingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePortalProductSharingPolicyCommandInput, DeletePortalProductSharingPolicyCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeletePortalProductSharingPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<DeletePortalProductSharingPolicyCommandInput, DeletePortalProductSharingPolicyCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the sharing policy for a portal product.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ApiGatewayV2Client, DeletePortalProductSharingPolicyCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
35
|
+
* // const { ApiGatewayV2Client, DeletePortalProductSharingPolicyCommand } = 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 = { // DeletePortalProductSharingPolicyRequest
|
|
40
|
+
* PortalProductId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeletePortalProductSharingPolicyCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeletePortalProductSharingPolicyCommandInput - {@link DeletePortalProductSharingPolicyCommandInput}
|
|
49
|
+
* @returns {@link DeletePortalProductSharingPolicyCommandOutput}
|
|
50
|
+
* @see {@link DeletePortalProductSharingPolicyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeletePortalProductSharingPolicyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link BadRequestException} (client fault)
|
|
57
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link NotFoundException} (client fault)
|
|
60
|
+
* <p>The resource specified in the request was not found. See the message field for more information.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
63
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ApiGatewayV2ServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare class DeletePortalProductSharingPolicyCommand extends DeletePortalProductSharingPolicyCommand_base {
|
|
72
|
+
/** @internal type navigation helper, not in runtime. */
|
|
73
|
+
protected static __types: {
|
|
74
|
+
api: {
|
|
75
|
+
input: DeletePortalProductSharingPolicyRequest;
|
|
76
|
+
output: {};
|
|
77
|
+
};
|
|
78
|
+
sdk: {
|
|
79
|
+
input: DeletePortalProductSharingPolicyCommandInput;
|
|
80
|
+
output: DeletePortalProductSharingPolicyCommandOutput;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 { DeleteProductPageRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteProductPageCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteProductPageCommandInput extends DeleteProductPageRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteProductPageCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteProductPageCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteProductPageCommand_base: {
|
|
25
|
+
new (input: DeleteProductPageCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProductPageCommandInput, DeleteProductPageCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteProductPageCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteProductPageCommandInput, DeleteProductPageCommandOutput, ApiGatewayV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a product page of a portal product.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { ApiGatewayV2Client, DeleteProductPageCommand } from "@aws-sdk/client-apigatewayv2"; // ES Modules import
|
|
35
|
+
* // const { ApiGatewayV2Client, DeleteProductPageCommand } = 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 = { // DeleteProductPageRequest
|
|
40
|
+
* PortalProductId: "STRING_VALUE", // required
|
|
41
|
+
* ProductPageId: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new DeleteProductPageCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param DeleteProductPageCommandInput - {@link DeleteProductPageCommandInput}
|
|
50
|
+
* @returns {@link DeleteProductPageCommandOutput}
|
|
51
|
+
* @see {@link DeleteProductPageCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link DeleteProductPageCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link ApiGatewayV2ClientResolvedConfig | config} for ApiGatewayV2Client's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BadRequestException} (client fault)
|
|
58
|
+
* <p>The request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link NotFoundException} (client fault)
|
|
61
|
+
* <p>The resource specified in the request was not found. See the message field for more information.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
64
|
+
* <p>A limit has been exceeded. See the accompanying error message for details.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ApiGatewayV2ServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from ApiGatewayV2 service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class DeleteProductPageCommand extends DeleteProductPageCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: DeleteProductPageRequest;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: DeleteProductPageCommandInput;
|
|
81
|
+
output: DeleteProductPageCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|