class Amazonite::Iam::UserDetail

Overview

Contains information about an IAM user, including all the user's policies and all the IAM groups the user is in.

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

Defined in:

iam/user_detail.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(path : String | Nil = nil, user_name : String | Nil = nil, user_id : String | Nil = nil, arn : String | Nil = nil, create_date : Time | Nil = nil, user_policy_list : Array(PolicyDetail) | Nil = nil, group_list : Array(String) | Nil = nil, attached_managed_policies : Array(AttachedPolicy) | Nil = nil, permissions_boundary : AttachedPermissionsBoundary | Nil = nil, tags : Array(Tag) | 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 arn : String | Nil #

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

[View source]
def attached_managed_policies : Array(AttachedPolicy) | Nil #

A list of the managed policies attached to the user.


[View source]
def attached_managed_policies=(attached_managed_policies : Array(AttachedPolicy) | Nil) #

A list of the managed policies attached to the user.


[View source]
def create_date : Time | Nil #

The date and time, in ISO 8601 date-time format, when the user was created.


[View source]
def create_date=(create_date : Time | Nil) #

The date and time, in ISO 8601 date-time format, when the user was created.


[View source]
def group_list : Array(String) | Nil #

A list of IAM groups that the user is in.


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

A list of IAM groups that the user is in.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def path : String | Nil #

The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide.


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

The path to the user. For more information about paths, see IAM identifiers in the IAM User Guide.


[View source]
def permissions_boundary : AttachedPermissionsBoundary | Nil #

The ARN of the policy used to set the permissions boundary for the user.

For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.


[View source]
def permissions_boundary=(permissions_boundary : AttachedPermissionsBoundary | Nil) #

The ARN of the policy used to set the permissions boundary for the user.

For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.


[View source]
def tags : Array(Tag) | Nil #

A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.


[View source]
def tags=(tags : Array(Tag) | Nil) #

A list of tags that are associated with the user. For more information about tagging, see Tagging IAM resources in the IAM User Guide.


[View source]
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 friendly name identifying the user.


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

The friendly name identifying the user.


[View source]
def user_policy_list : Array(PolicyDetail) | Nil #

A list of the inline policies embedded in the user.


[View source]
def user_policy_list=(user_policy_list : Array(PolicyDetail) | Nil) #

A list of the inline policies embedded in the user.


[View source]
def validate! : Nil #

[View source]