deleteChannelPlacementGroup method
Delete the specified ChannelPlacementGroup that exists in the specified Cluster.
May throw BadGatewayException.
May throw BadRequestException.
May throw ConflictException.
May throw ForbiddenException.
May throw GatewayTimeoutException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter channelPlacementGroupId :
The ID of the channel placement group.
Parameter clusterId :
The ID of the cluster.
Implementation
Future<DeleteChannelPlacementGroupResponse> deleteChannelPlacementGroup({
required String channelPlacementGroupId,
required String clusterId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/prod/clusters/${Uri.encodeComponent(clusterId)}/channelplacementgroups/${Uri.encodeComponent(channelPlacementGroupId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteChannelPlacementGroupResponse.fromJson(response);
}