Documentation ¶
Overview ¶
Package identitystore provides the API client, operations, and parameter types for AWS SSO Identity Store.
The Identity Store service used by IAM Identity Center provides a single place to retrieve all of your identities (users and groups). For more information, see the IAM Identity Center User Guide.
This reference guide describes the identity store operations that you can call programmatically and includes detailed information about data types and errors.
IAM Identity Center uses the sso and identitystore API namespaces.
Index ¶
- Constants
- func NewDefaultEndpointResolver() *internalendpoints.Resolver
- func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)
- func WithEndpointResolver(v EndpointResolver) func(*Options)deprecated
- func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
- func WithSigV4SigningName(name string) func(*Options)
- func WithSigV4SigningRegion(region string) func(*Options)
- type AuthResolverParameters
- type AuthSchemeResolver
- type Client
- func (c *Client) CreateGroup(ctx context.Context, params *CreateGroupInput, optFns ...func(*Options)) (*CreateGroupOutput, error)
- func (c *Client) CreateGroupMembership(ctx context.Context, params *CreateGroupMembershipInput, ...) (*CreateGroupMembershipOutput, error)
- func (c *Client) CreateUser(ctx context.Context, params *CreateUserInput, optFns ...func(*Options)) (*CreateUserOutput, error)
- func (c *Client) DeleteGroup(ctx context.Context, params *DeleteGroupInput, optFns ...func(*Options)) (*DeleteGroupOutput, error)
- func (c *Client) DeleteGroupMembership(ctx context.Context, params *DeleteGroupMembershipInput, ...) (*DeleteGroupMembershipOutput, error)
- func (c *Client) DeleteUser(ctx context.Context, params *DeleteUserInput, optFns ...func(*Options)) (*DeleteUserOutput, error)
- func (c *Client) DescribeGroup(ctx context.Context, params *DescribeGroupInput, optFns ...func(*Options)) (*DescribeGroupOutput, error)
- func (c *Client) DescribeGroupMembership(ctx context.Context, params *DescribeGroupMembershipInput, ...) (*DescribeGroupMembershipOutput, error)
- func (c *Client) DescribeUser(ctx context.Context, params *DescribeUserInput, optFns ...func(*Options)) (*DescribeUserOutput, error)
- func (c *Client) GetGroupId(ctx context.Context, params *GetGroupIdInput, optFns ...func(*Options)) (*GetGroupIdOutput, error)
- func (c *Client) GetGroupMembershipId(ctx context.Context, params *GetGroupMembershipIdInput, ...) (*GetGroupMembershipIdOutput, error)
- func (c *Client) GetUserId(ctx context.Context, params *GetUserIdInput, optFns ...func(*Options)) (*GetUserIdOutput, error)
- func (c *Client) IsMemberInGroups(ctx context.Context, params *IsMemberInGroupsInput, optFns ...func(*Options)) (*IsMemberInGroupsOutput, error)
- func (c *Client) ListGroupMemberships(ctx context.Context, params *ListGroupMembershipsInput, ...) (*ListGroupMembershipsOutput, error)
- func (c *Client) ListGroupMembershipsForMember(ctx context.Context, params *ListGroupMembershipsForMemberInput, ...) (*ListGroupMembershipsForMemberOutput, 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)
- func (c *Client) Options() Options
- func (c *Client) UpdateGroup(ctx context.Context, params *UpdateGroupInput, optFns ...func(*Options)) (*UpdateGroupOutput, error)
- func (c *Client) UpdateUser(ctx context.Context, params *UpdateUserInput, optFns ...func(*Options)) (*UpdateUserOutput, error)
- type CreateGroupInput
- type CreateGroupMembershipInput
- type CreateGroupMembershipOutput
- type CreateGroupOutput
- type CreateUserInput
- type CreateUserOutput
- type DeleteGroupInput
- type DeleteGroupMembershipInput
- type DeleteGroupMembershipOutput
- type DeleteGroupOutput
- type DeleteUserInput
- type DeleteUserOutput
- type DescribeGroupInput
- type DescribeGroupMembershipInput
- type DescribeGroupMembershipOutput
- type DescribeGroupOutput
- type DescribeUserInput
- type DescribeUserOutput
- type EndpointParameters
- type EndpointResolver
- type EndpointResolverFunc
- type EndpointResolverOptions
- type EndpointResolverV2
- type GetGroupIdInput
- type GetGroupIdOutput
- type GetGroupMembershipIdInput
- type GetGroupMembershipIdOutput
- type GetUserIdInput
- type GetUserIdOutput
- type HTTPClient
- type HTTPSignerV4
- type IsMemberInGroupsInput
- type IsMemberInGroupsOutput
- type ListGroupMembershipsAPIClient
- type ListGroupMembershipsForMemberAPIClient
- type ListGroupMembershipsForMemberInput
- type ListGroupMembershipsForMemberOutput
- type ListGroupMembershipsForMemberPaginator
- type ListGroupMembershipsForMemberPaginatorOptions
- type ListGroupMembershipsInput
- type ListGroupMembershipsOutput
- type ListGroupMembershipsPaginator
- type ListGroupMembershipsPaginatorOptions
- type ListGroupsAPIClient
- type ListGroupsInput
- type ListGroupsOutput
- type ListGroupsPaginator
- type ListGroupsPaginatorOptions
- type ListUsersAPIClient
- type ListUsersInput
- type ListUsersOutput
- type ListUsersPaginator
- type ListUsersPaginatorOptions
- type Options
- type ResolveEndpoint
- type UpdateGroupInput
- type UpdateGroupOutput
- type UpdateUserInput
- type UpdateUserOutput
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
deprecated
func WithEndpointResolver(v EndpointResolver) func(*Options)
Deprecated: EndpointResolver and WithEndpointResolver. Providing a value for this field will likely prevent you from using any endpoint-related service features released after the introduction of EndpointResolverV2 and BaseEndpoint.
To migrate an EndpointResolver implementation that uses a custom endpoint, set the client option BaseEndpoint instead.
func WithEndpointResolverV2 ¶ added in v1.17.0
func WithEndpointResolverV2(v EndpointResolverV2) func(*Options)
WithEndpointResolverV2 returns a functional option for setting the Client's EndpointResolverV2 option.
func WithSigV4SigningName ¶ added in v1.20.2
WithSigV4SigningName applies an override to the authentication workflow to use the given signing name for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing name from both auth scheme resolution and endpoint resolution.
func WithSigV4SigningRegion ¶ added in v1.20.2
WithSigV4SigningRegion applies an override to the authentication workflow to use the given signing region for SigV4-authenticated operations.
This is an advanced setting. The value here is FINAL, taking precedence over the resolved signing region from both auth scheme resolution and endpoint resolution.
Types ¶
type AuthResolverParameters ¶ added in v1.20.2
type AuthResolverParameters struct { // The name of the operation being invoked. Operation string // The region in which the operation is being invoked. Region string }
AuthResolverParameters contains the set of inputs necessary for auth scheme resolution.
type AuthSchemeResolver ¶ added in v1.20.2
type AuthSchemeResolver interface {
ResolveAuthSchemes(context.Context, *AuthResolverParameters) ([]*smithyauth.Option, error)
}
AuthSchemeResolver returns a set of possible authentication options for an operation.
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) CreateGroup ¶ added in v1.15.0
func (c *Client) CreateGroup(ctx context.Context, params *CreateGroupInput, optFns ...func(*Options)) (*CreateGroupOutput, error)
Creates a group within the specified identity store.
func (*Client) CreateGroupMembership ¶ added in v1.15.0
func (c *Client) CreateGroupMembership(ctx context.Context, params *CreateGroupMembershipInput, optFns ...func(*Options)) (*CreateGroupMembershipOutput, error)
Creates a relationship between a member and a group. The following identifiers must be specified: GroupId , IdentityStoreId , and MemberId .
func (*Client) CreateUser ¶ added in v1.15.0
func (c *Client) CreateUser(ctx context.Context, params *CreateUserInput, optFns ...func(*Options)) (*CreateUserOutput, error)
Creates a user within the specified identity store.
func (*Client) DeleteGroup ¶ added in v1.15.0
func (c *Client) DeleteGroup(ctx context.Context, params *DeleteGroupInput, optFns ...func(*Options)) (*DeleteGroupOutput, error)
Delete a group within an identity store given GroupId .
func (*Client) DeleteGroupMembership ¶ added in v1.15.0
func (c *Client) DeleteGroupMembership(ctx context.Context, params *DeleteGroupMembershipInput, optFns ...func(*Options)) (*DeleteGroupMembershipOutput, error)
Delete a membership within a group given MembershipId .
func (*Client) DeleteUser ¶ added in v1.15.0
func (c *Client) DeleteUser(ctx context.Context, params *DeleteUserInput, optFns ...func(*Options)) (*DeleteUserOutput, error)
Deletes a user within an identity store given UserId .
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.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) DescribeGroupMembership ¶ added in v1.15.0
func (c *Client) DescribeGroupMembership(ctx context.Context, params *DescribeGroupMembershipInput, optFns ...func(*Options)) (*DescribeGroupMembershipOutput, error)
Retrieves membership metadata and attributes from MembershipId in an identity store.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) DescribeUser ¶
func (c *Client) DescribeUser(ctx context.Context, params *DescribeUserInput, optFns ...func(*Options)) (*DescribeUserOutput, error)
Retrieves the user metadata and attributes from the UserId in an identity store.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) GetGroupId ¶ added in v1.15.0
func (c *Client) GetGroupId(ctx context.Context, params *GetGroupIdInput, optFns ...func(*Options)) (*GetGroupIdOutput, error)
Retrieves GroupId in an identity store.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) GetGroupMembershipId ¶ added in v1.15.0
func (c *Client) GetGroupMembershipId(ctx context.Context, params *GetGroupMembershipIdInput, optFns ...func(*Options)) (*GetGroupMembershipIdOutput, error)
Retrieves the MembershipId in an identity store.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) GetUserId ¶ added in v1.15.0
func (c *Client) GetUserId(ctx context.Context, params *GetUserIdInput, optFns ...func(*Options)) (*GetUserIdOutput, error)
Retrieves the UserId in an identity store.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) IsMemberInGroups ¶ added in v1.15.0
func (c *Client) IsMemberInGroups(ctx context.Context, params *IsMemberInGroupsInput, optFns ...func(*Options)) (*IsMemberInGroupsOutput, error)
Checks the user's membership in all requested groups and returns if the member exists in all queried groups.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) ListGroupMemberships ¶ added in v1.15.0
func (c *Client) ListGroupMemberships(ctx context.Context, params *ListGroupMembershipsInput, optFns ...func(*Options)) (*ListGroupMembershipsOutput, error)
For the specified group in the specified identity store, returns the list of all GroupMembership objects and returns results in paginated form.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) ListGroupMembershipsForMember ¶ added in v1.15.0
func (c *Client) ListGroupMembershipsForMember(ctx context.Context, params *ListGroupMembershipsForMemberInput, optFns ...func(*Options)) (*ListGroupMembershipsForMemberOutput, error)
For the specified member in the specified identity store, returns the list of all GroupMembership objects and returns results in paginated form.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) ListGroups ¶
func (c *Client) ListGroups(ctx context.Context, params *ListGroupsInput, optFns ...func(*Options)) (*ListGroupsOutput, error)
Lists all groups in the identity store. Returns a paginated list of complete Group objects. Filtering for a Group by the DisplayName attribute is deprecated. Instead, use the GetGroupId API action.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) ListUsers ¶
func (c *Client) ListUsers(ctx context.Context, params *ListUsersInput, optFns ...func(*Options)) (*ListUsersOutput, error)
Lists all users in the identity store. Returns a paginated list of complete User objects. Filtering for a User by the UserName attribute is deprecated. Instead, use the GetUserId API action.
If you have administrator access to a member account, you can use this API from the member account. Read about member accountsin the Organizations User Guide.
func (*Client) Options ¶ added in v1.21.0
Options returns a copy of the client configuration.
Callers SHOULD NOT perform mutations on any inner structures within client config. Config overrides should instead be made on a per-operation basis through functional options.
func (*Client) UpdateGroup ¶ added in v1.15.0
func (c *Client) UpdateGroup(ctx context.Context, params *UpdateGroupInput, optFns ...func(*Options)) (*UpdateGroupOutput, error)
For the specified group in the specified identity store, updates the group metadata and attributes.
func (*Client) UpdateUser ¶ added in v1.15.0
func (c *Client) UpdateUser(ctx context.Context, params *UpdateUserInput, optFns ...func(*Options)) (*UpdateUserOutput, error)
For the specified user in the specified identity store, updates the user metadata and attributes.
type CreateGroupInput ¶ added in v1.15.0
type CreateGroupInput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // A string containing the description of the group. Description *string // A string containing the name of the group. This value is commonly displayed // when the group is referenced. Administrator and AWSAdministrators are reserved // names and can't be used for users or groups. DisplayName *string // contains filtered or unexported fields }
type CreateGroupMembershipInput ¶ added in v1.15.0
type CreateGroupMembershipInput struct { // The identifier for a group in the identity store. // // This member is required. GroupId *string // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // An object that contains the identifier of a group member. Setting the UserID // field to the specific identifier for a user indicates that the user is a member // of the group. // // This member is required. MemberId types.MemberId // contains filtered or unexported fields }
type CreateGroupMembershipOutput ¶ added in v1.15.0
type CreateGroupMembershipOutput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // The identifier for a newly created GroupMembership in an identity store. // // This member is required. MembershipId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateGroupOutput ¶ added in v1.15.0
type CreateGroupOutput struct { // The identifier of the newly created group in the identity store. // // This member is required. GroupId *string // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type CreateUserInput ¶ added in v1.15.0
type CreateUserInput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // A list of Address objects containing addresses associated with the user. Addresses []types.Address // A string containing the name of the user. This value is typically formatted for // display when the user is referenced. For example, "John Doe." DisplayName *string // A list of Email objects containing email addresses associated with the user. Emails []types.Email // A string containing the geographical region or location of the user. Locale *string // An object containing the name of the user. Name *types.Name // A string containing an alternate name for the user. NickName *string // A list of PhoneNumber objects containing phone numbers associated with the user. PhoneNumbers []types.PhoneNumber // A string containing the preferred language of the user. For example, "American // English" or "en-us." PreferredLanguage *string // A string containing a URL that might be associated with the user. ProfileUrl *string // A string containing the time zone of the user. Timezone *string // A string containing the title of the user. Possible values are left // unspecified. The value can vary based on your specific use case. Title *string // A unique string used to identify the user. The length limit is 128 characters. // This value can consist of letters, accented characters, symbols, numbers, and // punctuation. This value is specified at the time the user is created and stored // as an attribute of the user object in the identity store. Administrator and // AWSAdministrators are reserved names and can't be used for users or groups. UserName *string // A string indicating the type of user. Possible values are left unspecified. The // value can vary based on your specific use case. UserType *string // contains filtered or unexported fields }
type CreateUserOutput ¶ added in v1.15.0
type CreateUserOutput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // The identifier of the newly created user in the identity store. // // This member is required. UserId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteGroupInput ¶ added in v1.15.0
type DeleteGroupMembershipInput ¶ added in v1.15.0
type DeleteGroupMembershipInput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // The identifier for a GroupMembership in an identity store. // // This member is required. MembershipId *string // contains filtered or unexported fields }
type DeleteGroupMembershipOutput ¶ added in v1.15.0
type DeleteGroupMembershipOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteGroupOutput ¶ added in v1.15.0
type DeleteGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DeleteUserInput ¶ added in v1.15.0
type DeleteUserOutput ¶ added in v1.15.0
type DeleteUserOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
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 numbers 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 DescribeGroupMembershipInput ¶ added in v1.15.0
type DescribeGroupMembershipInput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // The identifier for a GroupMembership in an identity store. // // This member is required. MembershipId *string // contains filtered or unexported fields }
type DescribeGroupMembershipOutput ¶ added in v1.15.0
type DescribeGroupMembershipOutput struct { // The identifier for a group in the identity store. // // This member is required. GroupId *string // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // An object containing the identifier of a group member. // // This member is required. MemberId types.MemberId // The identifier for a GroupMembership in an identity store. // // This member is required. MembershipId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type DescribeGroupOutput ¶
type DescribeGroupOutput struct { // The identifier for a group in the identity store. // // This member is required. GroupId *string // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // A string containing a description of the group. Description *string // 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. 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. DisplayName *string // A list of ExternalId objects that contains the identifiers issued to this // resource by an external identity provider. ExternalIds []types.ExternalId // 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 numbers 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 globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // The identifier for a user in the identity store. // // This member is required. UserId *string // The physical address of the user. Addresses []types.Address // The display name of the user. DisplayName *string // The email address of the user. Emails []types.Email // A list of ExternalId objects that contains the identifiers issued to this // resource by an external identity provider. ExternalIds []types.ExternalId // A string containing the geographical region or location of the user. Locale *string // The name of the user. Name *types.Name // An alternative descriptive name for the user. NickName *string // A list of PhoneNumber objects associated with a user. PhoneNumbers []types.PhoneNumber // The preferred language of the user. PreferredLanguage *string // A URL link for the user's profile. ProfileUrl *string // The time zone for a user. Timezone *string // A string containing the title of the user. Title *string // A unique string used to identify the user. The length limit is 128 characters. // This value can consist of letters, accented characters, symbols, numbers, and // punctuation. This value is specified at the time the user is created and stored // as an attribute of the user object in the identity store. UserName *string // A string indicating the type of user. UserType *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type EndpointParameters ¶ added in v1.17.0
type EndpointParameters struct { // The AWS region used to dispatch the request. // // Parameter is // required. // // AWS::Region Region *string // When true, use the dual-stack endpoint. If the configured endpoint does not // support dual-stack, dispatching the request MAY return an error. // // Defaults to // false if no value is provided. // // AWS::UseDualStack UseDualStack *bool // When true, send this request to the FIPS-compliant regional endpoint. If the // configured endpoint does not have a FIPS compliant endpoint, dispatching the // request will return an error. // // Defaults to false if no value is // provided. // // AWS::UseFIPS UseFIPS *bool // Override the endpoint used to send this request // // Parameter is // required. // // SDK::Endpoint Endpoint *string }
EndpointParameters provides the parameters that influence how endpoints are resolved.
func (EndpointParameters) ValidateRequired ¶ added in v1.17.0
func (p EndpointParameters) ValidateRequired() error
ValidateRequired validates required parameters are set.
func (EndpointParameters) WithDefaults ¶ added in v1.17.0
func (p EndpointParameters) WithDefaults() EndpointParameters
WithDefaults returns a shallow copy of EndpointParameterswith default values applied to members where applicable.
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 EndpointResolverV2 ¶ added in v1.17.0
type EndpointResolverV2 interface { // ResolveEndpoint attempts to resolve the endpoint with the provided options, // returning the endpoint if found. Otherwise an error is returned. ResolveEndpoint(ctx context.Context, params EndpointParameters) ( smithyendpoints.Endpoint, error, ) }
EndpointResolverV2 provides the interface for resolving service endpoints.
func NewDefaultEndpointResolverV2 ¶ added in v1.17.0
func NewDefaultEndpointResolverV2() EndpointResolverV2
type GetGroupIdInput ¶ added in v1.15.0
type GetGroupIdInput struct { // A unique identifier for a user or group that is not the primary identifier. // This value can be an identifier from an external identity provider (IdP) that is // associated with the user, the group, or a unique attribute. For the unique // attribute, the only valid path is displayName . // // This member is required. AlternateIdentifier types.AlternateIdentifier // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // contains filtered or unexported fields }
type GetGroupIdOutput ¶ added in v1.15.0
type GetGroupIdOutput struct { // The identifier for a group in the identity store. // // This member is required. GroupId *string // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetGroupMembershipIdInput ¶ added in v1.15.0
type GetGroupMembershipIdInput struct { // The identifier for a group in the identity store. // // This member is required. GroupId *string // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // An object that contains the identifier of a group member. Setting the UserID // field to the specific identifier for a user indicates that the user is a member // of the group. // // This member is required. MemberId types.MemberId // contains filtered or unexported fields }
type GetGroupMembershipIdOutput ¶ added in v1.15.0
type GetGroupMembershipIdOutput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // The identifier for a GroupMembership in an identity store. // // This member is required. MembershipId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type GetUserIdInput ¶ added in v1.15.0
type GetUserIdInput struct { // A unique identifier for a user or group that is not the primary identifier. // This value can be an identifier from an external identity provider (IdP) that is // associated with the user, the group, or a unique attribute. For the unique // attribute, the only valid paths are userName and emails.value . // // This member is required. AlternateIdentifier types.AlternateIdentifier // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // contains filtered or unexported fields }
type GetUserIdOutput ¶ added in v1.15.0
type GetUserIdOutput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // The identifier for a user in the identity store. // // This member is required. UserId *string // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type HTTPSignerV4 ¶
type IsMemberInGroupsInput ¶ added in v1.15.0
type IsMemberInGroupsInput struct { // A list of identifiers for groups in the identity store. // // This member is required. GroupIds []string // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // An object containing the identifier of a group member. // // This member is required. MemberId types.MemberId // contains filtered or unexported fields }
type IsMemberInGroupsOutput ¶ added in v1.15.0
type IsMemberInGroupsOutput struct { // A list containing the results of membership existence checks. // // This member is required. Results []types.GroupMembershipExistenceResult // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type ListGroupMembershipsAPIClient ¶ added in v1.15.0
type ListGroupMembershipsAPIClient interface {
ListGroupMemberships(context.Context, *ListGroupMembershipsInput, ...func(*Options)) (*ListGroupMembershipsOutput, error)
}
ListGroupMembershipsAPIClient is a client that implements the ListGroupMemberships operation.
type ListGroupMembershipsForMemberAPIClient ¶ added in v1.15.0
type ListGroupMembershipsForMemberAPIClient interface {
ListGroupMembershipsForMember(context.Context, *ListGroupMembershipsForMemberInput, ...func(*Options)) (*ListGroupMembershipsForMemberOutput, error)
}
ListGroupMembershipsForMemberAPIClient is a client that implements the ListGroupMembershipsForMember operation.
type ListGroupMembershipsForMemberInput ¶ added in v1.15.0
type ListGroupMembershipsForMemberInput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // An object that contains the identifier of a group member. Setting the UserID // field to the specific identifier for a user indicates that the user is a member // of the group. // // This member is required. MemberId types.MemberId // The maximum number of results to be returned per request. This parameter is // used in the ListUsers and ListGroups requests 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 , ListGroups , and // ListGroupMemberships 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 ListGroupMembershipsForMemberOutput ¶ added in v1.15.0
type ListGroupMembershipsForMemberOutput struct { // A list of GroupMembership objects in the group for a specified member. // // This member is required. GroupMemberships []types.GroupMembership // The pagination token used for the ListUsers , ListGroups , and // ListGroupMemberships 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 ListGroupMembershipsForMemberPaginator ¶ added in v1.15.0
type ListGroupMembershipsForMemberPaginator struct {
// contains filtered or unexported fields
}
ListGroupMembershipsForMemberPaginator is a paginator for ListGroupMembershipsForMember
func NewListGroupMembershipsForMemberPaginator ¶ added in v1.15.0
func NewListGroupMembershipsForMemberPaginator(client ListGroupMembershipsForMemberAPIClient, params *ListGroupMembershipsForMemberInput, optFns ...func(*ListGroupMembershipsForMemberPaginatorOptions)) *ListGroupMembershipsForMemberPaginator
NewListGroupMembershipsForMemberPaginator returns a new ListGroupMembershipsForMemberPaginator
func (*ListGroupMembershipsForMemberPaginator) HasMorePages ¶ added in v1.15.0
func (p *ListGroupMembershipsForMemberPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListGroupMembershipsForMemberPaginator) NextPage ¶ added in v1.15.0
func (p *ListGroupMembershipsForMemberPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListGroupMembershipsForMemberOutput, error)
NextPage retrieves the next ListGroupMembershipsForMember page.
type ListGroupMembershipsForMemberPaginatorOptions ¶ added in v1.15.0
type ListGroupMembershipsForMemberPaginatorOptions struct { // The maximum number of results to be returned per request. This parameter is // used in the ListUsers and ListGroups requests 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 }
ListGroupMembershipsForMemberPaginatorOptions is the paginator options for ListGroupMembershipsForMember
type ListGroupMembershipsInput ¶ added in v1.15.0
type ListGroupMembershipsInput struct { // The identifier for a group in the identity store. // // This member is required. GroupId *string // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // The maximum number of results to be returned per request. This parameter is // used in all List requests to specify how many results to return in one page. MaxResults *int32 // The pagination token used for the ListUsers , ListGroups and // ListGroupMemberships 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 ListGroupMembershipsOutput ¶ added in v1.15.0
type ListGroupMembershipsOutput struct { // A list of GroupMembership objects in the group. // // This member is required. GroupMemberships []types.GroupMembership // The pagination token used for the ListUsers , ListGroups , and // ListGroupMemberships 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 ListGroupMembershipsPaginator ¶ added in v1.15.0
type ListGroupMembershipsPaginator struct {
// contains filtered or unexported fields
}
ListGroupMembershipsPaginator is a paginator for ListGroupMemberships
func NewListGroupMembershipsPaginator ¶ added in v1.15.0
func NewListGroupMembershipsPaginator(client ListGroupMembershipsAPIClient, params *ListGroupMembershipsInput, optFns ...func(*ListGroupMembershipsPaginatorOptions)) *ListGroupMembershipsPaginator
NewListGroupMembershipsPaginator returns a new ListGroupMembershipsPaginator
func (*ListGroupMembershipsPaginator) HasMorePages ¶ added in v1.15.0
func (p *ListGroupMembershipsPaginator) HasMorePages() bool
HasMorePages returns a boolean indicating whether more pages are available
func (*ListGroupMembershipsPaginator) NextPage ¶ added in v1.15.0
func (p *ListGroupMembershipsPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListGroupMembershipsOutput, error)
NextPage retrieves the next ListGroupMemberships page.
type ListGroupMembershipsPaginatorOptions ¶ added in v1.15.0
type ListGroupMembershipsPaginatorOptions struct { // The maximum number of results to be returned per request. This parameter is // used in all List requests to specify how many results to return in one page. 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 }
ListGroupMembershipsPaginatorOptions is the paginator options for ListGroupMemberships
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 numbers 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 // requests. // // Deprecated: Using filters with ListGroups API is deprecated, please use // GetGroupId API instead. Filters []types.Filter // The maximum number of results to be returned per request. This parameter is // used in the ListUsers and ListGroups requests 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 requests 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 numbers 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 // requests. // // Deprecated: Using filters with ListUsers API is deprecated, please use // GetGroupId API instead. Filters []types.Filter // The maximum number of results to be returned per request. This parameter is // used in the ListUsers and ListGroups requests 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 requests 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 // The optional application specific identifier appended to the User-Agent header. AppID string // This endpoint will be given as input to an EndpointResolverV2. It is used for // providing a custom base endpoint that is subject to modifications by the // processing EndpointResolverV2. BaseEndpoint *string // 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 configuration DefaultsMode that the SDK should use when constructing the // clients initial default settings. DefaultsMode aws.DefaultsMode // The endpoint options to be used when attempting to resolve an endpoint. EndpointOptions EndpointResolverOptions // The service endpoint resolver. // // Deprecated: Deprecated: EndpointResolver and WithEndpointResolver. Providing a // value for this field will likely prevent you from using any endpoint-related // service features released after the introduction of EndpointResolverV2 and // BaseEndpoint. // // To migrate an EndpointResolver implementation that uses a custom endpoint, set // the client option BaseEndpoint instead. EndpointResolver EndpointResolver // Resolves the endpoint used for a particular service operation. This should be // used over the deprecated EndpointResolver. EndpointResolverV2 EndpointResolverV2 // Signature Version 4 (SigV4) Signer HTTPSignerV4 HTTPSignerV4 // The logger writer interface to write logging messages to. Logger logging.Logger // The client meter provider. MeterProvider metrics.MeterProvider // The region to send requests to. (Required) Region string // RetryMaxAttempts specifies the maximum number attempts an API client will call // an operation that fails with a retryable error. A value of 0 is ignored, and // will not be used to configure the API client created default retryer, or modify // per operation call's retry max attempts. // // If specified in an operation call's functional options with a value that is // different than the constructed client's Options, the Client's Retryer will be // wrapped to use the operation's specific RetryMaxAttempts value. RetryMaxAttempts int // RetryMode specifies the retry mode the API client will be created with, if // Retryer option is not also specified. // // When creating a new API Clients this member will only be used if the Retryer // Options member is nil. This value will be ignored if Retryer is not nil. // // Currently does not support per operation call overrides, may in the future. RetryMode aws.RetryMode // Retryer guides how HTTP requests should be retried in case of recoverable // failures. When nil the API client will use a default retryer. The kind of // default retry created by the API client can be changed with the RetryMode // option. Retryer aws.Retryer // The RuntimeEnvironment configuration, only populated if the DefaultsMode is set // to DefaultsModeAuto and is initialized using config.LoadDefaultConfig . You // should not populate this structure programmatically, or rely on the values here // within your applications. RuntimeEnvironment aws.RuntimeEnvironment // The client tracer provider. TracerProvider tracing.TracerProvider // The HTTP client to invoke API calls with. Defaults to client's default HTTP // implementation if nil. HTTPClient HTTPClient // The auth scheme resolver which determines how to authenticate for each // operation. AuthSchemeResolver AuthSchemeResolver // The list of auth schemes supported by the client. AuthSchemes []smithyhttp.AuthScheme // contains filtered or unexported fields }
func (Options) GetIdentityResolver ¶ added in v1.20.2
func (o Options) GetIdentityResolver(schemeID string) smithyauth.IdentityResolver
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
type UpdateGroupInput ¶ added in v1.15.0
type UpdateGroupInput struct { // The identifier for a group in the identity store. // // This member is required. GroupId *string // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // A list of AttributeOperation objects to apply to the requested group. These // operations might add, replace, or remove an attribute. // // This member is required. Operations []types.AttributeOperation // contains filtered or unexported fields }
type UpdateGroupOutput ¶ added in v1.15.0
type UpdateGroupOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
type UpdateUserInput ¶ added in v1.15.0
type UpdateUserInput struct { // The globally unique identifier for the identity store. // // This member is required. IdentityStoreId *string // A list of AttributeOperation objects to apply to the requested user. These // operations might add, replace, or remove an attribute. // // This member is required. Operations []types.AttributeOperation // The identifier for a user in the identity store. // // This member is required. UserId *string // contains filtered or unexported fields }
type UpdateUserOutput ¶ added in v1.15.0
type UpdateUserOutput struct { // Metadata pertaining to the operation's result. ResultMetadata middleware.Metadata // contains filtered or unexported fields }
Source Files ¶
- api_client.go
- api_op_CreateGroup.go
- api_op_CreateGroupMembership.go
- api_op_CreateUser.go
- api_op_DeleteGroup.go
- api_op_DeleteGroupMembership.go
- api_op_DeleteUser.go
- api_op_DescribeGroup.go
- api_op_DescribeGroupMembership.go
- api_op_DescribeUser.go
- api_op_GetGroupId.go
- api_op_GetGroupMembershipId.go
- api_op_GetUserId.go
- api_op_IsMemberInGroups.go
- api_op_ListGroupMemberships.go
- api_op_ListGroupMembershipsForMember.go
- api_op_ListGroups.go
- api_op_ListUsers.go
- api_op_UpdateGroup.go
- api_op_UpdateUser.go
- auth.go
- deserializers.go
- doc.go
- endpoints.go
- go_module_metadata.go
- options.go
- serializers.go
- validators.go