libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
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.APIGateway.GetDeployments

Description

Gets information about a Deployments collection.

This operation returns paginated results.

Synopsis

Creating a Request

data GetDeployments Source #

Requests API Gateway to get information about a Deployments collection.

See: newGetDeployments smart constructor.

Constructors

GetDeployments' 

Fields

  • limit :: Maybe Int

    The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

  • position :: Maybe Text

    The current pagination position in the paged result set.

  • restApiId :: Text
    Required
    The string identifier of the associated RestApi.

Instances

Instances details
Eq GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Read GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Show GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Generic GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Associated Types

type Rep GetDeployments :: Type -> Type #

NFData GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Methods

rnf :: GetDeployments -> () #

Hashable GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

AWSPager GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

AWSRequest GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Associated Types

type AWSResponse GetDeployments #

ToHeaders GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

ToPath GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

ToQuery GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

type Rep GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

type Rep GetDeployments = D1 ('MetaData "GetDeployments" "Amazonka.APIGateway.GetDeployments" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDeployments'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetDeployments Source # 
Instance details

Defined in Amazonka.APIGateway.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:limit:GetDeployments', getDeployments_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetDeployments', getDeployments_position - The current pagination position in the paged result set.

$sel:restApiId:GetDeployments', getDeployments_restApiId - [Required] The string identifier of the associated RestApi.

Request Lenses

getDeployments_limit :: Lens' GetDeployments (Maybe Int) Source #

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

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

The current pagination position in the paged result set.

getDeployments_restApiId :: Lens' GetDeployments Text Source #

Required
The string identifier of the associated RestApi.

Destructuring the Response

data GetDeploymentsResponse Source #

Represents a collection resource that contains zero or more references to your existing deployments, and links that guide you on how to interact with your collection. The collection offers a paginated view of the contained deployments.

To create a new deployment of a RestApi, make a POST request against this resource. To view, update, or delete an existing deployment, make a GET, PATCH, or DELETE request, respectively, on a specified Deployment resource.

Deploying an API, AWS CLI, AWS SDKs

See: newGetDeploymentsResponse smart constructor.

Constructors

GetDeploymentsResponse' 

Fields

Instances

Instances details
Eq GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Read GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Show GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Generic GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Associated Types

type Rep GetDeploymentsResponse :: Type -> Type #

NFData GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

Methods

rnf :: GetDeploymentsResponse -> () #

type Rep GetDeploymentsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetDeployments

type Rep GetDeploymentsResponse = D1 ('MetaData "GetDeploymentsResponse" "Amazonka.APIGateway.GetDeployments" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetDeploymentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Deployment])) :*: (S1 ('MetaSel ('Just "position") '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 current page of elements from this collection.

$sel:position:GetDeployments', getDeploymentsResponse_position - Undocumented member.

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

Response Lenses

getDeploymentsResponse_items :: Lens' GetDeploymentsResponse (Maybe [Deployment]) Source #

The current page of elements from this collection.