describeEnvironmentManagedActions method
Future<DescribeEnvironmentManagedActionsResult>
describeEnvironmentManagedActions({
- String? environmentId,
- String? environmentName,
- ActionStatus? status,
Lists an environment's upcoming and in-progress managed actions.
May throw ElasticBeanstalkServiceException.
Parameter environmentId
:
The environment ID of the target environment.
Parameter environmentName
:
The name of the target environment.
Parameter status
:
To show only actions with a particular status, specify a status.
Implementation
Future<DescribeEnvironmentManagedActionsResult>
describeEnvironmentManagedActions({
String? environmentId,
String? environmentName,
ActionStatus? status,
}) async {
final $request = <String, dynamic>{};
environmentId?.also((arg) => $request['EnvironmentId'] = arg);
environmentName?.also((arg) => $request['EnvironmentName'] = arg);
status?.also((arg) => $request['Status'] = arg.toValue());
final $result = await _protocol.send(
$request,
action: 'DescribeEnvironmentManagedActions',
version: '2010-12-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeEnvironmentManagedActionsRequest'],
shapes: shapes,
resultWrapper: 'DescribeEnvironmentManagedActionsResult',
);
return DescribeEnvironmentManagedActionsResult.fromXml($result);
}