Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . forecast ]

create-forecast-export-job

Description

Exports a forecast created by the CreateForecast operation to your Amazon Simple Storage Service (Amazon S3) bucket.

You must specify a DataDestination object that includes an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the Amazon S3 bucket. For more information, see aws-forecast-iam-roles .

For more information, see howitworks-forecast .

To get a list of all your forecast export jobs, use the ListForecastExportJobs operation.

Note

The Status of the forecast export job must be ACTIVE before you can access the forecast in your Amazon S3 bucket. Use the DescribeForecastExportJob operation to get the status.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  create-forecast-export-job
--forecast-export-job-name <value>
--forecast-arn <value>
--destination <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--forecast-export-job-name (string)

The name for the forecast export job.

--forecast-arn (string)

The Amazon Resource Name (ARN) of the forecast that you want to export.

--destination (structure)

The path to the Amazon S3 bucket where you want to save the forecast and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the bucket.

Shorthand Syntax:

S3Config={Path=string,RoleArn=string,KMSKeyArn=string}

JSON Syntax:

{
  "S3Config": {
    "Path": "string",
    "RoleArn": "string",
    "KMSKeyArn": "string"
  }
}

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

ForecastExportJobArn -> (string)

The Amazon Resource Name (ARN) of the export job.