Skip to content

GetCredentialsResponse

Source code in docs_src/capo_redshift_serverless/types/get_credentials_response.py
class GetCredentialsResponse(TypedDict, closed=True):
    db_user: NotRequired["capo_redshift_serverless.types.db_user.DbUser"]
    """<p>A database user name that is authorized to log on to the database <code>DbName</code> using the password <code>DbPassword</code>. If the specified <code>DbUser</code> exists in the database, the new user name has the same database privileges as the the user named in <code>DbUser</code>. By default, the user is added to PUBLIC.</p>"""
    db_password: NotRequired["capo_redshift_serverless.types.db_password.DbPassword"]
    """<p>A temporary password that authorizes the user name returned by <code>DbUser</code> to log on to the database <code>DbName</code>.</p>"""
    expiration: NotRequired["datetime.datetime"]
    """<p>The date and time the password in <code>DbPassword</code> expires.</p>"""
    next_refresh_time: NotRequired["datetime.datetime"]
    """<p>The date and time of when the <code>DbUser</code> and <code>DbPassword</code> authorization refreshes.</p>"""

db_password instance-attribute

db_password: NotRequired[DbPassword]

A temporary password that authorizes the user name returned by DbUser to log on to the database DbName.

db_user instance-attribute

db_user: NotRequired[DbUser]

A database user name that is authorized to log on to the database DbName using the password DbPassword. If the specified DbUser exists in the database, the new user name has the same database privileges as the the user named in DbUser. By default, the user is added to PUBLIC.

expiration instance-attribute

expiration: NotRequired[datetime]

The date and time the password in DbPassword expires.

next_refresh_time instance-attribute

next_refresh_time: NotRequired[datetime]

The date and time of when the DbUser and DbPassword authorization refreshes.