ApplyEnvironmentManagedAction - AWS Elastic Beanstalk

ApplyEnvironmentManagedAction

Applies a scheduled managed action immediately. A managed action can be applied only if its status is Scheduled. Get the status and action ID of a managed action with DescribeEnvironmentManagedActions.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

ActionId

The action ID of the scheduled managed action to execute.

Type: String

Required: Yes

EnvironmentId

The environment ID of the target environment.

Type: String

Required: No

EnvironmentName

The name of the target environment.

Type: String

Required: No

Response Elements

The following elements are returned by the service.

ActionDescription

A description of the managed action.

Type: String

ActionId

The action ID of the managed action.

Type: String

ActionType

The type of managed action.

Type: String

Valid Values: InstanceRefresh | PlatformUpdate | Unknown

Status

The status of the managed action.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

ElasticBeanstalkService

A generic service exception has occurred.

HTTP Status Code: 400

ManagedActionInvalidState

Cannot modify the managed action in its current state.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: