/// Returns a database user name and temporary password with temporary authorization to
/// log in to Amazon Redshift Serverless.
///
///
///
/// By default, the temporary credentials expire in 900 seconds. You can optionally specify
/// a duration between 900 seconds (15 minutes) and 3600 seconds (60 minutes).
/// <p>The Identity and Access Management (IAM) user or role that runs
/// GetCredentials must have an IAM policy attached that allows access to all necessary
/// actions and resources.</p> <p>If the <code>DbName</code> parameter
/// is specified, the IAM policy must allow access to the resource dbname for the specified
/// database name.</p>
///
[Cmdlet("Get", "RSSCredential")]
[OutputType("Amazon.RedshiftServerless.Model.GetCredentialsResponse")]
[AWSCmdlet("Calls the Redshift Serverless GetCredentials API operation.", Operation = new[] {"GetCredentials"}, SelectReturnType = typeof(Amazon.RedshiftServerless.Model.GetCredentialsResponse))]
[AWSCmdletOutput("Amazon.RedshiftServerless.Model.GetCredentialsResponse",
"This cmdlet returns an Amazon.RedshiftServerless.Model.GetCredentialsResponse object containing multiple properties. The object can also be referenced from properties attached to the cmdlet entry in the $AWSHistory stack."
)]
public partial class GetRSSCredentialCmdlet : AmazonRedshiftServerlessClientCmdlet, IExecutor
{
protected override bool IsSensitiveResponse { get; set; } = true;
#region Parameter DbName
///