aws-sdk-batch 1.120.0

AWS SDK for AWS Batch
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeQuotaShare`](crate::operation::describe_quota_share::builders::DescribeQuotaShareFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`quota_share_arn(impl Into<String>)`](crate::operation::describe_quota_share::builders::DescribeQuotaShareFluentBuilder::quota_share_arn) / [`set_quota_share_arn(Option<String>)`](crate::operation::describe_quota_share::builders::DescribeQuotaShareFluentBuilder::set_quota_share_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the quota share.</p><br>
    /// - On success, responds with [`DescribeQuotaShareOutput`](crate::operation::describe_quota_share::DescribeQuotaShareOutput) with field(s):
    ///   - [`quota_share_name(Option<String>)`](crate::operation::describe_quota_share::DescribeQuotaShareOutput::quota_share_name): <p>The name of the quota share.</p>
    ///   - [`quota_share_arn(Option<String>)`](crate::operation::describe_quota_share::DescribeQuotaShareOutput::quota_share_arn): <p>The Amazon Resource Name (ARN) of the quota share.</p>
    ///   - [`job_queue_arn(Option<String>)`](crate::operation::describe_quota_share::DescribeQuotaShareOutput::job_queue_arn): <p>The ARN of the job queue associated with the quota share.</p>
    ///   - [`capacity_limits(Option<Vec::<QuotaShareCapacityLimit>>)`](crate::operation::describe_quota_share::DescribeQuotaShareOutput::capacity_limits): <p>A list that specifies the quantity and type of compute capacity allocated to the quota share.</p>
    ///   - [`resource_sharing_configuration(Option<QuotaShareResourceSharingConfiguration>)`](crate::operation::describe_quota_share::DescribeQuotaShareOutput::resource_sharing_configuration): <p>Specifies whether a quota share reserves, lends, or both lends and borrows idle compute capacity.</p>
    ///   - [`preemption_configuration(Option<QuotaSharePreemptionConfiguration>)`](crate::operation::describe_quota_share::DescribeQuotaShareOutput::preemption_configuration): <p>Specifies the preemption behavior for jobs in a quota share.</p>
    ///   - [`state(Option<QuotaShareState>)`](crate::operation::describe_quota_share::DescribeQuotaShareOutput::state): <p>The state of the quota share.</p>
    ///   - [`status(Option<QuotaShareStatus>)`](crate::operation::describe_quota_share::DescribeQuotaShareOutput::status): <p>The current status of the quota share.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::describe_quota_share::DescribeQuotaShareOutput::tags): <p>The tags applied to the quota share.</p>
    /// - On failure, responds with [`SdkError<DescribeQuotaShareError>`](crate::operation::describe_quota_share::DescribeQuotaShareError)
    pub fn describe_quota_share(&self) -> crate::operation::describe_quota_share::builders::DescribeQuotaShareFluentBuilder {
        crate::operation::describe_quota_share::builders::DescribeQuotaShareFluentBuilder::new(self.handle.clone())
    }
}