| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ElasticBeanstalk.ApplyEnvironmentManagedAction
Description
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.
Synopsis
- data ApplyEnvironmentManagedAction = ApplyEnvironmentManagedAction' {}
- newApplyEnvironmentManagedAction :: Text -> ApplyEnvironmentManagedAction
- applyEnvironmentManagedAction_environmentId :: Lens' ApplyEnvironmentManagedAction (Maybe Text)
- applyEnvironmentManagedAction_environmentName :: Lens' ApplyEnvironmentManagedAction (Maybe Text)
- applyEnvironmentManagedAction_actionId :: Lens' ApplyEnvironmentManagedAction Text
- data ApplyEnvironmentManagedActionResponse = ApplyEnvironmentManagedActionResponse' {
- actionDescription :: Maybe Text
- actionId :: Maybe Text
- actionType :: Maybe ActionType
- status :: Maybe Text
- httpStatus :: Int
- newApplyEnvironmentManagedActionResponse :: Int -> ApplyEnvironmentManagedActionResponse
- applyEnvironmentManagedActionResponse_actionDescription :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text)
- applyEnvironmentManagedActionResponse_actionId :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text)
- applyEnvironmentManagedActionResponse_actionType :: Lens' ApplyEnvironmentManagedActionResponse (Maybe ActionType)
- applyEnvironmentManagedActionResponse_status :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text)
- applyEnvironmentManagedActionResponse_httpStatus :: Lens' ApplyEnvironmentManagedActionResponse Int
Creating a Request
data ApplyEnvironmentManagedAction Source #
Request to execute a scheduled managed action immediately.
See: newApplyEnvironmentManagedAction smart constructor.
Constructors
| ApplyEnvironmentManagedAction' | |
Fields
| |
Instances
newApplyEnvironmentManagedAction Source #
Create a value of ApplyEnvironmentManagedAction with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ApplyEnvironmentManagedAction, applyEnvironmentManagedAction_environmentId - The environment ID of the target environment.
ApplyEnvironmentManagedAction, applyEnvironmentManagedAction_environmentName - The name of the target environment.
ApplyEnvironmentManagedAction, applyEnvironmentManagedAction_actionId - The action ID of the scheduled managed action to execute.
Request Lenses
applyEnvironmentManagedAction_environmentId :: Lens' ApplyEnvironmentManagedAction (Maybe Text) Source #
The environment ID of the target environment.
applyEnvironmentManagedAction_environmentName :: Lens' ApplyEnvironmentManagedAction (Maybe Text) Source #
The name of the target environment.
applyEnvironmentManagedAction_actionId :: Lens' ApplyEnvironmentManagedAction Text Source #
The action ID of the scheduled managed action to execute.
Destructuring the Response
data ApplyEnvironmentManagedActionResponse Source #
The result message containing information about the managed action.
See: newApplyEnvironmentManagedActionResponse smart constructor.
Constructors
| ApplyEnvironmentManagedActionResponse' | |
Fields
| |
Instances
newApplyEnvironmentManagedActionResponse Source #
Arguments
| :: Int | |
| -> ApplyEnvironmentManagedActionResponse |
Create a value of ApplyEnvironmentManagedActionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ApplyEnvironmentManagedActionResponse, applyEnvironmentManagedActionResponse_actionDescription - A description of the managed action.
ApplyEnvironmentManagedAction, applyEnvironmentManagedActionResponse_actionId - The action ID of the managed action.
ApplyEnvironmentManagedActionResponse, applyEnvironmentManagedActionResponse_actionType - The type of managed action.
ApplyEnvironmentManagedActionResponse, applyEnvironmentManagedActionResponse_status - The status of the managed action.
$sel:httpStatus:ApplyEnvironmentManagedActionResponse', applyEnvironmentManagedActionResponse_httpStatus - The response's http status code.
Response Lenses
applyEnvironmentManagedActionResponse_actionDescription :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) Source #
A description of the managed action.
applyEnvironmentManagedActionResponse_actionId :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) Source #
The action ID of the managed action.
applyEnvironmentManagedActionResponse_actionType :: Lens' ApplyEnvironmentManagedActionResponse (Maybe ActionType) Source #
The type of managed action.
applyEnvironmentManagedActionResponse_status :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) Source #
The status of the managed action.
applyEnvironmentManagedActionResponse_httpStatus :: Lens' ApplyEnvironmentManagedActionResponse Int Source #
The response's http status code.