Skip to content

/AWS1/CL_IAMSERVICESPFCREDMET

Contains additional details about a service-specific credential.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_username TYPE /AWS1/IAMUSERNAMETYPE /AWS1/IAMUSERNAMETYPE

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

iv_status TYPE /AWS1/IAMSTATUSTYPE /AWS1/IAMSTATUSTYPE

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

iv_createdate TYPE /AWS1/IAMDATETYPE /AWS1/IAMDATETYPE

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

iv_servicespecificcredid TYPE /AWS1/IAMSERVICESPECIFICCREDID /AWS1/IAMSERVICESPECIFICCREDID

The unique identifier for the service-specific credential.

iv_servicename TYPE /AWS1/IAMSERVICENAME /AWS1/IAMSERVICENAME

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

Optional arguments:

iv_serviceusername TYPE /AWS1/IAMSERVICEUSERNAME /AWS1/IAMSERVICEUSERNAME

The generated user name for the service-specific credential.

iv_servicecredentialalias TYPE /AWS1/IAMSERVICECREDALIAS /AWS1/IAMSERVICECREDALIAS

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

iv_expirationdate TYPE /AWS1/IAMDATETYPE /AWS1/IAMDATETYPE

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


Queryable Attributes

UserName

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

Accessible with the following methods

Method Description
GET_USERNAME() Getter for USERNAME, with configurable default
ASK_USERNAME() Getter for USERNAME w/ exceptions if field has no value
HAS_USERNAME() Determine if USERNAME has a value

Status

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

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

ServiceUserName

The generated user name for the service-specific credential.

Accessible with the following methods

Method Description
GET_SERVICEUSERNAME() Getter for SERVICEUSERNAME, with configurable default
ASK_SERVICEUSERNAME() Getter for SERVICEUSERNAME w/ exceptions if field has no val
HAS_SERVICEUSERNAME() Determine if SERVICEUSERNAME has a value

ServiceCredentialAlias

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

Accessible with the following methods

Method Description
GET_SERVICECREDENTIALALIAS() Getter for SERVICECREDENTIALALIAS, with configurable default
ASK_SERVICECREDENTIALALIAS() Getter for SERVICECREDENTIALALIAS w/ exceptions if field has
HAS_SERVICECREDENTIALALIAS() Determine if SERVICECREDENTIALALIAS has a value

CreateDate

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

Accessible with the following methods

Method Description
GET_CREATEDATE() Getter for CREATEDATE, with configurable default
ASK_CREATEDATE() Getter for CREATEDATE w/ exceptions if field has no value
HAS_CREATEDATE() Determine if CREATEDATE has a value

ExpirationDate

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

Accessible with the following methods

Method Description
GET_EXPIRATIONDATE() Getter for EXPIRATIONDATE, with configurable default
ASK_EXPIRATIONDATE() Getter for EXPIRATIONDATE w/ exceptions if field has no valu
HAS_EXPIRATIONDATE() Determine if EXPIRATIONDATE has a value

ServiceSpecificCredentialId

The unique identifier for the service-specific credential.

Accessible with the following methods

Method Description
GET_SERVICESPECIFICCREDID() Getter for SERVICESPECIFICCREDENTIALID, with configurable de
ASK_SERVICESPECIFICCREDID() Getter for SERVICESPECIFICCREDENTIALID w/ exceptions if fiel
HAS_SERVICESPECIFICCREDID() Determine if SERVICESPECIFICCREDENTIALID has a value

ServiceName

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

Accessible with the following methods

Method Description
GET_SERVICENAME() Getter for SERVICENAME, with configurable default
ASK_SERVICENAME() Getter for SERVICENAME w/ exceptions if field has no value
HAS_SERVICENAME() Determine if SERVICENAME has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_SERVICESPFCREDSLISTTYPE

TYPES TT_SERVICESPFCREDSLISTTYPE TYPE STANDARD TABLE OF REF TO /AWS1/CL_IAMSERVICESPFCREDMET WITH DEFAULT KEY
.