Struct aws_sdk_iam::operation::update_service_specific_credential::UpdateServiceSpecificCredentialInput
source · #[non_exhaustive]pub struct UpdateServiceSpecificCredentialInput {
pub user_name: Option<String>,
pub service_specific_credential_id: Option<String>,
pub status: Option<StatusType>,
}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_name: Option<String>The name of the IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
service_specific_credential_id: Option<String>The unique identifier of the service-specific credential.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
status: Option<StatusType>The status to be assigned to the service-specific credential.
Implementations§
source§impl UpdateServiceSpecificCredentialInput
impl UpdateServiceSpecificCredentialInput
sourcepub fn user_name(&self) -> Option<&str>
pub fn user_name(&self) -> Option<&str>
The name of the IAM user associated with the service-specific credential. If you do not specify this value, then the operation assumes the user whose credentials are used to call the operation.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn service_specific_credential_id(&self) -> Option<&str>
pub fn service_specific_credential_id(&self) -> Option<&str>
The unique identifier of the service-specific credential.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
sourcepub fn status(&self) -> Option<&StatusType>
pub fn status(&self) -> Option<&StatusType>
The status to be assigned to the service-specific credential.
source§impl UpdateServiceSpecificCredentialInput
impl UpdateServiceSpecificCredentialInput
sourcepub fn builder() -> UpdateServiceSpecificCredentialInputBuilder
pub fn builder() -> UpdateServiceSpecificCredentialInputBuilder
Creates a new builder-style object to manufacture UpdateServiceSpecificCredentialInput.
Trait Implementations§
source§impl Clone for UpdateServiceSpecificCredentialInput
impl Clone for UpdateServiceSpecificCredentialInput
source§fn clone(&self) -> UpdateServiceSpecificCredentialInput
fn clone(&self) -> UpdateServiceSpecificCredentialInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateServiceSpecificCredentialInput
impl PartialEq for UpdateServiceSpecificCredentialInput
source§fn eq(&self, other: &UpdateServiceSpecificCredentialInput) -> bool
fn eq(&self, other: &UpdateServiceSpecificCredentialInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateServiceSpecificCredentialInput
Auto Trait Implementations§
impl Freeze for UpdateServiceSpecificCredentialInput
impl RefUnwindSafe for UpdateServiceSpecificCredentialInput
impl Send for UpdateServiceSpecificCredentialInput
impl Sync for UpdateServiceSpecificCredentialInput
impl Unpin for UpdateServiceSpecificCredentialInput
impl UnwindSafe for UpdateServiceSpecificCredentialInput
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