getResponsePlan method
Retrieves the details of the specified response plan.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter arn :
The Amazon Resource Name (ARN) of the response plan.
Implementation
Future<GetResponsePlanOutput> getResponsePlan({
required String arn,
}) async {
final $query = <String, List<String>>{
'arn': [arn],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/getResponsePlan',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetResponsePlanOutput.fromJson(response);
}