Struct aws_sdk_forecast::operation::create_explainability_export::builders::CreateExplainabilityExportFluentBuilder
source · pub struct CreateExplainabilityExportFluentBuilder { /* 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 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§
source§impl CreateExplainabilityExportFluentBuilder
impl CreateExplainabilityExportFluentBuilder
sourcepub fn as_input(&self) -> &CreateExplainabilityExportInputBuilder
pub fn as_input(&self) -> &CreateExplainabilityExportInputBuilder
Access the CreateExplainabilityExport as a reference.
sourcepub async fn send(
self
) -> Result<CreateExplainabilityExportOutput, SdkError<CreateExplainabilityExportError, HttpResponse>>
pub async fn send( self ) -> Result<CreateExplainabilityExportOutput, SdkError<CreateExplainabilityExportError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<CreateExplainabilityExportOutput, CreateExplainabilityExportError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateExplainabilityExportOutput, CreateExplainabilityExportError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_explainability_export_name(&self) -> &Option<String>
pub fn get_explainability_export_name(&self) -> &Option<String>
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 get_explainability_arn(&self) -> &Option<String>
pub fn get_explainability_arn(&self) -> &Option<String>
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 Identity and Access Management (IAM) role that allows Amazon Forecast to access the location, and an 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 Identity and Access Management (IAM) role that allows Amazon Forecast to access the location, and an Key Management Service (KMS) key (optional).
sourcepub fn get_destination(&self) -> &Option<DataDestination>
pub fn get_destination(&self) -> &Option<DataDestination>
The destination for an export job. Provide an S3 path, an Identity and Access Management (IAM) role that allows Amazon Forecast to access the location, and an 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 hasaws
as 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 ofaws
do 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 hasaws
as 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 ofaws
do 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 hasaws
as 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 ofaws
do 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.
sourcepub fn get_format(&self) -> &Option<String>
pub fn get_format(&self) -> &Option<String>
The format of the exported data, CSV or PARQUET.
Trait Implementations§
source§impl Clone for CreateExplainabilityExportFluentBuilder
impl Clone for CreateExplainabilityExportFluentBuilder
source§fn clone(&self) -> CreateExplainabilityExportFluentBuilder
fn clone(&self) -> CreateExplainabilityExportFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateExplainabilityExportFluentBuilder
impl !RefUnwindSafe for CreateExplainabilityExportFluentBuilder
impl Send for CreateExplainabilityExportFluentBuilder
impl Sync for CreateExplainabilityExportFluentBuilder
impl Unpin for CreateExplainabilityExportFluentBuilder
impl !UnwindSafe for CreateExplainabilityExportFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more