package types

import "github.com/aws/aws-sdk-go-v2/service/sso/types"

Index

Types

type AccountInfo

type AccountInfo struct {
	// The identifier of the AWS account that is assigned to the user.
	AccountId *string
	// The email address of the AWS account that is assigned to the user.
	EmailAddress *string
	// The display name of the AWS account that is assigned to the user.
	AccountName *string
}

Provides information about your AWS account.

type InvalidRequestException

type InvalidRequestException struct {
	Message *string
}

Indicates that a problem occurred with the input to the request. For example, a required parameter might be missing or out of range.

func (*InvalidRequestException) Error

func (e *InvalidRequestException) Error() string

func (*InvalidRequestException) ErrorCode

func (e *InvalidRequestException) ErrorCode() string

func (*InvalidRequestException) ErrorFault

func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault

func (*InvalidRequestException) ErrorMessage

func (e *InvalidRequestException) ErrorMessage() string

func (*InvalidRequestException) GetMessage

func (e *InvalidRequestException) GetMessage() string

func (*InvalidRequestException) HasMessage

func (e *InvalidRequestException) HasMessage() bool

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string
}

The specified resource doesn't exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

func (*ResourceNotFoundException) GetMessage

func (e *ResourceNotFoundException) GetMessage() string

func (*ResourceNotFoundException) HasMessage

func (e *ResourceNotFoundException) HasMessage() bool

type RoleCredentials

type RoleCredentials struct {
	// The key that is used to sign the request. For more information, see Using
	// Temporary Security Credentials to Request Access to AWS Resources
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
	// in the AWS IAM User Guide.
	SecretAccessKey *string
	// The identifier used for the temporary security credentials. For more
	// information, see Using Temporary Security Credentials to Request Access to AWS
	// Resources
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
	// in the AWS IAM User Guide.
	AccessKeyId *string
	// The date on which temporary security credentials expire.
	Expiration *int64
	// The token used for temporary credentials. For more information, see Using
	// Temporary Security Credentials to Request Access to AWS Resources
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_use-resources.html)
	// in the AWS IAM User Guide.
	SessionToken *string
}

Provides information about the role credentials that are assigned to the user.

type RoleInfo

type RoleInfo struct {
	// The friendly name of the role that is assigned to the user.
	RoleName *string
	// The identifier of the AWS account assigned to the user.
	AccountId *string
}

Provides information about the role that is assigned to the user.

type TooManyRequestsException

type TooManyRequestsException struct {
	Message *string
}

Indicates that the request is being made too frequently and is more than what the server can handle.

func (*TooManyRequestsException) Error

func (e *TooManyRequestsException) Error() string

func (*TooManyRequestsException) ErrorCode

func (e *TooManyRequestsException) ErrorCode() string

func (*TooManyRequestsException) ErrorFault

func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault

func (*TooManyRequestsException) ErrorMessage

func (e *TooManyRequestsException) ErrorMessage() string

func (*TooManyRequestsException) GetMessage

func (e *TooManyRequestsException) GetMessage() string

func (*TooManyRequestsException) HasMessage

func (e *TooManyRequestsException) HasMessage() bool

type UnauthorizedException

type UnauthorizedException struct {
	Message *string
}

Indicates that the request is not authorized. This can happen due to an invalid access token in the request.

func (*UnauthorizedException) Error

func (e *UnauthorizedException) Error() string

func (*UnauthorizedException) ErrorCode

func (e *UnauthorizedException) ErrorCode() string

func (*UnauthorizedException) ErrorFault

func (e *UnauthorizedException) ErrorFault() smithy.ErrorFault

func (*UnauthorizedException) ErrorMessage

func (e *UnauthorizedException) ErrorMessage() string

func (*UnauthorizedException) GetMessage

func (e *UnauthorizedException) GetMessage() string

func (*UnauthorizedException) HasMessage

func (e *UnauthorizedException) HasMessage() bool

Source Files

errors.go types.go

Version
v0.1.0
Published
Sep 29, 2020
Platform
linux/amd64
Imports
3 packages
Last checked
3 hours ago

Tools for package owners.