Struct rusoto_ecs::PutAccountSettingRequest
source · [−]pub struct PutAccountSettingRequest {
pub name: String,
pub principal_arn: Option<String>,
pub value: String,
}
Fields
name: String
The Amazon ECS resource name for which to modify the account setting. If serviceLongArnFormat
is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If awsvpcTrunking
is specified, the elastic network interface (ENI) limit for your Amazon ECS container instances is affected. If containerInsights
is specified, the default setting for CloudWatch Container Insights for your clusters is affected.
principal_arn: Option<String>
The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it modifies the account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
Federated users assume the account setting of the root user and can't have explicit account settings set for them.
value: String
The account setting value for the specified principal ARN. Accepted values are enabled
and disabled
.
Trait Implementations
sourceimpl Clone for PutAccountSettingRequest
impl Clone for PutAccountSettingRequest
sourcefn clone(&self) -> PutAccountSettingRequest
fn clone(&self) -> PutAccountSettingRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PutAccountSettingRequest
impl Debug for PutAccountSettingRequest
sourceimpl Default for PutAccountSettingRequest
impl Default for PutAccountSettingRequest
sourcefn default() -> PutAccountSettingRequest
fn default() -> PutAccountSettingRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PutAccountSettingRequest> for PutAccountSettingRequest
impl PartialEq<PutAccountSettingRequest> for PutAccountSettingRequest
sourcefn eq(&self, other: &PutAccountSettingRequest) -> bool
fn eq(&self, other: &PutAccountSettingRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PutAccountSettingRequest) -> bool
fn ne(&self, other: &PutAccountSettingRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for PutAccountSettingRequest
impl Serialize for PutAccountSettingRequest
impl StructuralPartialEq for PutAccountSettingRequest
Auto Trait Implementations
impl RefUnwindSafe for PutAccountSettingRequest
impl Send for PutAccountSettingRequest
impl Sync for PutAccountSettingRequest
impl Unpin for PutAccountSettingRequest
impl UnwindSafe for PutAccountSettingRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more