@aws-sdk/client-kafka 3.29.0 → 3.33.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/CHANGELOG.md +35 -0
- package/Kafka.ts +37 -0
- package/KafkaClient.ts +5 -2
- package/commands/UpdateSecurityCommand.ts +94 -0
- package/dist/cjs/Kafka.js +15 -0
- package/dist/cjs/Kafka.js.map +1 -1
- package/dist/cjs/KafkaClient.js +13 -13
- package/dist/cjs/KafkaClient.js.map +1 -1
- package/dist/cjs/commands/BatchAssociateScramSecretCommand.js +3 -3
- package/dist/cjs/commands/BatchAssociateScramSecretCommand.js.map +1 -1
- package/dist/cjs/commands/BatchDisassociateScramSecretCommand.js +3 -3
- package/dist/cjs/commands/BatchDisassociateScramSecretCommand.js.map +1 -1
- package/dist/cjs/commands/CreateClusterCommand.js +3 -3
- package/dist/cjs/commands/CreateClusterCommand.js.map +1 -1
- package/dist/cjs/commands/CreateConfigurationCommand.js +3 -3
- package/dist/cjs/commands/CreateConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist/cjs/commands/DeleteClusterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteConfigurationCommand.js +3 -3
- package/dist/cjs/commands/DeleteConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeClusterCommand.js +3 -3
- package/dist/cjs/commands/DescribeClusterCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeClusterOperationCommand.js +3 -3
- package/dist/cjs/commands/DescribeClusterOperationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeConfigurationCommand.js +3 -3
- package/dist/cjs/commands/DescribeConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeConfigurationRevisionCommand.js +3 -3
- package/dist/cjs/commands/DescribeConfigurationRevisionCommand.js.map +1 -1
- package/dist/cjs/commands/GetBootstrapBrokersCommand.js +3 -3
- package/dist/cjs/commands/GetBootstrapBrokersCommand.js.map +1 -1
- package/dist/cjs/commands/GetCompatibleKafkaVersionsCommand.js +3 -3
- package/dist/cjs/commands/GetCompatibleKafkaVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListClusterOperationsCommand.js +3 -3
- package/dist/cjs/commands/ListClusterOperationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListClustersCommand.js +3 -3
- package/dist/cjs/commands/ListClustersCommand.js.map +1 -1
- package/dist/cjs/commands/ListConfigurationRevisionsCommand.js +3 -3
- package/dist/cjs/commands/ListConfigurationRevisionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListConfigurationsCommand.js +3 -3
- package/dist/cjs/commands/ListConfigurationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListKafkaVersionsCommand.js +3 -3
- package/dist/cjs/commands/ListKafkaVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/ListNodesCommand.js +3 -3
- package/dist/cjs/commands/ListNodesCommand.js.map +1 -1
- package/dist/cjs/commands/ListScramSecretsCommand.js +3 -3
- package/dist/cjs/commands/ListScramSecretsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/RebootBrokerCommand.js +3 -3
- package/dist/cjs/commands/RebootBrokerCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBrokerCountCommand.js +3 -3
- package/dist/cjs/commands/UpdateBrokerCountCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBrokerStorageCommand.js +3 -3
- package/dist/cjs/commands/UpdateBrokerStorageCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBrokerTypeCommand.js +3 -3
- package/dist/cjs/commands/UpdateBrokerTypeCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateClusterConfigurationCommand.js +3 -3
- package/dist/cjs/commands/UpdateClusterConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateClusterKafkaVersionCommand.js +3 -3
- package/dist/cjs/commands/UpdateClusterKafkaVersionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateConfigurationCommand.js +3 -3
- package/dist/cjs/commands/UpdateConfigurationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMonitoringCommand.js +3 -3
- package/dist/cjs/commands/UpdateMonitoringCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateSecurityCommand.js +61 -0
- package/dist/cjs/commands/UpdateSecurityCommand.js.map +1 -0
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +42 -41
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/models/models_0.js +30 -3
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +373 -198
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/Kafka.js +15 -0
- package/dist/es/Kafka.js.map +1 -1
- package/dist/es/KafkaClient.js.map +1 -1
- package/dist/es/commands/UpdateSecurityCommand.js +65 -0
- package/dist/es/commands/UpdateSecurityCommand.js.map +1 -0
- package/dist/es/index.js +1 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/models_0.js +21 -0
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/ListClusterOperationsPaginator.js +4 -4
- package/dist/es/pagination/ListClusterOperationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListClustersPaginator.js +4 -4
- package/dist/es/pagination/ListClustersPaginator.js.map +1 -1
- package/dist/es/pagination/ListConfigurationRevisionsPaginator.js +4 -4
- package/dist/es/pagination/ListConfigurationRevisionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListConfigurationsPaginator.js +4 -4
- package/dist/es/pagination/ListConfigurationsPaginator.js.map +1 -1
- package/dist/es/pagination/ListKafkaVersionsPaginator.js +4 -4
- package/dist/es/pagination/ListKafkaVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListNodesPaginator.js +4 -4
- package/dist/es/pagination/ListNodesPaginator.js.map +1 -1
- package/dist/es/pagination/ListScramSecretsPaginator.js +4 -4
- package/dist/es/pagination/ListScramSecretsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +198 -12
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/types/Kafka.d.ts +7 -0
- package/dist/types/KafkaClient.d.ts +3 -2
- package/dist/types/commands/UpdateSecurityCommand.d.ts +35 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/models/models_0.d.ts +71 -0
- package/dist/types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist/types/ts3.4/Kafka.d.ts +7 -0
- package/dist/types/ts3.4/KafkaClient.d.ts +3 -2
- package/dist/types/ts3.4/commands/UpdateSecurityCommand.d.ts +35 -0
- package/dist/types/ts3.4/index.d.ts +1 -0
- package/dist/types/ts3.4/models/models_0.d.ts +71 -0
- package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/index.ts +1 -0
- package/models/models_0.ts +92 -0
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +202 -8
- package/tsconfig.json +1 -2
package/dist/types/Kafka.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationComma
|
|
|
29
29
|
import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "./commands/UpdateClusterKafkaVersionCommand";
|
|
30
30
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
31
31
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
|
|
32
|
+
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
|
|
32
33
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
33
34
|
/**
|
|
34
35
|
* <p>The operations for managing an Amazon MSK cluster.</p>
|
|
@@ -214,4 +215,10 @@ export declare class Kafka extends KafkaClient {
|
|
|
214
215
|
updateMonitoring(args: UpdateMonitoringCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMonitoringCommandOutput>;
|
|
215
216
|
updateMonitoring(args: UpdateMonitoringCommandInput, cb: (err: any, data?: UpdateMonitoringCommandOutput) => void): void;
|
|
216
217
|
updateMonitoring(args: UpdateMonitoringCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMonitoringCommandOutput) => void): void;
|
|
218
|
+
/**
|
|
219
|
+
* <p>Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.</p>
|
|
220
|
+
*/
|
|
221
|
+
updateSecurity(args: UpdateSecurityCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSecurityCommandOutput>;
|
|
222
|
+
updateSecurity(args: UpdateSecurityCommandInput, cb: (err: any, data?: UpdateSecurityCommandOutput) => void): void;
|
|
223
|
+
updateSecurity(args: UpdateSecurityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSecurityCommandOutput) => void): void;
|
|
217
224
|
}
|
|
@@ -28,6 +28,7 @@ import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationComma
|
|
|
28
28
|
import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "./commands/UpdateClusterKafkaVersionCommand";
|
|
29
29
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
30
30
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
|
|
31
|
+
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
|
|
31
32
|
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
32
33
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
33
34
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
@@ -36,8 +37,8 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
36
37
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
37
38
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
38
39
|
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
39
|
-
export declare type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateConfigurationCommandInput | DeleteClusterCommandInput | DeleteConfigurationCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | GetBootstrapBrokersCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClusterOperationsCommandInput | ListClustersCommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | RebootBrokerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateMonitoringCommandInput;
|
|
40
|
-
export declare type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateConfigurationCommandOutput | DeleteClusterCommandOutput | DeleteConfigurationCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | GetBootstrapBrokersCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClusterOperationsCommandOutput | ListClustersCommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | RebootBrokerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateMonitoringCommandOutput;
|
|
40
|
+
export declare type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateConfigurationCommandInput | DeleteClusterCommandInput | DeleteConfigurationCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | GetBootstrapBrokersCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClusterOperationsCommandInput | ListClustersCommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | RebootBrokerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateMonitoringCommandInput | UpdateSecurityCommandInput;
|
|
41
|
+
export declare type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateConfigurationCommandOutput | DeleteClusterCommandOutput | DeleteConfigurationCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | GetBootstrapBrokersCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClusterOperationsCommandOutput | ListClustersCommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | RebootBrokerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateMonitoringCommandOutput | UpdateSecurityCommandOutput;
|
|
41
42
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
42
43
|
/**
|
|
43
44
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
2
|
+
import { UpdateSecurityRequest, UpdateSecurityResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
+
export interface UpdateSecurityCommandInput extends UpdateSecurityRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateSecurityCommandOutput extends UpdateSecurityResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { KafkaClient, UpdateSecurityCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
15
|
+
* // const { KafkaClient, UpdateSecurityCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
16
|
+
* const client = new KafkaClient(config);
|
|
17
|
+
* const command = new UpdateSecurityCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateSecurityCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateSecurityCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateSecurityCommand extends $Command<UpdateSecurityCommandInput, UpdateSecurityCommandOutput, KafkaClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateSecurityCommandInput;
|
|
28
|
+
constructor(input: UpdateSecurityCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSecurityCommandInput, UpdateSecurityCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -37,5 +37,6 @@ export * from "./commands/UpdateClusterConfigurationCommand";
|
|
|
37
37
|
export * from "./commands/UpdateClusterKafkaVersionCommand";
|
|
38
38
|
export * from "./commands/UpdateConfigurationCommand";
|
|
39
39
|
export * from "./commands/UpdateMonitoringCommand";
|
|
40
|
+
export * from "./commands/UpdateSecurityCommand";
|
|
40
41
|
export * from "./pagination/Interfaces";
|
|
41
42
|
export * from "./models/index";
|
|
@@ -141,6 +141,10 @@ export interface Tls {
|
|
|
141
141
|
* <p>List of ACM Certificate Authority ARNs.</p>
|
|
142
142
|
*/
|
|
143
143
|
CertificateAuthorityArnList?: string[];
|
|
144
|
+
/**
|
|
145
|
+
* <p>Specifies whether you want to enable or disable TLS authentication.</p>
|
|
146
|
+
*/
|
|
147
|
+
Enabled?: boolean;
|
|
144
148
|
}
|
|
145
149
|
export declare namespace Tls {
|
|
146
150
|
/**
|
|
@@ -148,6 +152,18 @@ export declare namespace Tls {
|
|
|
148
152
|
*/
|
|
149
153
|
const filterSensitiveLog: (obj: Tls) => any;
|
|
150
154
|
}
|
|
155
|
+
export interface Unauthenticated {
|
|
156
|
+
/**
|
|
157
|
+
* <p>Specifies whether you want to enable or disable unauthenticated traffic to your cluster.</p>
|
|
158
|
+
*/
|
|
159
|
+
Enabled?: boolean;
|
|
160
|
+
}
|
|
161
|
+
export declare namespace Unauthenticated {
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
*/
|
|
165
|
+
const filterSensitiveLog: (obj: Unauthenticated) => any;
|
|
166
|
+
}
|
|
151
167
|
/**
|
|
152
168
|
* <p>Includes all client authentication information.</p>
|
|
153
169
|
*/
|
|
@@ -160,6 +176,10 @@ export interface ClientAuthentication {
|
|
|
160
176
|
* <p>Details for ClientAuthentication using TLS.</p>
|
|
161
177
|
*/
|
|
162
178
|
Tls?: Tls;
|
|
179
|
+
/**
|
|
180
|
+
* <p>Contains information about unauthenticated traffic to the cluster.</p>
|
|
181
|
+
*/
|
|
182
|
+
Unauthenticated?: Unauthenticated;
|
|
163
183
|
}
|
|
164
184
|
export declare namespace ClientAuthentication {
|
|
165
185
|
/**
|
|
@@ -576,11 +596,22 @@ export interface MutableClusterInfo {
|
|
|
576
596
|
* <p>The Kafka version.</p>
|
|
577
597
|
*/
|
|
578
598
|
KafkaVersion?: string;
|
|
599
|
+
/**
|
|
600
|
+
* <p>You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.</p>
|
|
601
|
+
*/
|
|
579
602
|
LoggingInfo?: LoggingInfo;
|
|
580
603
|
/**
|
|
581
604
|
* <p>Information about the Amazon MSK broker type.</p>
|
|
582
605
|
*/
|
|
583
606
|
InstanceType?: string;
|
|
607
|
+
/**
|
|
608
|
+
* <p>Includes all client authentication information.</p>
|
|
609
|
+
*/
|
|
610
|
+
ClientAuthentication?: ClientAuthentication;
|
|
611
|
+
/**
|
|
612
|
+
* <p>Includes all encryption-related information.</p>
|
|
613
|
+
*/
|
|
614
|
+
EncryptionInfo?: EncryptionInfo;
|
|
584
615
|
}
|
|
585
616
|
export declare namespace MutableClusterInfo {
|
|
586
617
|
/**
|
|
@@ -2182,3 +2213,43 @@ export declare namespace UpdateMonitoringResponse {
|
|
|
2182
2213
|
*/
|
|
2183
2214
|
const filterSensitiveLog: (obj: UpdateMonitoringResponse) => any;
|
|
2184
2215
|
}
|
|
2216
|
+
export interface UpdateSecurityRequest {
|
|
2217
|
+
/**
|
|
2218
|
+
* <p>Includes all client authentication related information.</p>
|
|
2219
|
+
*/
|
|
2220
|
+
ClientAuthentication?: ClientAuthentication;
|
|
2221
|
+
/**
|
|
2222
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
|
|
2223
|
+
*/
|
|
2224
|
+
ClusterArn: string | undefined;
|
|
2225
|
+
/**
|
|
2226
|
+
* <p>The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.</p>
|
|
2227
|
+
*/
|
|
2228
|
+
CurrentVersion: string | undefined;
|
|
2229
|
+
/**
|
|
2230
|
+
* <p>Includes all encryption-related information.</p>
|
|
2231
|
+
*/
|
|
2232
|
+
EncryptionInfo?: EncryptionInfo;
|
|
2233
|
+
}
|
|
2234
|
+
export declare namespace UpdateSecurityRequest {
|
|
2235
|
+
/**
|
|
2236
|
+
* @internal
|
|
2237
|
+
*/
|
|
2238
|
+
const filterSensitiveLog: (obj: UpdateSecurityRequest) => any;
|
|
2239
|
+
}
|
|
2240
|
+
export interface UpdateSecurityResponse {
|
|
2241
|
+
/**
|
|
2242
|
+
* <p>The Amazon Resource Name (ARN) of the cluster.</p>
|
|
2243
|
+
*/
|
|
2244
|
+
ClusterArn?: string;
|
|
2245
|
+
/**
|
|
2246
|
+
* <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
|
|
2247
|
+
*/
|
|
2248
|
+
ClusterOperationArn?: string;
|
|
2249
|
+
}
|
|
2250
|
+
export declare namespace UpdateSecurityResponse {
|
|
2251
|
+
/**
|
|
2252
|
+
* @internal
|
|
2253
|
+
*/
|
|
2254
|
+
const filterSensitiveLog: (obj: UpdateSecurityResponse) => any;
|
|
2255
|
+
}
|
|
@@ -28,6 +28,7 @@ import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationComma
|
|
|
28
28
|
import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "../commands/UpdateClusterKafkaVersionCommand";
|
|
29
29
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "../commands/UpdateConfigurationCommand";
|
|
30
30
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "../commands/UpdateMonitoringCommand";
|
|
31
|
+
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "../commands/UpdateSecurityCommand";
|
|
31
32
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
32
33
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
33
34
|
export declare const serializeAws_restJson1BatchAssociateScramSecretCommand: (input: BatchAssociateScramSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -60,6 +61,7 @@ export declare const serializeAws_restJson1UpdateClusterConfigurationCommand: (i
|
|
|
60
61
|
export declare const serializeAws_restJson1UpdateClusterKafkaVersionCommand: (input: UpdateClusterKafkaVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
62
|
export declare const serializeAws_restJson1UpdateConfigurationCommand: (input: UpdateConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
63
|
export declare const serializeAws_restJson1UpdateMonitoringCommand: (input: UpdateMonitoringCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
|
+
export declare const serializeAws_restJson1UpdateSecurityCommand: (input: UpdateSecurityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
65
|
export declare const deserializeAws_restJson1BatchAssociateScramSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchAssociateScramSecretCommandOutput>;
|
|
64
66
|
export declare const deserializeAws_restJson1BatchDisassociateScramSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDisassociateScramSecretCommandOutput>;
|
|
65
67
|
export declare const deserializeAws_restJson1CreateClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateClusterCommandOutput>;
|
|
@@ -90,3 +92,4 @@ export declare const deserializeAws_restJson1UpdateClusterConfigurationCommand:
|
|
|
90
92
|
export declare const deserializeAws_restJson1UpdateClusterKafkaVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateClusterKafkaVersionCommandOutput>;
|
|
91
93
|
export declare const deserializeAws_restJson1UpdateConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateConfigurationCommandOutput>;
|
|
92
94
|
export declare const deserializeAws_restJson1UpdateMonitoringCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateMonitoringCommandOutput>;
|
|
95
|
+
export declare const deserializeAws_restJson1UpdateSecurityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSecurityCommandOutput>;
|
|
@@ -29,6 +29,7 @@ import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationComma
|
|
|
29
29
|
import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "./commands/UpdateClusterKafkaVersionCommand";
|
|
30
30
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
31
31
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
|
|
32
|
+
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
|
|
32
33
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
33
34
|
/**
|
|
34
35
|
* <p>The operations for managing an Amazon MSK cluster.</p>
|
|
@@ -214,4 +215,10 @@ export declare class Kafka extends KafkaClient {
|
|
|
214
215
|
updateMonitoring(args: UpdateMonitoringCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMonitoringCommandOutput>;
|
|
215
216
|
updateMonitoring(args: UpdateMonitoringCommandInput, cb: (err: any, data?: UpdateMonitoringCommandOutput) => void): void;
|
|
216
217
|
updateMonitoring(args: UpdateMonitoringCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMonitoringCommandOutput) => void): void;
|
|
218
|
+
/**
|
|
219
|
+
* <p>Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.</p>
|
|
220
|
+
*/
|
|
221
|
+
updateSecurity(args: UpdateSecurityCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSecurityCommandOutput>;
|
|
222
|
+
updateSecurity(args: UpdateSecurityCommandInput, cb: (err: any, data?: UpdateSecurityCommandOutput) => void): void;
|
|
223
|
+
updateSecurity(args: UpdateSecurityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSecurityCommandOutput) => void): void;
|
|
217
224
|
}
|
|
@@ -28,6 +28,7 @@ import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationComma
|
|
|
28
28
|
import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "./commands/UpdateClusterKafkaVersionCommand";
|
|
29
29
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
30
30
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
|
|
31
|
+
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
|
|
31
32
|
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
32
33
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
33
34
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
@@ -36,8 +37,8 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
36
37
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
37
38
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
38
39
|
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
39
|
-
export declare type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateConfigurationCommandInput | DeleteClusterCommandInput | DeleteConfigurationCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | GetBootstrapBrokersCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClusterOperationsCommandInput | ListClustersCommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | RebootBrokerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateMonitoringCommandInput;
|
|
40
|
-
export declare type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateConfigurationCommandOutput | DeleteClusterCommandOutput | DeleteConfigurationCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | GetBootstrapBrokersCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClusterOperationsCommandOutput | ListClustersCommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | RebootBrokerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateMonitoringCommandOutput;
|
|
40
|
+
export declare type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateConfigurationCommandInput | DeleteClusterCommandInput | DeleteConfigurationCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | GetBootstrapBrokersCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClusterOperationsCommandInput | ListClustersCommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | RebootBrokerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateMonitoringCommandInput | UpdateSecurityCommandInput;
|
|
41
|
+
export declare type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateConfigurationCommandOutput | DeleteClusterCommandOutput | DeleteConfigurationCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | GetBootstrapBrokersCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClusterOperationsCommandOutput | ListClustersCommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | RebootBrokerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateMonitoringCommandOutput | UpdateSecurityCommandOutput;
|
|
41
42
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
42
43
|
/**
|
|
43
44
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
2
|
+
import { UpdateSecurityRequest, UpdateSecurityResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
+
export interface UpdateSecurityCommandInput extends UpdateSecurityRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateSecurityCommandOutput extends UpdateSecurityResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { KafkaClient, UpdateSecurityCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
15
|
+
* // const { KafkaClient, UpdateSecurityCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
16
|
+
* const client = new KafkaClient(config);
|
|
17
|
+
* const command = new UpdateSecurityCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateSecurityCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateSecurityCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateSecurityCommand extends $Command<UpdateSecurityCommandInput, UpdateSecurityCommandOutput, KafkaClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateSecurityCommandInput;
|
|
28
|
+
constructor(input: UpdateSecurityCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSecurityCommandInput, UpdateSecurityCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -37,5 +37,6 @@ export * from "./commands/UpdateClusterConfigurationCommand";
|
|
|
37
37
|
export * from "./commands/UpdateClusterKafkaVersionCommand";
|
|
38
38
|
export * from "./commands/UpdateConfigurationCommand";
|
|
39
39
|
export * from "./commands/UpdateMonitoringCommand";
|
|
40
|
+
export * from "./commands/UpdateSecurityCommand";
|
|
40
41
|
export * from "./pagination/Interfaces";
|
|
41
42
|
export * from "./models/index";
|
|
@@ -141,6 +141,10 @@ export interface Tls {
|
|
|
141
141
|
* <p>List of ACM Certificate Authority ARNs.</p>
|
|
142
142
|
*/
|
|
143
143
|
CertificateAuthorityArnList?: string[];
|
|
144
|
+
/**
|
|
145
|
+
* <p>Specifies whether you want to enable or disable TLS authentication.</p>
|
|
146
|
+
*/
|
|
147
|
+
Enabled?: boolean;
|
|
144
148
|
}
|
|
145
149
|
export declare namespace Tls {
|
|
146
150
|
/**
|
|
@@ -148,6 +152,18 @@ export declare namespace Tls {
|
|
|
148
152
|
*/
|
|
149
153
|
const filterSensitiveLog: (obj: Tls) => any;
|
|
150
154
|
}
|
|
155
|
+
export interface Unauthenticated {
|
|
156
|
+
/**
|
|
157
|
+
* <p>Specifies whether you want to enable or disable unauthenticated traffic to your cluster.</p>
|
|
158
|
+
*/
|
|
159
|
+
Enabled?: boolean;
|
|
160
|
+
}
|
|
161
|
+
export declare namespace Unauthenticated {
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
*/
|
|
165
|
+
const filterSensitiveLog: (obj: Unauthenticated) => any;
|
|
166
|
+
}
|
|
151
167
|
/**
|
|
152
168
|
* <p>Includes all client authentication information.</p>
|
|
153
169
|
*/
|
|
@@ -160,6 +176,10 @@ export interface ClientAuthentication {
|
|
|
160
176
|
* <p>Details for ClientAuthentication using TLS.</p>
|
|
161
177
|
*/
|
|
162
178
|
Tls?: Tls;
|
|
179
|
+
/**
|
|
180
|
+
* <p>Contains information about unauthenticated traffic to the cluster.</p>
|
|
181
|
+
*/
|
|
182
|
+
Unauthenticated?: Unauthenticated;
|
|
163
183
|
}
|
|
164
184
|
export declare namespace ClientAuthentication {
|
|
165
185
|
/**
|
|
@@ -576,11 +596,22 @@ export interface MutableClusterInfo {
|
|
|
576
596
|
* <p>The Kafka version.</p>
|
|
577
597
|
*/
|
|
578
598
|
KafkaVersion?: string;
|
|
599
|
+
/**
|
|
600
|
+
* <p>You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.</p>
|
|
601
|
+
*/
|
|
579
602
|
LoggingInfo?: LoggingInfo;
|
|
580
603
|
/**
|
|
581
604
|
* <p>Information about the Amazon MSK broker type.</p>
|
|
582
605
|
*/
|
|
583
606
|
InstanceType?: string;
|
|
607
|
+
/**
|
|
608
|
+
* <p>Includes all client authentication information.</p>
|
|
609
|
+
*/
|
|
610
|
+
ClientAuthentication?: ClientAuthentication;
|
|
611
|
+
/**
|
|
612
|
+
* <p>Includes all encryption-related information.</p>
|
|
613
|
+
*/
|
|
614
|
+
EncryptionInfo?: EncryptionInfo;
|
|
584
615
|
}
|
|
585
616
|
export declare namespace MutableClusterInfo {
|
|
586
617
|
/**
|
|
@@ -2182,3 +2213,43 @@ export declare namespace UpdateMonitoringResponse {
|
|
|
2182
2213
|
*/
|
|
2183
2214
|
const filterSensitiveLog: (obj: UpdateMonitoringResponse) => any;
|
|
2184
2215
|
}
|
|
2216
|
+
export interface UpdateSecurityRequest {
|
|
2217
|
+
/**
|
|
2218
|
+
* <p>Includes all client authentication related information.</p>
|
|
2219
|
+
*/
|
|
2220
|
+
ClientAuthentication?: ClientAuthentication;
|
|
2221
|
+
/**
|
|
2222
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
|
|
2223
|
+
*/
|
|
2224
|
+
ClusterArn: string | undefined;
|
|
2225
|
+
/**
|
|
2226
|
+
* <p>The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.</p>
|
|
2227
|
+
*/
|
|
2228
|
+
CurrentVersion: string | undefined;
|
|
2229
|
+
/**
|
|
2230
|
+
* <p>Includes all encryption-related information.</p>
|
|
2231
|
+
*/
|
|
2232
|
+
EncryptionInfo?: EncryptionInfo;
|
|
2233
|
+
}
|
|
2234
|
+
export declare namespace UpdateSecurityRequest {
|
|
2235
|
+
/**
|
|
2236
|
+
* @internal
|
|
2237
|
+
*/
|
|
2238
|
+
const filterSensitiveLog: (obj: UpdateSecurityRequest) => any;
|
|
2239
|
+
}
|
|
2240
|
+
export interface UpdateSecurityResponse {
|
|
2241
|
+
/**
|
|
2242
|
+
* <p>The Amazon Resource Name (ARN) of the cluster.</p>
|
|
2243
|
+
*/
|
|
2244
|
+
ClusterArn?: string;
|
|
2245
|
+
/**
|
|
2246
|
+
* <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
|
|
2247
|
+
*/
|
|
2248
|
+
ClusterOperationArn?: string;
|
|
2249
|
+
}
|
|
2250
|
+
export declare namespace UpdateSecurityResponse {
|
|
2251
|
+
/**
|
|
2252
|
+
* @internal
|
|
2253
|
+
*/
|
|
2254
|
+
const filterSensitiveLog: (obj: UpdateSecurityResponse) => any;
|
|
2255
|
+
}
|
|
@@ -28,6 +28,7 @@ import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationComma
|
|
|
28
28
|
import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "../commands/UpdateClusterKafkaVersionCommand";
|
|
29
29
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "../commands/UpdateConfigurationCommand";
|
|
30
30
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "../commands/UpdateMonitoringCommand";
|
|
31
|
+
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "../commands/UpdateSecurityCommand";
|
|
31
32
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
32
33
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
33
34
|
export declare const serializeAws_restJson1BatchAssociateScramSecretCommand: (input: BatchAssociateScramSecretCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -60,6 +61,7 @@ export declare const serializeAws_restJson1UpdateClusterConfigurationCommand: (i
|
|
|
60
61
|
export declare const serializeAws_restJson1UpdateClusterKafkaVersionCommand: (input: UpdateClusterKafkaVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
62
|
export declare const serializeAws_restJson1UpdateConfigurationCommand: (input: UpdateConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
63
|
export declare const serializeAws_restJson1UpdateMonitoringCommand: (input: UpdateMonitoringCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
64
|
+
export declare const serializeAws_restJson1UpdateSecurityCommand: (input: UpdateSecurityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
65
|
export declare const deserializeAws_restJson1BatchAssociateScramSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchAssociateScramSecretCommandOutput>;
|
|
64
66
|
export declare const deserializeAws_restJson1BatchDisassociateScramSecretCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchDisassociateScramSecretCommandOutput>;
|
|
65
67
|
export declare const deserializeAws_restJson1CreateClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateClusterCommandOutput>;
|
|
@@ -90,3 +92,4 @@ export declare const deserializeAws_restJson1UpdateClusterConfigurationCommand:
|
|
|
90
92
|
export declare const deserializeAws_restJson1UpdateClusterKafkaVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateClusterKafkaVersionCommandOutput>;
|
|
91
93
|
export declare const deserializeAws_restJson1UpdateConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateConfigurationCommandOutput>;
|
|
92
94
|
export declare const deserializeAws_restJson1UpdateMonitoringCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateMonitoringCommandOutput>;
|
|
95
|
+
export declare const deserializeAws_restJson1UpdateSecurityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateSecurityCommandOutput>;
|
package/index.ts
CHANGED
|
@@ -37,5 +37,6 @@ export * from "./commands/UpdateClusterConfigurationCommand";
|
|
|
37
37
|
export * from "./commands/UpdateClusterKafkaVersionCommand";
|
|
38
38
|
export * from "./commands/UpdateConfigurationCommand";
|
|
39
39
|
export * from "./commands/UpdateMonitoringCommand";
|
|
40
|
+
export * from "./commands/UpdateSecurityCommand";
|
|
40
41
|
export * from "./pagination/Interfaces";
|
|
41
42
|
export * from "./models/index";
|
package/models/models_0.ts
CHANGED
|
@@ -177,6 +177,11 @@ export interface Tls {
|
|
|
177
177
|
* <p>List of ACM Certificate Authority ARNs.</p>
|
|
178
178
|
*/
|
|
179
179
|
CertificateAuthorityArnList?: string[];
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* <p>Specifies whether you want to enable or disable TLS authentication.</p>
|
|
183
|
+
*/
|
|
184
|
+
Enabled?: boolean;
|
|
180
185
|
}
|
|
181
186
|
|
|
182
187
|
export namespace Tls {
|
|
@@ -188,6 +193,22 @@ export namespace Tls {
|
|
|
188
193
|
});
|
|
189
194
|
}
|
|
190
195
|
|
|
196
|
+
export interface Unauthenticated {
|
|
197
|
+
/**
|
|
198
|
+
* <p>Specifies whether you want to enable or disable unauthenticated traffic to your cluster.</p>
|
|
199
|
+
*/
|
|
200
|
+
Enabled?: boolean;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export namespace Unauthenticated {
|
|
204
|
+
/**
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
export const filterSensitiveLog = (obj: Unauthenticated): any => ({
|
|
208
|
+
...obj,
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
|
|
191
212
|
/**
|
|
192
213
|
* <p>Includes all client authentication information.</p>
|
|
193
214
|
*/
|
|
@@ -201,6 +222,11 @@ export interface ClientAuthentication {
|
|
|
201
222
|
* <p>Details for ClientAuthentication using TLS.</p>
|
|
202
223
|
*/
|
|
203
224
|
Tls?: Tls;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* <p>Contains information about unauthenticated traffic to the cluster.</p>
|
|
228
|
+
*/
|
|
229
|
+
Unauthenticated?: Unauthenticated;
|
|
204
230
|
}
|
|
205
231
|
|
|
206
232
|
export namespace ClientAuthentication {
|
|
@@ -727,11 +753,25 @@ export interface MutableClusterInfo {
|
|
|
727
753
|
*/
|
|
728
754
|
KafkaVersion?: string;
|
|
729
755
|
|
|
756
|
+
/**
|
|
757
|
+
* <p>You can configure your MSK cluster to send broker logs to different destination types. This is a container for the configuration details related to broker logs.</p>
|
|
758
|
+
*/
|
|
730
759
|
LoggingInfo?: LoggingInfo;
|
|
760
|
+
|
|
731
761
|
/**
|
|
732
762
|
* <p>Information about the Amazon MSK broker type.</p>
|
|
733
763
|
*/
|
|
734
764
|
InstanceType?: string;
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* <p>Includes all client authentication information.</p>
|
|
768
|
+
*/
|
|
769
|
+
ClientAuthentication?: ClientAuthentication;
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* <p>Includes all encryption-related information.</p>
|
|
773
|
+
*/
|
|
774
|
+
EncryptionInfo?: EncryptionInfo;
|
|
735
775
|
}
|
|
736
776
|
|
|
737
777
|
export namespace MutableClusterInfo {
|
|
@@ -2778,3 +2818,55 @@ export namespace UpdateMonitoringResponse {
|
|
|
2778
2818
|
...obj,
|
|
2779
2819
|
});
|
|
2780
2820
|
}
|
|
2821
|
+
|
|
2822
|
+
export interface UpdateSecurityRequest {
|
|
2823
|
+
/**
|
|
2824
|
+
* <p>Includes all client authentication related information.</p>
|
|
2825
|
+
*/
|
|
2826
|
+
ClientAuthentication?: ClientAuthentication;
|
|
2827
|
+
|
|
2828
|
+
/**
|
|
2829
|
+
* <p>The Amazon Resource Name (ARN) that uniquely identifies the cluster.</p>
|
|
2830
|
+
*/
|
|
2831
|
+
ClusterArn: string | undefined;
|
|
2832
|
+
|
|
2833
|
+
/**
|
|
2834
|
+
* <p>The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.</p>
|
|
2835
|
+
*/
|
|
2836
|
+
CurrentVersion: string | undefined;
|
|
2837
|
+
|
|
2838
|
+
/**
|
|
2839
|
+
* <p>Includes all encryption-related information.</p>
|
|
2840
|
+
*/
|
|
2841
|
+
EncryptionInfo?: EncryptionInfo;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
export namespace UpdateSecurityRequest {
|
|
2845
|
+
/**
|
|
2846
|
+
* @internal
|
|
2847
|
+
*/
|
|
2848
|
+
export const filterSensitiveLog = (obj: UpdateSecurityRequest): any => ({
|
|
2849
|
+
...obj,
|
|
2850
|
+
});
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
export interface UpdateSecurityResponse {
|
|
2854
|
+
/**
|
|
2855
|
+
* <p>The Amazon Resource Name (ARN) of the cluster.</p>
|
|
2856
|
+
*/
|
|
2857
|
+
ClusterArn?: string;
|
|
2858
|
+
|
|
2859
|
+
/**
|
|
2860
|
+
* <p>The Amazon Resource Name (ARN) of the cluster operation.</p>
|
|
2861
|
+
*/
|
|
2862
|
+
ClusterOperationArn?: string;
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2865
|
+
export namespace UpdateSecurityResponse {
|
|
2866
|
+
/**
|
|
2867
|
+
* @internal
|
|
2868
|
+
*/
|
|
2869
|
+
export const filterSensitiveLog = (obj: UpdateSecurityResponse): any => ({
|
|
2870
|
+
...obj,
|
|
2871
|
+
});
|
|
2872
|
+
}
|