Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_environmentName :: Lens' ApplyEnvironmentManagedAction (Maybe Text)
- applyEnvironmentManagedAction_environmentId :: Lens' ApplyEnvironmentManagedAction (Maybe Text)
- applyEnvironmentManagedAction_actionId :: Lens' ApplyEnvironmentManagedAction Text
- data ApplyEnvironmentManagedActionResponse = ApplyEnvironmentManagedActionResponse' {
- status :: Maybe Text
- actionId :: Maybe Text
- actionDescription :: Maybe Text
- actionType :: Maybe ActionType
- httpStatus :: Int
- newApplyEnvironmentManagedActionResponse :: Int -> ApplyEnvironmentManagedActionResponse
- applyEnvironmentManagedActionResponse_status :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text)
- applyEnvironmentManagedActionResponse_actionId :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text)
- applyEnvironmentManagedActionResponse_actionDescription :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text)
- applyEnvironmentManagedActionResponse_actionType :: Lens' ApplyEnvironmentManagedActionResponse (Maybe ActionType)
- applyEnvironmentManagedActionResponse_httpStatus :: Lens' ApplyEnvironmentManagedActionResponse Int
Creating a Request
data ApplyEnvironmentManagedAction Source #
Request to execute a scheduled managed action immediately.
See: newApplyEnvironmentManagedAction
smart constructor.
ApplyEnvironmentManagedAction' | |
|
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:
$sel:environmentName:ApplyEnvironmentManagedAction'
, applyEnvironmentManagedAction_environmentName
- The name of the target environment.
$sel:environmentId:ApplyEnvironmentManagedAction'
, applyEnvironmentManagedAction_environmentId
- The environment ID of the target environment.
$sel:actionId:ApplyEnvironmentManagedAction'
, applyEnvironmentManagedAction_actionId
- The action ID of the scheduled managed action to execute.
Request Lenses
applyEnvironmentManagedAction_environmentName :: Lens' ApplyEnvironmentManagedAction (Maybe Text) Source #
The name of the target environment.
applyEnvironmentManagedAction_environmentId :: Lens' ApplyEnvironmentManagedAction (Maybe Text) Source #
The environment ID 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.
ApplyEnvironmentManagedActionResponse' | |
|
Instances
newApplyEnvironmentManagedActionResponse Source #
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:
$sel:status:ApplyEnvironmentManagedActionResponse'
, applyEnvironmentManagedActionResponse_status
- The status of the managed action.
$sel:actionId:ApplyEnvironmentManagedAction'
, applyEnvironmentManagedActionResponse_actionId
- The action ID of the managed action.
$sel:actionDescription:ApplyEnvironmentManagedActionResponse'
, applyEnvironmentManagedActionResponse_actionDescription
- A description of the managed action.
$sel:actionType:ApplyEnvironmentManagedActionResponse'
, applyEnvironmentManagedActionResponse_actionType
- The type of managed action.
$sel:httpStatus:ApplyEnvironmentManagedActionResponse'
, applyEnvironmentManagedActionResponse_httpStatus
- The response's http status code.
Response Lenses
applyEnvironmentManagedActionResponse_status :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) Source #
The status of the managed action.
applyEnvironmentManagedActionResponse_actionId :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) Source #
The action ID of the managed action.
applyEnvironmentManagedActionResponse_actionDescription :: Lens' ApplyEnvironmentManagedActionResponse (Maybe Text) Source #
A description of the managed action.
applyEnvironmentManagedActionResponse_actionType :: Lens' ApplyEnvironmentManagedActionResponse (Maybe ActionType) Source #
The type of managed action.
applyEnvironmentManagedActionResponse_httpStatus :: Lens' ApplyEnvironmentManagedActionResponse Int Source #
The response's http status code.