libZSservicesZSamazonka-forecastZSamazonka-forecast
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.Forecast.ListForecastExportJobs

Description

Returns a list of forecast export jobs created using the CreateForecastExportJob operation. For each forecast export job, this operation returns a summary of its properties, including its Amazon Resource Name (ARN). To retrieve the complete set of properties, use the ARN with the DescribeForecastExportJob operation. You can filter the list using an array of Filter objects.

This operation returns paginated results.

Synopsis

Creating a Request

data ListForecastExportJobs Source #

See: newListForecastExportJobs smart constructor.

Constructors

ListForecastExportJobs' 

Fields

  • filters :: Maybe [Filter]

    An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value.

    Filter properties

    • Condition - The condition to apply. Valid values are IS and IS_NOT. To include the forecast export jobs that match the statement, specify IS. To exclude matching forecast export jobs, specify IS_NOT.
    • Key - The name of the parameter to filter on. Valid values are ForecastArn and Status.
    • Value - The value to match.

    For example, to list all jobs that export a forecast named electricityforecast, specify the following filter:

    "Filters": [ { "Condition": "IS", "Key": "ForecastArn", "Value": "arn:aws:forecast:us-west-2:<acct-id>:forecast/electricityforecast" } ]
  • nextToken :: Maybe Text

    If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

  • maxResults :: Maybe Natural

    The number of items to return in the response.

Instances

Instances details
Eq ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Read ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Show ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Generic ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Associated Types

type Rep ListForecastExportJobs :: Type -> Type #

NFData ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Methods

rnf :: ListForecastExportJobs -> () #

Hashable ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

ToJSON ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

AWSPager ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

AWSRequest ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Associated Types

type AWSResponse ListForecastExportJobs #

ToHeaders ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

ToPath ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

ToQuery ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

type Rep ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

type Rep ListForecastExportJobs = D1 ('MetaData "ListForecastExportJobs" "Amazonka.Forecast.ListForecastExportJobs" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "ListForecastExportJobs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

newListForecastExportJobs :: ListForecastExportJobs Source #

Create a value of ListForecastExportJobs 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:ListForecastExportJobs', listForecastExportJobs_filters - An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value.

Filter properties

  • Condition - The condition to apply. Valid values are IS and IS_NOT. To include the forecast export jobs that match the statement, specify IS. To exclude matching forecast export jobs, specify IS_NOT.
  • Key - The name of the parameter to filter on. Valid values are ForecastArn and Status.
  • Value - The value to match.

For example, to list all jobs that export a forecast named electricityforecast, specify the following filter:

"Filters": [ { "Condition": "IS", "Key": "ForecastArn", "Value": "arn:aws:forecast:us-west-2:<acct-id>:forecast/electricityforecast" } ]

$sel:nextToken:ListForecastExportJobs', listForecastExportJobs_nextToken - If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

$sel:maxResults:ListForecastExportJobs', listForecastExportJobs_maxResults - The number of items to return in the response.

Request Lenses

listForecastExportJobs_filters :: Lens' ListForecastExportJobs (Maybe [Filter]) Source #

An array of filters. For each filter, you provide a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the forecast export jobs that match the statement from the list, respectively. The match statement consists of a key and a value.

Filter properties

  • Condition - The condition to apply. Valid values are IS and IS_NOT. To include the forecast export jobs that match the statement, specify IS. To exclude matching forecast export jobs, specify IS_NOT.
  • Key - The name of the parameter to filter on. Valid values are ForecastArn and Status.
  • Value - The value to match.

For example, to list all jobs that export a forecast named electricityforecast, specify the following filter:

"Filters": [ { "Condition": "IS", "Key": "ForecastArn", "Value": "arn:aws:forecast:us-west-2:<acct-id>:forecast/electricityforecast" } ]

listForecastExportJobs_nextToken :: Lens' ListForecastExportJobs (Maybe Text) Source #

If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

listForecastExportJobs_maxResults :: Lens' ListForecastExportJobs (Maybe Natural) Source #

The number of items to return in the response.

Destructuring the Response

data ListForecastExportJobsResponse Source #

See: newListForecastExportJobsResponse smart constructor.

Constructors

ListForecastExportJobsResponse' 

Fields

Instances

Instances details
Eq ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Read ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Show ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Generic ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Associated Types

type Rep ListForecastExportJobsResponse :: Type -> Type #

NFData ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

type Rep ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

type Rep ListForecastExportJobsResponse = D1 ('MetaData "ListForecastExportJobsResponse" "Amazonka.Forecast.ListForecastExportJobs" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "ListForecastExportJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "forecastExportJobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ForecastExportJobSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListForecastExportJobsResponse Source #

Create a value of ListForecastExportJobsResponse 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:ListForecastExportJobs', listForecastExportJobsResponse_nextToken - If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.

$sel:forecastExportJobs:ListForecastExportJobsResponse', listForecastExportJobsResponse_forecastExportJobs - An array of objects that summarize each export job's properties.

$sel:httpStatus:ListForecastExportJobsResponse', listForecastExportJobsResponse_httpStatus - The response's http status code.

Response Lenses

listForecastExportJobsResponse_nextToken :: Lens' ListForecastExportJobsResponse (Maybe Text) Source #

If the response is truncated, Amazon Forecast returns this token. To retrieve the next set of results, use the token in the next request.