Amazon.CognitoSync.AmazonCognitoSyncClient.DescribeIdentityPoolUsageAsync C# (CSharp) Method

DescribeIdentityPoolUsageAsync() public method

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.

/// Indicates an internal service error. /// /// Thrown when a request parameter does not comply with the associated constraints. /// /// Thrown when a user is not authorized to access the requested resource. /// /// Thrown if the resource doesn't exist. /// /// Thrown if the request is throttled. ///
public DescribeIdentityPoolUsageAsync ( string identityPoolId, System cancellationToken = default(CancellationToken) ) : Task
identityPoolId string 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.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<DescribeIdentityPoolUsageResponse> DescribeIdentityPoolUsageAsync(string identityPoolId, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new DescribeIdentityPoolUsageRequest();
            request.IdentityPoolId = identityPoolId;
            return DescribeIdentityPoolUsageAsync(request, cancellationToken);
        }

Same methods

AmazonCognitoSyncClient::DescribeIdentityPoolUsageAsync ( Amazon.CognitoSync.Model.DescribeIdentityPoolUsageRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonCognitoSyncClient::DescribeIdentityPoolUsageAsync ( Amazon.CognitoSync.Model.DescribeIdentityPoolUsageRequest request, DescribeIdentityPoolUsageResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonCognitoSyncClient::DescribeIdentityPoolUsageAsync ( string identityPoolId, DescribeIdentityPoolUsageResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void