Class: Aws::IAM::Types::DeleteUserPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::DeleteUserPolicyRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
When making an API call, you may pass DeleteUserPolicyRequest data as a hash:
{
user_name: "existingUserNameType", # required
policy_name: "policyNameType", # required
}
Instance Attribute Summary collapse
-
#policy_name ⇒ String
The name identifying the policy document to delete.
-
#user_name ⇒ String
The name (friendly name, not ARN) identifying the user that the policy is embedded in.
Instance Attribute Details
#policy_name ⇒ 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: _+=,.@-
2166 2167 2168 2169 2170 |
# File 'lib/aws-sdk-iam/types.rb', line 2166 class DeleteUserPolicyRequest < Struct.new( :user_name, :policy_name) include Aws::Structure end |
#user_name ⇒ 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: _+=,.@-
2166 2167 2168 2169 2170 |
# File 'lib/aws-sdk-iam/types.rb', line 2166 class DeleteUserPolicyRequest < Struct.new( :user_name, :policy_name) include Aws::Structure end |