pub struct ListHubContentVersions { /* private fields */ }
Expand description
Fluent builder constructing a request to ListHubContentVersions
.
List hub content versions.
Implementations§
source§impl ListHubContentVersions
impl ListHubContentVersions
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListHubContentVersions, AwsResponseRetryClassifier>, SdkError<ListHubContentVersionsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListHubContentVersions, AwsResponseRetryClassifier>, SdkError<ListHubContentVersionsError>>
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<ListHubContentVersionsOutput, SdkError<ListHubContentVersionsError>>
pub async fn send(
self
) -> Result<ListHubContentVersionsOutput, SdkError<ListHubContentVersionsError>>
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 hub_name(self, input: impl Into<String>) -> Self
pub fn hub_name(self, input: impl Into<String>) -> Self
The name of the hub to list the content versions of.
sourcepub fn set_hub_name(self, input: Option<String>) -> Self
pub fn set_hub_name(self, input: Option<String>) -> Self
The name of the hub to list the content versions of.
sourcepub fn hub_content_type(self, input: HubContentType) -> Self
pub fn hub_content_type(self, input: HubContentType) -> Self
The type of hub content to list versions of.
sourcepub fn set_hub_content_type(self, input: Option<HubContentType>) -> Self
pub fn set_hub_content_type(self, input: Option<HubContentType>) -> Self
The type of hub content to list versions of.
sourcepub fn hub_content_name(self, input: impl Into<String>) -> Self
pub fn hub_content_name(self, input: impl Into<String>) -> Self
The name of the hub content.
sourcepub fn set_hub_content_name(self, input: Option<String>) -> Self
pub fn set_hub_content_name(self, input: Option<String>) -> Self
The name of the hub content.
sourcepub fn min_version(self, input: impl Into<String>) -> Self
pub fn min_version(self, input: impl Into<String>) -> Self
The lower bound of the hub content versions to list.
sourcepub fn set_min_version(self, input: Option<String>) -> Self
pub fn set_min_version(self, input: Option<String>) -> Self
The lower bound of the hub content versions to list.
sourcepub fn max_schema_version(self, input: impl Into<String>) -> Self
pub fn max_schema_version(self, input: impl Into<String>) -> Self
The upper bound of the hub content schema version.
sourcepub fn set_max_schema_version(self, input: Option<String>) -> Self
pub fn set_max_schema_version(self, input: Option<String>) -> Self
The upper bound of the hub content schema version.
sourcepub fn creation_time_before(self, input: DateTime) -> Self
pub fn creation_time_before(self, input: DateTime) -> Self
Only list hub content versions that were created before the time specified.
sourcepub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
Only list hub content versions that were created before the time specified.
sourcepub fn creation_time_after(self, input: DateTime) -> Self
pub fn creation_time_after(self, input: DateTime) -> Self
Only list hub content versions that were created after the time specified.
sourcepub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
Only list hub content versions that were created after the time specified.
sourcepub fn sort_by(self, input: HubContentSortBy) -> Self
pub fn sort_by(self, input: HubContentSortBy) -> Self
Sort hub content versions by either name or creation time.
sourcepub fn set_sort_by(self, input: Option<HubContentSortBy>) -> Self
pub fn set_sort_by(self, input: Option<HubContentSortBy>) -> Self
Sort hub content versions by either name or creation time.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
Sort hub content versions by ascending or descending order.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
Sort hub content versions by ascending or descending order.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of hub content versions to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of hub content versions to list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the response to a previous ListHubContentVersions
request was truncated, the response includes a NextToken
. To retrieve the next set of hub content versions, use the token in the next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the response to a previous ListHubContentVersions
request was truncated, the response includes a NextToken
. To retrieve the next set of hub content versions, use the token in the next request.
Trait Implementations§
source§impl Clone for ListHubContentVersions
impl Clone for ListHubContentVersions
source§fn clone(&self) -> ListHubContentVersions
fn clone(&self) -> ListHubContentVersions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more