aws_sdk_cognitosync/client/describe_identity_pool_usage.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 [`DescribeIdentityPoolUsage`](crate::operation::describe_identity_pool_usage::builders::DescribeIdentityPoolUsageFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identity_pool_id(impl Into<String>)`](crate::operation::describe_identity_pool_usage::builders::DescribeIdentityPoolUsageFluentBuilder::identity_pool_id) / [`set_identity_pool_id(Option<String>)`](crate::operation::describe_identity_pool_usage::builders::DescribeIdentityPoolUsageFluentBuilder::set_identity_pool_id):<br>required: **true**<br>A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.<br>
7 /// - On success, responds with [`DescribeIdentityPoolUsageOutput`](crate::operation::describe_identity_pool_usage::DescribeIdentityPoolUsageOutput) with field(s):
8 /// - [`identity_pool_usage(Option<IdentityPoolUsage>)`](crate::operation::describe_identity_pool_usage::DescribeIdentityPoolUsageOutput::identity_pool_usage): Information about the usage of the identity pool.
9 /// - On failure, responds with [`SdkError<DescribeIdentityPoolUsageError>`](crate::operation::describe_identity_pool_usage::DescribeIdentityPoolUsageError)
10 pub fn describe_identity_pool_usage(&self) -> crate::operation::describe_identity_pool_usage::builders::DescribeIdentityPoolUsageFluentBuilder {
11 crate::operation::describe_identity_pool_usage::builders::DescribeIdentityPoolUsageFluentBuilder::new(self.handle.clone())
12 }
13}