getOutpost method
Gets information about the specified Outpost.
May throw ValidationException. May throw NotFoundException. May throw AccessDeniedException. May throw InternalServerException.
Implementation
Future<GetOutpostOutput> getOutpost({
required String outpostId,
}) async {
ArgumentError.checkNotNull(outpostId, 'outpostId');
_s.validateStringLength(
'outpostId',
outpostId,
1,
180,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/outposts/${Uri.encodeComponent(outpostId)}',
exceptionFnMap: _exceptionFns,
);
return GetOutpostOutput.fromJson(response);
}