class Amazonite::Iam::PolicyUser

Overview

Contains information about a user that a managed policy is attached to.

This data type is used as a response element in the ListEntitiesForPolicy operation.

For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.

Defined in:

iam/policy_user.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(user_name : String | Nil = nil, user_id : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def user_id : String | Nil #

The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.


[View source]
def user_id=(user_id : String | Nil) #

The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.


[View source]
def user_name : String | Nil #

The name (friendly name, not ARN) identifying the user.


[View source]
def user_name=(user_name : String | Nil) #

The name (friendly name, not ARN) identifying the user.


[View source]
def validate! : Nil #

[View source]