getEnvironmentAction method
Gets the specified environment action.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter domainIdentifier :
The ID of the Amazon DataZone domain in which the
GetEnvironmentAction API is invoked.
Parameter environmentIdentifier :
The environment ID of the environment action.
Parameter identifier :
The ID of the environment action
Implementation
Future<GetEnvironmentActionOutput> getEnvironmentAction({
required String domainIdentifier,
required String environmentIdentifier,
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v2/domains/${Uri.encodeComponent(domainIdentifier)}/environments/${Uri.encodeComponent(environmentIdentifier)}/actions/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetEnvironmentActionOutput.fromJson(response);
}