describeAccessEntry method

Future<DescribeAccessEntryResponse> describeAccessEntry({
  1. required String clusterName,
  2. required String principalArn,
})

Describes an access entry.

May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ServerException.

Parameter clusterName : The name of your cluster.

Parameter principalArn : The ARN of the IAM principal for the AccessEntry.

Implementation

Future<DescribeAccessEntryResponse> describeAccessEntry({
  required String clusterName,
  required String principalArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/clusters/${Uri.encodeComponent(clusterName)}/access-entries/${Uri.encodeComponent(principalArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeAccessEntryResponse.fromJson(response);
}