pub struct OrganizationsClient<'a> { /* private fields */ }Implementations§
Source§impl OrganizationsClient<'_>
impl OrganizationsClient<'_>
Sourcepub async fn get_accounts(&self) -> Result<OrganizationsAccountsResponse, Error>
pub async fn get_accounts(&self) -> Result<OrganizationsAccountsResponse, Error>
List every member account in the org with lifecycle state,
parent OU, tags, and directly-attached SCPs. Returns an empty
accounts list (and None for management/master ids) when no
organization has been created yet.
Sourcepub async fn get_responsibility_transfers(
&self,
) -> Result<OrganizationsResponsibilityTransfersResponse, Error>
pub async fn get_responsibility_transfers( &self, ) -> Result<OrganizationsResponsibilityTransfersResponse, Error>
List every billing-responsibility transfer in the org, with direction, lifecycle status, and the active handshake. Returns an empty list when no organization has been created.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OrganizationsClient<'a>
impl<'a> !UnwindSafe for OrganizationsClient<'a>
impl<'a> Freeze for OrganizationsClient<'a>
impl<'a> Send for OrganizationsClient<'a>
impl<'a> Sync for OrganizationsClient<'a>
impl<'a> Unpin for OrganizationsClient<'a>
impl<'a> UnsafeUnpin for OrganizationsClient<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more