aws-sdk-devopsagent 1.9.0

AWS SDK for AWS DevOps Agent Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAssetVersions`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier for the agent space containing the asset</p><br>
    ///   - [`asset_id(impl Into<String>)`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::asset_id) / [`set_asset_id(Option<String>)`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::set_asset_id):<br>required: **true**<br><p>The unique identifier of the asset whose versions to list</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single response</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::set_next_token):<br>required: **false**<br><p>Pagination token from a previous response to retrieve the next page of results</p><br>
    /// - On success, responds with [`ListAssetVersionsOutput`](crate::operation::list_asset_versions::ListAssetVersionsOutput) with field(s):
    ///   - [`items(Vec::<AssetVersionMetadata>)`](crate::operation::list_asset_versions::ListAssetVersionsOutput::items): <p>The list of version metadata for the asset</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_asset_versions::ListAssetVersionsOutput::next_token): <p>Pagination token to retrieve the next page of results. Absent when there are no more results.</p>
    /// - On failure, responds with [`SdkError<ListAssetVersionsError>`](crate::operation::list_asset_versions::ListAssetVersionsError)
    pub fn list_asset_versions(&self) -> crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder {
        crate::operation::list_asset_versions::builders::ListAssetVersionsFluentBuilder::new(self.handle.clone())
    }
}