aws_sdk_directory/client/get_snapshot_limits.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetSnapshotLimits`](crate::operation::get_snapshot_limits::builders::GetSnapshotLimitsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`directory_id(impl Into<String>)`](crate::operation::get_snapshot_limits::builders::GetSnapshotLimitsFluentBuilder::directory_id) / [`set_directory_id(Option<String>)`](crate::operation::get_snapshot_limits::builders::GetSnapshotLimitsFluentBuilder::set_directory_id):<br>required: **true**<br><p>Contains the identifier of the directory to obtain the limits for.</p><br>
7 /// - On success, responds with [`GetSnapshotLimitsOutput`](crate::operation::get_snapshot_limits::GetSnapshotLimitsOutput) with field(s):
8 /// - [`snapshot_limits(Option<SnapshotLimits>)`](crate::operation::get_snapshot_limits::GetSnapshotLimitsOutput::snapshot_limits): <p>A <code>SnapshotLimits</code> object that contains the manual snapshot limits for the specified directory.</p>
9 /// - On failure, responds with [`SdkError<GetSnapshotLimitsError>`](crate::operation::get_snapshot_limits::GetSnapshotLimitsError)
10 pub fn get_snapshot_limits(&self) -> crate::operation::get_snapshot_limits::builders::GetSnapshotLimitsFluentBuilder {
11 crate::operation::get_snapshot_limits::builders::GetSnapshotLimitsFluentBuilder::new(self.handle.clone())
12 }
13}