libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2
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.ApiGatewayV2.GetDeployments

Description

Gets the Deployments for an API.

This operation returns paginated results.

Synopsis

Creating a Request

data GetDeployments Source #

See: newGetDeployments smart constructor.

Constructors

GetDeployments' 

Fields

  • nextToken :: Maybe Text

    The next page of elements from this collection. Not valid for the last element of the collection.

  • maxResults :: Maybe Text

    The maximum number of elements to be returned for this resource.

  • apiId :: Text

    The API identifier.

Instances

Instances details
Eq GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Read GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Show GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Generic GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Associated Types

type Rep GetDeployments :: Type -> Type #

NFData GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Methods

rnf :: GetDeployments -> () #

Hashable GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

AWSPager GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

AWSRequest GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Associated Types

type AWSResponse GetDeployments #

ToHeaders GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

ToPath GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

ToQuery GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

type Rep GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

type Rep GetDeployments = D1 ('MetaData "GetDeployments" "Amazonka.ApiGatewayV2.GetDeployments" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "GetDeployments'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetDeployments Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

newGetDeployments Source #

Create a value of GetDeployments 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:GetDeployments', getDeployments_nextToken - The next page of elements from this collection. Not valid for the last element of the collection.

$sel:maxResults:GetDeployments', getDeployments_maxResults - The maximum number of elements to be returned for this resource.

$sel:apiId:GetDeployments', getDeployments_apiId - The API identifier.

Request Lenses

getDeployments_nextToken :: Lens' GetDeployments (Maybe Text) Source #

The next page of elements from this collection. Not valid for the last element of the collection.

getDeployments_maxResults :: Lens' GetDeployments (Maybe Text) Source #

The maximum number of elements to be returned for this resource.

Destructuring the Response

data GetDeploymentsResponse Source #

See: newGetDeploymentsResponse smart constructor.

Constructors

GetDeploymentsResponse' 

Fields

Instances

Instances details
Eq GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Read GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Show GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Generic GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Associated Types

type Rep GetDeploymentsResponse :: Type -> Type #

NFData GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

Methods

rnf :: GetDeploymentsResponse -> () #

type Rep GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployments

type Rep GetDeploymentsResponse = D1 ('MetaData "GetDeploymentsResponse" "Amazonka.ApiGatewayV2.GetDeployments" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "GetDeploymentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Deployment])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDeploymentsResponse Source #

Create a value of GetDeploymentsResponse 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:items:GetDeploymentsResponse', getDeploymentsResponse_items - The elements from this collection.

$sel:nextToken:GetDeployments', getDeploymentsResponse_nextToken - The next page of elements from this collection. Not valid for the last element of the collection.

$sel:httpStatus:GetDeploymentsResponse', getDeploymentsResponse_httpStatus - The response's http status code.

Response Lenses

getDeploymentsResponse_nextToken :: Lens' GetDeploymentsResponse (Maybe Text) Source #

The next page of elements from this collection. Not valid for the last element of the collection.