pub struct DescribeRecommendationExportJobs { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeRecommendationExportJobs.
Describes recommendation export jobs created in the last seven days.
Use the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions to request an export of your recommendations. Then use the DescribeRecommendationExportJobs action to view your export jobs.
Implementations§
source§impl DescribeRecommendationExportJobs
impl DescribeRecommendationExportJobs
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeRecommendationExportJobs, AwsResponseRetryClassifier>, SdkError<DescribeRecommendationExportJobsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeRecommendationExportJobs, AwsResponseRetryClassifier>, SdkError<DescribeRecommendationExportJobsError>>
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<DescribeRecommendationExportJobsOutput, SdkError<DescribeRecommendationExportJobsError>>
pub async fn send(
self
) -> Result<DescribeRecommendationExportJobsOutput, SdkError<DescribeRecommendationExportJobsError>>
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 job_ids(self, input: impl Into<String>) -> Self
pub fn job_ids(self, input: impl Into<String>) -> Self
Appends an item to jobIds.
To override the contents of this collection use set_job_ids.
The identification numbers of the export jobs to return.
An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions.
All export jobs created in the last seven days are returned if this parameter is omitted.
sourcepub fn set_job_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_job_ids(self, input: Option<Vec<String>>) -> Self
The identification numbers of the export jobs to return.
An export job ID is returned when you create an export using the ExportAutoScalingGroupRecommendations or ExportEC2InstanceRecommendations actions.
All export jobs created in the last seven days are returned if this parameter is omitted.
sourcepub fn filters(self, input: JobFilter) -> Self
pub fn filters(self, input: JobFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
An array of objects to specify a filter that returns a more specific list of export jobs.
sourcepub fn set_filters(self, input: Option<Vec<JobFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<JobFilter>>) -> Self
An array of objects to specify a filter that returns a more specific list of export jobs.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to advance to the next page of export jobs.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to advance to the next page of export jobs.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of export jobs to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken value.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of export jobs to return with a single request.
To retrieve the remaining results, make another request with the returned nextToken value.
Trait Implementations§
source§impl Clone for DescribeRecommendationExportJobs
impl Clone for DescribeRecommendationExportJobs
source§fn clone(&self) -> DescribeRecommendationExportJobs
fn clone(&self) -> DescribeRecommendationExportJobs
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more