AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Deletes the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DeleteClusterPolicyAsync.

Namespace: Amazon.Kafka
Assembly: AWSSDK.Kafka.dll
Version: 3.x.y.z

Syntax

C#
public abstract DeleteClusterPolicyResponse DeleteClusterPolicy(
         DeleteClusterPolicyRequest request
)

Parameters

request
Type: Amazon.Kafka.Model.DeleteClusterPolicyRequest

Container for the necessary parameters to execute the DeleteClusterPolicy service method.

Return Value


The response from the DeleteClusterPolicy service method, as returned by Kafka.

Exceptions

ExceptionCondition
BadRequestException Returns information about an error.
ForbiddenException Returns information about an error.
InternalServerErrorException Returns information about an error.
NotFoundException Returns information about an error.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also