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

Description

Gets the settings for a specified service.

Synopsis

Creating a Request

data GetService Source #

See: newGetService smart constructor.

Constructors

GetService' 

Fields

  • id :: Text

    The ID of the service that you want to get settings for.

Instances

Instances details
ToJSON GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

ToHeaders GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

Methods

toHeaders :: GetService -> [Header] #

ToPath GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

ToQuery GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

AWSRequest GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

Associated Types

type AWSResponse GetService #

Generic GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

Associated Types

type Rep GetService :: Type -> Type #

Read GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

Show GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

NFData GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

Methods

rnf :: GetService -> () #

Eq GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

Hashable GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

type AWSResponse GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

type Rep GetService Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

type Rep GetService = D1 ('MetaData "GetService" "Amazonka.Route53AutoNaming.GetService" "amazonka-route53-autonaming-2.0-98MlwjLW1enGruUXoTOCqp" 'False) (C1 ('MetaCons "GetService'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetService Source #

Arguments

:: Text

GetService

-> GetService 

Create a value of GetService 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:

GetService, getService_id - The ID of the service that you want to get settings for.

Request Lenses

getService_id :: Lens' GetService Text Source #

The ID of the service that you want to get settings for.

Destructuring the Response

data GetServiceResponse Source #

See: newGetServiceResponse smart constructor.

Constructors

GetServiceResponse' 

Fields

Instances

Instances details
Generic GetServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

Associated Types

type Rep GetServiceResponse :: Type -> Type #

Read GetServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

Show GetServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

NFData GetServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

Methods

rnf :: GetServiceResponse -> () #

Eq GetServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

type Rep GetServiceResponse Source # 
Instance details

Defined in Amazonka.Route53AutoNaming.GetService

type Rep GetServiceResponse = D1 ('MetaData "GetServiceResponse" "Amazonka.Route53AutoNaming.GetService" "amazonka-route53-autonaming-2.0-98MlwjLW1enGruUXoTOCqp" 'False) (C1 ('MetaCons "GetServiceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceInfo)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetServiceResponse Source #

Create a value of GetServiceResponse 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:service:GetServiceResponse', getServiceResponse_service - A complex type that contains information about the service.

$sel:httpStatus:GetServiceResponse', getServiceResponse_httpStatus - The response's http status code.

Response Lenses

getServiceResponse_service :: Lens' GetServiceResponse (Maybe ServiceInfo) Source #

A complex type that contains information about the service.