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

Description

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

Returns the current state of the specified instance identifier. It tracks the instance while it is being created and returns an error status, if applicable.

If an instance is not created successfully, the instance status reason field returns details relevant to the reason. The instance in a failed state is returned only for 24 hours after the CreateInstance API was invoked.

Synopsis

Creating a Request

data DescribeInstance Source #

See: newDescribeInstance smart constructor.

Constructors

DescribeInstance' 

Fields

  • instanceId :: Text

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

Instances

Instances details
Eq DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

Read DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

Show DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

Generic DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

Associated Types

type Rep DescribeInstance :: Type -> Type #

NFData DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

Methods

rnf :: DescribeInstance -> () #

Hashable DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

AWSRequest DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

Associated Types

type AWSResponse DescribeInstance #

ToHeaders DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

ToPath DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

ToQuery DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

type Rep DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

type Rep DescribeInstance = D1 ('MetaData "DescribeInstance" "Amazonka.Connect.DescribeInstance" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "DescribeInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeInstance Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

newDescribeInstance Source #

Create a value of DescribeInstance 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:instanceId:DescribeInstance', describeInstance_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

describeInstance_instanceId :: Lens' DescribeInstance Text Source #

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

Destructuring the Response

data DescribeInstanceResponse Source #

See: newDescribeInstanceResponse smart constructor.

Constructors

DescribeInstanceResponse' 

Fields

Instances

Instances details
Eq DescribeInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

Show DescribeInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

Generic DescribeInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

Associated Types

type Rep DescribeInstanceResponse :: Type -> Type #

NFData DescribeInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

type Rep DescribeInstanceResponse Source # 
Instance details

Defined in Amazonka.Connect.DescribeInstance

type Rep DescribeInstanceResponse = D1 ('MetaData "DescribeInstanceResponse" "Amazonka.Connect.DescribeInstance" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "DescribeInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instance'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Instance)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeInstanceResponse Source #

Create a value of DescribeInstanceResponse 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:instance':DescribeInstanceResponse', describeInstanceResponse_instance - The name of the instance.

$sel:httpStatus:DescribeInstanceResponse', describeInstanceResponse_httpStatus - The response's http status code.

Response Lenses