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 |
Network.AWS.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
.
- 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 #
Arguments
:: Text | |
-> ApplyEnvironmentManagedAction |
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:
aemaEnvironmentName
- The name of the target environment.aemaEnvironmentId
- The environment ID of the target environment.aemaActionId
- The action ID of the scheduled managed action to execute.
data ApplyEnvironmentManagedAction #
Request to execute a scheduled managed action immediately.
See: applyEnvironmentManagedAction
smart constructor.
Instances
Request Lenses
aemaEnvironmentName :: Lens' ApplyEnvironmentManagedAction (Maybe Text) #
The name of the target environment.
aemaEnvironmentId :: Lens' ApplyEnvironmentManagedAction (Maybe Text) #
The environment ID of the target environment.
aemaActionId :: Lens' ApplyEnvironmentManagedAction Text #
The action ID of the scheduled managed action to execute.
Destructuring the Response
applyEnvironmentManagedActionResponse #
Arguments
:: Int | |
-> ApplyEnvironmentManagedActionResponse |
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:
aemarsStatus
- The status of the managed action.aemarsActionId
- The action ID of the managed action.aemarsActionDescription
- A description of the managed action.aemarsActionType
- The type of managed action.aemarsResponseStatus
- -- | The response status code.
data ApplyEnvironmentManagedActionResponse #
The result message containing information about the managed action.
See: applyEnvironmentManagedActionResponse
smart constructor.
Instances
Response Lenses
aemarsStatus :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) #
The status of the managed action.
aemarsActionId :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) #
The action ID of the managed action.
aemarsActionDescription :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) #
A description of the managed action.
aemarsActionType :: Lens' ApplyEnvironmentManagedActionResponse (Maybe ActionType) #
The type of managed action.
aemarsResponseStatus :: Lens' ApplyEnvironmentManagedActionResponse Int #
- - | The response status code.