class Amazonite::Iam::ServiceSpecificCredential

Overview

Contains the details of a service-specific credential.

Defined in:

iam/service_specific_credential.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(create_date : Time, service_name : String, service_specific_credential_id : String, user_name : String, status : StatusType, expiration_date : Time | Nil = nil, service_user_name : String | Nil = nil, service_password : String | Nil = nil, service_credential_alias : String | Nil = nil, service_credential_secret : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def create_date : Time #

The date and time, in ISO 8601 date-time format, when the service-specific credential were created.


[View source]
def create_date=(create_date : Time) #

The date and time, in ISO 8601 date-time format, when the service-specific credential were created.


[View source]
def expiration_date : Time | Nil #

The date and time when the service specific credential expires. This field is only present for Bedrock API keys and CloudWatch Logs API keys that were created with an expiration period.


[View source]
def expiration_date=(expiration_date : Time | Nil) #

The date and time when the service specific credential expires. This field is only present for Bedrock API keys and CloudWatch Logs API keys that were created with an expiration period.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def service_credential_alias : String | Nil #

For Bedrock API keys and CloudWatch Logs API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.


[View source]
def service_credential_alias=(service_credential_alias : String | Nil) #

For Bedrock API keys and CloudWatch Logs API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information.


[View source]
def service_credential_secret : String | Nil #

For Bedrock API keys and CloudWatch Logs API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is returned only when the credential is created.


[View source]
def service_credential_secret=(service_credential_secret : String | Nil) #

For Bedrock API keys and CloudWatch Logs API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is returned only when the credential is created.


[View source]
def service_name : String #

The name of the service associated with the service-specific credential.


[View source]
def service_name=(service_name : String) #

The name of the service associated with the service-specific credential.


[View source]
def service_password : String | Nil #

The generated password for the service-specific credential.


[View source]
def service_password=(service_password : String | Nil) #

The generated password for the service-specific credential.


[View source]
def service_specific_credential_id : String #

The unique identifier for the service-specific credential.


[View source]
def service_specific_credential_id=(service_specific_credential_id : String) #

The unique identifier for the service-specific credential.


[View source]
def service_user_name : String | Nil #

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.


[View source]
def service_user_name=(service_user_name : String | Nil) #

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.


[View source]
def status : StatusType #

The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.


[View source]
def status=(status : StatusType) #

The status of the service-specific credential. Active means that the key is valid for API calls, while Inactive means it is not.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def user_name : String #

The name of the IAM user associated with the service-specific credential.


[View source]
def user_name=(user_name : String) #

The name of the IAM user associated with the service-specific credential.


[View source]
def validate! : Nil #

[View source]