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

GetIdentityPoolConfigurationAsync() public method

Gets the configuration settings of an 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 GetIdentityPoolConfigurationAsync ( 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. This is the ID of the pool for which to return a configuration.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetIdentityPoolConfigurationResponse> GetIdentityPoolConfigurationAsync(string identityPoolId, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new GetIdentityPoolConfigurationRequest();
            request.IdentityPoolId = identityPoolId;
            return GetIdentityPoolConfigurationAsync(request, cancellationToken);
        }

Same methods

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