#[non_exhaustive]pub struct CreateRoleAliasInput {
pub role_alias: Option<String>,
pub role_arn: Option<String>,
pub credential_duration_seconds: Option<i32>,
pub tags: Option<Vec<Tag>>,
}
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.role_alias: Option<String>
The role alias that points to a role ARN. This allows you to change the role without having to update the device.
role_arn: Option<String>
The role ARN.
credential_duration_seconds: Option<i32>
How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
Metadata which can be used to manage the role alias.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Implementations§
source§impl CreateRoleAliasInput
impl CreateRoleAliasInput
sourcepub fn role_alias(&self) -> Option<&str>
pub fn role_alias(&self) -> Option<&str>
The role alias that points to a role ARN. This allows you to change the role without having to update the device.
sourcepub fn credential_duration_seconds(&self) -> Option<i32>
pub fn credential_duration_seconds(&self) -> Option<i32>
How long (in seconds) the credentials will be valid. The default value is 3,600 seconds.
This value must be less than or equal to the maximum session duration of the IAM role that the role alias references.
Metadata which can be used to manage the role alias.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateRoleAliasInput
impl CreateRoleAliasInput
sourcepub fn builder() -> CreateRoleAliasInputBuilder
pub fn builder() -> CreateRoleAliasInputBuilder
Creates a new builder-style object to manufacture CreateRoleAliasInput
.
Trait Implementations§
source§impl Clone for CreateRoleAliasInput
impl Clone for CreateRoleAliasInput
source§fn clone(&self) -> CreateRoleAliasInput
fn clone(&self) -> CreateRoleAliasInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateRoleAliasInput
impl Debug for CreateRoleAliasInput
source§impl PartialEq for CreateRoleAliasInput
impl PartialEq for CreateRoleAliasInput
source§fn eq(&self, other: &CreateRoleAliasInput) -> bool
fn eq(&self, other: &CreateRoleAliasInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRoleAliasInput
Auto Trait Implementations§
impl Freeze for CreateRoleAliasInput
impl RefUnwindSafe for CreateRoleAliasInput
impl Send for CreateRoleAliasInput
impl Sync for CreateRoleAliasInput
impl Unpin for CreateRoleAliasInput
impl UnwindSafe for CreateRoleAliasInput
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