aws-sdk-pcs 1.70.1

AWS SDK for AWS Parallel Computing Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetQueue`](crate::operation::get_queue::builders::GetQueueFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster_identifier(impl Into<String>)`](crate::operation::get_queue::builders::GetQueueFluentBuilder::cluster_identifier) / [`set_cluster_identifier(Option<String>)`](crate::operation::get_queue::builders::GetQueueFluentBuilder::set_cluster_identifier):<br>required: **true**<br><p>The name or ID of the cluster of the queue.</p><br>
    ///   - [`queue_identifier(impl Into<String>)`](crate::operation::get_queue::builders::GetQueueFluentBuilder::queue_identifier) / [`set_queue_identifier(Option<String>)`](crate::operation::get_queue::builders::GetQueueFluentBuilder::set_queue_identifier):<br>required: **true**<br><p>The name or ID of the queue.</p><br>
    /// - On success, responds with [`GetQueueOutput`](crate::operation::get_queue::GetQueueOutput) with field(s):
    ///   - [`queue(Option<Queue>)`](crate::operation::get_queue::GetQueueOutput::queue): <p>A queue resource.</p>
    /// - On failure, responds with [`SdkError<GetQueueError>`](crate::operation::get_queue::GetQueueError)
    pub fn get_queue(&self) -> crate::operation::get_queue::builders::GetQueueFluentBuilder {
        crate::operation::get_queue::builders::GetQueueFluentBuilder::new(self.handle.clone())
    }
}