@aws-sdk/client-kafka 3.34.0 → 3.37.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 +47 -0
- package/{dist/cjs → dist-cjs}/Kafka.js +1 -5
- package/{dist/cjs → dist-cjs}/KafkaClient.js +8 -17
- package/{dist/cjs → dist-cjs}/commands/BatchAssociateScramSecretCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/BatchDisassociateScramSecretCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateClusterCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteClusterCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeClusterCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeClusterOperationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DescribeConfigurationRevisionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetBootstrapBrokersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetCompatibleKafkaVersionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListClusterOperationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListClustersCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListConfigurationRevisionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListConfigurationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListKafkaVersionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListNodesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListScramSecretsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/RebootBrokerCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateBrokerCountCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateBrokerStorageCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateBrokerTypeCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateClusterConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateClusterKafkaVersionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateConfigurationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateMonitoringCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateSecurityCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -334
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListClusterOperationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListClustersPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListConfigurationRevisionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListConfigurationsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListKafkaVersionsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListNodesPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListScramSecretsPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +6 -12
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/Kafka.js +1 -2
- package/{dist/es → dist-es}/KafkaClient.js +1 -2
- package/{dist/es → dist-es}/commands/BatchAssociateScramSecretCommand.js +2 -3
- package/{dist/es → dist-es}/commands/BatchDisassociateScramSecretCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateClusterCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteClusterCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeClusterCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeClusterOperationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeConfigurationRevisionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetBootstrapBrokersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetCompatibleKafkaVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListClusterOperationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListClustersCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListConfigurationRevisionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListConfigurationsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListKafkaVersionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListNodesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListScramSecretsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RebootBrokerCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateBrokerCountCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateBrokerStorageCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateBrokerTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateClusterConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateClusterKafkaVersionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateConfigurationCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateMonitoringCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateSecurityCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListClusterOperationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListClustersPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListConfigurationRevisionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListConfigurationsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListKafkaVersionsPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListNodesPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListScramSecretsPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/Kafka.d.ts +2 -2
- package/{dist/types → dist-types}/KafkaClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/BatchAssociateScramSecretCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchDisassociateScramSecretCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateClusterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteClusterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeClusterCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeClusterOperationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeConfigurationRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetBootstrapBrokersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetCompatibleKafkaVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListClusterOperationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListClustersCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListConfigurationRevisionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListConfigurationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListKafkaVersionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListNodesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListScramSecretsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RebootBrokerCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateBrokerCountCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateBrokerStorageCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateBrokerTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateClusterConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateClusterKafkaVersionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateConfigurationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateMonitoringCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateSecurityCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListClusterOperationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListClustersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListConfigurationRevisionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListKafkaVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListNodesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListScramSecretsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Kafka.d.ts +34 -98
- package/{dist/types → dist-types}/ts3.4/KafkaClient.d.ts +32 -97
- package/{dist/types → dist-types}/ts3.4/commands/BatchAssociateScramSecretCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/BatchDisassociateScramSecretCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/CreateClusterCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/CreateConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeClusterOperationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConfigurationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetBootstrapBrokersCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetCompatibleKafkaVersionsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListClusterOperationsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListConfigurationsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListKafkaVersionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListScramSecretsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/RebootBrokerCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateBrokerCountCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateBrokerStorageCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateBrokerTypeCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateClusterConfigurationCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateClusterKafkaVersionCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/UpdateConfigurationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/UpdateMonitoringCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSecurityCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1347 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListClusterOperationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListClustersPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListConfigurationRevisionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListConfigurationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListKafkaVersionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListNodesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListScramSecretsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/Kafka.ts +0 -1128
- package/KafkaClient.ts +0 -376
- package/commands/BatchAssociateScramSecretCommand.ts +0 -97
- package/commands/BatchDisassociateScramSecretCommand.ts +0 -99
- package/commands/CreateClusterCommand.ts +0 -94
- package/commands/CreateConfigurationCommand.ts +0 -94
- package/commands/DeleteClusterCommand.ts +0 -94
- package/commands/DeleteConfigurationCommand.ts +0 -94
- package/commands/DescribeClusterCommand.ts +0 -94
- package/commands/DescribeClusterOperationCommand.ts +0 -94
- package/commands/DescribeConfigurationCommand.ts +0 -94
- package/commands/DescribeConfigurationRevisionCommand.ts +0 -99
- package/commands/GetBootstrapBrokersCommand.ts +0 -94
- package/commands/GetCompatibleKafkaVersionsCommand.ts +0 -97
- package/commands/ListClusterOperationsCommand.ts +0 -94
- package/commands/ListClustersCommand.ts +0 -94
- package/commands/ListConfigurationRevisionsCommand.ts +0 -97
- package/commands/ListConfigurationsCommand.ts +0 -94
- package/commands/ListKafkaVersionsCommand.ts +0 -94
- package/commands/ListNodesCommand.ts +0 -94
- package/commands/ListScramSecretsCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/RebootBrokerCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateBrokerCountCommand.ts +0 -94
- package/commands/UpdateBrokerStorageCommand.ts +0 -94
- package/commands/UpdateBrokerTypeCommand.ts +0 -94
- package/commands/UpdateClusterConfigurationCommand.ts +0 -97
- package/commands/UpdateClusterKafkaVersionCommand.ts +0 -97
- package/commands/UpdateConfigurationCommand.ts +0 -94
- package/commands/UpdateMonitoringCommand.ts +0 -94
- package/commands/UpdateSecurityCommand.ts +0 -94
- package/dist/cjs/Kafka.js.map +0 -1
- package/dist/cjs/KafkaClient.js.map +0 -1
- package/dist/cjs/commands/BatchAssociateScramSecretCommand.js.map +0 -1
- package/dist/cjs/commands/BatchDisassociateScramSecretCommand.js.map +0 -1
- package/dist/cjs/commands/CreateClusterCommand.js.map +0 -1
- package/dist/cjs/commands/CreateConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteClusterCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeClusterCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeClusterOperationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeConfigurationRevisionCommand.js.map +0 -1
- package/dist/cjs/commands/GetBootstrapBrokersCommand.js.map +0 -1
- package/dist/cjs/commands/GetCompatibleKafkaVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListClusterOperationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListClustersCommand.js.map +0 -1
- package/dist/cjs/commands/ListConfigurationRevisionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListConfigurationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListKafkaVersionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListNodesCommand.js.map +0 -1
- package/dist/cjs/commands/ListScramSecretsCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/RebootBrokerCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateBrokerCountCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateBrokerStorageCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateBrokerTypeCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateClusterConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateClusterKafkaVersionCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateConfigurationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateMonitoringCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateSecurityCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListClusterOperationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListClustersPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListConfigurationRevisionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListConfigurationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListKafkaVersionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListNodesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListScramSecretsPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Kafka.js.map +0 -1
- package/dist/es/KafkaClient.js.map +0 -1
- package/dist/es/commands/BatchAssociateScramSecretCommand.js.map +0 -1
- package/dist/es/commands/BatchDisassociateScramSecretCommand.js.map +0 -1
- package/dist/es/commands/CreateClusterCommand.js.map +0 -1
- package/dist/es/commands/CreateConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DeleteClusterCommand.js.map +0 -1
- package/dist/es/commands/DeleteConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DescribeClusterCommand.js.map +0 -1
- package/dist/es/commands/DescribeClusterOperationCommand.js.map +0 -1
- package/dist/es/commands/DescribeConfigurationCommand.js.map +0 -1
- package/dist/es/commands/DescribeConfigurationRevisionCommand.js.map +0 -1
- package/dist/es/commands/GetBootstrapBrokersCommand.js.map +0 -1
- package/dist/es/commands/GetCompatibleKafkaVersionsCommand.js.map +0 -1
- package/dist/es/commands/ListClusterOperationsCommand.js.map +0 -1
- package/dist/es/commands/ListClustersCommand.js.map +0 -1
- package/dist/es/commands/ListConfigurationRevisionsCommand.js.map +0 -1
- package/dist/es/commands/ListConfigurationsCommand.js.map +0 -1
- package/dist/es/commands/ListKafkaVersionsCommand.js.map +0 -1
- package/dist/es/commands/ListNodesCommand.js.map +0 -1
- package/dist/es/commands/ListScramSecretsCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/RebootBrokerCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateBrokerCountCommand.js.map +0 -1
- package/dist/es/commands/UpdateBrokerStorageCommand.js.map +0 -1
- package/dist/es/commands/UpdateBrokerTypeCommand.js.map +0 -1
- package/dist/es/commands/UpdateClusterConfigurationCommand.js.map +0 -1
- package/dist/es/commands/UpdateClusterKafkaVersionCommand.js.map +0 -1
- package/dist/es/commands/UpdateConfigurationCommand.js.map +0 -1
- package/dist/es/commands/UpdateMonitoringCommand.js.map +0 -1
- package/dist/es/commands/UpdateSecurityCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -43
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListClusterOperationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListClustersPaginator.js.map +0 -1
- package/dist/es/pagination/ListConfigurationRevisionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListConfigurationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListKafkaVersionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListNodesPaginator.js.map +0 -1
- package/dist/es/pagination/ListScramSecretsPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/DeleteClusterCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DescribeClusterCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListClustersCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListNodesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListScramSecretsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateMonitoringCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateSecurityCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -2255
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2872
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListClusterOperationsPaginator.ts +0 -58
- package/pagination/ListClustersPaginator.ts +0 -58
- package/pagination/ListConfigurationRevisionsPaginator.ts +0 -58
- package/pagination/ListConfigurationsPaginator.ts +0 -58
- package/pagination/ListKafkaVersionsPaginator.ts +0 -58
- package/pagination/ListNodesPaginator.ts +0 -54
- package/pagination/ListScramSecretsPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -5257
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/Kafka.ts
DELETED
|
@@ -1,1128 +0,0 @@
|
|
|
1
|
-
import { KafkaClient } from "./KafkaClient";
|
|
2
|
-
import {
|
|
3
|
-
BatchAssociateScramSecretCommand,
|
|
4
|
-
BatchAssociateScramSecretCommandInput,
|
|
5
|
-
BatchAssociateScramSecretCommandOutput,
|
|
6
|
-
} from "./commands/BatchAssociateScramSecretCommand";
|
|
7
|
-
import {
|
|
8
|
-
BatchDisassociateScramSecretCommand,
|
|
9
|
-
BatchDisassociateScramSecretCommandInput,
|
|
10
|
-
BatchDisassociateScramSecretCommandOutput,
|
|
11
|
-
} from "./commands/BatchDisassociateScramSecretCommand";
|
|
12
|
-
import {
|
|
13
|
-
CreateClusterCommand,
|
|
14
|
-
CreateClusterCommandInput,
|
|
15
|
-
CreateClusterCommandOutput,
|
|
16
|
-
} from "./commands/CreateClusterCommand";
|
|
17
|
-
import {
|
|
18
|
-
CreateConfigurationCommand,
|
|
19
|
-
CreateConfigurationCommandInput,
|
|
20
|
-
CreateConfigurationCommandOutput,
|
|
21
|
-
} from "./commands/CreateConfigurationCommand";
|
|
22
|
-
import {
|
|
23
|
-
DeleteClusterCommand,
|
|
24
|
-
DeleteClusterCommandInput,
|
|
25
|
-
DeleteClusterCommandOutput,
|
|
26
|
-
} from "./commands/DeleteClusterCommand";
|
|
27
|
-
import {
|
|
28
|
-
DeleteConfigurationCommand,
|
|
29
|
-
DeleteConfigurationCommandInput,
|
|
30
|
-
DeleteConfigurationCommandOutput,
|
|
31
|
-
} from "./commands/DeleteConfigurationCommand";
|
|
32
|
-
import {
|
|
33
|
-
DescribeClusterCommand,
|
|
34
|
-
DescribeClusterCommandInput,
|
|
35
|
-
DescribeClusterCommandOutput,
|
|
36
|
-
} from "./commands/DescribeClusterCommand";
|
|
37
|
-
import {
|
|
38
|
-
DescribeClusterOperationCommand,
|
|
39
|
-
DescribeClusterOperationCommandInput,
|
|
40
|
-
DescribeClusterOperationCommandOutput,
|
|
41
|
-
} from "./commands/DescribeClusterOperationCommand";
|
|
42
|
-
import {
|
|
43
|
-
DescribeConfigurationCommand,
|
|
44
|
-
DescribeConfigurationCommandInput,
|
|
45
|
-
DescribeConfigurationCommandOutput,
|
|
46
|
-
} from "./commands/DescribeConfigurationCommand";
|
|
47
|
-
import {
|
|
48
|
-
DescribeConfigurationRevisionCommand,
|
|
49
|
-
DescribeConfigurationRevisionCommandInput,
|
|
50
|
-
DescribeConfigurationRevisionCommandOutput,
|
|
51
|
-
} from "./commands/DescribeConfigurationRevisionCommand";
|
|
52
|
-
import {
|
|
53
|
-
GetBootstrapBrokersCommand,
|
|
54
|
-
GetBootstrapBrokersCommandInput,
|
|
55
|
-
GetBootstrapBrokersCommandOutput,
|
|
56
|
-
} from "./commands/GetBootstrapBrokersCommand";
|
|
57
|
-
import {
|
|
58
|
-
GetCompatibleKafkaVersionsCommand,
|
|
59
|
-
GetCompatibleKafkaVersionsCommandInput,
|
|
60
|
-
GetCompatibleKafkaVersionsCommandOutput,
|
|
61
|
-
} from "./commands/GetCompatibleKafkaVersionsCommand";
|
|
62
|
-
import {
|
|
63
|
-
ListClusterOperationsCommand,
|
|
64
|
-
ListClusterOperationsCommandInput,
|
|
65
|
-
ListClusterOperationsCommandOutput,
|
|
66
|
-
} from "./commands/ListClusterOperationsCommand";
|
|
67
|
-
import {
|
|
68
|
-
ListClustersCommand,
|
|
69
|
-
ListClustersCommandInput,
|
|
70
|
-
ListClustersCommandOutput,
|
|
71
|
-
} from "./commands/ListClustersCommand";
|
|
72
|
-
import {
|
|
73
|
-
ListConfigurationRevisionsCommand,
|
|
74
|
-
ListConfigurationRevisionsCommandInput,
|
|
75
|
-
ListConfigurationRevisionsCommandOutput,
|
|
76
|
-
} from "./commands/ListConfigurationRevisionsCommand";
|
|
77
|
-
import {
|
|
78
|
-
ListConfigurationsCommand,
|
|
79
|
-
ListConfigurationsCommandInput,
|
|
80
|
-
ListConfigurationsCommandOutput,
|
|
81
|
-
} from "./commands/ListConfigurationsCommand";
|
|
82
|
-
import {
|
|
83
|
-
ListKafkaVersionsCommand,
|
|
84
|
-
ListKafkaVersionsCommandInput,
|
|
85
|
-
ListKafkaVersionsCommandOutput,
|
|
86
|
-
} from "./commands/ListKafkaVersionsCommand";
|
|
87
|
-
import { ListNodesCommand, ListNodesCommandInput, ListNodesCommandOutput } from "./commands/ListNodesCommand";
|
|
88
|
-
import {
|
|
89
|
-
ListScramSecretsCommand,
|
|
90
|
-
ListScramSecretsCommandInput,
|
|
91
|
-
ListScramSecretsCommandOutput,
|
|
92
|
-
} from "./commands/ListScramSecretsCommand";
|
|
93
|
-
import {
|
|
94
|
-
ListTagsForResourceCommand,
|
|
95
|
-
ListTagsForResourceCommandInput,
|
|
96
|
-
ListTagsForResourceCommandOutput,
|
|
97
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
98
|
-
import {
|
|
99
|
-
RebootBrokerCommand,
|
|
100
|
-
RebootBrokerCommandInput,
|
|
101
|
-
RebootBrokerCommandOutput,
|
|
102
|
-
} from "./commands/RebootBrokerCommand";
|
|
103
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
104
|
-
import {
|
|
105
|
-
UntagResourceCommand,
|
|
106
|
-
UntagResourceCommandInput,
|
|
107
|
-
UntagResourceCommandOutput,
|
|
108
|
-
} from "./commands/UntagResourceCommand";
|
|
109
|
-
import {
|
|
110
|
-
UpdateBrokerCountCommand,
|
|
111
|
-
UpdateBrokerCountCommandInput,
|
|
112
|
-
UpdateBrokerCountCommandOutput,
|
|
113
|
-
} from "./commands/UpdateBrokerCountCommand";
|
|
114
|
-
import {
|
|
115
|
-
UpdateBrokerStorageCommand,
|
|
116
|
-
UpdateBrokerStorageCommandInput,
|
|
117
|
-
UpdateBrokerStorageCommandOutput,
|
|
118
|
-
} from "./commands/UpdateBrokerStorageCommand";
|
|
119
|
-
import {
|
|
120
|
-
UpdateBrokerTypeCommand,
|
|
121
|
-
UpdateBrokerTypeCommandInput,
|
|
122
|
-
UpdateBrokerTypeCommandOutput,
|
|
123
|
-
} from "./commands/UpdateBrokerTypeCommand";
|
|
124
|
-
import {
|
|
125
|
-
UpdateClusterConfigurationCommand,
|
|
126
|
-
UpdateClusterConfigurationCommandInput,
|
|
127
|
-
UpdateClusterConfigurationCommandOutput,
|
|
128
|
-
} from "./commands/UpdateClusterConfigurationCommand";
|
|
129
|
-
import {
|
|
130
|
-
UpdateClusterKafkaVersionCommand,
|
|
131
|
-
UpdateClusterKafkaVersionCommandInput,
|
|
132
|
-
UpdateClusterKafkaVersionCommandOutput,
|
|
133
|
-
} from "./commands/UpdateClusterKafkaVersionCommand";
|
|
134
|
-
import {
|
|
135
|
-
UpdateConfigurationCommand,
|
|
136
|
-
UpdateConfigurationCommandInput,
|
|
137
|
-
UpdateConfigurationCommandOutput,
|
|
138
|
-
} from "./commands/UpdateConfigurationCommand";
|
|
139
|
-
import {
|
|
140
|
-
UpdateMonitoringCommand,
|
|
141
|
-
UpdateMonitoringCommandInput,
|
|
142
|
-
UpdateMonitoringCommandOutput,
|
|
143
|
-
} from "./commands/UpdateMonitoringCommand";
|
|
144
|
-
import {
|
|
145
|
-
UpdateSecurityCommand,
|
|
146
|
-
UpdateSecurityCommandInput,
|
|
147
|
-
UpdateSecurityCommandOutput,
|
|
148
|
-
} from "./commands/UpdateSecurityCommand";
|
|
149
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* <p>The operations for managing an Amazon MSK cluster.</p>
|
|
153
|
-
*/
|
|
154
|
-
export class Kafka extends KafkaClient {
|
|
155
|
-
/**
|
|
156
|
-
* <p>Associates one or more Scram Secrets with an Amazon MSK cluster.</p>
|
|
157
|
-
*/
|
|
158
|
-
public batchAssociateScramSecret(
|
|
159
|
-
args: BatchAssociateScramSecretCommandInput,
|
|
160
|
-
options?: __HttpHandlerOptions
|
|
161
|
-
): Promise<BatchAssociateScramSecretCommandOutput>;
|
|
162
|
-
public batchAssociateScramSecret(
|
|
163
|
-
args: BatchAssociateScramSecretCommandInput,
|
|
164
|
-
cb: (err: any, data?: BatchAssociateScramSecretCommandOutput) => void
|
|
165
|
-
): void;
|
|
166
|
-
public batchAssociateScramSecret(
|
|
167
|
-
args: BatchAssociateScramSecretCommandInput,
|
|
168
|
-
options: __HttpHandlerOptions,
|
|
169
|
-
cb: (err: any, data?: BatchAssociateScramSecretCommandOutput) => void
|
|
170
|
-
): void;
|
|
171
|
-
public batchAssociateScramSecret(
|
|
172
|
-
args: BatchAssociateScramSecretCommandInput,
|
|
173
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchAssociateScramSecretCommandOutput) => void),
|
|
174
|
-
cb?: (err: any, data?: BatchAssociateScramSecretCommandOutput) => void
|
|
175
|
-
): Promise<BatchAssociateScramSecretCommandOutput> | void {
|
|
176
|
-
const command = new BatchAssociateScramSecretCommand(args);
|
|
177
|
-
if (typeof optionsOrCb === "function") {
|
|
178
|
-
this.send(command, optionsOrCb);
|
|
179
|
-
} else if (typeof cb === "function") {
|
|
180
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
181
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
182
|
-
} else {
|
|
183
|
-
return this.send(command, optionsOrCb);
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* <p>Disassociates one or more Scram Secrets from an Amazon MSK cluster.</p>
|
|
189
|
-
*/
|
|
190
|
-
public batchDisassociateScramSecret(
|
|
191
|
-
args: BatchDisassociateScramSecretCommandInput,
|
|
192
|
-
options?: __HttpHandlerOptions
|
|
193
|
-
): Promise<BatchDisassociateScramSecretCommandOutput>;
|
|
194
|
-
public batchDisassociateScramSecret(
|
|
195
|
-
args: BatchDisassociateScramSecretCommandInput,
|
|
196
|
-
cb: (err: any, data?: BatchDisassociateScramSecretCommandOutput) => void
|
|
197
|
-
): void;
|
|
198
|
-
public batchDisassociateScramSecret(
|
|
199
|
-
args: BatchDisassociateScramSecretCommandInput,
|
|
200
|
-
options: __HttpHandlerOptions,
|
|
201
|
-
cb: (err: any, data?: BatchDisassociateScramSecretCommandOutput) => void
|
|
202
|
-
): void;
|
|
203
|
-
public batchDisassociateScramSecret(
|
|
204
|
-
args: BatchDisassociateScramSecretCommandInput,
|
|
205
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDisassociateScramSecretCommandOutput) => void),
|
|
206
|
-
cb?: (err: any, data?: BatchDisassociateScramSecretCommandOutput) => void
|
|
207
|
-
): Promise<BatchDisassociateScramSecretCommandOutput> | void {
|
|
208
|
-
const command = new BatchDisassociateScramSecretCommand(args);
|
|
209
|
-
if (typeof optionsOrCb === "function") {
|
|
210
|
-
this.send(command, optionsOrCb);
|
|
211
|
-
} else if (typeof cb === "function") {
|
|
212
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
213
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
214
|
-
} else {
|
|
215
|
-
return this.send(command, optionsOrCb);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* <p>Creates a new MSK cluster.</p>
|
|
221
|
-
*/
|
|
222
|
-
public createCluster(
|
|
223
|
-
args: CreateClusterCommandInput,
|
|
224
|
-
options?: __HttpHandlerOptions
|
|
225
|
-
): Promise<CreateClusterCommandOutput>;
|
|
226
|
-
public createCluster(
|
|
227
|
-
args: CreateClusterCommandInput,
|
|
228
|
-
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
229
|
-
): void;
|
|
230
|
-
public createCluster(
|
|
231
|
-
args: CreateClusterCommandInput,
|
|
232
|
-
options: __HttpHandlerOptions,
|
|
233
|
-
cb: (err: any, data?: CreateClusterCommandOutput) => void
|
|
234
|
-
): void;
|
|
235
|
-
public createCluster(
|
|
236
|
-
args: CreateClusterCommandInput,
|
|
237
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateClusterCommandOutput) => void),
|
|
238
|
-
cb?: (err: any, data?: CreateClusterCommandOutput) => void
|
|
239
|
-
): Promise<CreateClusterCommandOutput> | void {
|
|
240
|
-
const command = new CreateClusterCommand(args);
|
|
241
|
-
if (typeof optionsOrCb === "function") {
|
|
242
|
-
this.send(command, optionsOrCb);
|
|
243
|
-
} else if (typeof cb === "function") {
|
|
244
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
245
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
246
|
-
} else {
|
|
247
|
-
return this.send(command, optionsOrCb);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* <p>Creates a new MSK configuration.</p>
|
|
253
|
-
*/
|
|
254
|
-
public createConfiguration(
|
|
255
|
-
args: CreateConfigurationCommandInput,
|
|
256
|
-
options?: __HttpHandlerOptions
|
|
257
|
-
): Promise<CreateConfigurationCommandOutput>;
|
|
258
|
-
public createConfiguration(
|
|
259
|
-
args: CreateConfigurationCommandInput,
|
|
260
|
-
cb: (err: any, data?: CreateConfigurationCommandOutput) => void
|
|
261
|
-
): void;
|
|
262
|
-
public createConfiguration(
|
|
263
|
-
args: CreateConfigurationCommandInput,
|
|
264
|
-
options: __HttpHandlerOptions,
|
|
265
|
-
cb: (err: any, data?: CreateConfigurationCommandOutput) => void
|
|
266
|
-
): void;
|
|
267
|
-
public createConfiguration(
|
|
268
|
-
args: CreateConfigurationCommandInput,
|
|
269
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateConfigurationCommandOutput) => void),
|
|
270
|
-
cb?: (err: any, data?: CreateConfigurationCommandOutput) => void
|
|
271
|
-
): Promise<CreateConfigurationCommandOutput> | void {
|
|
272
|
-
const command = new CreateConfigurationCommand(args);
|
|
273
|
-
if (typeof optionsOrCb === "function") {
|
|
274
|
-
this.send(command, optionsOrCb);
|
|
275
|
-
} else if (typeof cb === "function") {
|
|
276
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
-
} else {
|
|
279
|
-
return this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* <p>Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.</p>
|
|
285
|
-
*/
|
|
286
|
-
public deleteCluster(
|
|
287
|
-
args: DeleteClusterCommandInput,
|
|
288
|
-
options?: __HttpHandlerOptions
|
|
289
|
-
): Promise<DeleteClusterCommandOutput>;
|
|
290
|
-
public deleteCluster(
|
|
291
|
-
args: DeleteClusterCommandInput,
|
|
292
|
-
cb: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
293
|
-
): void;
|
|
294
|
-
public deleteCluster(
|
|
295
|
-
args: DeleteClusterCommandInput,
|
|
296
|
-
options: __HttpHandlerOptions,
|
|
297
|
-
cb: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
298
|
-
): void;
|
|
299
|
-
public deleteCluster(
|
|
300
|
-
args: DeleteClusterCommandInput,
|
|
301
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteClusterCommandOutput) => void),
|
|
302
|
-
cb?: (err: any, data?: DeleteClusterCommandOutput) => void
|
|
303
|
-
): Promise<DeleteClusterCommandOutput> | void {
|
|
304
|
-
const command = new DeleteClusterCommand(args);
|
|
305
|
-
if (typeof optionsOrCb === "function") {
|
|
306
|
-
this.send(command, optionsOrCb);
|
|
307
|
-
} else if (typeof cb === "function") {
|
|
308
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
309
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
310
|
-
} else {
|
|
311
|
-
return this.send(command, optionsOrCb);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* <p>Deletes an MSK Configuration.</p>
|
|
317
|
-
*/
|
|
318
|
-
public deleteConfiguration(
|
|
319
|
-
args: DeleteConfigurationCommandInput,
|
|
320
|
-
options?: __HttpHandlerOptions
|
|
321
|
-
): Promise<DeleteConfigurationCommandOutput>;
|
|
322
|
-
public deleteConfiguration(
|
|
323
|
-
args: DeleteConfigurationCommandInput,
|
|
324
|
-
cb: (err: any, data?: DeleteConfigurationCommandOutput) => void
|
|
325
|
-
): void;
|
|
326
|
-
public deleteConfiguration(
|
|
327
|
-
args: DeleteConfigurationCommandInput,
|
|
328
|
-
options: __HttpHandlerOptions,
|
|
329
|
-
cb: (err: any, data?: DeleteConfigurationCommandOutput) => void
|
|
330
|
-
): void;
|
|
331
|
-
public deleteConfiguration(
|
|
332
|
-
args: DeleteConfigurationCommandInput,
|
|
333
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteConfigurationCommandOutput) => void),
|
|
334
|
-
cb?: (err: any, data?: DeleteConfigurationCommandOutput) => void
|
|
335
|
-
): Promise<DeleteConfigurationCommandOutput> | void {
|
|
336
|
-
const command = new DeleteConfigurationCommand(args);
|
|
337
|
-
if (typeof optionsOrCb === "function") {
|
|
338
|
-
this.send(command, optionsOrCb);
|
|
339
|
-
} else if (typeof cb === "function") {
|
|
340
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
341
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
342
|
-
} else {
|
|
343
|
-
return this.send(command, optionsOrCb);
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* <p>Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.</p>
|
|
349
|
-
*/
|
|
350
|
-
public describeCluster(
|
|
351
|
-
args: DescribeClusterCommandInput,
|
|
352
|
-
options?: __HttpHandlerOptions
|
|
353
|
-
): Promise<DescribeClusterCommandOutput>;
|
|
354
|
-
public describeCluster(
|
|
355
|
-
args: DescribeClusterCommandInput,
|
|
356
|
-
cb: (err: any, data?: DescribeClusterCommandOutput) => void
|
|
357
|
-
): void;
|
|
358
|
-
public describeCluster(
|
|
359
|
-
args: DescribeClusterCommandInput,
|
|
360
|
-
options: __HttpHandlerOptions,
|
|
361
|
-
cb: (err: any, data?: DescribeClusterCommandOutput) => void
|
|
362
|
-
): void;
|
|
363
|
-
public describeCluster(
|
|
364
|
-
args: DescribeClusterCommandInput,
|
|
365
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeClusterCommandOutput) => void),
|
|
366
|
-
cb?: (err: any, data?: DescribeClusterCommandOutput) => void
|
|
367
|
-
): Promise<DescribeClusterCommandOutput> | void {
|
|
368
|
-
const command = new DescribeClusterCommand(args);
|
|
369
|
-
if (typeof optionsOrCb === "function") {
|
|
370
|
-
this.send(command, optionsOrCb);
|
|
371
|
-
} else if (typeof cb === "function") {
|
|
372
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
373
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
374
|
-
} else {
|
|
375
|
-
return this.send(command, optionsOrCb);
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* <p>Returns a description of the cluster operation specified by the ARN.</p>
|
|
381
|
-
*/
|
|
382
|
-
public describeClusterOperation(
|
|
383
|
-
args: DescribeClusterOperationCommandInput,
|
|
384
|
-
options?: __HttpHandlerOptions
|
|
385
|
-
): Promise<DescribeClusterOperationCommandOutput>;
|
|
386
|
-
public describeClusterOperation(
|
|
387
|
-
args: DescribeClusterOperationCommandInput,
|
|
388
|
-
cb: (err: any, data?: DescribeClusterOperationCommandOutput) => void
|
|
389
|
-
): void;
|
|
390
|
-
public describeClusterOperation(
|
|
391
|
-
args: DescribeClusterOperationCommandInput,
|
|
392
|
-
options: __HttpHandlerOptions,
|
|
393
|
-
cb: (err: any, data?: DescribeClusterOperationCommandOutput) => void
|
|
394
|
-
): void;
|
|
395
|
-
public describeClusterOperation(
|
|
396
|
-
args: DescribeClusterOperationCommandInput,
|
|
397
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeClusterOperationCommandOutput) => void),
|
|
398
|
-
cb?: (err: any, data?: DescribeClusterOperationCommandOutput) => void
|
|
399
|
-
): Promise<DescribeClusterOperationCommandOutput> | void {
|
|
400
|
-
const command = new DescribeClusterOperationCommand(args);
|
|
401
|
-
if (typeof optionsOrCb === "function") {
|
|
402
|
-
this.send(command, optionsOrCb);
|
|
403
|
-
} else if (typeof cb === "function") {
|
|
404
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
405
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
406
|
-
} else {
|
|
407
|
-
return this.send(command, optionsOrCb);
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* <p>Returns a description of this MSK configuration.</p>
|
|
413
|
-
*/
|
|
414
|
-
public describeConfiguration(
|
|
415
|
-
args: DescribeConfigurationCommandInput,
|
|
416
|
-
options?: __HttpHandlerOptions
|
|
417
|
-
): Promise<DescribeConfigurationCommandOutput>;
|
|
418
|
-
public describeConfiguration(
|
|
419
|
-
args: DescribeConfigurationCommandInput,
|
|
420
|
-
cb: (err: any, data?: DescribeConfigurationCommandOutput) => void
|
|
421
|
-
): void;
|
|
422
|
-
public describeConfiguration(
|
|
423
|
-
args: DescribeConfigurationCommandInput,
|
|
424
|
-
options: __HttpHandlerOptions,
|
|
425
|
-
cb: (err: any, data?: DescribeConfigurationCommandOutput) => void
|
|
426
|
-
): void;
|
|
427
|
-
public describeConfiguration(
|
|
428
|
-
args: DescribeConfigurationCommandInput,
|
|
429
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConfigurationCommandOutput) => void),
|
|
430
|
-
cb?: (err: any, data?: DescribeConfigurationCommandOutput) => void
|
|
431
|
-
): Promise<DescribeConfigurationCommandOutput> | void {
|
|
432
|
-
const command = new DescribeConfigurationCommand(args);
|
|
433
|
-
if (typeof optionsOrCb === "function") {
|
|
434
|
-
this.send(command, optionsOrCb);
|
|
435
|
-
} else if (typeof cb === "function") {
|
|
436
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
437
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
438
|
-
} else {
|
|
439
|
-
return this.send(command, optionsOrCb);
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* <p>Returns a description of this revision of the configuration.</p>
|
|
445
|
-
*/
|
|
446
|
-
public describeConfigurationRevision(
|
|
447
|
-
args: DescribeConfigurationRevisionCommandInput,
|
|
448
|
-
options?: __HttpHandlerOptions
|
|
449
|
-
): Promise<DescribeConfigurationRevisionCommandOutput>;
|
|
450
|
-
public describeConfigurationRevision(
|
|
451
|
-
args: DescribeConfigurationRevisionCommandInput,
|
|
452
|
-
cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void
|
|
453
|
-
): void;
|
|
454
|
-
public describeConfigurationRevision(
|
|
455
|
-
args: DescribeConfigurationRevisionCommandInput,
|
|
456
|
-
options: __HttpHandlerOptions,
|
|
457
|
-
cb: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void
|
|
458
|
-
): void;
|
|
459
|
-
public describeConfigurationRevision(
|
|
460
|
-
args: DescribeConfigurationRevisionCommandInput,
|
|
461
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeConfigurationRevisionCommandOutput) => void),
|
|
462
|
-
cb?: (err: any, data?: DescribeConfigurationRevisionCommandOutput) => void
|
|
463
|
-
): Promise<DescribeConfigurationRevisionCommandOutput> | void {
|
|
464
|
-
const command = new DescribeConfigurationRevisionCommand(args);
|
|
465
|
-
if (typeof optionsOrCb === "function") {
|
|
466
|
-
this.send(command, optionsOrCb);
|
|
467
|
-
} else if (typeof cb === "function") {
|
|
468
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
469
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
470
|
-
} else {
|
|
471
|
-
return this.send(command, optionsOrCb);
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* <p>A list of brokers that a client application can use to bootstrap.</p>
|
|
477
|
-
*/
|
|
478
|
-
public getBootstrapBrokers(
|
|
479
|
-
args: GetBootstrapBrokersCommandInput,
|
|
480
|
-
options?: __HttpHandlerOptions
|
|
481
|
-
): Promise<GetBootstrapBrokersCommandOutput>;
|
|
482
|
-
public getBootstrapBrokers(
|
|
483
|
-
args: GetBootstrapBrokersCommandInput,
|
|
484
|
-
cb: (err: any, data?: GetBootstrapBrokersCommandOutput) => void
|
|
485
|
-
): void;
|
|
486
|
-
public getBootstrapBrokers(
|
|
487
|
-
args: GetBootstrapBrokersCommandInput,
|
|
488
|
-
options: __HttpHandlerOptions,
|
|
489
|
-
cb: (err: any, data?: GetBootstrapBrokersCommandOutput) => void
|
|
490
|
-
): void;
|
|
491
|
-
public getBootstrapBrokers(
|
|
492
|
-
args: GetBootstrapBrokersCommandInput,
|
|
493
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBootstrapBrokersCommandOutput) => void),
|
|
494
|
-
cb?: (err: any, data?: GetBootstrapBrokersCommandOutput) => void
|
|
495
|
-
): Promise<GetBootstrapBrokersCommandOutput> | void {
|
|
496
|
-
const command = new GetBootstrapBrokersCommand(args);
|
|
497
|
-
if (typeof optionsOrCb === "function") {
|
|
498
|
-
this.send(command, optionsOrCb);
|
|
499
|
-
} else if (typeof cb === "function") {
|
|
500
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
501
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
502
|
-
} else {
|
|
503
|
-
return this.send(command, optionsOrCb);
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* <p>Gets the Apache Kafka versions to which you can update the MSK cluster.</p>
|
|
509
|
-
*/
|
|
510
|
-
public getCompatibleKafkaVersions(
|
|
511
|
-
args: GetCompatibleKafkaVersionsCommandInput,
|
|
512
|
-
options?: __HttpHandlerOptions
|
|
513
|
-
): Promise<GetCompatibleKafkaVersionsCommandOutput>;
|
|
514
|
-
public getCompatibleKafkaVersions(
|
|
515
|
-
args: GetCompatibleKafkaVersionsCommandInput,
|
|
516
|
-
cb: (err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void
|
|
517
|
-
): void;
|
|
518
|
-
public getCompatibleKafkaVersions(
|
|
519
|
-
args: GetCompatibleKafkaVersionsCommandInput,
|
|
520
|
-
options: __HttpHandlerOptions,
|
|
521
|
-
cb: (err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void
|
|
522
|
-
): void;
|
|
523
|
-
public getCompatibleKafkaVersions(
|
|
524
|
-
args: GetCompatibleKafkaVersionsCommandInput,
|
|
525
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void),
|
|
526
|
-
cb?: (err: any, data?: GetCompatibleKafkaVersionsCommandOutput) => void
|
|
527
|
-
): Promise<GetCompatibleKafkaVersionsCommandOutput> | void {
|
|
528
|
-
const command = new GetCompatibleKafkaVersionsCommand(args);
|
|
529
|
-
if (typeof optionsOrCb === "function") {
|
|
530
|
-
this.send(command, optionsOrCb);
|
|
531
|
-
} else if (typeof cb === "function") {
|
|
532
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
533
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
534
|
-
} else {
|
|
535
|
-
return this.send(command, optionsOrCb);
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* <p>Returns a list of all the operations that have been performed on the specified MSK cluster.</p>
|
|
541
|
-
*/
|
|
542
|
-
public listClusterOperations(
|
|
543
|
-
args: ListClusterOperationsCommandInput,
|
|
544
|
-
options?: __HttpHandlerOptions
|
|
545
|
-
): Promise<ListClusterOperationsCommandOutput>;
|
|
546
|
-
public listClusterOperations(
|
|
547
|
-
args: ListClusterOperationsCommandInput,
|
|
548
|
-
cb: (err: any, data?: ListClusterOperationsCommandOutput) => void
|
|
549
|
-
): void;
|
|
550
|
-
public listClusterOperations(
|
|
551
|
-
args: ListClusterOperationsCommandInput,
|
|
552
|
-
options: __HttpHandlerOptions,
|
|
553
|
-
cb: (err: any, data?: ListClusterOperationsCommandOutput) => void
|
|
554
|
-
): void;
|
|
555
|
-
public listClusterOperations(
|
|
556
|
-
args: ListClusterOperationsCommandInput,
|
|
557
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListClusterOperationsCommandOutput) => void),
|
|
558
|
-
cb?: (err: any, data?: ListClusterOperationsCommandOutput) => void
|
|
559
|
-
): Promise<ListClusterOperationsCommandOutput> | void {
|
|
560
|
-
const command = new ListClusterOperationsCommand(args);
|
|
561
|
-
if (typeof optionsOrCb === "function") {
|
|
562
|
-
this.send(command, optionsOrCb);
|
|
563
|
-
} else if (typeof cb === "function") {
|
|
564
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
565
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
566
|
-
} else {
|
|
567
|
-
return this.send(command, optionsOrCb);
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* <p>Returns a list of all the MSK clusters in the current Region.</p>
|
|
573
|
-
*/
|
|
574
|
-
public listClusters(
|
|
575
|
-
args: ListClustersCommandInput,
|
|
576
|
-
options?: __HttpHandlerOptions
|
|
577
|
-
): Promise<ListClustersCommandOutput>;
|
|
578
|
-
public listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
579
|
-
public listClusters(
|
|
580
|
-
args: ListClustersCommandInput,
|
|
581
|
-
options: __HttpHandlerOptions,
|
|
582
|
-
cb: (err: any, data?: ListClustersCommandOutput) => void
|
|
583
|
-
): void;
|
|
584
|
-
public listClusters(
|
|
585
|
-
args: ListClustersCommandInput,
|
|
586
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListClustersCommandOutput) => void),
|
|
587
|
-
cb?: (err: any, data?: ListClustersCommandOutput) => void
|
|
588
|
-
): Promise<ListClustersCommandOutput> | void {
|
|
589
|
-
const command = new ListClustersCommand(args);
|
|
590
|
-
if (typeof optionsOrCb === "function") {
|
|
591
|
-
this.send(command, optionsOrCb);
|
|
592
|
-
} else if (typeof cb === "function") {
|
|
593
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
594
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
595
|
-
} else {
|
|
596
|
-
return this.send(command, optionsOrCb);
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* <p>Returns a list of all the MSK configurations in this Region.</p>
|
|
602
|
-
*/
|
|
603
|
-
public listConfigurationRevisions(
|
|
604
|
-
args: ListConfigurationRevisionsCommandInput,
|
|
605
|
-
options?: __HttpHandlerOptions
|
|
606
|
-
): Promise<ListConfigurationRevisionsCommandOutput>;
|
|
607
|
-
public listConfigurationRevisions(
|
|
608
|
-
args: ListConfigurationRevisionsCommandInput,
|
|
609
|
-
cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void
|
|
610
|
-
): void;
|
|
611
|
-
public listConfigurationRevisions(
|
|
612
|
-
args: ListConfigurationRevisionsCommandInput,
|
|
613
|
-
options: __HttpHandlerOptions,
|
|
614
|
-
cb: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void
|
|
615
|
-
): void;
|
|
616
|
-
public listConfigurationRevisions(
|
|
617
|
-
args: ListConfigurationRevisionsCommandInput,
|
|
618
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListConfigurationRevisionsCommandOutput) => void),
|
|
619
|
-
cb?: (err: any, data?: ListConfigurationRevisionsCommandOutput) => void
|
|
620
|
-
): Promise<ListConfigurationRevisionsCommandOutput> | void {
|
|
621
|
-
const command = new ListConfigurationRevisionsCommand(args);
|
|
622
|
-
if (typeof optionsOrCb === "function") {
|
|
623
|
-
this.send(command, optionsOrCb);
|
|
624
|
-
} else if (typeof cb === "function") {
|
|
625
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
626
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
627
|
-
} else {
|
|
628
|
-
return this.send(command, optionsOrCb);
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* <p>Returns a list of all the MSK configurations in this Region.</p>
|
|
634
|
-
*/
|
|
635
|
-
public listConfigurations(
|
|
636
|
-
args: ListConfigurationsCommandInput,
|
|
637
|
-
options?: __HttpHandlerOptions
|
|
638
|
-
): Promise<ListConfigurationsCommandOutput>;
|
|
639
|
-
public listConfigurations(
|
|
640
|
-
args: ListConfigurationsCommandInput,
|
|
641
|
-
cb: (err: any, data?: ListConfigurationsCommandOutput) => void
|
|
642
|
-
): void;
|
|
643
|
-
public listConfigurations(
|
|
644
|
-
args: ListConfigurationsCommandInput,
|
|
645
|
-
options: __HttpHandlerOptions,
|
|
646
|
-
cb: (err: any, data?: ListConfigurationsCommandOutput) => void
|
|
647
|
-
): void;
|
|
648
|
-
public listConfigurations(
|
|
649
|
-
args: ListConfigurationsCommandInput,
|
|
650
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListConfigurationsCommandOutput) => void),
|
|
651
|
-
cb?: (err: any, data?: ListConfigurationsCommandOutput) => void
|
|
652
|
-
): Promise<ListConfigurationsCommandOutput> | void {
|
|
653
|
-
const command = new ListConfigurationsCommand(args);
|
|
654
|
-
if (typeof optionsOrCb === "function") {
|
|
655
|
-
this.send(command, optionsOrCb);
|
|
656
|
-
} else if (typeof cb === "function") {
|
|
657
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
658
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
659
|
-
} else {
|
|
660
|
-
return this.send(command, optionsOrCb);
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* <p>Returns a list of Kafka versions.</p>
|
|
666
|
-
*/
|
|
667
|
-
public listKafkaVersions(
|
|
668
|
-
args: ListKafkaVersionsCommandInput,
|
|
669
|
-
options?: __HttpHandlerOptions
|
|
670
|
-
): Promise<ListKafkaVersionsCommandOutput>;
|
|
671
|
-
public listKafkaVersions(
|
|
672
|
-
args: ListKafkaVersionsCommandInput,
|
|
673
|
-
cb: (err: any, data?: ListKafkaVersionsCommandOutput) => void
|
|
674
|
-
): void;
|
|
675
|
-
public listKafkaVersions(
|
|
676
|
-
args: ListKafkaVersionsCommandInput,
|
|
677
|
-
options: __HttpHandlerOptions,
|
|
678
|
-
cb: (err: any, data?: ListKafkaVersionsCommandOutput) => void
|
|
679
|
-
): void;
|
|
680
|
-
public listKafkaVersions(
|
|
681
|
-
args: ListKafkaVersionsCommandInput,
|
|
682
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListKafkaVersionsCommandOutput) => void),
|
|
683
|
-
cb?: (err: any, data?: ListKafkaVersionsCommandOutput) => void
|
|
684
|
-
): Promise<ListKafkaVersionsCommandOutput> | void {
|
|
685
|
-
const command = new ListKafkaVersionsCommand(args);
|
|
686
|
-
if (typeof optionsOrCb === "function") {
|
|
687
|
-
this.send(command, optionsOrCb);
|
|
688
|
-
} else if (typeof cb === "function") {
|
|
689
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
690
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
691
|
-
} else {
|
|
692
|
-
return this.send(command, optionsOrCb);
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
/**
|
|
697
|
-
* <p>Returns a list of the broker nodes in the cluster.</p>
|
|
698
|
-
*/
|
|
699
|
-
public listNodes(args: ListNodesCommandInput, options?: __HttpHandlerOptions): Promise<ListNodesCommandOutput>;
|
|
700
|
-
public listNodes(args: ListNodesCommandInput, cb: (err: any, data?: ListNodesCommandOutput) => void): void;
|
|
701
|
-
public listNodes(
|
|
702
|
-
args: ListNodesCommandInput,
|
|
703
|
-
options: __HttpHandlerOptions,
|
|
704
|
-
cb: (err: any, data?: ListNodesCommandOutput) => void
|
|
705
|
-
): void;
|
|
706
|
-
public listNodes(
|
|
707
|
-
args: ListNodesCommandInput,
|
|
708
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListNodesCommandOutput) => void),
|
|
709
|
-
cb?: (err: any, data?: ListNodesCommandOutput) => void
|
|
710
|
-
): Promise<ListNodesCommandOutput> | void {
|
|
711
|
-
const command = new ListNodesCommand(args);
|
|
712
|
-
if (typeof optionsOrCb === "function") {
|
|
713
|
-
this.send(command, optionsOrCb);
|
|
714
|
-
} else if (typeof cb === "function") {
|
|
715
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
716
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
717
|
-
} else {
|
|
718
|
-
return this.send(command, optionsOrCb);
|
|
719
|
-
}
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* <p>Returns a list of the Scram Secrets associated with an Amazon MSK cluster.</p>
|
|
724
|
-
*/
|
|
725
|
-
public listScramSecrets(
|
|
726
|
-
args: ListScramSecretsCommandInput,
|
|
727
|
-
options?: __HttpHandlerOptions
|
|
728
|
-
): Promise<ListScramSecretsCommandOutput>;
|
|
729
|
-
public listScramSecrets(
|
|
730
|
-
args: ListScramSecretsCommandInput,
|
|
731
|
-
cb: (err: any, data?: ListScramSecretsCommandOutput) => void
|
|
732
|
-
): void;
|
|
733
|
-
public listScramSecrets(
|
|
734
|
-
args: ListScramSecretsCommandInput,
|
|
735
|
-
options: __HttpHandlerOptions,
|
|
736
|
-
cb: (err: any, data?: ListScramSecretsCommandOutput) => void
|
|
737
|
-
): void;
|
|
738
|
-
public listScramSecrets(
|
|
739
|
-
args: ListScramSecretsCommandInput,
|
|
740
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListScramSecretsCommandOutput) => void),
|
|
741
|
-
cb?: (err: any, data?: ListScramSecretsCommandOutput) => void
|
|
742
|
-
): Promise<ListScramSecretsCommandOutput> | void {
|
|
743
|
-
const command = new ListScramSecretsCommand(args);
|
|
744
|
-
if (typeof optionsOrCb === "function") {
|
|
745
|
-
this.send(command, optionsOrCb);
|
|
746
|
-
} else if (typeof cb === "function") {
|
|
747
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
748
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
749
|
-
} else {
|
|
750
|
-
return this.send(command, optionsOrCb);
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* <p>Returns a list of the tags associated with the specified resource.</p>
|
|
756
|
-
*/
|
|
757
|
-
public listTagsForResource(
|
|
758
|
-
args: ListTagsForResourceCommandInput,
|
|
759
|
-
options?: __HttpHandlerOptions
|
|
760
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
761
|
-
public listTagsForResource(
|
|
762
|
-
args: ListTagsForResourceCommandInput,
|
|
763
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
764
|
-
): void;
|
|
765
|
-
public listTagsForResource(
|
|
766
|
-
args: ListTagsForResourceCommandInput,
|
|
767
|
-
options: __HttpHandlerOptions,
|
|
768
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
769
|
-
): void;
|
|
770
|
-
public listTagsForResource(
|
|
771
|
-
args: ListTagsForResourceCommandInput,
|
|
772
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
773
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
774
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
775
|
-
const command = new ListTagsForResourceCommand(args);
|
|
776
|
-
if (typeof optionsOrCb === "function") {
|
|
777
|
-
this.send(command, optionsOrCb);
|
|
778
|
-
} else if (typeof cb === "function") {
|
|
779
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
780
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
781
|
-
} else {
|
|
782
|
-
return this.send(command, optionsOrCb);
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* Reboots brokers.
|
|
788
|
-
*/
|
|
789
|
-
public rebootBroker(
|
|
790
|
-
args: RebootBrokerCommandInput,
|
|
791
|
-
options?: __HttpHandlerOptions
|
|
792
|
-
): Promise<RebootBrokerCommandOutput>;
|
|
793
|
-
public rebootBroker(args: RebootBrokerCommandInput, cb: (err: any, data?: RebootBrokerCommandOutput) => void): void;
|
|
794
|
-
public rebootBroker(
|
|
795
|
-
args: RebootBrokerCommandInput,
|
|
796
|
-
options: __HttpHandlerOptions,
|
|
797
|
-
cb: (err: any, data?: RebootBrokerCommandOutput) => void
|
|
798
|
-
): void;
|
|
799
|
-
public rebootBroker(
|
|
800
|
-
args: RebootBrokerCommandInput,
|
|
801
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RebootBrokerCommandOutput) => void),
|
|
802
|
-
cb?: (err: any, data?: RebootBrokerCommandOutput) => void
|
|
803
|
-
): Promise<RebootBrokerCommandOutput> | void {
|
|
804
|
-
const command = new RebootBrokerCommand(args);
|
|
805
|
-
if (typeof optionsOrCb === "function") {
|
|
806
|
-
this.send(command, optionsOrCb);
|
|
807
|
-
} else if (typeof cb === "function") {
|
|
808
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
809
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
810
|
-
} else {
|
|
811
|
-
return this.send(command, optionsOrCb);
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* <p>Adds tags to the specified MSK resource.</p>
|
|
817
|
-
*/
|
|
818
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
819
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
820
|
-
public tagResource(
|
|
821
|
-
args: TagResourceCommandInput,
|
|
822
|
-
options: __HttpHandlerOptions,
|
|
823
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
824
|
-
): void;
|
|
825
|
-
public tagResource(
|
|
826
|
-
args: TagResourceCommandInput,
|
|
827
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
828
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
829
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
830
|
-
const command = new TagResourceCommand(args);
|
|
831
|
-
if (typeof optionsOrCb === "function") {
|
|
832
|
-
this.send(command, optionsOrCb);
|
|
833
|
-
} else if (typeof cb === "function") {
|
|
834
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
835
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
836
|
-
} else {
|
|
837
|
-
return this.send(command, optionsOrCb);
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
/**
|
|
842
|
-
* <p>Removes the tags associated with the keys that are provided in the query.</p>
|
|
843
|
-
*/
|
|
844
|
-
public untagResource(
|
|
845
|
-
args: UntagResourceCommandInput,
|
|
846
|
-
options?: __HttpHandlerOptions
|
|
847
|
-
): Promise<UntagResourceCommandOutput>;
|
|
848
|
-
public untagResource(
|
|
849
|
-
args: UntagResourceCommandInput,
|
|
850
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
851
|
-
): void;
|
|
852
|
-
public untagResource(
|
|
853
|
-
args: UntagResourceCommandInput,
|
|
854
|
-
options: __HttpHandlerOptions,
|
|
855
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
856
|
-
): void;
|
|
857
|
-
public untagResource(
|
|
858
|
-
args: UntagResourceCommandInput,
|
|
859
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
860
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
861
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
862
|
-
const command = new UntagResourceCommand(args);
|
|
863
|
-
if (typeof optionsOrCb === "function") {
|
|
864
|
-
this.send(command, optionsOrCb);
|
|
865
|
-
} else if (typeof cb === "function") {
|
|
866
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
867
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
868
|
-
} else {
|
|
869
|
-
return this.send(command, optionsOrCb);
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* <p>Updates the number of broker nodes in the cluster.</p>
|
|
875
|
-
*/
|
|
876
|
-
public updateBrokerCount(
|
|
877
|
-
args: UpdateBrokerCountCommandInput,
|
|
878
|
-
options?: __HttpHandlerOptions
|
|
879
|
-
): Promise<UpdateBrokerCountCommandOutput>;
|
|
880
|
-
public updateBrokerCount(
|
|
881
|
-
args: UpdateBrokerCountCommandInput,
|
|
882
|
-
cb: (err: any, data?: UpdateBrokerCountCommandOutput) => void
|
|
883
|
-
): void;
|
|
884
|
-
public updateBrokerCount(
|
|
885
|
-
args: UpdateBrokerCountCommandInput,
|
|
886
|
-
options: __HttpHandlerOptions,
|
|
887
|
-
cb: (err: any, data?: UpdateBrokerCountCommandOutput) => void
|
|
888
|
-
): void;
|
|
889
|
-
public updateBrokerCount(
|
|
890
|
-
args: UpdateBrokerCountCommandInput,
|
|
891
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateBrokerCountCommandOutput) => void),
|
|
892
|
-
cb?: (err: any, data?: UpdateBrokerCountCommandOutput) => void
|
|
893
|
-
): Promise<UpdateBrokerCountCommandOutput> | void {
|
|
894
|
-
const command = new UpdateBrokerCountCommand(args);
|
|
895
|
-
if (typeof optionsOrCb === "function") {
|
|
896
|
-
this.send(command, optionsOrCb);
|
|
897
|
-
} else if (typeof cb === "function") {
|
|
898
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
899
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
900
|
-
} else {
|
|
901
|
-
return this.send(command, optionsOrCb);
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* <p>Updates the EBS storage associated with MSK brokers.</p>
|
|
907
|
-
*/
|
|
908
|
-
public updateBrokerStorage(
|
|
909
|
-
args: UpdateBrokerStorageCommandInput,
|
|
910
|
-
options?: __HttpHandlerOptions
|
|
911
|
-
): Promise<UpdateBrokerStorageCommandOutput>;
|
|
912
|
-
public updateBrokerStorage(
|
|
913
|
-
args: UpdateBrokerStorageCommandInput,
|
|
914
|
-
cb: (err: any, data?: UpdateBrokerStorageCommandOutput) => void
|
|
915
|
-
): void;
|
|
916
|
-
public updateBrokerStorage(
|
|
917
|
-
args: UpdateBrokerStorageCommandInput,
|
|
918
|
-
options: __HttpHandlerOptions,
|
|
919
|
-
cb: (err: any, data?: UpdateBrokerStorageCommandOutput) => void
|
|
920
|
-
): void;
|
|
921
|
-
public updateBrokerStorage(
|
|
922
|
-
args: UpdateBrokerStorageCommandInput,
|
|
923
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateBrokerStorageCommandOutput) => void),
|
|
924
|
-
cb?: (err: any, data?: UpdateBrokerStorageCommandOutput) => void
|
|
925
|
-
): Promise<UpdateBrokerStorageCommandOutput> | void {
|
|
926
|
-
const command = new UpdateBrokerStorageCommand(args);
|
|
927
|
-
if (typeof optionsOrCb === "function") {
|
|
928
|
-
this.send(command, optionsOrCb);
|
|
929
|
-
} else if (typeof cb === "function") {
|
|
930
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
931
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
932
|
-
} else {
|
|
933
|
-
return this.send(command, optionsOrCb);
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* <p>Updates EC2 instance type.</p>
|
|
939
|
-
*/
|
|
940
|
-
public updateBrokerType(
|
|
941
|
-
args: UpdateBrokerTypeCommandInput,
|
|
942
|
-
options?: __HttpHandlerOptions
|
|
943
|
-
): Promise<UpdateBrokerTypeCommandOutput>;
|
|
944
|
-
public updateBrokerType(
|
|
945
|
-
args: UpdateBrokerTypeCommandInput,
|
|
946
|
-
cb: (err: any, data?: UpdateBrokerTypeCommandOutput) => void
|
|
947
|
-
): void;
|
|
948
|
-
public updateBrokerType(
|
|
949
|
-
args: UpdateBrokerTypeCommandInput,
|
|
950
|
-
options: __HttpHandlerOptions,
|
|
951
|
-
cb: (err: any, data?: UpdateBrokerTypeCommandOutput) => void
|
|
952
|
-
): void;
|
|
953
|
-
public updateBrokerType(
|
|
954
|
-
args: UpdateBrokerTypeCommandInput,
|
|
955
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateBrokerTypeCommandOutput) => void),
|
|
956
|
-
cb?: (err: any, data?: UpdateBrokerTypeCommandOutput) => void
|
|
957
|
-
): Promise<UpdateBrokerTypeCommandOutput> | void {
|
|
958
|
-
const command = new UpdateBrokerTypeCommand(args);
|
|
959
|
-
if (typeof optionsOrCb === "function") {
|
|
960
|
-
this.send(command, optionsOrCb);
|
|
961
|
-
} else if (typeof cb === "function") {
|
|
962
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
963
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
964
|
-
} else {
|
|
965
|
-
return this.send(command, optionsOrCb);
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
/**
|
|
970
|
-
* <p>Updates the cluster with the configuration that is specified in the request body.</p>
|
|
971
|
-
*/
|
|
972
|
-
public updateClusterConfiguration(
|
|
973
|
-
args: UpdateClusterConfigurationCommandInput,
|
|
974
|
-
options?: __HttpHandlerOptions
|
|
975
|
-
): Promise<UpdateClusterConfigurationCommandOutput>;
|
|
976
|
-
public updateClusterConfiguration(
|
|
977
|
-
args: UpdateClusterConfigurationCommandInput,
|
|
978
|
-
cb: (err: any, data?: UpdateClusterConfigurationCommandOutput) => void
|
|
979
|
-
): void;
|
|
980
|
-
public updateClusterConfiguration(
|
|
981
|
-
args: UpdateClusterConfigurationCommandInput,
|
|
982
|
-
options: __HttpHandlerOptions,
|
|
983
|
-
cb: (err: any, data?: UpdateClusterConfigurationCommandOutput) => void
|
|
984
|
-
): void;
|
|
985
|
-
public updateClusterConfiguration(
|
|
986
|
-
args: UpdateClusterConfigurationCommandInput,
|
|
987
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateClusterConfigurationCommandOutput) => void),
|
|
988
|
-
cb?: (err: any, data?: UpdateClusterConfigurationCommandOutput) => void
|
|
989
|
-
): Promise<UpdateClusterConfigurationCommandOutput> | void {
|
|
990
|
-
const command = new UpdateClusterConfigurationCommand(args);
|
|
991
|
-
if (typeof optionsOrCb === "function") {
|
|
992
|
-
this.send(command, optionsOrCb);
|
|
993
|
-
} else if (typeof cb === "function") {
|
|
994
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
995
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
996
|
-
} else {
|
|
997
|
-
return this.send(command, optionsOrCb);
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
/**
|
|
1002
|
-
* <p>Updates the Apache Kafka version for the cluster.</p>
|
|
1003
|
-
*/
|
|
1004
|
-
public updateClusterKafkaVersion(
|
|
1005
|
-
args: UpdateClusterKafkaVersionCommandInput,
|
|
1006
|
-
options?: __HttpHandlerOptions
|
|
1007
|
-
): Promise<UpdateClusterKafkaVersionCommandOutput>;
|
|
1008
|
-
public updateClusterKafkaVersion(
|
|
1009
|
-
args: UpdateClusterKafkaVersionCommandInput,
|
|
1010
|
-
cb: (err: any, data?: UpdateClusterKafkaVersionCommandOutput) => void
|
|
1011
|
-
): void;
|
|
1012
|
-
public updateClusterKafkaVersion(
|
|
1013
|
-
args: UpdateClusterKafkaVersionCommandInput,
|
|
1014
|
-
options: __HttpHandlerOptions,
|
|
1015
|
-
cb: (err: any, data?: UpdateClusterKafkaVersionCommandOutput) => void
|
|
1016
|
-
): void;
|
|
1017
|
-
public updateClusterKafkaVersion(
|
|
1018
|
-
args: UpdateClusterKafkaVersionCommandInput,
|
|
1019
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateClusterKafkaVersionCommandOutput) => void),
|
|
1020
|
-
cb?: (err: any, data?: UpdateClusterKafkaVersionCommandOutput) => void
|
|
1021
|
-
): Promise<UpdateClusterKafkaVersionCommandOutput> | void {
|
|
1022
|
-
const command = new UpdateClusterKafkaVersionCommand(args);
|
|
1023
|
-
if (typeof optionsOrCb === "function") {
|
|
1024
|
-
this.send(command, optionsOrCb);
|
|
1025
|
-
} else if (typeof cb === "function") {
|
|
1026
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1027
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1028
|
-
} else {
|
|
1029
|
-
return this.send(command, optionsOrCb);
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
/**
|
|
1034
|
-
* <p>Updates an MSK configuration.</p>
|
|
1035
|
-
*/
|
|
1036
|
-
public updateConfiguration(
|
|
1037
|
-
args: UpdateConfigurationCommandInput,
|
|
1038
|
-
options?: __HttpHandlerOptions
|
|
1039
|
-
): Promise<UpdateConfigurationCommandOutput>;
|
|
1040
|
-
public updateConfiguration(
|
|
1041
|
-
args: UpdateConfigurationCommandInput,
|
|
1042
|
-
cb: (err: any, data?: UpdateConfigurationCommandOutput) => void
|
|
1043
|
-
): void;
|
|
1044
|
-
public updateConfiguration(
|
|
1045
|
-
args: UpdateConfigurationCommandInput,
|
|
1046
|
-
options: __HttpHandlerOptions,
|
|
1047
|
-
cb: (err: any, data?: UpdateConfigurationCommandOutput) => void
|
|
1048
|
-
): void;
|
|
1049
|
-
public updateConfiguration(
|
|
1050
|
-
args: UpdateConfigurationCommandInput,
|
|
1051
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateConfigurationCommandOutput) => void),
|
|
1052
|
-
cb?: (err: any, data?: UpdateConfigurationCommandOutput) => void
|
|
1053
|
-
): Promise<UpdateConfigurationCommandOutput> | void {
|
|
1054
|
-
const command = new UpdateConfigurationCommand(args);
|
|
1055
|
-
if (typeof optionsOrCb === "function") {
|
|
1056
|
-
this.send(command, optionsOrCb);
|
|
1057
|
-
} else if (typeof cb === "function") {
|
|
1058
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1059
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1060
|
-
} else {
|
|
1061
|
-
return this.send(command, optionsOrCb);
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
|
|
1065
|
-
/**
|
|
1066
|
-
* <p>Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.</p>
|
|
1067
|
-
*/
|
|
1068
|
-
public updateMonitoring(
|
|
1069
|
-
args: UpdateMonitoringCommandInput,
|
|
1070
|
-
options?: __HttpHandlerOptions
|
|
1071
|
-
): Promise<UpdateMonitoringCommandOutput>;
|
|
1072
|
-
public updateMonitoring(
|
|
1073
|
-
args: UpdateMonitoringCommandInput,
|
|
1074
|
-
cb: (err: any, data?: UpdateMonitoringCommandOutput) => void
|
|
1075
|
-
): void;
|
|
1076
|
-
public updateMonitoring(
|
|
1077
|
-
args: UpdateMonitoringCommandInput,
|
|
1078
|
-
options: __HttpHandlerOptions,
|
|
1079
|
-
cb: (err: any, data?: UpdateMonitoringCommandOutput) => void
|
|
1080
|
-
): void;
|
|
1081
|
-
public updateMonitoring(
|
|
1082
|
-
args: UpdateMonitoringCommandInput,
|
|
1083
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateMonitoringCommandOutput) => void),
|
|
1084
|
-
cb?: (err: any, data?: UpdateMonitoringCommandOutput) => void
|
|
1085
|
-
): Promise<UpdateMonitoringCommandOutput> | void {
|
|
1086
|
-
const command = new UpdateMonitoringCommand(args);
|
|
1087
|
-
if (typeof optionsOrCb === "function") {
|
|
1088
|
-
this.send(command, optionsOrCb);
|
|
1089
|
-
} else if (typeof cb === "function") {
|
|
1090
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1091
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1092
|
-
} else {
|
|
1093
|
-
return this.send(command, optionsOrCb);
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* <p>Updates the security settings for the cluster. You can use this operation to specify encryption and authentication on existing clusters.</p>
|
|
1099
|
-
*/
|
|
1100
|
-
public updateSecurity(
|
|
1101
|
-
args: UpdateSecurityCommandInput,
|
|
1102
|
-
options?: __HttpHandlerOptions
|
|
1103
|
-
): Promise<UpdateSecurityCommandOutput>;
|
|
1104
|
-
public updateSecurity(
|
|
1105
|
-
args: UpdateSecurityCommandInput,
|
|
1106
|
-
cb: (err: any, data?: UpdateSecurityCommandOutput) => void
|
|
1107
|
-
): void;
|
|
1108
|
-
public updateSecurity(
|
|
1109
|
-
args: UpdateSecurityCommandInput,
|
|
1110
|
-
options: __HttpHandlerOptions,
|
|
1111
|
-
cb: (err: any, data?: UpdateSecurityCommandOutput) => void
|
|
1112
|
-
): void;
|
|
1113
|
-
public updateSecurity(
|
|
1114
|
-
args: UpdateSecurityCommandInput,
|
|
1115
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSecurityCommandOutput) => void),
|
|
1116
|
-
cb?: (err: any, data?: UpdateSecurityCommandOutput) => void
|
|
1117
|
-
): Promise<UpdateSecurityCommandOutput> | void {
|
|
1118
|
-
const command = new UpdateSecurityCommand(args);
|
|
1119
|
-
if (typeof optionsOrCb === "function") {
|
|
1120
|
-
this.send(command, optionsOrCb);
|
|
1121
|
-
} else if (typeof cb === "function") {
|
|
1122
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1124
|
-
} else {
|
|
1125
|
-
return this.send(command, optionsOrCb);
|
|
1126
|
-
}
|
|
1127
|
-
}
|
|
1128
|
-
}
|