describePortal method

Future<DescribePortalResponse> describePortal({
  1. required String portalId,
})

Retrieves information about a portal.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter portalId : The ID of the portal.

Implementation

Future<DescribePortalResponse> describePortal({
  required String portalId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/portals/${Uri.encodeComponent(portalId)}',
    hostPrefix: 'monitor.',
    exceptionFnMap: _exceptionFns,
  );
  return DescribePortalResponse.fromJson(response);
}