amazonka-datasync-2.0: Amazon DataSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataSync.Types.AgentListEntry

Description

 
Synopsis

Documentation

data AgentListEntry Source #

Represents a single entry in a list of agents. AgentListEntry returns an array that contains a list of agents when the ListAgents operation is called.

See: newAgentListEntry smart constructor.

Constructors

AgentListEntry' 

Fields

Instances

Instances details
FromJSON AgentListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.AgentListEntry

Generic AgentListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.AgentListEntry

Associated Types

type Rep AgentListEntry :: Type -> Type #

Read AgentListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.AgentListEntry

Show AgentListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.AgentListEntry

NFData AgentListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.AgentListEntry

Methods

rnf :: AgentListEntry -> () #

Eq AgentListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.AgentListEntry

Hashable AgentListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.AgentListEntry

type Rep AgentListEntry Source # 
Instance details

Defined in Amazonka.DataSync.Types.AgentListEntry

type Rep AgentListEntry = D1 ('MetaData "AgentListEntry" "Amazonka.DataSync.Types.AgentListEntry" "amazonka-datasync-2.0-LCcm4ddRe2z4CES4wun76Z" 'False) (C1 ('MetaCons "AgentListEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "agentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AgentStatus)))))

newAgentListEntry :: AgentListEntry Source #

Create a value of AgentListEntry 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:agentArn:AgentListEntry', agentListEntry_agentArn - The Amazon Resource Name (ARN) of the agent.

$sel:name:AgentListEntry', agentListEntry_name - The name of the agent.

$sel:status:AgentListEntry', agentListEntry_status - The status of the agent.

agentListEntry_agentArn :: Lens' AgentListEntry (Maybe Text) Source #

The Amazon Resource Name (ARN) of the agent.