class
Amazonite::Iam::CreateServiceSpecificCredentialRequest
- Amazonite::Iam::CreateServiceSpecificCredentialRequest
- Reference
- Object
Defined in:
iam/create_service_specific_credential_request.crConstructors
- .from_xml(node : XML::Node) : self
- .new(user_name : String, service_name : String, credential_age_days : Int32 | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#credential_age_days : Int32 | Nil
The number of days until the service specific credential expires.
-
#credential_age_days=(credential_age_days : Int32 | Nil)
The number of days until the service specific credential expires.
-
#hash(hasher)
See
Object#hash(hasher) -
#service_name : String
The name of the Amazon Web Services service that is to be associated with the credentials.
-
#service_name=(service_name : String)
The name of the Amazon Web Services service that is to be associated with the credentials.
- #to_query_params(prefix : String) : Array(Tuple(String, String))
-
#user_name : String
The name of the IAM user that is to be associated with the credentials.
-
#user_name=(user_name : String)
The name of the IAM user that is to be associated with the credentials.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The number of days until the service specific credential expires. This field is only valid for services that support long-term API keys and must be a positive integer. When not specified, the credential will not expire.
To see which services support long-term API keys, refer to API keys for Amazon Web Services services in the IAM User Guide.
The number of days until the service specific credential expires. This field is only valid for services that support long-term API keys and must be a positive integer. When not specified, the credential will not expire.
To see which services support long-term API keys, refer to API keys for Amazon Web Services services in the IAM User Guide.
The name of the Amazon Web Services service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials.
The name of the Amazon Web Services service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials.
The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service.
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: _+=,.@-
The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service.
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: _+=,.@-