getCustomAction method
Returns a custom action.
May throw InternalServiceError.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw UnauthorizedException.
Parameter customActionArn :
Returns the fully defined Amazon Resource Name (ARN) of the custom action.
Implementation
Future<GetCustomActionResult> getCustomAction({
required String customActionArn,
}) async {
final $payload = <String, dynamic>{
'CustomActionArn': customActionArn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/get-custom-action',
exceptionFnMap: _exceptionFns,
);
return GetCustomActionResult.fromJson(response);
}