amazonka-lightsail-2.0: Amazon Lightsail 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.Lightsail.GetContainerServices

Description

Returns information about one or more of your Amazon Lightsail container services.

Synopsis

Creating a Request

data GetContainerServices Source #

See: newGetContainerServices smart constructor.

Constructors

GetContainerServices' 

Fields

  • serviceName :: Maybe Text

    The name of the container service for which to return information.

    When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.

Instances

Instances details
ToJSON GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

ToHeaders GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

ToPath GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

ToQuery GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

AWSRequest GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

Associated Types

type AWSResponse GetContainerServices #

Generic GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

Associated Types

type Rep GetContainerServices :: Type -> Type #

Read GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

Show GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

NFData GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

Methods

rnf :: GetContainerServices -> () #

Eq GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

Hashable GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

type AWSResponse GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

type Rep GetContainerServices Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

type Rep GetContainerServices = D1 ('MetaData "GetContainerServices" "Amazonka.Lightsail.GetContainerServices" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "GetContainerServices'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGetContainerServices :: GetContainerServices Source #

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

GetContainerServices, getContainerServices_serviceName - The name of the container service for which to return information.

When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.

Request Lenses

getContainerServices_serviceName :: Lens' GetContainerServices (Maybe Text) Source #

The name of the container service for which to return information.

When omitted, the response includes all of your container services in the Amazon Web Services Region where the request is made.

Destructuring the Response

data GetContainerServicesResponse Source #

See: newGetContainerServicesResponse smart constructor.

Constructors

GetContainerServicesResponse' 

Fields

Instances

Instances details
Generic GetContainerServicesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

Associated Types

type Rep GetContainerServicesResponse :: Type -> Type #

Read GetContainerServicesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

Show GetContainerServicesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

NFData GetContainerServicesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

Eq GetContainerServicesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

type Rep GetContainerServicesResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetContainerServices

type Rep GetContainerServicesResponse = D1 ('MetaData "GetContainerServicesResponse" "Amazonka.Lightsail.GetContainerServices" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "GetContainerServicesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "containerServices") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ContainerService])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetContainerServicesResponse Source #

Create a value of GetContainerServicesResponse 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:containerServices:GetContainerServicesResponse', getContainerServicesResponse_containerServices - An array of objects that describe one or more container services.

$sel:httpStatus:GetContainerServicesResponse', getContainerServicesResponse_httpStatus - The response's http status code.

Response Lenses

getContainerServicesResponse_containerServices :: Lens' GetContainerServicesResponse (Maybe [ContainerService]) Source #

An array of objects that describe one or more container services.