Struct aws_sdk_cloudformation::operation::describe_organizations_access::builders::DescribeOrganizationsAccessInputBuilder
source · #[non_exhaustive]pub struct DescribeOrganizationsAccessInputBuilder { /* private fields */ }
Expand description
A builder for DescribeOrganizationsAccessInput
.
Implementations§
source§impl DescribeOrganizationsAccessInputBuilder
impl DescribeOrganizationsAccessInputBuilder
sourcepub fn call_as(self, input: CallAs) -> Self
pub fn call_as(self, input: CallAs) -> Self
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn set_call_as(self, input: Option<CallAs>) -> Self
pub fn set_call_as(self, input: Option<CallAs>) -> Self
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn get_call_as(&self) -> &Option<CallAs>
pub fn get_call_as(&self) -> &Option<CallAs>
[Service-managed permissions] Specifies whether you are acting as an account administrator in the organization's management account or as a delegated administrator in a member account.
By default, SELF
is specified.
-
If you are signed in to the management account, specify
SELF
. -
If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.Your Amazon Web Services account must be registered as a delegated administrator in the management account. For more information, see Register a delegated administrator in the CloudFormation User Guide.
sourcepub fn build(self) -> Result<DescribeOrganizationsAccessInput, BuildError>
pub fn build(self) -> Result<DescribeOrganizationsAccessInput, BuildError>
Consumes the builder and constructs a DescribeOrganizationsAccessInput
.
source§impl DescribeOrganizationsAccessInputBuilder
impl DescribeOrganizationsAccessInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeOrganizationsAccessOutput, SdkError<DescribeOrganizationsAccessError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeOrganizationsAccessOutput, SdkError<DescribeOrganizationsAccessError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeOrganizationsAccessInputBuilder
impl Clone for DescribeOrganizationsAccessInputBuilder
source§fn clone(&self) -> DescribeOrganizationsAccessInputBuilder
fn clone(&self) -> DescribeOrganizationsAccessInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeOrganizationsAccessInputBuilder
impl Default for DescribeOrganizationsAccessInputBuilder
source§fn default() -> DescribeOrganizationsAccessInputBuilder
fn default() -> DescribeOrganizationsAccessInputBuilder
source§impl PartialEq for DescribeOrganizationsAccessInputBuilder
impl PartialEq for DescribeOrganizationsAccessInputBuilder
source§fn eq(&self, other: &DescribeOrganizationsAccessInputBuilder) -> bool
fn eq(&self, other: &DescribeOrganizationsAccessInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeOrganizationsAccessInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeOrganizationsAccessInputBuilder
impl RefUnwindSafe for DescribeOrganizationsAccessInputBuilder
impl Send for DescribeOrganizationsAccessInputBuilder
impl Sync for DescribeOrganizationsAccessInputBuilder
impl Unpin for DescribeOrganizationsAccessInputBuilder
impl UnwindSafe for DescribeOrganizationsAccessInputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more