Struct aws_sdk_cognitosync::client::fluent_builders::DescribeIdentityPoolUsage [−][src]
pub struct DescribeIdentityPoolUsage<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeIdentityPoolUsage
.
Gets usage details (for example, data storage) about a particular identity pool.
This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.
{ “Operation”: “com.amazonaws.cognito.sync.model#DescribeIdentityPoolUsage”, “Service”: “com.amazonaws.cognito.sync.model#AWSCognitoSyncService”, “Input”: { “IdentityPoolId”: “IDENTITY_POOL_ID” } }
{ “Output”: { “__type”: “com.amazonaws.cognito.sync.model#DescribeIdentityPoolUsageResponse”, “IdentityPoolUsage”: { “DataStorage”: 0, “IdentityPoolId”: “IDENTITY_POOL_ID”, “LastModifiedDate”: 1.413231134115E9, “SyncSessionsCount”: null } }, “Version”: “1.0” }
Implementations
impl<C, M, R> DescribeIdentityPoolUsage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeIdentityPoolUsage<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeIdentityPoolUsageOutput, SdkError<DescribeIdentityPoolUsageError>> where
R::Policy: SmithyRetryPolicy<DescribeIdentityPoolUsageInputOperationOutputAlias, DescribeIdentityPoolUsageOutput, DescribeIdentityPoolUsageError, DescribeIdentityPoolUsageInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeIdentityPoolUsageOutput, SdkError<DescribeIdentityPoolUsageError>> where
R::Policy: SmithyRetryPolicy<DescribeIdentityPoolUsageInputOperationOutputAlias, DescribeIdentityPoolUsageOutput, DescribeIdentityPoolUsageError, DescribeIdentityPoolUsageInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeIdentityPoolUsage<C, M, R>
impl<C, M, R> Send for DescribeIdentityPoolUsage<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeIdentityPoolUsage<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeIdentityPoolUsage<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeIdentityPoolUsage<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more