libZSservicesZSamazonka-connectZSamazonka-connect
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.Connect.UpdateAgentStatus

Description

This API is in preview release for Amazon Connect and is subject to change.

Updates agent status.

Synopsis

Creating a Request

data UpdateAgentStatus Source #

See: newUpdateAgentStatus smart constructor.

Constructors

UpdateAgentStatus' 

Fields

Instances

Instances details
Eq UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Read UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Show UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Generic UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Associated Types

type Rep UpdateAgentStatus :: Type -> Type #

NFData UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Methods

rnf :: UpdateAgentStatus -> () #

Hashable UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

ToJSON UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

AWSRequest UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Associated Types

type AWSResponse UpdateAgentStatus #

ToHeaders UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

ToPath UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

ToQuery UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

type Rep UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

type Rep UpdateAgentStatus = D1 ('MetaData "UpdateAgentStatus" "Amazonka.Connect.UpdateAgentStatus" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "UpdateAgentStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "displayOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AgentStatusState)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "resetOrderNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "agentStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

newUpdateAgentStatus Source #

Create a value of UpdateAgentStatus 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:displayOrder:UpdateAgentStatus', updateAgentStatus_displayOrder - The display order of the agent status.

$sel:state:UpdateAgentStatus', updateAgentStatus_state - The state of the agent status.

$sel:name:UpdateAgentStatus', updateAgentStatus_name - The name of the agent status.

$sel:resetOrderNumber:UpdateAgentStatus', updateAgentStatus_resetOrderNumber - A number indicating the reset order of the agent status.

$sel:description:UpdateAgentStatus', updateAgentStatus_description - The description of the agent status.

$sel:instanceId:UpdateAgentStatus', updateAgentStatus_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

$sel:agentStatusId:UpdateAgentStatus', updateAgentStatus_agentStatusId - The identifier of the agent status.

Request Lenses

updateAgentStatus_displayOrder :: Lens' UpdateAgentStatus (Maybe Natural) Source #

The display order of the agent status.

updateAgentStatus_name :: Lens' UpdateAgentStatus (Maybe Text) Source #

The name of the agent status.

updateAgentStatus_resetOrderNumber :: Lens' UpdateAgentStatus (Maybe Bool) Source #

A number indicating the reset order of the agent status.

updateAgentStatus_description :: Lens' UpdateAgentStatus (Maybe Text) Source #

The description of the agent status.

updateAgentStatus_instanceId :: Lens' UpdateAgentStatus Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

updateAgentStatus_agentStatusId :: Lens' UpdateAgentStatus Text Source #

The identifier of the agent status.

Destructuring the Response

data UpdateAgentStatusResponse Source #

See: newUpdateAgentStatusResponse smart constructor.

Instances

Instances details
Eq UpdateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Read UpdateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Show UpdateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Generic UpdateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

Associated Types

type Rep UpdateAgentStatusResponse :: Type -> Type #

NFData UpdateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

type Rep UpdateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.UpdateAgentStatus

type Rep UpdateAgentStatusResponse = D1 ('MetaData "UpdateAgentStatusResponse" "Amazonka.Connect.UpdateAgentStatus" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "UpdateAgentStatusResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateAgentStatusResponse :: UpdateAgentStatusResponse Source #

Create a value of UpdateAgentStatusResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.