Struct aws_sdk_macie2::operation::list_organization_admin_accounts::ListOrganizationAdminAccountsOutput
source · #[non_exhaustive]pub struct ListOrganizationAdminAccountsOutput {
pub admin_accounts: Option<Vec<AdminAccount>>,
pub next_token: Option<String>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.admin_accounts: Option<Vec<AdminAccount>>An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.
next_token: Option<String>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
Implementations§
source§impl ListOrganizationAdminAccountsOutput
impl ListOrganizationAdminAccountsOutput
sourcepub fn admin_accounts(&self) -> &[AdminAccount]
pub fn admin_accounts(&self) -> &[AdminAccount]
An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of these accounts can have a status of ENABLED.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .admin_accounts.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
source§impl ListOrganizationAdminAccountsOutput
impl ListOrganizationAdminAccountsOutput
sourcepub fn builder() -> ListOrganizationAdminAccountsOutputBuilder
pub fn builder() -> ListOrganizationAdminAccountsOutputBuilder
Creates a new builder-style object to manufacture ListOrganizationAdminAccountsOutput.
Trait Implementations§
source§impl Clone for ListOrganizationAdminAccountsOutput
impl Clone for ListOrganizationAdminAccountsOutput
source§fn clone(&self) -> ListOrganizationAdminAccountsOutput
fn clone(&self) -> ListOrganizationAdminAccountsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ListOrganizationAdminAccountsOutput
impl PartialEq for ListOrganizationAdminAccountsOutput
source§fn eq(&self, other: &ListOrganizationAdminAccountsOutput) -> bool
fn eq(&self, other: &ListOrganizationAdminAccountsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for ListOrganizationAdminAccountsOutput
impl RequestId for ListOrganizationAdminAccountsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.