aws-sdk-evs 1.32.0

AWS SDK for Amazon Elastic VMware Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDepotUrl`](crate::operation::get_depot_url::builders::GetDepotUrlFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_id(impl Into<String>)`](crate::operation::get_depot_url::builders::GetDepotUrlFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::get_depot_url::builders::GetDepotUrlFluentBuilder::set_environment_id):<br>required: **true**<br><p>The unique ID of the Amazon EVS environment to get the depot URL for.</p><br>
    ///   - [`rotate(bool)`](crate::operation::get_depot_url::builders::GetDepotUrlFluentBuilder::rotate) / [`set_rotate(Option<bool>)`](crate::operation::get_depot_url::builders::GetDepotUrlFluentBuilder::set_rotate):<br>required: **false**<br><p>Revokes the current authentication token and returns a new depot URL with a new token. Previously issued depot URLs will stop working within 5 minutes of rotation.</p><br>
    /// - On success, responds with [`GetDepotUrlOutput`](crate::operation::get_depot_url::GetDepotUrlOutput) with field(s):
    ///   - [`depot_url(String)`](crate::operation::get_depot_url::GetDepotUrlOutput::depot_url): <p>The URL for accessing the Amazon EVS Custom Addon depot. This URL includes the authentication token as a path component.</p>
    ///   - [`token(String)`](crate::operation::get_depot_url::GetDepotUrlOutput::token): <p>The authentication token for depot access. This token is included in the depot URL and is used to authenticate requests.</p>
    /// - On failure, responds with [`SdkError<GetDepotUrlError>`](crate::operation::get_depot_url::GetDepotUrlError)
    pub fn get_depot_url(&self) -> crate::operation::get_depot_url::builders::GetDepotUrlFluentBuilder {
        crate::operation::get_depot_url::builders::GetDepotUrlFluentBuilder::new(self.handle.clone())
    }
}