amazonka-route53-autonaming-2.0: Amazon Cloud Map SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.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

AWSRequest GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Associated Types

type AWSResponse GetInstance #

Generic GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Associated Types

type Rep GetInstance :: Type -> Type #

Read GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Show GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

NFData GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Methods

rnf :: GetInstance -> () #

Eq GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Hashable GetInstance Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

type AWSResponse 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" "amazonka-route53-autonaming-2.0-98MlwjLW1enGruUXoTOCqp" 'False) (C1 ('MetaCons "GetInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

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
Generic GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Associated Types

type Rep GetInstanceResponse :: Type -> Type #

Read GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Show GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

NFData GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

Methods

rnf :: GetInstanceResponse -> () #

Eq GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

type Rep GetInstanceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetInstance

type Rep GetInstanceResponse = D1 ('MetaData "GetInstanceResponse" "Amazonka.Route53AutoNaming.GetInstance" "amazonka-route53-autonaming-2.0-98MlwjLW1enGruUXoTOCqp" '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.