amazonka-forecast-2.0: Amazon Forecast Service 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.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" } ]
  • maxResults :: Maybe Natural

    The number of items to return in the response.

  • 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.

Instances

Instances details
ToJSON ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.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

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 #

Generic ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Associated Types

type Rep ListForecastExportJobs :: Type -> Type #

Read ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Show ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

NFData ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Methods

rnf :: ListForecastExportJobs -> () #

Eq ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Hashable ListForecastExportJobs Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

type AWSResponse 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" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "ListForecastExportJobs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:maxResults:ListForecastExportJobs', listForecastExportJobs_maxResults - The number of items to return in the response.

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.

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_maxResults :: Lens' ListForecastExportJobs (Maybe Natural) Source #

The number of items to return in the response.

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.

Destructuring the Response

data ListForecastExportJobsResponse Source #

See: newListForecastExportJobsResponse smart constructor.

Constructors

ListForecastExportJobsResponse' 

Fields

Instances

Instances details
Generic ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Associated Types

type Rep ListForecastExportJobsResponse :: Type -> Type #

Read ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Show ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

NFData ListForecastExportJobsResponse Source # 
Instance details

Defined in Amazonka.Forecast.ListForecastExportJobs

Eq 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" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "ListForecastExportJobsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forecastExportJobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ForecastExportJobSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:forecastExportJobs:ListForecastExportJobsResponse', listForecastExportJobsResponse_forecastExportJobs - An array of objects that summarize each export job's properties.

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: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.