class Amazonite::Iam::ServiceSpecificCredentialMetadata

Overview

Contains additional details about a service-specific credential.

Defined in:

iam/service_specific_credential_metadata.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(user_name : String, status : StatusType, create_date : Time, service_specific_credential_id : String, service_name : String, service_user_name : String | Nil = nil, service_credential_alias : String | Nil = nil, expiration_date : Time | 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_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_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.


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

The generated user name for the service-specific credential.


[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]