pub struct DescribeCodeCoverages { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeCodeCoverages
.
Retrieves one or more code coverage reports.
Implementations
sourceimpl DescribeCodeCoverages
impl DescribeCodeCoverages
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeCodeCoverages, AwsResponseRetryClassifier>, SdkError<DescribeCodeCoveragesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeCodeCoverages, AwsResponseRetryClassifier>, SdkError<DescribeCodeCoveragesError>>
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<DescribeCodeCoveragesOutput, SdkError<DescribeCodeCoveragesError>>
pub async fn send(
self
) -> Result<DescribeCodeCoveragesOutput, SdkError<DescribeCodeCoveragesError>>
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 into_paginator(self) -> DescribeCodeCoveragesPaginator
pub fn into_paginator(self) -> DescribeCodeCoveragesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn report_arn(self, input: impl Into<String>) -> Self
pub fn report_arn(self, input: impl Into<String>) -> Self
The ARN of the report for which test cases are returned.
sourcepub fn set_report_arn(self, input: Option<String>) -> Self
pub fn set_report_arn(self, input: Option<String>) -> Self
The ARN of the report for which test cases are returned.
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 call to DescribeCodeCoverages
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
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 call to DescribeCodeCoverages
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn sort_order(self, input: SortOrderType) -> Self
pub fn sort_order(self, input: SortOrderType) -> Self
Specifies if the results are sorted in ascending or descending order.
sourcepub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
pub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
Specifies if the results are sorted in ascending or descending order.
sourcepub fn sort_by(self, input: ReportCodeCoverageSortByType) -> Self
pub fn sort_by(self, input: ReportCodeCoverageSortByType) -> Self
Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
sourcepub fn set_sort_by(self, input: Option<ReportCodeCoverageSortByType>) -> Self
pub fn set_sort_by(self, input: Option<ReportCodeCoverageSortByType>) -> Self
Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
sourcepub fn min_line_coverage_percentage(self, input: f64) -> Self
pub fn min_line_coverage_percentage(self, input: f64) -> Self
The minimum line coverage percentage to report.
sourcepub fn set_min_line_coverage_percentage(self, input: Option<f64>) -> Self
pub fn set_min_line_coverage_percentage(self, input: Option<f64>) -> Self
The minimum line coverage percentage to report.
sourcepub fn max_line_coverage_percentage(self, input: f64) -> Self
pub fn max_line_coverage_percentage(self, input: f64) -> Self
The maximum line coverage percentage to report.
sourcepub fn set_max_line_coverage_percentage(self, input: Option<f64>) -> Self
pub fn set_max_line_coverage_percentage(self, input: Option<f64>) -> Self
The maximum line coverage percentage to report.
Trait Implementations
sourceimpl Clone for DescribeCodeCoverages
impl Clone for DescribeCodeCoverages
sourcefn clone(&self) -> DescribeCodeCoverages
fn clone(&self) -> DescribeCodeCoverages
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more