// Enables a user in the user pool. After being enabled, users can sign in to
// AppStream 2.0 and open applications from the stacks to which they are assigned.
Enables a user in the user pool. After being enabled, users can sign in to
AppStream 2.0 and open applications from the stacks to which they are assigned.
// Enables a user in the user pool . After being enabled users can sign in to // AppStream 2 . 0 and open applications from the stacks to which they are assigned .
func (c *Client) EnableUser(ctx context.Context, params *EnableUserInput, optFns ...func(*Options)) (*EnableUserOutput, error) {
	if params == nil {
		params = &EnableUserInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "EnableUser", params, optFns, addOperationEnableUserMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*EnableUserOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) EnableUser ( ctx context . Context , params * EnableUserInput , optFns ... func ( * Options ) ) ( * EnableUserOutput , error ) { if params == nil { params = & EnableUserInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationEnableUserMiddlewares ) if err != nil { return nil , err } out := result . ( * EnableUserOutput ) out . ResultMetadata = metadata return out , nil }
Enables a user in the user pool.
Enables a user in the user pool .