func NewStaticCredentials(id, secret, token string) *Credentials {
	return NewCredentials(&StaticProvider{Value: Value{
		AccessKeyID:     id,
		SecretAccessKey: secret,
		SessionToken:    token,
	}})
}
NewStaticCredentials returns a pointer to a new Credentials object
wrapping a static credentials value provider.
package credentials
import (
	"github.com/aws/aws-sdk-go/aws/awserr"
)
const StaticProviderName = "StaticProvider"
var (
	ErrStaticCredentialsEmpty = awserr.New("EmptyStaticCreds", "static credentials are empty", nil)
)
type StaticProvider struct {
	Value
}