@aws-sdk/client-kafka 3.477.0 → 3.481.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/dist-cjs/commands/BatchAssociateScramSecretCommand.js +18 -41
- package/dist-cjs/commands/BatchDisassociateScramSecretCommand.js +18 -41
- package/dist-cjs/commands/CreateClusterCommand.js +18 -41
- package/dist-cjs/commands/CreateClusterV2Command.js +18 -41
- package/dist-cjs/commands/CreateConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateReplicatorCommand.js +18 -41
- package/dist-cjs/commands/CreateVpcConnectionCommand.js +18 -41
- package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
- package/dist-cjs/commands/DeleteClusterPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteReplicatorCommand.js +18 -41
- package/dist-cjs/commands/DeleteVpcConnectionCommand.js +18 -41
- package/dist-cjs/commands/DescribeClusterCommand.js +18 -41
- package/dist-cjs/commands/DescribeClusterOperationCommand.js +18 -41
- package/dist-cjs/commands/DescribeClusterOperationV2Command.js +18 -41
- package/dist-cjs/commands/DescribeClusterV2Command.js +18 -41
- package/dist-cjs/commands/DescribeConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +18 -41
- package/dist-cjs/commands/DescribeReplicatorCommand.js +18 -41
- package/dist-cjs/commands/DescribeVpcConnectionCommand.js +18 -41
- package/dist-cjs/commands/GetBootstrapBrokersCommand.js +18 -41
- package/dist-cjs/commands/GetClusterPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetCompatibleKafkaVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListClientVpcConnectionsCommand.js +18 -41
- package/dist-cjs/commands/ListClusterOperationsCommand.js +18 -41
- package/dist-cjs/commands/ListClusterOperationsV2Command.js +18 -41
- package/dist-cjs/commands/ListClustersCommand.js +18 -41
- package/dist-cjs/commands/ListClustersV2Command.js +18 -41
- package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +18 -41
- package/dist-cjs/commands/ListConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListKafkaVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListNodesCommand.js +18 -41
- package/dist-cjs/commands/ListReplicatorsCommand.js +18 -41
- package/dist-cjs/commands/ListScramSecretsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListVpcConnectionsCommand.js +18 -41
- package/dist-cjs/commands/PutClusterPolicyCommand.js +18 -41
- package/dist-cjs/commands/RebootBrokerCommand.js +18 -41
- package/dist-cjs/commands/RejectClientVpcConnectionCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateBrokerCountCommand.js +18 -41
- package/dist-cjs/commands/UpdateBrokerStorageCommand.js +18 -41
- package/dist-cjs/commands/UpdateBrokerTypeCommand.js +18 -41
- package/dist-cjs/commands/UpdateClusterConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateClusterKafkaVersionCommand.js +18 -41
- package/dist-cjs/commands/UpdateConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateConnectivityCommand.js +18 -41
- package/dist-cjs/commands/UpdateMonitoringCommand.js +18 -41
- package/dist-cjs/commands/UpdateReplicationInfoCommand.js +18 -41
- package/dist-cjs/commands/UpdateSecurityCommand.js +18 -41
- package/dist-cjs/commands/UpdateStorageCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListClientVpcConnectionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListClusterOperationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListClusterOperationsV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
- package/dist-cjs/pagination/ListClustersV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationRevisionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListKafkaVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListNodesPaginator.js +2 -24
- package/dist-cjs/pagination/ListReplicatorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListScramSecretsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVpcConnectionsPaginator.js +2 -24
- package/dist-es/commands/BatchAssociateScramSecretCommand.js +18 -41
- package/dist-es/commands/BatchDisassociateScramSecretCommand.js +18 -41
- package/dist-es/commands/CreateClusterCommand.js +18 -41
- package/dist-es/commands/CreateClusterV2Command.js +18 -41
- package/dist-es/commands/CreateConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateReplicatorCommand.js +18 -41
- package/dist-es/commands/CreateVpcConnectionCommand.js +18 -41
- package/dist-es/commands/DeleteClusterCommand.js +18 -41
- package/dist-es/commands/DeleteClusterPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteReplicatorCommand.js +18 -41
- package/dist-es/commands/DeleteVpcConnectionCommand.js +18 -41
- package/dist-es/commands/DescribeClusterCommand.js +18 -41
- package/dist-es/commands/DescribeClusterOperationCommand.js +18 -41
- package/dist-es/commands/DescribeClusterOperationV2Command.js +18 -41
- package/dist-es/commands/DescribeClusterV2Command.js +18 -41
- package/dist-es/commands/DescribeConfigurationCommand.js +18 -41
- package/dist-es/commands/DescribeConfigurationRevisionCommand.js +18 -41
- package/dist-es/commands/DescribeReplicatorCommand.js +18 -41
- package/dist-es/commands/DescribeVpcConnectionCommand.js +18 -41
- package/dist-es/commands/GetBootstrapBrokersCommand.js +18 -41
- package/dist-es/commands/GetClusterPolicyCommand.js +18 -41
- package/dist-es/commands/GetCompatibleKafkaVersionsCommand.js +18 -41
- package/dist-es/commands/ListClientVpcConnectionsCommand.js +18 -41
- package/dist-es/commands/ListClusterOperationsCommand.js +18 -41
- package/dist-es/commands/ListClusterOperationsV2Command.js +18 -41
- package/dist-es/commands/ListClustersCommand.js +18 -41
- package/dist-es/commands/ListClustersV2Command.js +18 -41
- package/dist-es/commands/ListConfigurationRevisionsCommand.js +18 -41
- package/dist-es/commands/ListConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListKafkaVersionsCommand.js +18 -41
- package/dist-es/commands/ListNodesCommand.js +18 -41
- package/dist-es/commands/ListReplicatorsCommand.js +18 -41
- package/dist-es/commands/ListScramSecretsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListVpcConnectionsCommand.js +18 -41
- package/dist-es/commands/PutClusterPolicyCommand.js +18 -41
- package/dist-es/commands/RebootBrokerCommand.js +18 -41
- package/dist-es/commands/RejectClientVpcConnectionCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateBrokerCountCommand.js +18 -41
- package/dist-es/commands/UpdateBrokerStorageCommand.js +18 -41
- package/dist-es/commands/UpdateBrokerTypeCommand.js +18 -41
- package/dist-es/commands/UpdateClusterConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateClusterKafkaVersionCommand.js +18 -41
- package/dist-es/commands/UpdateConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateConnectivityCommand.js +18 -41
- package/dist-es/commands/UpdateMonitoringCommand.js +18 -41
- package/dist-es/commands/UpdateReplicationInfoCommand.js +18 -41
- package/dist-es/commands/UpdateSecurityCommand.js +18 -41
- package/dist-es/commands/UpdateStorageCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListClientVpcConnectionsPaginator.js +2 -23
- package/dist-es/pagination/ListClusterOperationsPaginator.js +2 -23
- package/dist-es/pagination/ListClusterOperationsV2Paginator.js +2 -23
- package/dist-es/pagination/ListClustersPaginator.js +2 -23
- package/dist-es/pagination/ListClustersV2Paginator.js +2 -23
- package/dist-es/pagination/ListConfigurationRevisionsPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListKafkaVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListNodesPaginator.js +2 -23
- package/dist-es/pagination/ListReplicatorsPaginator.js +2 -23
- package/dist-es/pagination/ListScramSecretsPaginator.js +2 -23
- package/dist-es/pagination/ListVpcConnectionsPaginator.js +2 -23
- package/dist-types/commands/BatchAssociateScramSecretCommand.d.ts +6 -21
- package/dist-types/commands/BatchDisassociateScramSecretCommand.d.ts +6 -21
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
- package/dist-types/commands/CreateClusterV2Command.d.ts +6 -21
- package/dist-types/commands/CreateConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateReplicatorCommand.d.ts +6 -21
- package/dist-types/commands/CreateVpcConnectionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteReplicatorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeClusterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeClusterOperationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeClusterOperationV2Command.d.ts +6 -21
- package/dist-types/commands/DescribeClusterV2Command.d.ts +6 -21
- package/dist-types/commands/DescribeConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeReplicatorCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +6 -21
- package/dist-types/commands/GetBootstrapBrokersCommand.d.ts +6 -21
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetCompatibleKafkaVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +6 -21
- package/dist-types/commands/ListClusterOperationsCommand.d.ts +6 -21
- package/dist-types/commands/ListClusterOperationsV2Command.d.ts +6 -21
- package/dist-types/commands/ListClustersCommand.d.ts +6 -21
- package/dist-types/commands/ListClustersV2Command.d.ts +6 -21
- package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +6 -21
- package/dist-types/commands/ListConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListKafkaVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListNodesCommand.d.ts +6 -21
- package/dist-types/commands/ListReplicatorsCommand.d.ts +6 -21
- package/dist-types/commands/ListScramSecretsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListVpcConnectionsCommand.d.ts +6 -21
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +6 -21
- package/dist-types/commands/RebootBrokerCommand.d.ts +6 -21
- package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBrokerCountCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBrokerStorageCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBrokerTypeCommand.d.ts +6 -21
- package/dist-types/commands/UpdateClusterConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateClusterKafkaVersionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConnectivityCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMonitoringCommand.d.ts +6 -21
- package/dist-types/commands/UpdateReplicationInfoCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSecurityCommand.d.ts +6 -21
- package/dist-types/commands/UpdateStorageCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListClientVpcConnectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClusterOperationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClusterOperationsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationRevisionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKafkaVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReplicatorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScramSecretsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVpcConnectionsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchAssociateScramSecretCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDisassociateScramSecretCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateConfigurationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateReplicatorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteConfigurationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteReplicatorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeClusterOperationV2Command.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeReplicatorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetBootstrapBrokersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCompatibleKafkaVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListClusterOperationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListClusterOperationsV2Command.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListConfigurationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListKafkaVersionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListReplicatorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListScramSecretsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RebootBrokerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBrokerCountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBrokerStorageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBrokerTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateClusterConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateClusterKafkaVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateConnectivityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateMonitoringCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateReplicationInfoCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateSecurityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateStorageCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListClientVpcConnectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClusterOperationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClusterOperationsV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClustersV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationRevisionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListKafkaVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReplicatorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListScramSecretsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVpcConnectionsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClustersV2 = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClustersV2Command_1 = require("../commands/ListClustersV2Command");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClustersV2Command_1.ListClustersV2Command(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClustersV2(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListClustersV2 = paginateListClustersV2;
|
|
7
|
+
exports.paginateListClustersV2 = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClustersV2Command_1.ListClustersV2Command, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigurationRevisions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListConfigurationRevisionsCommand_1 = require("../commands/ListConfigurationRevisionsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConfigurationRevisionsCommand_1.ListConfigurationRevisionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConfigurationRevisions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListConfigurationRevisions = paginateListConfigurationRevisions;
|
|
7
|
+
exports.paginateListConfigurationRevisions = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListConfigurationRevisionsCommand_1.ListConfigurationRevisionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListConfigurations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListConfigurationsCommand_1 = require("../commands/ListConfigurationsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListConfigurationsCommand_1.ListConfigurationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListConfigurations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListConfigurations = paginateListConfigurations;
|
|
7
|
+
exports.paginateListConfigurations = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListConfigurationsCommand_1.ListConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListKafkaVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListKafkaVersionsCommand_1 = require("../commands/ListKafkaVersionsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListKafkaVersionsCommand_1.ListKafkaVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListKafkaVersions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListKafkaVersions = paginateListKafkaVersions;
|
|
7
|
+
exports.paginateListKafkaVersions = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListKafkaVersionsCommand_1.ListKafkaVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListNodes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListNodesCommand_1 = require("../commands/ListNodesCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListNodesCommand_1.ListNodesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListNodes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListNodes = paginateListNodes;
|
|
7
|
+
exports.paginateListNodes = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListNodesCommand_1.ListNodesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListReplicators = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListReplicatorsCommand_1 = require("../commands/ListReplicatorsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListReplicatorsCommand_1.ListReplicatorsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListReplicators(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListReplicators = paginateListReplicators;
|
|
7
|
+
exports.paginateListReplicators = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListReplicatorsCommand_1.ListReplicatorsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListScramSecrets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListScramSecretsCommand_1 = require("../commands/ListScramSecretsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListScramSecretsCommand_1.ListScramSecretsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListScramSecrets(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListScramSecrets = paginateListScramSecrets;
|
|
7
|
+
exports.paginateListScramSecrets = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListScramSecretsCommand_1.ListScramSecretsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListVpcConnections = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListVpcConnectionsCommand_1 = require("../commands/ListVpcConnectionsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListVpcConnectionsCommand_1.ListVpcConnectionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListVpcConnections(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListVpcConnections = paginateListVpcConnections;
|
|
7
|
+
exports.paginateListVpcConnections = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListVpcConnectionsCommand_1.ListVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchAssociateScramSecretCommand, se_BatchAssociateScramSecretCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchAssociateScramSecretCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaClient";
|
|
26
|
-
const commandName = "BatchAssociateScramSecretCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Kafka",
|
|
35
|
-
operation: "BatchAssociateScramSecret",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchAssociateScramSecretCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchAssociateScramSecretCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchAssociateScramSecretCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Kafka", "BatchAssociateScramSecret", {})
|
|
19
|
+
.n("KafkaClient", "BatchAssociateScramSecretCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchAssociateScramSecretCommand)
|
|
22
|
+
.de(de_BatchAssociateScramSecretCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_BatchDisassociateScramSecretCommand, se_BatchDisassociateScramSecretCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class BatchDisassociateScramSecretCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaClient";
|
|
26
|
-
const commandName = "BatchDisassociateScramSecretCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Kafka",
|
|
35
|
-
operation: "BatchDisassociateScramSecret",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_BatchDisassociateScramSecretCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_BatchDisassociateScramSecretCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class BatchDisassociateScramSecretCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Kafka", "BatchDisassociateScramSecret", {})
|
|
19
|
+
.n("KafkaClient", "BatchDisassociateScramSecretCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchDisassociateScramSecretCommand)
|
|
22
|
+
.de(de_BatchDisassociateScramSecretCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateClusterCommand, se_CreateClusterCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateClusterCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaClient";
|
|
26
|
-
const commandName = "CreateClusterCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Kafka",
|
|
35
|
-
operation: "CreateCluster",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateClusterCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateClusterCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateClusterCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Kafka", "CreateCluster", {})
|
|
19
|
+
.n("KafkaClient", "CreateClusterCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateClusterCommand)
|
|
22
|
+
.de(de_CreateClusterCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateClusterV2Command, se_CreateClusterV2Command } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateClusterV2Command extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaClient";
|
|
26
|
-
const commandName = "CreateClusterV2Command";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Kafka",
|
|
35
|
-
operation: "CreateClusterV2",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateClusterV2Command(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateClusterV2Command(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateClusterV2Command extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Kafka", "CreateClusterV2", {})
|
|
19
|
+
.n("KafkaClient", "CreateClusterV2Command")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateClusterV2Command)
|
|
22
|
+
.de(de_CreateClusterV2Command)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_CreateConfigurationCommand, se_CreateConfigurationCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "KafkaClient";
|
|
26
|
-
const commandName = "CreateConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Kafka",
|
|
35
|
-
operation: "CreateConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_CreateConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Kafka", "CreateConfiguration", {})
|
|
19
|
+
.n("KafkaClient", "CreateConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateConfigurationCommand)
|
|
22
|
+
.de(de_CreateConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|