getOutpost method

Future<GetOutpostOutput> getOutpost({
  1. required String outpostId,
})

Gets information about the specified Outpost.

May throw AccessDeniedException. May throw InternalServerException. May throw NotFoundException. May throw ValidationException.

Parameter outpostId : The ID or ARN of the Outpost.

Implementation

Future<GetOutpostOutput> getOutpost({
  required String outpostId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/outposts/${Uri.encodeComponent(outpostId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetOutpostOutput.fromJson(response);
}