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

SetIdentityPoolRoles() public method

Sets the roles for an identity pool. These roles are used when making calls to GetCredentialsForIdentity action.

You must use AWS Developer credentials to call this API.

/// Thrown if there are parallel requests to modify a resource. /// /// Thrown when the service encounters an error during processing the request. /// /// Thrown for missing or bad input parameter(s). /// /// Thrown when a user is not authorized to access the requested resource. /// /// Thrown when a user tries to use a login which is already linked to another account. /// /// Thrown when the requested resource (for example, a dataset or record) does not exist. /// /// Thrown when a request is throttled. ///
public SetIdentityPoolRoles ( SetIdentityPoolRolesRequest request ) : SetIdentityPoolRolesResponse
request SetIdentityPoolRolesRequest Container for the necessary parameters to execute the SetIdentityPoolRoles service method.
return SetIdentityPoolRolesResponse
        public SetIdentityPoolRolesResponse SetIdentityPoolRoles(SetIdentityPoolRolesRequest request)
        {
            var marshaller = new SetIdentityPoolRolesRequestMarshaller();
            var unmarshaller = SetIdentityPoolRolesResponseUnmarshaller.Instance;

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

Same methods

AmazonCognitoIdentityClient::SetIdentityPoolRoles ( string identityPoolId, string>.Dictionary roles ) : SetIdentityPoolRolesResponse
AmazonCognitoIdentityClient