Amazon.CognitoIdentity.AmazonCognitoIdentityClient.SetIdentityPoolRolesAsync C# (CSharp) Метод

SetIdentityPoolRolesAsync() публичный Метод

Initiates the asynchronous execution of the SetIdentityPoolRoles operation.
public SetIdentityPoolRolesAsync ( SetIdentityPoolRolesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request SetIdentityPoolRolesRequest Container for the necessary parameters to execute the SetIdentityPoolRoles operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<SetIdentityPoolRolesResponse> SetIdentityPoolRolesAsync(SetIdentityPoolRolesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new SetIdentityPoolRolesRequestMarshaller();
            var unmarshaller = SetIdentityPoolRolesResponseUnmarshaller.Instance;

            return InvokeAsync<SetIdentityPoolRolesRequest,SetIdentityPoolRolesResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonCognitoIdentityClient::SetIdentityPoolRolesAsync ( string identityPoolId, string>.Dictionary roles, System cancellationToken = default(CancellationToken) ) : Task
AmazonCognitoIdentityClient::SetIdentityPoolRolesAsync ( SetIdentityPoolRolesRequest request, SetIdentityPoolRolesResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonCognitoIdentityClient::SetIdentityPoolRolesAsync ( string identityPoolId, string>.Dictionary roles, SetIdentityPoolRolesResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonCognitoIdentityClient