@aws-sdk/client-kafka 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/Kafka.js +149 -142
- package/dist-es/KafkaClient.js +28 -22
- package/dist-es/commands/BatchAssociateScramSecretCommand.js +28 -21
- package/dist-es/commands/BatchDisassociateScramSecretCommand.js +28 -21
- package/dist-es/commands/CreateClusterCommand.js +28 -21
- package/dist-es/commands/CreateClusterV2Command.js +28 -21
- package/dist-es/commands/CreateConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteClusterCommand.js +28 -21
- package/dist-es/commands/DeleteConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeClusterCommand.js +28 -21
- package/dist-es/commands/DescribeClusterOperationCommand.js +28 -21
- package/dist-es/commands/DescribeClusterV2Command.js +28 -21
- package/dist-es/commands/DescribeConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeConfigurationRevisionCommand.js +28 -21
- package/dist-es/commands/GetBootstrapBrokersCommand.js +28 -21
- package/dist-es/commands/GetCompatibleKafkaVersionsCommand.js +28 -21
- package/dist-es/commands/ListClusterOperationsCommand.js +28 -21
- package/dist-es/commands/ListClustersCommand.js +28 -21
- package/dist-es/commands/ListClustersV2Command.js +28 -21
- package/dist-es/commands/ListConfigurationRevisionsCommand.js +28 -21
- package/dist-es/commands/ListConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListKafkaVersionsCommand.js +28 -21
- package/dist-es/commands/ListNodesCommand.js +28 -21
- package/dist-es/commands/ListScramSecretsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/RebootBrokerCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateBrokerCountCommand.js +28 -21
- package/dist-es/commands/UpdateBrokerStorageCommand.js +28 -21
- package/dist-es/commands/UpdateBrokerTypeCommand.js +28 -21
- package/dist-es/commands/UpdateClusterConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateClusterKafkaVersionCommand.js +28 -21
- package/dist-es/commands/UpdateConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateConnectivityCommand.js +28 -21
- package/dist-es/commands/UpdateMonitoringCommand.js +28 -21
- package/dist-es/commands/UpdateSecurityCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/KafkaServiceException.js +10 -5
- package/dist-es/models/models_0.js +227 -470
- package/dist-es/pagination/ListClusterOperationsPaginator.js +68 -25
- package/dist-es/pagination/ListClustersPaginator.js +68 -25
- package/dist-es/pagination/ListClustersV2Paginator.js +68 -25
- package/dist-es/pagination/ListConfigurationRevisionsPaginator.js +68 -25
- package/dist-es/pagination/ListConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/ListKafkaVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListNodesPaginator.js +68 -25
- package/dist-es/pagination/ListScramSecretsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +3995 -2968
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateClusterConfigurationRequestFilterSensitiveLog, UpdateClusterConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateClusterConfigurationCommand, serializeAws_restJson1UpdateClusterConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateClusterConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateClusterConfigurationCommand, _super);
|
|
8
|
+
function UpdateClusterConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateClusterConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "UpdateClusterConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateClusterConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateClusterConfigurationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateClusterConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateClusterConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateClusterConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateClusterConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateClusterConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateClusterConfigurationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateClusterKafkaVersionRequestFilterSensitiveLog, UpdateClusterKafkaVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateClusterKafkaVersionCommand, serializeAws_restJson1UpdateClusterKafkaVersionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateClusterKafkaVersionCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateClusterKafkaVersionCommand, _super);
|
|
8
|
+
function UpdateClusterKafkaVersionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateClusterKafkaVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "UpdateClusterKafkaVersionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateClusterKafkaVersionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateClusterKafkaVersionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateClusterKafkaVersionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateClusterKafkaVersionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateClusterKafkaVersionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateClusterKafkaVersionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateClusterKafkaVersionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateClusterKafkaVersionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateConfigurationRequestFilterSensitiveLog, UpdateConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateConfigurationCommand, serializeAws_restJson1UpdateConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateConfigurationCommand, _super);
|
|
8
|
+
function UpdateConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "UpdateConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateConfigurationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateConfigurationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateConnectivityRequestFilterSensitiveLog, UpdateConnectivityResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateConnectivityCommand, serializeAws_restJson1UpdateConnectivityCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateConnectivityCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateConnectivityCommand, _super);
|
|
8
|
+
function UpdateConnectivityCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateConnectivityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "UpdateConnectivityCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateConnectivityRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateConnectivityResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateConnectivityCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateConnectivityCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateConnectivityCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateConnectivityCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateConnectivityCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateConnectivityCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateMonitoringRequestFilterSensitiveLog, UpdateMonitoringResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateMonitoringCommand, serializeAws_restJson1UpdateMonitoringCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateMonitoringCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateMonitoringCommand, _super);
|
|
8
|
+
function UpdateMonitoringCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateMonitoringCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "UpdateMonitoringCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateMonitoringRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateMonitoringResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateMonitoringCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateMonitoringCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateMonitoringCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateMonitoringCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateMonitoringCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateMonitoringCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateSecurityRequestFilterSensitiveLog, UpdateSecurityResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateSecurityCommand, serializeAws_restJson1UpdateSecurityCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateSecurityCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSecurityCommand, _super);
|
|
8
|
+
function UpdateSecurityCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateSecurityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "UpdateSecurityCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateSecurityRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateSecurityResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateSecurityCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UpdateSecurityCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateSecurityCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateSecurityCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateSecurityCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSecurityCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "kafka", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var KafkaServiceException = (function (_super) {
|
|
4
|
+
__extends(KafkaServiceException, _super);
|
|
5
|
+
function KafkaServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, KafkaServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return KafkaServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { KafkaServiceException };
|