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

Description

List service instances with summaries of detail data.

This operation returns paginated results.

Synopsis

Creating a Request

data ListServiceInstances Source #

See: newListServiceInstances smart constructor.

Constructors

ListServiceInstances' 

Fields

  • nextToken :: Maybe Text

    A token to indicate the location of the next service in the array of service instances, after the list of service instances that was previously requested.

  • serviceName :: Maybe Text

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

  • maxResults :: Maybe Natural

    The maximum number of service instances to list.

Instances

Instances details
Eq ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

Read ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

Show ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

Generic ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

Associated Types

type Rep ListServiceInstances :: Type -> Type #

NFData ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

Methods

rnf :: ListServiceInstances -> () #

Hashable ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

ToJSON ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

AWSPager ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

AWSRequest ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

Associated Types

type AWSResponse ListServiceInstances #

ToHeaders ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

ToPath ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

ToQuery ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

type Rep ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

type Rep ListServiceInstances = D1 ('MetaData "ListServiceInstances" "Amazonka.Proton.ListServiceInstances" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "ListServiceInstances'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListServiceInstances Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

newListServiceInstances :: ListServiceInstances Source #

Create a value of ListServiceInstances 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:nextToken:ListServiceInstances', listServiceInstances_nextToken - A token to indicate the location of the next service in the array of service instances, after the list of service instances that was previously requested.

$sel:serviceName:ListServiceInstances', listServiceInstances_serviceName - The name of the service that the service instance belongs to.

$sel:maxResults:ListServiceInstances', listServiceInstances_maxResults - The maximum number of service instances to list.

Request Lenses

listServiceInstances_nextToken :: Lens' ListServiceInstances (Maybe Text) Source #

A token to indicate the location of the next service in the array of service instances, after the list of service instances that was previously requested.

listServiceInstances_serviceName :: Lens' ListServiceInstances (Maybe Text) Source #

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

listServiceInstances_maxResults :: Lens' ListServiceInstances (Maybe Natural) Source #

The maximum number of service instances to list.

Destructuring the Response

data ListServiceInstancesResponse Source #

See: newListServiceInstancesResponse smart constructor.

Constructors

ListServiceInstancesResponse' 

Fields

Instances

Instances details
Eq ListServiceInstancesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

Show ListServiceInstancesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

Generic ListServiceInstancesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

Associated Types

type Rep ListServiceInstancesResponse :: Type -> Type #

NFData ListServiceInstancesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

type Rep ListServiceInstancesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceInstances

type Rep ListServiceInstancesResponse = D1 ('MetaData "ListServiceInstancesResponse" "Amazonka.Proton.ListServiceInstances" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "ListServiceInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "serviceInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ServiceInstanceSummary]))))

newListServiceInstancesResponse Source #

Create a value of ListServiceInstancesResponse 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:nextToken:ListServiceInstances', listServiceInstancesResponse_nextToken - A token to indicate the location of the next service instance in the array of service instances, after the current requested list of service instances.

$sel:httpStatus:ListServiceInstancesResponse', listServiceInstancesResponse_httpStatus - The response's http status code.

$sel:serviceInstances:ListServiceInstancesResponse', listServiceInstancesResponse_serviceInstances - An array of service instances with summaries of detail data.

Response Lenses

listServiceInstancesResponse_nextToken :: Lens' ListServiceInstancesResponse (Maybe Text) Source #

A token to indicate the location of the next service instance in the array of service instances, after the current requested list of service instances.