@aws-sdk/client-kafka 3.321.1 → 3.322.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 +72 -0
- package/dist-cjs/Kafka.js +18 -0
- package/dist-cjs/commands/CreateVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/DeleteClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/DeleteVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/DescribeVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/GetClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/ListClientVpcConnectionsCommand.js +45 -0
- package/dist-cjs/commands/ListVpcConnectionsCommand.js +45 -0
- package/dist-cjs/commands/PutClusterPolicyCommand.js +45 -0
- package/dist-cjs/commands/RejectClientVpcConnectionCommand.js +45 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/pagination/ListClientVpcConnectionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListVpcConnectionsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +769 -48
- package/dist-es/Kafka.js +18 -0
- package/dist-es/commands/CreateVpcConnectionCommand.js +41 -0
- package/dist-es/commands/DeleteClusterPolicyCommand.js +41 -0
- package/dist-es/commands/DeleteVpcConnectionCommand.js +41 -0
- package/dist-es/commands/DescribeVpcConnectionCommand.js +41 -0
- package/dist-es/commands/GetClusterPolicyCommand.js +41 -0
- package/dist-es/commands/ListClientVpcConnectionsCommand.js +41 -0
- package/dist-es/commands/ListVpcConnectionsCommand.js +41 -0
- package/dist-es/commands/PutClusterPolicyCommand.js +41 -0
- package/dist-es/commands/RejectClientVpcConnectionCommand.js +41 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +14 -0
- package/dist-es/pagination/ListClientVpcConnectionsPaginator.js +25 -0
- package/dist-es/pagination/ListVpcConnectionsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +747 -44
- package/dist-types/Kafka.d.ts +63 -0
- package/dist-types/KafkaClient.d.ts +11 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +18 -0
- package/dist-types/commands/CreateClusterV2Command.d.ts +19 -3
- package/dist-types/commands/CreateVpcConnectionCommand.d.ts +92 -0
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +75 -0
- package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +75 -0
- package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +81 -0
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +75 -0
- package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +80 -0
- package/dist-types/commands/ListVpcConnectionsCommand.d.ts +79 -0
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +74 -0
- package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +79 -0
- package/dist-types/commands/UpdateConnectivityCommand.d.ts +15 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +492 -0
- package/dist-types/pagination/ListClientVpcConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVpcConnectionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Kafka.d.ts +153 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +149 -0
- package/dist-types/ts3.4/pagination/ListClientVpcConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVpcConnectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +1 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
5
|
+
import { GetClusterPolicyRequest, GetClusterPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetClusterPolicyCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetClusterPolicyCommandInput extends GetClusterPolicyRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetClusterPolicyCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetClusterPolicyCommandOutput extends GetClusterPolicyResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Get the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { KafkaClient, GetClusterPolicyCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
27
|
+
* // const { KafkaClient, GetClusterPolicyCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
28
|
+
* const client = new KafkaClient(config);
|
|
29
|
+
* const input = { // GetClusterPolicyRequest
|
|
30
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new GetClusterPolicyCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param GetClusterPolicyCommandInput - {@link GetClusterPolicyCommandInput}
|
|
37
|
+
* @returns {@link GetClusterPolicyCommandOutput}
|
|
38
|
+
* @see {@link GetClusterPolicyCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link GetClusterPolicyCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link BadRequestException} (client fault)
|
|
43
|
+
* <p>Returns information about an error.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
46
|
+
* <p>Returns information about an error.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
49
|
+
* <p>Returns information about an error.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link NotFoundException} (client fault)
|
|
52
|
+
* <p>Returns information about an error.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
*/
|
|
56
|
+
export declare class GetClusterPolicyCommand extends $Command<GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput, KafkaClientResolvedConfig> {
|
|
57
|
+
readonly input: GetClusterPolicyCommandInput;
|
|
58
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
constructor(input: GetClusterPolicyCommandInput);
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetClusterPolicyCommandInput, GetClusterPolicyCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
private deserialize;
|
|
75
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
5
|
+
import { ListClientVpcConnectionsRequest, ListClientVpcConnectionsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link ListClientVpcConnectionsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListClientVpcConnectionsCommandInput extends ListClientVpcConnectionsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link ListClientVpcConnectionsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListClientVpcConnectionsCommandOutput extends ListClientVpcConnectionsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Returns a list of all the VPC connections in this Region.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { KafkaClient, ListClientVpcConnectionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
27
|
+
* // const { KafkaClient, ListClientVpcConnectionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
28
|
+
* const client = new KafkaClient(config);
|
|
29
|
+
* const input = { // ListClientVpcConnectionsRequest
|
|
30
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
34
|
+
* const command = new ListClientVpcConnectionsCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param ListClientVpcConnectionsCommandInput - {@link ListClientVpcConnectionsCommandInput}
|
|
39
|
+
* @returns {@link ListClientVpcConnectionsCommandOutput}
|
|
40
|
+
* @see {@link ListClientVpcConnectionsCommandInput} for command's `input` shape.
|
|
41
|
+
* @see {@link ListClientVpcConnectionsCommandOutput} for command's `response` shape.
|
|
42
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link BadRequestException} (client fault)
|
|
45
|
+
* <p>Returns information about an error.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
48
|
+
* <p>Returns information about an error.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
51
|
+
* <p>Returns information about an error.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
54
|
+
* <p>Returns information about an error.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
57
|
+
* <p>Returns information about an error.</p>
|
|
58
|
+
*
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
export declare class ListClientVpcConnectionsCommand extends $Command<ListClientVpcConnectionsCommandInput, ListClientVpcConnectionsCommandOutput, KafkaClientResolvedConfig> {
|
|
62
|
+
readonly input: ListClientVpcConnectionsCommandInput;
|
|
63
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
constructor(input: ListClientVpcConnectionsCommandInput);
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListClientVpcConnectionsCommandInput, ListClientVpcConnectionsCommandOutput>;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
private serialize;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
private deserialize;
|
|
80
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
5
|
+
import { ListVpcConnectionsRequest, ListVpcConnectionsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link ListVpcConnectionsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListVpcConnectionsCommandInput extends ListVpcConnectionsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link ListVpcConnectionsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListVpcConnectionsCommandOutput extends ListVpcConnectionsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Returns a list of all the VPC connections in this Region.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { KafkaClient, ListVpcConnectionsCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
27
|
+
* // const { KafkaClient, ListVpcConnectionsCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
28
|
+
* const client = new KafkaClient(config);
|
|
29
|
+
* const input = { // ListVpcConnectionsRequest
|
|
30
|
+
* MaxResults: Number("int"),
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* };
|
|
33
|
+
* const command = new ListVpcConnectionsCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param ListVpcConnectionsCommandInput - {@link ListVpcConnectionsCommandInput}
|
|
38
|
+
* @returns {@link ListVpcConnectionsCommandOutput}
|
|
39
|
+
* @see {@link ListVpcConnectionsCommandInput} for command's `input` shape.
|
|
40
|
+
* @see {@link ListVpcConnectionsCommandOutput} for command's `response` shape.
|
|
41
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link BadRequestException} (client fault)
|
|
44
|
+
* <p>Returns information about an error.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
47
|
+
* <p>Returns information about an error.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
50
|
+
* <p>Returns information about an error.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
53
|
+
* <p>Returns information about an error.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
56
|
+
* <p>Returns information about an error.</p>
|
|
57
|
+
*
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export declare class ListVpcConnectionsCommand extends $Command<ListVpcConnectionsCommandInput, ListVpcConnectionsCommandOutput, KafkaClientResolvedConfig> {
|
|
61
|
+
readonly input: ListVpcConnectionsCommandInput;
|
|
62
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
constructor(input: ListVpcConnectionsCommandInput);
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListVpcConnectionsCommandInput, ListVpcConnectionsCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
private serialize;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
private deserialize;
|
|
79
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
5
|
+
import { PutClusterPolicyRequest, PutClusterPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link PutClusterPolicyCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface PutClusterPolicyCommandInput extends PutClusterPolicyRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link PutClusterPolicyCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface PutClusterPolicyCommandOutput extends PutClusterPolicyResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Creates or updates the MSK cluster policy specified by the cluster Amazon Resource Name (ARN) in the request.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { KafkaClient, PutClusterPolicyCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
27
|
+
* // const { KafkaClient, PutClusterPolicyCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
28
|
+
* const client = new KafkaClient(config);
|
|
29
|
+
* const input = { // PutClusterPolicyRequest
|
|
30
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
31
|
+
* CurrentVersion: "STRING_VALUE",
|
|
32
|
+
* Policy: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
34
|
+
* const command = new PutClusterPolicyCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* @param PutClusterPolicyCommandInput - {@link PutClusterPolicyCommandInput}
|
|
39
|
+
* @returns {@link PutClusterPolicyCommandOutput}
|
|
40
|
+
* @see {@link PutClusterPolicyCommandInput} for command's `input` shape.
|
|
41
|
+
* @see {@link PutClusterPolicyCommandOutput} for command's `response` shape.
|
|
42
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link BadRequestException} (client fault)
|
|
45
|
+
* <p>Returns information about an error.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
48
|
+
* <p>Returns information about an error.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
51
|
+
* <p>Returns information about an error.</p>
|
|
52
|
+
*
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
export declare class PutClusterPolicyCommand extends $Command<PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput, KafkaClientResolvedConfig> {
|
|
56
|
+
readonly input: PutClusterPolicyCommandInput;
|
|
57
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
constructor(input: PutClusterPolicyCommandInput);
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutClusterPolicyCommandInput, PutClusterPolicyCommandOutput>;
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
private serialize;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
private deserialize;
|
|
74
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
5
|
+
import { RejectClientVpcConnectionRequest, RejectClientVpcConnectionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link RejectClientVpcConnectionCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface RejectClientVpcConnectionCommandInput extends RejectClientVpcConnectionRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link RejectClientVpcConnectionCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface RejectClientVpcConnectionCommandOutput extends RejectClientVpcConnectionResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Returns empty response.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { KafkaClient, RejectClientVpcConnectionCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
27
|
+
* // const { KafkaClient, RejectClientVpcConnectionCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
28
|
+
* const client = new KafkaClient(config);
|
|
29
|
+
* const input = { // RejectClientVpcConnectionRequest
|
|
30
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
31
|
+
* VpcConnectionArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
33
|
+
* const command = new RejectClientVpcConnectionCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param RejectClientVpcConnectionCommandInput - {@link RejectClientVpcConnectionCommandInput}
|
|
38
|
+
* @returns {@link RejectClientVpcConnectionCommandOutput}
|
|
39
|
+
* @see {@link RejectClientVpcConnectionCommandInput} for command's `input` shape.
|
|
40
|
+
* @see {@link RejectClientVpcConnectionCommandOutput} for command's `response` shape.
|
|
41
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link BadRequestException} (client fault)
|
|
44
|
+
* <p>Returns information about an error.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
47
|
+
* <p>Returns information about an error.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
50
|
+
* <p>Returns information about an error.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
53
|
+
* <p>Returns information about an error.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
56
|
+
* <p>Returns information about an error.</p>
|
|
57
|
+
*
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
export declare class RejectClientVpcConnectionCommand extends $Command<RejectClientVpcConnectionCommandInput, RejectClientVpcConnectionCommandOutput, KafkaClientResolvedConfig> {
|
|
61
|
+
readonly input: RejectClientVpcConnectionCommandInput;
|
|
62
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
constructor(input: RejectClientVpcConnectionCommandInput);
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RejectClientVpcConnectionCommandInput, RejectClientVpcConnectionCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
private serialize;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
private deserialize;
|
|
79
|
+
}
|
|
@@ -32,6 +32,21 @@ export interface UpdateConnectivityCommandOutput extends UpdateConnectivityRespo
|
|
|
32
32
|
* PublicAccess: { // PublicAccess
|
|
33
33
|
* Type: "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
|
+
* VpcConnectivity: { // VpcConnectivity
|
|
36
|
+
* ClientAuthentication: { // VpcConnectivityClientAuthentication
|
|
37
|
+
* Sasl: { // VpcConnectivitySasl
|
|
38
|
+
* Scram: { // VpcConnectivityScram
|
|
39
|
+
* Enabled: true || false,
|
|
40
|
+
* },
|
|
41
|
+
* Iam: { // VpcConnectivityIam
|
|
42
|
+
* Enabled: true || false,
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* Tls: { // VpcConnectivityTls
|
|
46
|
+
* Enabled: true || false,
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
35
50
|
* },
|
|
36
51
|
* CurrentVersion: "STRING_VALUE", // required
|
|
37
52
|
* };
|
|
@@ -3,15 +3,21 @@ export * from "./BatchDisassociateScramSecretCommand";
|
|
|
3
3
|
export * from "./CreateClusterCommand";
|
|
4
4
|
export * from "./CreateClusterV2Command";
|
|
5
5
|
export * from "./CreateConfigurationCommand";
|
|
6
|
+
export * from "./CreateVpcConnectionCommand";
|
|
6
7
|
export * from "./DeleteClusterCommand";
|
|
8
|
+
export * from "./DeleteClusterPolicyCommand";
|
|
7
9
|
export * from "./DeleteConfigurationCommand";
|
|
10
|
+
export * from "./DeleteVpcConnectionCommand";
|
|
8
11
|
export * from "./DescribeClusterCommand";
|
|
9
12
|
export * from "./DescribeClusterOperationCommand";
|
|
10
13
|
export * from "./DescribeClusterV2Command";
|
|
11
14
|
export * from "./DescribeConfigurationCommand";
|
|
12
15
|
export * from "./DescribeConfigurationRevisionCommand";
|
|
16
|
+
export * from "./DescribeVpcConnectionCommand";
|
|
13
17
|
export * from "./GetBootstrapBrokersCommand";
|
|
18
|
+
export * from "./GetClusterPolicyCommand";
|
|
14
19
|
export * from "./GetCompatibleKafkaVersionsCommand";
|
|
20
|
+
export * from "./ListClientVpcConnectionsCommand";
|
|
15
21
|
export * from "./ListClusterOperationsCommand";
|
|
16
22
|
export * from "./ListClustersCommand";
|
|
17
23
|
export * from "./ListClustersV2Command";
|
|
@@ -21,7 +27,10 @@ export * from "./ListKafkaVersionsCommand";
|
|
|
21
27
|
export * from "./ListNodesCommand";
|
|
22
28
|
export * from "./ListScramSecretsCommand";
|
|
23
29
|
export * from "./ListTagsForResourceCommand";
|
|
30
|
+
export * from "./ListVpcConnectionsCommand";
|
|
31
|
+
export * from "./PutClusterPolicyCommand";
|
|
24
32
|
export * from "./RebootBrokerCommand";
|
|
33
|
+
export * from "./RejectClientVpcConnectionCommand";
|
|
25
34
|
export * from "./TagResourceCommand";
|
|
26
35
|
export * from "./UntagResourceCommand";
|
|
27
36
|
export * from "./UpdateBrokerCountCommand";
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|