pub struct CreateExplainabilityExport { /* private fields */ }Expand description
Fluent builder constructing a request to CreateExplainabilityExport.
Exports an Explainability resource created by the CreateExplainability operation. Exported files are exported to an Amazon Simple Storage Service (Amazon S3) bucket.
You must specify a DataDestination object that includes an Amazon S3 bucket and 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.
The Status of the export job must be ACTIVE before you can access the export in your Amazon S3 bucket. To get the status, use the DescribeExplainabilityExport operation.
Implementations
sourceimpl CreateExplainabilityExport
impl CreateExplainabilityExport
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateExplainabilityExport, AwsResponseRetryClassifier>, SdkError<CreateExplainabilityExportError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateExplainabilityExport, AwsResponseRetryClassifier>, SdkError<CreateExplainabilityExportError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateExplainabilityExportOutput, SdkError<CreateExplainabilityExportError>>
pub async fn send(
self
) -> Result<CreateExplainabilityExportOutput, SdkError<CreateExplainabilityExportError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn explainability_export_name(self, input: impl Into<String>) -> Self
pub fn explainability_export_name(self, input: impl Into<String>) -> Self
A unique name for the Explainability export.
sourcepub fn set_explainability_export_name(self, input: Option<String>) -> Self
pub fn set_explainability_export_name(self, input: Option<String>) -> Self
A unique name for the Explainability export.
sourcepub fn explainability_arn(self, input: impl Into<String>) -> Self
pub fn explainability_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Explainability to export.
sourcepub fn set_explainability_arn(self, input: Option<String>) -> Self
pub fn set_explainability_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Explainability to export.
sourcepub fn destination(self, input: DataDestination) -> Self
pub fn destination(self, input: DataDestination) -> Self
The destination for an export job. Provide an S3 path, an AWS Identity and Access Management (IAM) role that allows Amazon Forecast to access the location, and an AWS Key Management Service (KMS) key (optional).
sourcepub fn set_destination(self, input: Option<DataDestination>) -> Self
pub fn set_destination(self, input: Option<DataDestination>) -> Self
The destination for an export job. Provide an S3 path, an AWS Identity and Access Management (IAM) role that allows Amazon Forecast to access the location, and an AWS Key Management Service (KMS) key (optional).
Appends an item to Tags.
To override the contents of this collection use set_tags.
Optional metadata to help you categorize and organize your resources. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive.
The following restrictions apply to tags:
-
For each resource, each tag key must be unique and each tag key must have one value.
-
Maximum number of tags per resource: 50.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Accepted characters: all letters and numbers, spaces representable in UTF-8, and + - = . _ : / @. If your tagging schema is used across other services and resources, the character restrictions of those services also apply.
-
Key prefixes cannot include any upper or lowercase combination of
aws:orAWS:. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit. You cannot edit or delete tag keys with this prefix.
Optional metadata to help you categorize and organize your resources. Each tag consists of a key and an optional value, both of which you define. Tag keys and values are case sensitive.
The following restrictions apply to tags:
-
For each resource, each tag key must be unique and each tag key must have one value.
-
Maximum number of tags per resource: 50.
-
Maximum key length: 128 Unicode characters in UTF-8.
-
Maximum value length: 256 Unicode characters in UTF-8.
-
Accepted characters: all letters and numbers, spaces representable in UTF-8, and + - = . _ : / @. If your tagging schema is used across other services and resources, the character restrictions of those services also apply.
-
Key prefixes cannot include any upper or lowercase combination of
aws:orAWS:. Values can have this prefix. If a tag value hasawsas its prefix but the key does not, Forecast considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix ofawsdo not count against your tags per resource limit. You cannot edit or delete tag keys with this prefix.
sourcepub fn format(self, input: impl Into<String>) -> Self
pub fn format(self, input: impl Into<String>) -> Self
The format of the exported data, CSV or PARQUET.
sourcepub fn set_format(self, input: Option<String>) -> Self
pub fn set_format(self, input: Option<String>) -> Self
The format of the exported data, CSV or PARQUET.
Trait Implementations
sourceimpl Clone for CreateExplainabilityExport
impl Clone for CreateExplainabilityExport
sourcefn clone(&self) -> CreateExplainabilityExport
fn clone(&self) -> CreateExplainabilityExport
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more