Amazon.CognitoIdentity.AmazonCognitoIdentityClient.BeginGetIdentityPoolRoles C# (CSharp) Method

BeginGetIdentityPoolRoles() public method

Initiates the asynchronous execution of the GetIdentityPoolRoles operation.
public BeginGetIdentityPoolRoles ( Amazon.CognitoIdentity.Model.GetIdentityPoolRolesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.CognitoIdentity.Model.GetIdentityPoolRolesRequest Container for the necessary parameters to execute the GetIdentityPoolRoles operation on AmazonCognitoIdentityClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult
        public IAsyncResult BeginGetIdentityPoolRoles(GetIdentityPoolRolesRequest request, AsyncCallback callback, object state)
        {
            var marshaller = new GetIdentityPoolRolesRequestMarshaller();
            var unmarshaller = GetIdentityPoolRolesResponseUnmarshaller.Instance;

            return BeginInvoke<GetIdentityPoolRolesRequest>(request, marshaller, unmarshaller,
                callback, state);
        }
AmazonCognitoIdentityClient