putActions method
Adds one or more actions to an Actions dataset. For more information see Importing actions individually.
May throw InvalidInputException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
Parameter actions :
A list of action data.
Parameter datasetArn :
The Amazon Resource Name (ARN) of the Actions dataset you are adding the
action or actions to.
Implementation
Future<void> putActions({
required List<Action> actions,
required String datasetArn,
}) async {
final $payload = <String, dynamic>{
'actions': actions,
'datasetArn': datasetArn,
};
await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/actions',
exceptionFnMap: _exceptionFns,
);
}