Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- applyEnvironmentManagedAction :: Text -> ApplyEnvironmentManagedAction
- data ApplyEnvironmentManagedAction
- aemaEnvironmentName :: Lens' ApplyEnvironmentManagedAction (Maybe Text)
- aemaEnvironmentId :: Lens' ApplyEnvironmentManagedAction (Maybe Text)
- aemaActionId :: Lens' ApplyEnvironmentManagedAction Text
- applyEnvironmentManagedActionResponse :: Int -> ApplyEnvironmentManagedActionResponse
- data ApplyEnvironmentManagedActionResponse
- aemarsStatus :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text)
- aemarsActionId :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text)
- aemarsActionDescription :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text)
- aemarsActionType :: Lens' ApplyEnvironmentManagedActionResponse (Maybe ActionType)
- aemarsResponseStatus :: Lens' ApplyEnvironmentManagedActionResponse Int
Creating a Request
applyEnvironmentManagedAction Source #
Creates a value of ApplyEnvironmentManagedAction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ApplyEnvironmentManagedAction Source #
Request to execute a scheduled managed action immediately.
See: applyEnvironmentManagedAction
smart constructor.
Request Lenses
aemaEnvironmentName :: Lens' ApplyEnvironmentManagedAction (Maybe Text) Source #
The name of the target environment.
aemaEnvironmentId :: Lens' ApplyEnvironmentManagedAction (Maybe Text) Source #
The environment ID of the target environment.
aemaActionId :: Lens' ApplyEnvironmentManagedAction Text Source #
The action ID of the scheduled managed action to execute.
Destructuring the Response
applyEnvironmentManagedActionResponse Source #
Creates a value of ApplyEnvironmentManagedActionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ApplyEnvironmentManagedActionResponse Source #
The result message containing information about the managed action.
See: applyEnvironmentManagedActionResponse
smart constructor.
Response Lenses
aemarsStatus :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) Source #
The status of the managed action.
aemarsActionId :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) Source #
The action ID of the managed action.
aemarsActionDescription :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) Source #
A description of the managed action.
aemarsActionType :: Lens' ApplyEnvironmentManagedActionResponse (Maybe ActionType) Source #
The type of managed action.
aemarsResponseStatus :: Lens' ApplyEnvironmentManagedActionResponse Int Source #
The response status code.