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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAssetContent`](crate::operation::get_asset_content::builders::GetAssetContentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::get_asset_content::builders::GetAssetContentFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::get_asset_content::builders::GetAssetContentFluentBuilder::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::get_asset_content::builders::GetAssetContentFluentBuilder::asset_id) / [`set_asset_id(Option<String>)`](crate::operation::get_asset_content::builders::GetAssetContentFluentBuilder::set_asset_id):<br>required: **true**<br><p>The unique identifier of the asset</p><br>
    ///   - [`asset_version(i32)`](crate::operation::get_asset_content::builders::GetAssetContentFluentBuilder::asset_version) / [`set_asset_version(Option<i32>)`](crate::operation::get_asset_content::builders::GetAssetContentFluentBuilder::set_asset_version):<br>required: **false**<br><p>The specific asset version to export. If omitted, the latest version is returned.</p><br>
    /// - On success, responds with [`GetAssetContentOutput`](crate::operation::get_asset_content::GetAssetContentOutput) with field(s):
    ///   - [`content(Option<AssetZipContent>)`](crate::operation::get_asset_content::GetAssetContentOutput::content): <p>The asset content as a zip file</p>
    ///   - [`version(i32)`](crate::operation::get_asset_content::GetAssetContentOutput::version): <p>The asset version this content belongs to</p>
    /// - On failure, responds with [`SdkError<GetAssetContentError>`](crate::operation::get_asset_content::GetAssetContentError)
    pub fn get_asset_content(&self) -> crate::operation::get_asset_content::builders::GetAssetContentFluentBuilder {
        crate::operation::get_asset_content::builders::GetAssetContentFluentBuilder::new(self.handle.clone())
    }
}