Documentation
¶
Overview ¶
Package identitystore provides the API client, operations, and parameter types for AWS SSO Identity Store.
The AWS Single Sign-On (SSO) Identity Store service provides a single place to retrieve all of your identities (users and groups). For more information about AWS, see the AWS Single Sign-On User Guide (https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html).
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)
- type Client
- func (c *Client) DescribeGroup(ctx context.Context, params *DescribeGroupInput, optFns ...func(*Options)) (*DescribeGroupOutput, error)
- func (c *Client) DescribeUser(ctx context.Context, params *DescribeUserInput, optFns ...func(*Options)) (*DescribeUserOutput, error)
- func (c *Client) ListGroups(ctx context.Context, params *ListGroupsInput, optFns ...func(*Options)) (*ListGroupsOutput, error)
- func (c *Client) ListUsers(ctx context.Context, params *ListUsersInput, optFns ...func(*Options)) (*ListUsersOutput, error)
- type DescribeGroupInput
- type DescribeGroupOutput
- type DescribeUserInput
- type DescribeUserOutput
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type HTTPClient
- type HTTPSignerV4
- type ListGroupsAPIClient
- type ListGroupsInput
- type ListGroupsOutput
- type ListGroupsPaginator
- type ListGroupsPaginatorOptions
- type ListUsersAPIClient
- type ListUsersInput
- type ListUsersOutput
- type ListUsersPaginator
- type ListUsersPaginatorOptions
- type Options
- type ResolveEndpoint
Constants ¶
const ServiceAPIVersion = "2020-06-15"
const ServiceID = "identitystore"
Variables ¶
This section is empty.
Functions ¶
func NewDefaultEndpointResolver ¶
func NewDefaultEndpointResolver() *internalendpoints.Resolver
NewDefaultEndpointResolver constructs a new service endpoint resolver
func WithAPIOptions ¶ added in v1.0.0
func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
WithAPIOptions returns a functional option for setting the Client's APIOptions option.
func WithEndpointResolver ¶
func WithEndpointResolver(v EndpointResolver) func(*Options)
WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides the API client to make operations call for AWS SSO Identity Store.
func New ¶
New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.
func NewFromConfig ¶
NewFromConfig returns a new client from the provided config.
func (*Client) DescribeGroup ¶
func (c *Client) DescribeGroup(ctx context.Context, params *DescribeGroupInput, optFns ...func(*Options)) (*DescribeGroupOutput, error)
Retrieves the group metadata and attributes from GroupId in an identity store.
func (*Client) DescribeUser ¶
func (c *Client) DescribeUser(ctx context.Context, params *DescribeUserInput, optFns ...func(*Options)) (*DescribeUserOutput, error)
Retrieves the user metadata and attributes from UserId in an identity store.
func (*Client) ListGroups ¶
func (c *Client) ListGroups(ctx context.Context, params *ListGroupsInput, optFns ...func(*Options)) (*ListGroupsOutput, error)
Lists the attribute name and value of the group that you specified in the search. We only support DisplayName as a valid filter attribute path currently, and filter is required. This API returns minimum attributes, including GroupId and group DisplayName in the response.
func (*Client) ListUsers ¶
func (c *Client) ListUsers(ctx context.Context, params *ListUsersInput, optFns ...func(*Options)) (*ListUsersOutput, error)
Lists the attribute name and value of the user that you specified in the search. We only support UserName as a valid filter attribute path currently, and filter is required. This API returns minimum attributes, including UserId and UserName in the response.
type DescribeGroupInput ¶
type DescribeGroupInput struct { // The identifier for a group in the identity store. // // This member is required. GroupId *string // The globally unique identifier for the identity store, such as d-1234567890. In // this example, d- is a fixed prefix, and 1234567890 is a randomly generated // string that contains number and lower case letters. This value is generated at // the time that a new identity store is created. // // This member is required. IdentityStoreId *string // contains filtered or unexported fields }
type DescribeGroupOutput ¶
type DescribeGroupOutput struct { // Contains the group’s display name value. The length limit is 1,024 characters. // This value can consist of letters, accented characters, symbols, numbers, // punctuation, tab, new line, carriage return, space, and nonbreaking space in // this attribute. The characters <>;:% are excluded. This value is specified at // the time that the group is created and stored as an attribute of the group // object in the identity store. // // This member is required. DisplayName *string // The identifier for a group in the identity store. // // This member is required. GroupId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeUserInput ¶
type DescribeUserInput struct { // The globally unique identifier for the identity store, such as d-1234567890. In // this example, d- is a fixed prefix, and 1234567890 is a randomly generated // string that contains number and lower case letters. This value is generated at // the time that a new identity store is created. // // This member is required. IdentityStoreId *string // The identifier for a user in the identity store. // // This member is required. UserId *string // contains filtered or unexported fields }
type DescribeUserOutput ¶
type DescribeUserOutput struct { // The identifier for a user in the identity store. // // This member is required. UserId *string // Contains the user’s user name value. The length limit is 128 characters. This // value can consist of letters, accented characters, symbols, numbers, and // punctuation. The characters <>;:% are excluded. This value is specified at the // time the user is created and stored as an attribute of the user object in the // identity store. // // This member is required. UserName *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointResolver ¶
type EndpointResolver interface {
ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
}
EndpointResolver interface for resolving service endpoints.
func EndpointResolverFromURL ¶ added in v1.1.0
func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver
EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.
type EndpointResolverFunc ¶
type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)
EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.
func (EndpointResolverFunc) ResolveEndpoint ¶
func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)
type EndpointResolverOptions ¶
type EndpointResolverOptions = internalendpoints.Options
EndpointResolverOptions is the service endpoint resolver options
type HTTPSignerV4 ¶
type ListGroupsAPIClient ¶ added in v0.2.0
type ListGroupsAPIClient interface {
ListGroups(context.Context, *ListGroupsInput, ...func(*Options)) (*ListGroupsOutput, error)
}
ListGroupsAPIClient is a client that implements the ListGroups operation.
type ListGroupsInput ¶
type ListGroupsInput struct { // The globally unique identifier for the identity store, such as d-1234567890. In // this example, d- is a fixed prefix, and 1234567890 is a randomly generated // string that contains number and lower case letters. This value is generated at // the time that a new identity store is created. // // This member is required. IdentityStoreId *string // A list of Filter objects, which is used in the ListUsers and ListGroups request. Filters []types.Filter // The maximum number of results to be returned per request. This parameter is used // in the ListUsers and ListGroups request to specify how many results to return in // one page. The length limit is 50 characters. MaxResults *int32 // The pagination token used for the ListUsers and ListGroups API operations. This // value is generated by the identity store service. It is returned in the API // response if the total results are more than the size of one page. This token is // also returned when it is used in the API request to search for the next page. NextToken *string // contains filtered or unexported fields }
type ListGroupsOutput ¶
type ListGroupsOutput struct { // A list of Group objects in the identity store. // // This member is required. Groups []types.Group // The pagination token used for the ListUsers and ListGroups API operations. This // value is generated by the identity store service. It is returned in the API // response if the total results are more than the size of one page. This token is // also returned when it1 is used in the API request to search for the next page. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListGroupsPaginator ¶ added in v0.2.0
type ListGroupsPaginator struct {
// contains filtered or unexported fields
}
ListGroupsPaginator is a paginator for ListGroups
func NewListGroupsPaginator ¶ added in v0.2.0
func NewListGroupsPaginator(client ListGroupsAPIClient, params *ListGroupsInput, optFns ...func(*ListGroupsPaginatorOptions)) *ListGroupsPaginator
NewListGroupsPaginator returns a new ListGroupsPaginator
func (*ListGroupsPaginator) HasMorePages ¶ added in v0.2.0
func (p *ListGroupsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListGroupsPaginator) NextPage ¶ added in v0.2.0
func (p *ListGroupsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListGroupsOutput, error)
NextPage retrieves the next ListGroups page.
type ListGroupsPaginatorOptions ¶ added in v0.2.0
type ListGroupsPaginatorOptions struct { // The maximum number of results to be returned per request. This parameter is used // in the ListUsers and ListGroups request to specify how many results to return in // one page. The length limit is 50 characters. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListGroupsPaginatorOptions is the paginator options for ListGroups
type ListUsersAPIClient ¶ added in v0.2.0
type ListUsersAPIClient interface {
ListUsers(context.Context, *ListUsersInput, ...func(*Options)) (*ListUsersOutput, error)
}
ListUsersAPIClient is a client that implements the ListUsers operation.
type ListUsersInput ¶
type ListUsersInput struct { // The globally unique identifier for the identity store, such as d-1234567890. In // this example, d- is a fixed prefix, and 1234567890 is a randomly generated // string that contains number and lower case letters. This value is generated at // the time that a new identity store is created. // // This member is required. IdentityStoreId *string // A list of Filter objects, which is used in the ListUsers and ListGroups request. Filters []types.Filter // The maximum number of results to be returned per request. This parameter is used // in the ListUsers and ListGroups request to specify how many results to return in // one page. The length limit is 50 characters. MaxResults *int32 // The pagination token used for the ListUsers and ListGroups API operations. This // value is generated by the identity store service. It is returned in the API // response if the total results are more than the size of one page. This token is // also returned when it is used in the API request to search for the next page. NextToken *string // contains filtered or unexported fields }
type ListUsersOutput ¶
type ListUsersOutput struct { // A list of User objects in the identity store. // // This member is required. Users []types.User // The pagination token used for the ListUsers and ListGroups API operations. This // value is generated by the identity store service. It is returned in the API // response if the total results are more than the size of one page. This token is // also returned when it is used in the API request to search for the next page. NextToken *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListUsersPaginator ¶ added in v0.2.0
type ListUsersPaginator struct {
// contains filtered or unexported fields
}
ListUsersPaginator is a paginator for ListUsers
func NewListUsersPaginator ¶ added in v0.2.0
func NewListUsersPaginator(client ListUsersAPIClient, params *ListUsersInput, optFns ...func(*ListUsersPaginatorOptions)) *ListUsersPaginator
NewListUsersPaginator returns a new ListUsersPaginator
func (*ListUsersPaginator) HasMorePages ¶ added in v0.2.0
func (p *ListUsersPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListUsersPaginator) NextPage ¶ added in v0.2.0
func (p *ListUsersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListUsersOutput, error)
NextPage retrieves the next ListUsers page.
type ListUsersPaginatorOptions ¶ added in v0.2.0
type ListUsersPaginatorOptions struct { // The maximum number of results to be returned per request. This parameter is used // in the ListUsers and ListGroups request to specify how many results to return in // one page. The length limit is 50 characters. Limit int32 // Set to true if pagination should stop if the service returns a pagination token // that matches the most recent token provided to the service. StopOnDuplicateToken bool }
ListUsersPaginatorOptions is the paginator options for ListUsers
type Options ¶
type Options struct { // Set of options to modify how an operation is invoked. These apply to all // operations invoked for this client. Use functional options on operation call to // modify this list for per operation behavior. APIOptions []func(*middleware.Stack) error // Configures the events that will be sent to the configured logger. ClientLogMode aws.ClientLogMode // The credentials object to use when signing requests. Credentials aws.CredentialsProvider // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. EndpointResolver EndpointResolver // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The region to send requests to. (Required) Region string // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. Retryer aws.Retryer // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient }
type ResolveEndpoint ¶
type ResolveEndpoint struct { Resolver EndpointResolver Options EndpointResolverOptions }
func (*ResolveEndpoint) HandleSerialize ¶
func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) ( out middleware.SerializeOutput, metadata middleware.Metadata, err error, )
func (*ResolveEndpoint) ID ¶
func (*ResolveEndpoint) ID() string