libZSservicesZSamazonka-datasyncZSamazonka-datasync
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.DataSync.UpdateAgent

Description

Updates the name of an agent.

Synopsis

Creating a Request

data UpdateAgent Source #

UpdateAgentRequest

See: newUpdateAgent smart constructor.

Constructors

UpdateAgent' 

Fields

  • name :: Maybe Text

    The name that you want to use to configure the agent.

  • agentArn :: Text

    The Amazon Resource Name (ARN) of the agent to update.

Instances

Instances details
Eq UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Read UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Show UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Generic UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Associated Types

type Rep UpdateAgent :: Type -> Type #

NFData UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Methods

rnf :: UpdateAgent -> () #

Hashable UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

ToJSON UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

AWSRequest UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Associated Types

type AWSResponse UpdateAgent #

ToHeaders UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Methods

toHeaders :: UpdateAgent -> [Header] #

ToPath UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

ToQuery UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

type Rep UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

type Rep UpdateAgent = D1 ('MetaData "UpdateAgent" "Amazonka.DataSync.UpdateAgent" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "UpdateAgent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "agentArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateAgent Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

newUpdateAgent Source #

Create a value of UpdateAgent 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:name:UpdateAgent', updateAgent_name - The name that you want to use to configure the agent.

$sel:agentArn:UpdateAgent', updateAgent_agentArn - The Amazon Resource Name (ARN) of the agent to update.

Request Lenses

updateAgent_name :: Lens' UpdateAgent (Maybe Text) Source #

The name that you want to use to configure the agent.

updateAgent_agentArn :: Lens' UpdateAgent Text Source #

The Amazon Resource Name (ARN) of the agent to update.

Destructuring the Response

data UpdateAgentResponse Source #

See: newUpdateAgentResponse smart constructor.

Constructors

UpdateAgentResponse' 

Fields

Instances

Instances details
Eq UpdateAgentResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Read UpdateAgentResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Show UpdateAgentResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Generic UpdateAgentResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Associated Types

type Rep UpdateAgentResponse :: Type -> Type #

NFData UpdateAgentResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

Methods

rnf :: UpdateAgentResponse -> () #

type Rep UpdateAgentResponse Source # 
Instance details

Defined in Amazonka.DataSync.UpdateAgent

type Rep UpdateAgentResponse = D1 ('MetaData "UpdateAgentResponse" "Amazonka.DataSync.UpdateAgent" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "UpdateAgentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateAgentResponse Source #

Create a value of UpdateAgentResponse 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:httpStatus:UpdateAgentResponse', updateAgentResponse_httpStatus - The response's http status code.

Response Lenses