Versions in this module Expand all Collapse all v1 v1.0.1 Jul 4, 2024 v1.0.0 Jul 4, 2024 Changes in this version + const EndpointsID + const ErrCodeInvalidRequestException + const ErrCodeResourceNotFoundException + const ErrCodeTooManyRequestsException + const ErrCodeUnauthorizedException + const ServiceID + const ServiceName + type AccountInfo struct + AccountId *string + AccountName *string + EmailAddress *string + func (s *AccountInfo) SetAccountId(v string) *AccountInfo + func (s *AccountInfo) SetAccountName(v string) *AccountInfo + func (s *AccountInfo) SetEmailAddress(v string) *AccountInfo + func (s AccountInfo) GoString() string + func (s AccountInfo) String() string + type GetRoleCredentialsInput struct + AccessToken *string + AccountId *string + RoleName *string + func (s *GetRoleCredentialsInput) SetAccessToken(v string) *GetRoleCredentialsInput + func (s *GetRoleCredentialsInput) SetAccountId(v string) *GetRoleCredentialsInput + func (s *GetRoleCredentialsInput) SetRoleName(v string) *GetRoleCredentialsInput + func (s *GetRoleCredentialsInput) Validate() error + func (s GetRoleCredentialsInput) GoString() string + func (s GetRoleCredentialsInput) String() string + type GetRoleCredentialsOutput struct + RoleCredentials *RoleCredentials + func (s *GetRoleCredentialsOutput) SetRoleCredentials(v *RoleCredentials) *GetRoleCredentialsOutput + func (s GetRoleCredentialsOutput) GoString() string + func (s GetRoleCredentialsOutput) String() string + type InvalidRequestException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *InvalidRequestException) Code() string + func (s *InvalidRequestException) Error() string + func (s *InvalidRequestException) Message() string + func (s *InvalidRequestException) OrigErr() error + func (s *InvalidRequestException) RequestID() string + func (s *InvalidRequestException) StatusCode() int + func (s InvalidRequestException) GoString() string + func (s InvalidRequestException) String() string + type ListAccountRolesInput struct + AccessToken *string + AccountId *string + MaxResults *int64 + NextToken *string + func (s *ListAccountRolesInput) SetAccessToken(v string) *ListAccountRolesInput + func (s *ListAccountRolesInput) SetAccountId(v string) *ListAccountRolesInput + func (s *ListAccountRolesInput) SetMaxResults(v int64) *ListAccountRolesInput + func (s *ListAccountRolesInput) SetNextToken(v string) *ListAccountRolesInput + func (s *ListAccountRolesInput) Validate() error + func (s ListAccountRolesInput) GoString() string + func (s ListAccountRolesInput) String() string + type ListAccountRolesOutput struct + NextToken *string + RoleList []*RoleInfo + func (s *ListAccountRolesOutput) SetNextToken(v string) *ListAccountRolesOutput + func (s *ListAccountRolesOutput) SetRoleList(v []*RoleInfo) *ListAccountRolesOutput + func (s ListAccountRolesOutput) GoString() string + func (s ListAccountRolesOutput) String() string + type ListAccountsInput struct + AccessToken *string + MaxResults *int64 + NextToken *string + func (s *ListAccountsInput) SetAccessToken(v string) *ListAccountsInput + func (s *ListAccountsInput) SetMaxResults(v int64) *ListAccountsInput + func (s *ListAccountsInput) SetNextToken(v string) *ListAccountsInput + func (s *ListAccountsInput) Validate() error + func (s ListAccountsInput) GoString() string + func (s ListAccountsInput) String() string + type ListAccountsOutput struct + AccountList []*AccountInfo + NextToken *string + func (s *ListAccountsOutput) SetAccountList(v []*AccountInfo) *ListAccountsOutput + func (s *ListAccountsOutput) SetNextToken(v string) *ListAccountsOutput + func (s ListAccountsOutput) GoString() string + func (s ListAccountsOutput) String() string + type LogoutInput struct + AccessToken *string + func (s *LogoutInput) SetAccessToken(v string) *LogoutInput + func (s *LogoutInput) Validate() error + func (s LogoutInput) GoString() string + func (s LogoutInput) String() string + type LogoutOutput struct + func (s LogoutOutput) GoString() string + func (s LogoutOutput) String() string + type ResourceNotFoundException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *ResourceNotFoundException) Code() string + func (s *ResourceNotFoundException) Error() string + func (s *ResourceNotFoundException) Message() string + func (s *ResourceNotFoundException) OrigErr() error + func (s *ResourceNotFoundException) RequestID() string + func (s *ResourceNotFoundException) StatusCode() int + func (s ResourceNotFoundException) GoString() string + func (s ResourceNotFoundException) String() string + type RoleCredentials struct + AccessKeyId *string + Expiration *int64 + SecretAccessKey *string + SessionToken *string + func (s *RoleCredentials) SetAccessKeyId(v string) *RoleCredentials + func (s *RoleCredentials) SetExpiration(v int64) *RoleCredentials + func (s *RoleCredentials) SetSecretAccessKey(v string) *RoleCredentials + func (s *RoleCredentials) SetSessionToken(v string) *RoleCredentials + func (s RoleCredentials) GoString() string + func (s RoleCredentials) String() string + type RoleInfo struct + AccountId *string + RoleName *string + func (s *RoleInfo) SetAccountId(v string) *RoleInfo + func (s *RoleInfo) SetRoleName(v string) *RoleInfo + func (s RoleInfo) GoString() string + func (s RoleInfo) String() string + type SSO struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *SSO + func (c *SSO) GetRoleCredentials(input *GetRoleCredentialsInput) (*GetRoleCredentialsOutput, error) + func (c *SSO) GetRoleCredentialsRequest(input *GetRoleCredentialsInput) (req *request.Request, output *GetRoleCredentialsOutput) + func (c *SSO) GetRoleCredentialsWithContext(ctx aws.Context, input *GetRoleCredentialsInput, opts ...request.Option) (*GetRoleCredentialsOutput, error) + func (c *SSO) ListAccountRoles(input *ListAccountRolesInput) (*ListAccountRolesOutput, error) + func (c *SSO) ListAccountRolesPages(input *ListAccountRolesInput, fn func(*ListAccountRolesOutput, bool) bool) error + func (c *SSO) ListAccountRolesPagesWithContext(ctx aws.Context, input *ListAccountRolesInput, ...) error + func (c *SSO) ListAccountRolesRequest(input *ListAccountRolesInput) (req *request.Request, output *ListAccountRolesOutput) + func (c *SSO) ListAccountRolesWithContext(ctx aws.Context, input *ListAccountRolesInput, opts ...request.Option) (*ListAccountRolesOutput, error) + func (c *SSO) ListAccounts(input *ListAccountsInput) (*ListAccountsOutput, error) + func (c *SSO) ListAccountsPages(input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool) error + func (c *SSO) ListAccountsPagesWithContext(ctx aws.Context, input *ListAccountsInput, ...) error + func (c *SSO) ListAccountsRequest(input *ListAccountsInput) (req *request.Request, output *ListAccountsOutput) + func (c *SSO) ListAccountsWithContext(ctx aws.Context, input *ListAccountsInput, opts ...request.Option) (*ListAccountsOutput, error) + func (c *SSO) Logout(input *LogoutInput) (*LogoutOutput, error) + func (c *SSO) LogoutRequest(input *LogoutInput) (req *request.Request, output *LogoutOutput) + func (c *SSO) LogoutWithContext(ctx aws.Context, input *LogoutInput, opts ...request.Option) (*LogoutOutput, error) + type TooManyRequestsException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *TooManyRequestsException) Code() string + func (s *TooManyRequestsException) Error() string + func (s *TooManyRequestsException) Message() string + func (s *TooManyRequestsException) OrigErr() error + func (s *TooManyRequestsException) RequestID() string + func (s *TooManyRequestsException) StatusCode() int + func (s TooManyRequestsException) GoString() string + func (s TooManyRequestsException) String() string + type UnauthorizedException struct + Message_ *string + RespMetadata protocol.ResponseMetadata + func (s *UnauthorizedException) Code() string + func (s *UnauthorizedException) Error() string + func (s *UnauthorizedException) Message() string + func (s *UnauthorizedException) OrigErr() error + func (s *UnauthorizedException) RequestID() string + func (s *UnauthorizedException) StatusCode() int + func (s UnauthorizedException) GoString() string + func (s UnauthorizedException) String() string