Struct aws_sdk_iam::operation::get_user::GetUserOutput
source · #[non_exhaustive]pub struct GetUserOutput {
pub user: Option<User>,
/* private fields */
}
Expand description
Contains the response to a successful GetUser
request.
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.user: Option<User>
A structure containing details about the IAM user.
Due to a service issue, password last used data does not include password use from May 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This affects last sign-in dates shown in the IAM console and password last used dates in the IAM credential report, and returned by this operation. If users signed in during the affected time, the password last used date that is returned is the date the user last signed in before May 3, 2018. For users that signed in after May 23, 2018 14:08 PDT, the returned password last used date is accurate.
You can use password last used information to identify unused credentials for deletion. For example, you might delete users who did not sign in to Amazon Web Services in the last 90 days. In cases like this, we recommend that you adjust your evaluation window to include dates after May 23, 2018. Alternatively, if your users use access keys to access Amazon Web Services programmatically you can refer to access key last used information because it is accurate for all dates.
Implementations§
source§impl GetUserOutput
impl GetUserOutput
sourcepub fn user(&self) -> Option<&User>
pub fn user(&self) -> Option<&User>
A structure containing details about the IAM user.
Due to a service issue, password last used data does not include password use from May 3, 2018 22:50 PDT to May 23, 2018 14:08 PDT. This affects last sign-in dates shown in the IAM console and password last used dates in the IAM credential report, and returned by this operation. If users signed in during the affected time, the password last used date that is returned is the date the user last signed in before May 3, 2018. For users that signed in after May 23, 2018 14:08 PDT, the returned password last used date is accurate.
You can use password last used information to identify unused credentials for deletion. For example, you might delete users who did not sign in to Amazon Web Services in the last 90 days. In cases like this, we recommend that you adjust your evaluation window to include dates after May 23, 2018. Alternatively, if your users use access keys to access Amazon Web Services programmatically you can refer to access key last used information because it is accurate for all dates.
source§impl GetUserOutput
impl GetUserOutput
sourcepub fn builder() -> GetUserOutputBuilder
pub fn builder() -> GetUserOutputBuilder
Creates a new builder-style object to manufacture GetUserOutput
.
Trait Implementations§
source§impl Clone for GetUserOutput
impl Clone for GetUserOutput
source§fn clone(&self) -> GetUserOutput
fn clone(&self) -> GetUserOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetUserOutput
impl Debug for GetUserOutput
source§impl PartialEq for GetUserOutput
impl PartialEq for GetUserOutput
source§fn eq(&self, other: &GetUserOutput) -> bool
fn eq(&self, other: &GetUserOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetUserOutput
impl RequestId for GetUserOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.