pub struct RoleDetail {
pub arn: Option<String>,
pub assume_role_policy_document: Option<String>,
pub attached_managed_policies: Option<Vec<AttachedPolicy>>,
pub create_date: Option<String>,
pub instance_profile_list: Option<Vec<InstanceProfile>>,
pub path: Option<String>,
pub permissions_boundary: Option<AttachedPermissionsBoundary>,
pub role_id: Option<String>,
pub role_name: Option<String>,
pub role_policy_list: Option<Vec<PolicyDetail>>,
}
Contains information about an IAM role, including all of the role's policies.
This data type is used as a response element in the GetAccountAuthorizationDetails operation.
The trust policy that grants permission to assume the role.
A list of managed policies attached to the role. These policies are the role's access (permissions) policies.
A list of instance profiles that contain this role.
The path to the role. For more information about paths, see IAM Identifiers in the Using IAM guide.
The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the Using IAM guide.
The friendly name that identifies the role.
A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static