amazonka-greengrassv2-2.0: Amazon IoT Greengrass V2 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.GreengrassV2.ListDeployments

Description

Retrieves a paginated list of deployments.

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.GreengrassV2.ListDeployments

ToPath ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

ToQuery ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

AWSPager ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

AWSRequest ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

Associated Types

type AWSResponse ListDeployments #

Generic ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

Associated Types

type Rep ListDeployments :: Type -> Type #

Read ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

Show ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

NFData ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

Methods

rnf :: ListDeployments -> () #

Eq ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

Hashable ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

type AWSResponse ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

type Rep ListDeployments Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

type Rep ListDeployments = D1 ('MetaData "ListDeployments" "Amazonka.GreengrassV2.ListDeployments" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" 'False) (C1 ('MetaCons "ListDeployments'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "historyFilter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentHistoryFilter)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "parentTargetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newListDeployments :: ListDeployments 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:historyFilter:ListDeployments', listDeployments_historyFilter - The filter for the list of deployments. Choose one of the following options:

  • ALL – The list includes all deployments.
  • LATEST_ONLY – The list includes only the latest revision of each deployment.

Default: LATEST_ONLY

$sel:maxResults:ListDeployments', listDeployments_maxResults - The maximum number of results to be returned per paginated request.

ListDeployments, listDeployments_nextToken - The token to be used for the next set of paginated results.

ListDeployments, listDeployments_parentTargetArn - The parent deployment's target ARN within a subdeployment.

ListDeployments, listDeployments_targetArn - The ARN of the target IoT thing or thing group.

Request Lenses

listDeployments_historyFilter :: Lens' ListDeployments (Maybe DeploymentHistoryFilter) Source #

The filter for the list of deployments. Choose one of the following options:

  • ALL – The list includes all deployments.
  • LATEST_ONLY – The list includes only the latest revision of each deployment.

Default: LATEST_ONLY

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

The maximum number of results to be returned per paginated request.

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

The token to be used for the next set of paginated results.

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

The parent deployment's target ARN within a subdeployment.

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

The ARN of the target IoT thing or thing 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.GreengrassV2.ListDeployments

Associated Types

type Rep ListDeploymentsResponse :: Type -> Type #

Read ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

Show ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

NFData ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

Methods

rnf :: ListDeploymentsResponse -> () #

Eq ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

type Rep ListDeploymentsResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.ListDeployments

type Rep ListDeploymentsResponse = D1 ('MetaData "ListDeploymentsResponse" "Amazonka.GreengrassV2.ListDeployments" "amazonka-greengrassv2-2.0-CXiJQl197i43YI1Cz5IpiZ" '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 that summarizes each deployment.

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_nextToken :: Lens' ListDeploymentsResponse (Maybe Text) Source #

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