amazonka-proton-2.0: Amazon Proton 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.Proton.GetServiceInstance

Description

Get detailed data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.

Synopsis

Creating a Request

data GetServiceInstance Source #

See: newGetServiceInstance smart constructor.

Constructors

GetServiceInstance' 

Fields

  • name :: Text

    The name of a service instance that you want to get the detailed data for.

  • serviceName :: Text

    The name of the service that the service instance belongs to.

Instances

Instances details
ToJSON GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

ToHeaders GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

ToPath GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

ToQuery GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

AWSRequest GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

Associated Types

type AWSResponse GetServiceInstance #

Generic GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

Associated Types

type Rep GetServiceInstance :: Type -> Type #

Read GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

Show GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

NFData GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

Methods

rnf :: GetServiceInstance -> () #

Eq GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

Hashable GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

type AWSResponse GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

type Rep GetServiceInstance Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

type Rep GetServiceInstance = D1 ('MetaData "GetServiceInstance" "Amazonka.Proton.GetServiceInstance" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "GetServiceInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetServiceInstance Source #

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

GetServiceInstance, getServiceInstance_name - The name of a service instance that you want to get the detailed data for.

GetServiceInstance, getServiceInstance_serviceName - The name of the service that the service instance belongs to.

Request Lenses

getServiceInstance_name :: Lens' GetServiceInstance Text Source #

The name of a service instance that you want to get the detailed data for.

getServiceInstance_serviceName :: Lens' GetServiceInstance Text Source #

The name of the service that the service instance belongs to.

Destructuring the Response

data GetServiceInstanceResponse Source #

See: newGetServiceInstanceResponse smart constructor.

Constructors

GetServiceInstanceResponse' 

Fields

Instances

Instances details
Generic GetServiceInstanceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

Associated Types

type Rep GetServiceInstanceResponse :: Type -> Type #

Show GetServiceInstanceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

NFData GetServiceInstanceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

Eq GetServiceInstanceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

type Rep GetServiceInstanceResponse Source # 
Instance details

Defined in Amazonka.Proton.GetServiceInstance

type Rep GetServiceInstanceResponse = D1 ('MetaData "GetServiceInstanceResponse" "Amazonka.Proton.GetServiceInstance" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "GetServiceInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "serviceInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServiceInstance)))

newGetServiceInstanceResponse Source #

Create a value of GetServiceInstanceResponse 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:httpStatus:GetServiceInstanceResponse', getServiceInstanceResponse_httpStatus - The response's http status code.

$sel:serviceInstance:GetServiceInstanceResponse', getServiceInstanceResponse_serviceInstance - The detailed data of the requested service instance.

Response Lenses