libZSservicesZSamazonka-robomakerZSamazonka-robomaker
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.RobOMaker.ListDeploymentJobs

Description

Returns a list of deployment jobs for a fleet. You can optionally provide filters to retrieve specific deployment jobs.

This operation returns paginated results.

Synopsis

Creating a Request

data ListDeploymentJobs Source #

See: newListDeploymentJobs smart constructor.

Constructors

ListDeploymentJobs' 

Fields

  • filters :: Maybe (NonEmpty Filter)

    Optional filters to limit results.

    The filter names status and fleetName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status InProgress or the status Pending.

  • nextToken :: Maybe Text

    If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListDeploymentJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

  • maxResults :: Maybe Int

    When this parameter is used, ListDeploymentJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListDeploymentJobs request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListDeploymentJobs returns up to 200 results and a nextToken value if applicable.

Instances

Instances details
Eq ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Read ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Show ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Generic ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Associated Types

type Rep ListDeploymentJobs :: Type -> Type #

NFData ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Methods

rnf :: ListDeploymentJobs -> () #

Hashable ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

ToJSON ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

AWSPager ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

AWSRequest ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Associated Types

type AWSResponse ListDeploymentJobs #

ToHeaders ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

ToPath ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

ToQuery ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

type Rep ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

type Rep ListDeploymentJobs = D1 ('MetaData "ListDeploymentJobs" "Amazonka.RobOMaker.ListDeploymentJobs" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "ListDeploymentJobs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Filter))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse ListDeploymentJobs Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

newListDeploymentJobs :: ListDeploymentJobs Source #

Create a value of ListDeploymentJobs 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:filters:ListDeploymentJobs', listDeploymentJobs_filters - Optional filters to limit results.

The filter names status and fleetName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status InProgress or the status Pending.

$sel:nextToken:ListDeploymentJobs', listDeploymentJobs_nextToken - If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListDeploymentJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

$sel:maxResults:ListDeploymentJobs', listDeploymentJobs_maxResults - When this parameter is used, ListDeploymentJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListDeploymentJobs request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListDeploymentJobs returns up to 200 results and a nextToken value if applicable.

Request Lenses

listDeploymentJobs_filters :: Lens' ListDeploymentJobs (Maybe (NonEmpty Filter)) Source #

Optional filters to limit results.

The filter names status and fleetName are supported. When filtering, you must use the complete value of the filtered item. You can use up to three filters, but they must be for the same named item. For example, if you are looking for items with the status InProgress or the status Pending.

listDeploymentJobs_nextToken :: Lens' ListDeploymentJobs (Maybe Text) Source #

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListDeploymentJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listDeploymentJobs_maxResults :: Lens' ListDeploymentJobs (Maybe Int) Source #

When this parameter is used, ListDeploymentJobs only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListDeploymentJobs request with the returned nextToken value. This value can be between 1 and 200. If this parameter is not used, then ListDeploymentJobs returns up to 200 results and a nextToken value if applicable.

Destructuring the Response

data ListDeploymentJobsResponse Source #

See: newListDeploymentJobsResponse smart constructor.

Constructors

ListDeploymentJobsResponse' 

Fields

  • deploymentJobs :: Maybe [DeploymentJob]

    A list of deployment jobs that meet the criteria of the request.

  • nextToken :: Maybe Text

    If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListDeploymentJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListDeploymentJobsResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Read ListDeploymentJobsResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Show ListDeploymentJobsResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Generic ListDeploymentJobsResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

Associated Types

type Rep ListDeploymentJobsResponse :: Type -> Type #

NFData ListDeploymentJobsResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

type Rep ListDeploymentJobsResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.ListDeploymentJobs

type Rep ListDeploymentJobsResponse = D1 ('MetaData "ListDeploymentJobsResponse" "Amazonka.RobOMaker.ListDeploymentJobs" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "ListDeploymentJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deploymentJobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DeploymentJob])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListDeploymentJobsResponse Source #

Create a value of ListDeploymentJobsResponse 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:deploymentJobs:ListDeploymentJobsResponse', listDeploymentJobsResponse_deploymentJobs - A list of deployment jobs that meet the criteria of the request.

$sel:nextToken:ListDeploymentJobs', listDeploymentJobsResponse_nextToken - If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListDeploymentJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

$sel:httpStatus:ListDeploymentJobsResponse', listDeploymentJobsResponse_httpStatus - The response's http status code.

Response Lenses

listDeploymentJobsResponse_deploymentJobs :: Lens' ListDeploymentJobsResponse (Maybe [DeploymentJob]) Source #

A list of deployment jobs that meet the criteria of the request.

listDeploymentJobsResponse_nextToken :: Lens' ListDeploymentJobsResponse (Maybe Text) Source #

If the previous paginated request did not return all of the remaining results, the response object's nextToken parameter value is set to a token. To retrieve the next set of results, call ListDeploymentJobs again and assign that token to the request object's nextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.