describeRoleAlias method

Future<DescribeRoleAliasResponse> describeRoleAlias({
  1. required String roleAlias,
})

Describes a role alias.

Requires permission to access the DescribeRoleAlias action.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ServiceUnavailableException. May throw ThrottlingException. May throw UnauthorizedException.

Parameter roleAlias : The role alias to describe.

Implementation

Future<DescribeRoleAliasResponse> describeRoleAlias({
  required String roleAlias,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/role-aliases/${Uri.encodeComponent(roleAlias)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeRoleAliasResponse.fromJson(response);
}