Struct aws_sdk_iam::operation::get_user::builders::GetUserOutputBuilder
source · #[non_exhaustive]pub struct GetUserOutputBuilder { /* private fields */ }
Expand description
A builder for GetUserOutput
.
Implementations§
source§impl GetUserOutputBuilder
impl GetUserOutputBuilder
sourcepub fn user(self, input: User) -> Self
pub fn user(self, input: User) -> Self
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.
sourcepub fn set_user(self, input: Option<User>) -> Self
pub fn set_user(self, input: Option<User>) -> Self
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.
sourcepub fn get_user(&self) -> &Option<User>
pub fn get_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.
sourcepub fn build(self) -> GetUserOutput
pub fn build(self) -> GetUserOutput
Consumes the builder and constructs a GetUserOutput
.
Trait Implementations§
source§impl Clone for GetUserOutputBuilder
impl Clone for GetUserOutputBuilder
source§fn clone(&self) -> GetUserOutputBuilder
fn clone(&self) -> GetUserOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetUserOutputBuilder
impl Debug for GetUserOutputBuilder
source§impl Default for GetUserOutputBuilder
impl Default for GetUserOutputBuilder
source§fn default() -> GetUserOutputBuilder
fn default() -> GetUserOutputBuilder
source§impl PartialEq for GetUserOutputBuilder
impl PartialEq for GetUserOutputBuilder
source§fn eq(&self, other: &GetUserOutputBuilder) -> bool
fn eq(&self, other: &GetUserOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.