| 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.ECS.Types.ManagedAgentStateChange
Description
Synopsis
- data ManagedAgentStateChange = ManagedAgentStateChange' {}
- newManagedAgentStateChange :: Text -> ManagedAgentName -> Text -> ManagedAgentStateChange
- managedAgentStateChange_reason :: Lens' ManagedAgentStateChange (Maybe Text)
- managedAgentStateChange_containerName :: Lens' ManagedAgentStateChange Text
- managedAgentStateChange_managedAgentName :: Lens' ManagedAgentStateChange ManagedAgentName
- managedAgentStateChange_status :: Lens' ManagedAgentStateChange Text
Documentation
data ManagedAgentStateChange Source #
An object representing a change in state for a managed agent.
See: newManagedAgentStateChange smart constructor.
Constructors
| ManagedAgentStateChange' | |
Fields
| |
Instances
newManagedAgentStateChange Source #
Arguments
| :: Text | |
| -> ManagedAgentName | |
| -> Text | |
| -> ManagedAgentStateChange |
Create a value of ManagedAgentStateChange 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:reason:ManagedAgentStateChange', managedAgentStateChange_reason - The reason for the status of the managed agent.
$sel:containerName:ManagedAgentStateChange', managedAgentStateChange_containerName - The name of the container that's associated with the managed agent.
$sel:managedAgentName:ManagedAgentStateChange', managedAgentStateChange_managedAgentName - The name of the managed agent.
$sel:status:ManagedAgentStateChange', managedAgentStateChange_status - The status of the managed agent.
managedAgentStateChange_reason :: Lens' ManagedAgentStateChange (Maybe Text) Source #
The reason for the status of the managed agent.
managedAgentStateChange_containerName :: Lens' ManagedAgentStateChange Text Source #
The name of the container that's associated with the managed agent.
managedAgentStateChange_managedAgentName :: Lens' ManagedAgentStateChange ManagedAgentName Source #
The name of the managed agent.
managedAgentStateChange_status :: Lens' ManagedAgentStateChange Text Source #
The status of the managed agent.