describeVpcConnection method

Future<DescribeVpcConnectionResponse> describeVpcConnection({
  1. required String arn,
})

Returns a description of this MSK VPC connection.

May throw BadRequestException. May throw ForbiddenException. May throw InternalServerErrorException. May throw NotFoundException. May throw ServiceUnavailableException. May throw UnauthorizedException.

Parameter arn : The Amazon Resource Name (ARN) that uniquely identifies a MSK VPC connection.

Implementation

Future<DescribeVpcConnectionResponse> describeVpcConnection({
  required String arn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/vpc-connection/${Uri.encodeComponent(arn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeVpcConnectionResponse.fromJson(response);
}