amazonka-greengrass-2.0: Amazon Greengrass 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.Greengrass.ListDeployments

Description

Returns a history of deployments for the group.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDeployments Source #

See: newListDeployments smart constructor.

Constructors

ListDeployments' 

Fields

Instances

Instances details
ToHeaders ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

ToPath ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

ToQuery ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

AWSPager ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

AWSRequest ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

Associated Types

type AWSResponse ListDeployments #

Generic ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

Associated Types

type Rep ListDeployments :: Type -> Type #

Read ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

Show ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

NFData ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

Methods

rnf :: ListDeployments -> () #

Eq ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

Hashable ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

type AWSResponse ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

type Rep ListDeployments Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

type Rep ListDeployments = D1 ('MetaData "ListDeployments" "Amazonka.Greengrass.ListDeployments" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "ListDeployments'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListDeployments Source #

Create a value of ListDeployments 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:maxResults:ListDeployments', listDeployments_maxResults - The maximum number of results to be returned per request.

ListDeployments, listDeployments_nextToken - The token for the next set of results, or ''null'' if there are no additional results.

$sel:groupId:ListDeployments', listDeployments_groupId - The ID of the Greengrass group.

Request Lenses

listDeployments_maxResults :: Lens' ListDeployments (Maybe Text) Source #

The maximum number of results to be returned per request.

listDeployments_nextToken :: Lens' ListDeployments (Maybe Text) Source #

The token for the next set of results, or ''null'' if there are no additional results.

listDeployments_groupId :: Lens' ListDeployments Text Source #

The ID of the Greengrass group.

Destructuring the Response

data ListDeploymentsResponse Source #

See: newListDeploymentsResponse smart constructor.

Constructors

ListDeploymentsResponse' 

Fields

Instances

Instances details
Generic ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

Associated Types

type Rep ListDeploymentsResponse :: Type -> Type #

Read ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

Show ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

NFData ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

Methods

rnf :: ListDeploymentsResponse -> () #

Eq ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

type Rep ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListDeployments

type Rep ListDeploymentsResponse = D1 ('MetaData "ListDeploymentsResponse" "Amazonka.Greengrass.ListDeployments" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "ListDeploymentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deployments") '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))))

newListDeploymentsResponse Source #

Create a value of ListDeploymentsResponse 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:deployments:ListDeploymentsResponse', listDeploymentsResponse_deployments - A list of deployments for the requested groups.

ListDeployments, listDeploymentsResponse_nextToken - The token for the next set of results, or ''null'' if there are no additional results.

$sel:httpStatus:ListDeploymentsResponse', listDeploymentsResponse_httpStatus - The response's http status code.

Response Lenses

listDeploymentsResponse_deployments :: Lens' ListDeploymentsResponse (Maybe [Deployment]) Source #

A list of deployments for the requested groups.

listDeploymentsResponse_nextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #

The token for the next set of results, or ''null'' if there are no additional results.