Struct aws_sdk_sts::types::AssumedRoleUser
source · #[non_exhaustive]pub struct AssumedRoleUser {
pub assumed_role_id: String,
pub arn: String,
}
Expand description
The identifiers for the temporary security credentials that the operation returns.
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.assumed_role_id: String
A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by Amazon Web Services when the role is created.
arn: String
The ARN of the temporary security credentials that are returned from the AssumeRole
action. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.
Implementations§
source§impl AssumedRoleUser
impl AssumedRoleUser
sourcepub fn assumed_role_id(&self) -> &str
pub fn assumed_role_id(&self) -> &str
A unique identifier that contains the role ID and the role session name of the role that is being assumed. The role ID is generated by Amazon Web Services when the role is created.
sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &str
The ARN of the temporary security credentials that are returned from the AssumeRole
action. For more information about ARNs and how to use them in policies, see IAM Identifiers in the IAM User Guide.
source§impl AssumedRoleUser
impl AssumedRoleUser
sourcepub fn builder() -> AssumedRoleUserBuilder
pub fn builder() -> AssumedRoleUserBuilder
Creates a new builder-style object to manufacture AssumedRoleUser
.
Trait Implementations§
source§impl Clone for AssumedRoleUser
impl Clone for AssumedRoleUser
source§fn clone(&self) -> AssumedRoleUser
fn clone(&self) -> AssumedRoleUser
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssumedRoleUser
impl Debug for AssumedRoleUser
source§impl PartialEq for AssumedRoleUser
impl PartialEq for AssumedRoleUser
impl StructuralPartialEq for AssumedRoleUser
Auto Trait Implementations§
impl Freeze for AssumedRoleUser
impl RefUnwindSafe for AssumedRoleUser
impl Send for AssumedRoleUser
impl Sync for AssumedRoleUser
impl Unpin for AssumedRoleUser
impl UnwindSafe for AssumedRoleUser
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)