C# Class Amazon.IdentityManagement.Model.DeleteUserPolicyRequest

Container for the parameters to the DeleteUserPolicy operation.

Deletes the specified policy associated with the specified User.

Inheritance: Amazon.Runtime.AmazonWebServiceRequest
Mostra file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
DeleteUserPolicyRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

DeleteUserPolicyRequest ( string userName, string policyName ) : System

Instantiates DeleteUserPolicyRequest with the parameterized properties

Private Methods

Method Description
IsSetPolicyName ( ) : bool
IsSetUserName ( ) : bool

Method Details

DeleteUserPolicyRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public DeleteUserPolicyRequest ( ) : System
return System

DeleteUserPolicyRequest() public method

Instantiates DeleteUserPolicyRequest with the parameterized properties
public DeleteUserPolicyRequest ( string userName, string policyName ) : System
userName string The name (friendly name, not ARN) identifying the user that the policy is embedded in. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
policyName string The name identifying the policy document to delete. This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
return System