pub struct DescribeExportTasks { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeExportTasks.
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
Implementations
sourceimpl DescribeExportTasks
impl DescribeExportTasks
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeExportTasks, AwsResponseRetryClassifier>, SdkError<DescribeExportTasksError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeExportTasks, AwsResponseRetryClassifier>, SdkError<DescribeExportTasksError>>
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<DescribeExportTasksOutput, SdkError<DescribeExportTasksError>>
pub async fn send(
self
) -> Result<DescribeExportTasksOutput, SdkError<DescribeExportTasksError>>
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 export_ids(self, input: impl Into<String>) -> Self
pub fn export_ids(self, input: impl Into<String>) -> Self
Appends an item to exportIds.
To override the contents of this collection use set_export_ids.
One or more unique identifiers used to query the status of an export request.
sourcepub fn set_export_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_export_ids(self, input: Option<Vec<String>>) -> Self
One or more unique identifiers used to query the status of an export request.
sourcepub fn filters(self, input: ExportFilter) -> Self
pub fn filters(self, input: ExportFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
One or more filters.
-
AgentId- ID of the agent whose collected data will be exported
sourcepub fn set_filters(self, input: Option<Vec<ExportFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<ExportFilter>>) -> Self
One or more filters.
-
AgentId- ID of the agent whose collected data will be exported
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
Trait Implementations
sourceimpl Clone for DescribeExportTasks
impl Clone for DescribeExportTasks
sourcefn clone(&self) -> DescribeExportTasks
fn clone(&self) -> DescribeExportTasks
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more