Struct aws_sdk_iam::types::ServiceSpecificCredential
source · #[non_exhaustive]pub struct ServiceSpecificCredential {
pub create_date: DateTime,
pub service_name: String,
pub service_user_name: String,
pub service_password: String,
pub service_specific_credential_id: String,
pub user_name: String,
pub status: StatusType,
}Expand description
Contains the details of a service-specific credential.
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.create_date: DateTimeThe date and time, in ISO 8601 date-time format, when the service-specific credential were created.
service_name: StringThe name of the service associated with the service-specific credential.
service_user_name: StringThe generated user name for the service-specific credential. This value is generated by combining the IAM user's name combined with the ID number of the Amazon Web Services account, as in jane-at-123456789012, for example. This value cannot be configured by the user.
service_password: StringThe generated password for the service-specific credential.
service_specific_credential_id: StringThe unique identifier for the service-specific credential.
user_name: StringThe name of the IAM user associated with the service-specific credential.
status: StatusTypeThe status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.
Implementations§
source§impl ServiceSpecificCredential
impl ServiceSpecificCredential
sourcepub fn create_date(&self) -> &DateTime
pub fn create_date(&self) -> &DateTime
The date and time, in ISO 8601 date-time format, when the service-specific credential were created.
sourcepub fn service_name(&self) -> &str
pub fn service_name(&self) -> &str
The name of the service associated with the service-specific credential.
sourcepub fn service_user_name(&self) -> &str
pub fn service_user_name(&self) -> &str
The generated user name for the service-specific credential. This value is generated by combining the IAM user's name combined with the ID number of the Amazon Web Services account, as in jane-at-123456789012, for example. This value cannot be configured by the user.
sourcepub fn service_password(&self) -> &str
pub fn service_password(&self) -> &str
The generated password for the service-specific credential.
sourcepub fn service_specific_credential_id(&self) -> &str
pub fn service_specific_credential_id(&self) -> &str
The unique identifier for the service-specific credential.
sourcepub fn user_name(&self) -> &str
pub fn user_name(&self) -> &str
The name of the IAM user associated with the service-specific credential.
sourcepub fn status(&self) -> &StatusType
pub fn status(&self) -> &StatusType
The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.
source§impl ServiceSpecificCredential
impl ServiceSpecificCredential
sourcepub fn builder() -> ServiceSpecificCredentialBuilder
pub fn builder() -> ServiceSpecificCredentialBuilder
Creates a new builder-style object to manufacture ServiceSpecificCredential.
Trait Implementations§
source§impl Clone for ServiceSpecificCredential
impl Clone for ServiceSpecificCredential
source§fn clone(&self) -> ServiceSpecificCredential
fn clone(&self) -> ServiceSpecificCredential
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ServiceSpecificCredential
impl Debug for ServiceSpecificCredential
source§impl PartialEq for ServiceSpecificCredential
impl PartialEq for ServiceSpecificCredential
source§fn eq(&self, other: &ServiceSpecificCredential) -> bool
fn eq(&self, other: &ServiceSpecificCredential) -> bool
self and other values to be equal, and is used
by ==.