libZSservicesZSamazonka-appmeshZSamazonka-appmesh
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.AppMesh.ListMeshes

Description

Returns a list of existing service meshes.

This operation returns paginated results.

Synopsis

Creating a Request

data ListMeshes Source #

See: newListMeshes smart constructor.

Constructors

ListMeshes' 

Fields

  • nextToken :: Maybe Text

    The nextToken value returned from a previous paginated ListMeshes request where limit was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

    This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

  • limit :: Maybe Natural

    The maximum number of results returned by ListMeshes in paginated output. When you use this parameter, ListMeshes returns only limit results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListMeshes request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListMeshes returns up to 100 results and a nextToken value if applicable.

Instances

Instances details
Eq ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Read ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Show ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Generic ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Associated Types

type Rep ListMeshes :: Type -> Type #

NFData ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Methods

rnf :: ListMeshes -> () #

Hashable ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

AWSPager ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

AWSRequest ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Associated Types

type AWSResponse ListMeshes #

ToHeaders ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Methods

toHeaders :: ListMeshes -> [Header] #

ToPath ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

ToQuery ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

type Rep ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

type Rep ListMeshes = D1 ('MetaData "ListMeshes" "Amazonka.AppMesh.ListMeshes" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "ListMeshes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListMeshes Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

newListMeshes :: ListMeshes Source #

Create a value of ListMeshes 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:ListMeshes', listMeshes_nextToken - The nextToken value returned from a previous paginated ListMeshes request where limit was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

$sel:limit:ListMeshes', listMeshes_limit - The maximum number of results returned by ListMeshes in paginated output. When you use this parameter, ListMeshes returns only limit results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListMeshes request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListMeshes returns up to 100 results and a nextToken value if applicable.

Request Lenses

listMeshes_nextToken :: Lens' ListMeshes (Maybe Text) Source #

The nextToken value returned from a previous paginated ListMeshes request where limit was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.

listMeshes_limit :: Lens' ListMeshes (Maybe Natural) Source #

The maximum number of results returned by ListMeshes in paginated output. When you use this parameter, ListMeshes returns only limit results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListMeshes request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListMeshes returns up to 100 results and a nextToken value if applicable.

Destructuring the Response

data ListMeshesResponse Source #

See: newListMeshesResponse smart constructor.

Constructors

ListMeshesResponse' 

Fields

  • nextToken :: Maybe Text

    The nextToken value to include in a future ListMeshes request. When the results of a ListMeshes request exceed limit, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

  • httpStatus :: Int

    The response's http status code.

  • meshes :: [MeshRef]

    The list of existing service meshes.

Instances

Instances details
Eq ListMeshesResponse Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Read ListMeshesResponse Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Show ListMeshesResponse Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Generic ListMeshesResponse Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Associated Types

type Rep ListMeshesResponse :: Type -> Type #

NFData ListMeshesResponse Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

Methods

rnf :: ListMeshesResponse -> () #

type Rep ListMeshesResponse Source # 
Instance details

Defined in Amazonka.AppMesh.ListMeshes

type Rep ListMeshesResponse = D1 ('MetaData "ListMeshesResponse" "Amazonka.AppMesh.ListMeshes" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "ListMeshesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "meshes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MeshRef]))))

newListMeshesResponse Source #

Create a value of ListMeshesResponse 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:ListMeshes', listMeshesResponse_nextToken - The nextToken value to include in a future ListMeshes request. When the results of a ListMeshes request exceed limit, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:ListMeshesResponse', listMeshesResponse_httpStatus - The response's http status code.

$sel:meshes:ListMeshesResponse', listMeshesResponse_meshes - The list of existing service meshes.

Response Lenses

listMeshesResponse_nextToken :: Lens' ListMeshesResponse (Maybe Text) Source #

The nextToken value to include in a future ListMeshes request. When the results of a ListMeshes request exceed limit, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

listMeshesResponse_meshes :: Lens' ListMeshesResponse [MeshRef] Source #

The list of existing service meshes.