pub struct OrganizationsAccount {
pub id: String,
pub arn: String,
pub email: String,
pub name: String,
pub status: String,
pub joined_method: String,
pub joined_timestamp: String,
pub parent_ou_id: Option<String>,
pub tags: Vec<OrganizationsTag>,
pub scp_attached: Vec<String>,
}Expand description
A single member account as exposed by
GET /_fakecloud/organizations/accounts. Mirrors the AWS
Organizations Account shape but adds two fakecloud-only fields
useful for test assertions: parentOuId (resolved parent OU or
root) and scpAttached (the set of SCP IDs directly attached to
the account — does not walk up the hierarchy).
Fields§
§id: String§arn: String§email: String§name: String§status: StringAWS lifecycle state. One of ACTIVE, SUSPENDED,
PENDING_CLOSURE.
joined_method: StringHow the account entered the organization. One of INVITED,
CREATED.
joined_timestamp: StringRFC3339 timestamp the account joined the org.
parent_ou_id: Option<String>Parent OU or root id. Always set for accounts attached to a
live org; None only if the account record is mid-removal.
Tags directly attached to the account (alphabetical by key).
scp_attached: Vec<String>SCP ids directly attached to the account (alphabetical). Does not include policies inherited from parent OUs or root.
Trait Implementations§
Source§impl Clone for OrganizationsAccount
impl Clone for OrganizationsAccount
Source§fn clone(&self) -> OrganizationsAccount
fn clone(&self) -> OrganizationsAccount
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more