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 ==
.