Struct aws_sdk_applicationcostprofiler::operation::import_application_usage::builders::ImportApplicationUsageFluentBuilder
source · pub struct ImportApplicationUsageFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ImportApplicationUsage
.
Ingests application usage data from Amazon Simple Storage Service (Amazon S3).
The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing asynchronously.
Implementations§
source§impl ImportApplicationUsageFluentBuilder
impl ImportApplicationUsageFluentBuilder
sourcepub fn as_input(&self) -> &ImportApplicationUsageInputBuilder
pub fn as_input(&self) -> &ImportApplicationUsageInputBuilder
Access the ImportApplicationUsage as a reference.
sourcepub async fn send(
self
) -> Result<ImportApplicationUsageOutput, SdkError<ImportApplicationUsageError, HttpResponse>>
pub async fn send( self ) -> Result<ImportApplicationUsageOutput, SdkError<ImportApplicationUsageError, 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<ImportApplicationUsageOutput, ImportApplicationUsageError, Self>
pub fn customize( self ) -> CustomizableOperation<ImportApplicationUsageOutput, ImportApplicationUsageError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn source_s3_location(self, input: SourceS3Location) -> Self
pub fn source_s3_location(self, input: SourceS3Location) -> Self
Amazon S3 location to import application usage data from.
sourcepub fn set_source_s3_location(self, input: Option<SourceS3Location>) -> Self
pub fn set_source_s3_location(self, input: Option<SourceS3Location>) -> Self
Amazon S3 location to import application usage data from.
sourcepub fn get_source_s3_location(&self) -> &Option<SourceS3Location>
pub fn get_source_s3_location(&self) -> &Option<SourceS3Location>
Amazon S3 location to import application usage data from.
Trait Implementations§
source§impl Clone for ImportApplicationUsageFluentBuilder
impl Clone for ImportApplicationUsageFluentBuilder
source§fn clone(&self) -> ImportApplicationUsageFluentBuilder
fn clone(&self) -> ImportApplicationUsageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more