libZSservicesZSamazonka-protonZSamazonka-proton
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.Proton.GetService

Description

Get detail data for a service.

Synopsis

Creating a Request

data GetService Source #

See: newGetService smart constructor.

Constructors

GetService' 

Fields

  • name :: Text

    The name of the service that you want to get the detail data for.

Instances

Instances details
Eq GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

Read GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

Show GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

Generic GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

Associated Types

type Rep GetService :: Type -> Type #

NFData GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

Methods

rnf :: GetService -> () #

Hashable GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

ToJSON GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

AWSRequest GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

Associated Types

type AWSResponse GetService #

ToHeaders GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

Methods

toHeaders :: GetService -> [Header] #

ToPath GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

ToQuery GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

type Rep GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

type Rep GetService = D1 ('MetaData "GetService" "Amazonka.Proton.GetService" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "GetService'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetService Source # 
Instance details

Defined in Amazonka.Proton.GetService

newGetService Source #

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:

$sel:name:GetService', getService_name - The name of the service that you want to get the detail data for.

Request Lenses

getService_name :: Lens' GetService Text Source #

The name of the service that you want to get the detail data for.

Destructuring the Response

data GetServiceResponse Source #

See: newGetServiceResponse smart constructor.

Constructors

GetServiceResponse' 

Fields

Instances

Instances details
Eq GetServiceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetService

Show GetServiceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetService

Generic GetServiceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetService

Associated Types

type Rep GetServiceResponse :: Type -> Type #

NFData GetServiceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetService

Methods

rnf :: GetServiceResponse -> () #

type Rep GetServiceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetService

type Rep GetServiceResponse = D1 ('MetaData "GetServiceResponse" "Amazonka.Proton.GetService" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "GetServiceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Service)) :*: 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 - The service detail data that's returned by AWS Proton.

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

Response Lenses

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

The service detail data that's returned by AWS Proton.