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.CreateAgentStatus

Description

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

Creates an agent status for the specified Amazon Connect instance.

Synopsis

Creating a Request

data CreateAgentStatus Source #

See: newCreateAgentStatus smart constructor.

Constructors

CreateAgentStatus' 

Fields

Instances

Instances details
Eq CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Read CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Show CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Generic CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Associated Types

type Rep CreateAgentStatus :: Type -> Type #

NFData CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Methods

rnf :: CreateAgentStatus -> () #

Hashable CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

ToJSON CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

AWSRequest CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Associated Types

type AWSResponse CreateAgentStatus #

ToHeaders CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

ToPath CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

ToQuery CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

type Rep CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

type AWSResponse CreateAgentStatus Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

newCreateAgentStatus Source #

Create a value of CreateAgentStatus 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:CreateAgentStatus', createAgentStatus_displayOrder - The display order of the status.

$sel:description:CreateAgentStatus', createAgentStatus_description - The description of the status.

$sel:tags:CreateAgentStatus', createAgentStatus_tags - One or more tags.

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

$sel:name:CreateAgentStatus', createAgentStatus_name - The name of the status.

$sel:state:CreateAgentStatus', createAgentStatus_state - The state of the status.

Request Lenses

createAgentStatus_instanceId :: Lens' CreateAgentStatus Text Source #

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

Destructuring the Response

data CreateAgentStatusResponse Source #

See: newCreateAgentStatusResponse smart constructor.

Constructors

CreateAgentStatusResponse' 

Fields

Instances

Instances details
Eq CreateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Read CreateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Show CreateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Generic CreateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

Associated Types

type Rep CreateAgentStatusResponse :: Type -> Type #

NFData CreateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

type Rep CreateAgentStatusResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateAgentStatus

type Rep CreateAgentStatusResponse = D1 ('MetaData "CreateAgentStatusResponse" "Amazonka.Connect.CreateAgentStatus" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateAgentStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "agentStatusId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "agentStatusARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateAgentStatusResponse Source #

Create a value of CreateAgentStatusResponse 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:agentStatusId:CreateAgentStatusResponse', createAgentStatusResponse_agentStatusId - The identifier of the agent status.

$sel:agentStatusARN:CreateAgentStatusResponse', createAgentStatusResponse_agentStatusARN - The Amazon Resource Name (ARN) of the agent status.

$sel:httpStatus:CreateAgentStatusResponse', createAgentStatusResponse_httpStatus - The response's http status code.

Response Lenses

createAgentStatusResponse_agentStatusARN :: Lens' CreateAgentStatusResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the agent status.