libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.Types.ManagedAgent

Description

 
Synopsis

Documentation

data ManagedAgent Source #

Details about the managed agent status for the container.

See: newManagedAgent smart constructor.

Constructors

ManagedAgent' 

Fields

Instances

Instances details
Eq ManagedAgent Source # 
Instance details

Defined in Amazonka.ECS.Types.ManagedAgent

Read ManagedAgent Source # 
Instance details

Defined in Amazonka.ECS.Types.ManagedAgent

Show ManagedAgent Source # 
Instance details

Defined in Amazonka.ECS.Types.ManagedAgent

Generic ManagedAgent Source # 
Instance details

Defined in Amazonka.ECS.Types.ManagedAgent

Associated Types

type Rep ManagedAgent :: Type -> Type #

NFData ManagedAgent Source # 
Instance details

Defined in Amazonka.ECS.Types.ManagedAgent

Methods

rnf :: ManagedAgent -> () #

Hashable ManagedAgent Source # 
Instance details

Defined in Amazonka.ECS.Types.ManagedAgent

FromJSON ManagedAgent Source # 
Instance details

Defined in Amazonka.ECS.Types.ManagedAgent

type Rep ManagedAgent Source # 
Instance details

Defined in Amazonka.ECS.Types.ManagedAgent

type Rep ManagedAgent = D1 ('MetaData "ManagedAgent" "Amazonka.ECS.Types.ManagedAgent" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "ManagedAgent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ManagedAgentName)) :*: S1 ('MetaSel ('Just "lastStartedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newManagedAgent :: ManagedAgent Source #

Create a value of ManagedAgent 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:lastStatus:ManagedAgent', managedAgent_lastStatus - The last known status of the managed agent.

$sel:reason:ManagedAgent', managedAgent_reason - The reason for why the managed agent is in the state it is in.

$sel:name:ManagedAgent', managedAgent_name - The name of the managed agent. When the execute command feature is enabled, the managed agent name is ExecuteCommandAgent.

$sel:lastStartedAt:ManagedAgent', managedAgent_lastStartedAt - The Unix timestamp for when the managed agent was last started.

managedAgent_lastStatus :: Lens' ManagedAgent (Maybe Text) Source #

The last known status of the managed agent.

managedAgent_reason :: Lens' ManagedAgent (Maybe Text) Source #

The reason for why the managed agent is in the state it is in.

managedAgent_name :: Lens' ManagedAgent (Maybe ManagedAgentName) Source #

The name of the managed agent. When the execute command feature is enabled, the managed agent name is ExecuteCommandAgent.

managedAgent_lastStartedAt :: Lens' ManagedAgent (Maybe UTCTime) Source #

The Unix timestamp for when the managed agent was last started.