Struct aws_sdk_iot::input::CreateRoleAliasInput
source · #[non_exhaustive]pub struct CreateRoleAliasInput { /* private fields */ }
Implementations§
source§impl CreateRoleAliasInput
impl CreateRoleAliasInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRoleAlias, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateRoleAlias, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateRoleAlias
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateRoleAliasInput
.
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..."
Trait Implementations§
source§impl Clone for CreateRoleAliasInput
impl Clone for CreateRoleAliasInput
source§fn clone(&self) -> CreateRoleAliasInput
fn clone(&self) -> CreateRoleAliasInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateRoleAliasInput
impl Debug for CreateRoleAliasInput
source§impl PartialEq<CreateRoleAliasInput> for CreateRoleAliasInput
impl PartialEq<CreateRoleAliasInput> for CreateRoleAliasInput
source§fn eq(&self, other: &CreateRoleAliasInput) -> bool
fn eq(&self, other: &CreateRoleAliasInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.