func (s StaticCredentialsProvider) IsExpired() bool {
	return false
}
IsExpired returns if the credentials are expired.

For StaticCredentialsProvider, the credentials never expired.
package aws
import (
	"github.com/aws/aws-sdk-go-v2/aws/awserr"
)
const StaticCredentialsProviderName = "StaticCredentialsProvider"
var (
	ErrStaticCredentialsEmpty = awserr.New("EmptyStaticCreds", "static credentials are empty", nil)
)
type StaticCredentialsProvider struct {
	Value Credentials
}
func NewStaticCredentialsProvider(key, secret, session string) StaticCredentialsProvider {
	return StaticCredentialsProvider{
		Value: Credentials{
			AccessKeyID:     key,
			SecretAccessKey: secret,
			SessionToken:    session,
		},
	}
}
func (s StaticCredentialsProvider) Retrieve() (Credentials, error) {
	v := s.Value
	if v.AccessKeyID == "" || v.SecretAccessKey == "" {
		return Credentials{Source: StaticCredentialsProviderName}, ErrStaticCredentialsEmpty
	}
	if len(v.Source) == 0 {
		v.Source = StaticCredentialsProviderName
	}
	return v, nil
}