libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming
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.Route53AutoNaming.GetInstance

Description

Gets information about a specified instance.

Synopsis

Creating a Request

data GetInstance Source #

See: newGetInstance smart constructor.

Constructors

GetInstance' 

Fields

  • serviceId :: Text

    The ID of the service that the instance is associated with.

  • instanceId :: Text

    The ID of the instance that you want to get information about.

Instances

Instances details
Eq GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Read GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Show GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Generic GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Associated Types

type Rep GetInstance :: Type -> Type #

NFData GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Methods

rnf :: GetInstance -> () #

Hashable GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

ToJSON GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

AWSRequest GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Associated Types

type AWSResponse GetInstance #

ToHeaders GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Methods

toHeaders :: GetInstance -> [Header] #

ToPath GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

ToQuery GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

type Rep GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

type Rep GetInstance = D1 ('MetaData "GetInstance" "Amazonka.Route53AutoNaming.GetInstance" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "GetInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

newGetInstance Source #

Create a value of GetInstance 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:serviceId:GetInstance', getInstance_serviceId - The ID of the service that the instance is associated with.

$sel:instanceId:GetInstance', getInstance_instanceId - The ID of the instance that you want to get information about.

Request Lenses

getInstance_serviceId :: Lens' GetInstance Text Source #

The ID of the service that the instance is associated with.

getInstance_instanceId :: Lens' GetInstance Text Source #

The ID of the instance that you want to get information about.

Destructuring the Response

data GetInstanceResponse Source #

See: newGetInstanceResponse smart constructor.

Constructors

GetInstanceResponse' 

Fields

Instances

Instances details
Eq GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Read GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Show GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Generic GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Associated Types

type Rep GetInstanceResponse :: Type -> Type #

NFData GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Methods

rnf :: GetInstanceResponse -> () #

type Rep GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

type Rep GetInstanceResponse = D1 ('MetaData "GetInstanceResponse" "Amazonka.Route53AutoNaming.GetInstance" "libZSservicesZSamazonka-route53-autonamingZSamazonka-route53-autonaming" 'False) (C1 ('MetaCons "GetInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instance'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Instance)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetInstanceResponse Source #

Create a value of GetInstanceResponse 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':GetInstanceResponse', getInstanceResponse_instance - A complex type that contains information about a specified instance.

$sel:httpStatus:GetInstanceResponse', getInstanceResponse_httpStatus - The response's http status code.

Response Lenses

getInstanceResponse_instance :: Lens' GetInstanceResponse (Maybe Instance) Source #

A complex type that contains information about a specified instance.