getEnabledBaseline method
Retrieve details of an EnabledBaseline resource by specifying
its identifier.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter enabledBaselineIdentifier :
Identifier of the EnabledBaseline resource to be retrieved,
in ARN format.
Implementation
Future<GetEnabledBaselineOutput> getEnabledBaseline({
required String enabledBaselineIdentifier,
}) async {
final $payload = <String, dynamic>{
'enabledBaselineIdentifier': enabledBaselineIdentifier,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/get-enabled-baseline',
exceptionFnMap: _exceptionFns,
);
return GetEnabledBaselineOutput.fromJson(response);
}