amazonka-memorydb-2.0: Amazon MemoryDB SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MemoryDb.DescribeUsers

Description

Returns a list of users.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeUsers Source #

See: newDescribeUsers smart constructor.

Constructors

DescribeUsers' 

Fields

  • filters :: Maybe [Filter]

    Filter to determine the list of users to return.

  • maxResults :: Maybe Int

    The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

  • nextToken :: Maybe Text

    An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • userName :: Maybe Text

    The name of the user

Instances

Instances details
ToJSON DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

ToHeaders DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

ToPath DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

ToQuery DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

AWSPager DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

AWSRequest DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

Associated Types

type AWSResponse DescribeUsers #

Generic DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

Associated Types

type Rep DescribeUsers :: Type -> Type #

Read DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

Show DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

NFData DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

Methods

rnf :: DescribeUsers -> () #

Eq DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

Hashable DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

type AWSResponse DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

type Rep DescribeUsers Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

type Rep DescribeUsers = D1 ('MetaData "DescribeUsers" "Amazonka.MemoryDb.DescribeUsers" "amazonka-memorydb-2.0-7JvPQiLpSKi6naAXiKMLiu" 'False) (C1 ('MetaCons "DescribeUsers'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeUsers :: DescribeUsers Source #

Create a value of DescribeUsers with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:filters:DescribeUsers', describeUsers_filters - Filter to determine the list of users to return.

$sel:maxResults:DescribeUsers', describeUsers_maxResults - The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

DescribeUsers, describeUsers_nextToken - An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

$sel:userName:DescribeUsers', describeUsers_userName - The name of the user

Request Lenses

describeUsers_filters :: Lens' DescribeUsers (Maybe [Filter]) Source #

Filter to determine the list of users to return.

describeUsers_maxResults :: Lens' DescribeUsers (Maybe Int) Source #

The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

describeUsers_nextToken :: Lens' DescribeUsers (Maybe Text) Source #

An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

Destructuring the Response

data DescribeUsersResponse Source #

See: newDescribeUsersResponse smart constructor.

Constructors

DescribeUsersResponse' 

Fields

  • nextToken :: Maybe Text

    An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

  • users :: Maybe [User]

    A list of users.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeUsersResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

Associated Types

type Rep DescribeUsersResponse :: Type -> Type #

Read DescribeUsersResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

Show DescribeUsersResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

NFData DescribeUsersResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

Methods

rnf :: DescribeUsersResponse -> () #

Eq DescribeUsersResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

type Rep DescribeUsersResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DescribeUsers

type Rep DescribeUsersResponse = D1 ('MetaData "DescribeUsersResponse" "Amazonka.MemoryDb.DescribeUsers" "amazonka-memorydb-2.0-7JvPQiLpSKi6naAXiKMLiu" 'False) (C1 ('MetaCons "DescribeUsersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [User])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeUsersResponse Source #

Create a value of DescribeUsersResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DescribeUsers, describeUsersResponse_nextToken - An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

$sel:users:DescribeUsersResponse', describeUsersResponse_users - A list of users.

$sel:httpStatus:DescribeUsersResponse', describeUsersResponse_httpStatus - The response's http status code.

Response Lenses

describeUsersResponse_nextToken :: Lens' DescribeUsersResponse (Maybe Text) Source #

An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.