amazonka-identitystore-2.0: Amazon SSO Identity Store 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.IdentityStore.ListGroups

Description

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.

This operation returns paginated results.

Synopsis

Creating a Request

data ListGroups Source #

See: newListGroups smart constructor.

Constructors

ListGroups' 

Fields

  • filters :: Maybe [Filter]

    A list of Filter objects, which is used in the ListUsers and ListGroups requests.

  • maxResults :: Maybe Natural

    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.

  • nextToken :: Maybe Text

    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.

  • identityStoreId :: Text

    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.

Instances

Instances details
ToJSON ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

ToHeaders ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

Methods

toHeaders :: ListGroups -> [Header] #

ToPath ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

ToQuery ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

AWSPager ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

AWSRequest ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

Associated Types

type AWSResponse ListGroups #

Generic ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

Associated Types

type Rep ListGroups :: Type -> Type #

Show ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

NFData ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

Methods

rnf :: ListGroups -> () #

Eq ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

Hashable ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

type AWSResponse ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

type Rep ListGroups Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

type Rep ListGroups = D1 ('MetaData "ListGroups" "Amazonka.IdentityStore.ListGroups" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "ListGroups'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identityStoreId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListGroups Source #

Arguments

:: Text

ListGroups

-> ListGroups 

Create a value of ListGroups 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:ListGroups', listGroups_filters - A list of Filter objects, which is used in the ListUsers and ListGroups requests.

$sel:maxResults:ListGroups', listGroups_maxResults - 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.

ListGroups, listGroups_nextToken - 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.

ListGroups, listGroups_identityStoreId - 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.

Request Lenses

listGroups_filters :: Lens' ListGroups (Maybe [Filter]) Source #

A list of Filter objects, which is used in the ListUsers and ListGroups requests.

listGroups_maxResults :: Lens' ListGroups (Maybe Natural) Source #

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.

listGroups_nextToken :: Lens' ListGroups (Maybe Text) Source #

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.

listGroups_identityStoreId :: Lens' ListGroups Text Source #

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.

Destructuring the Response

data ListGroupsResponse Source #

See: newListGroupsResponse smart constructor.

Constructors

ListGroupsResponse' 

Fields

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

  • groups :: [Group]

    A list of Group objects in the identity store.

Instances

Instances details
Generic ListGroupsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

Associated Types

type Rep ListGroupsResponse :: Type -> Type #

Show ListGroupsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

NFData ListGroupsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

Methods

rnf :: ListGroupsResponse -> () #

Eq ListGroupsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

type Rep ListGroupsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroups

type Rep ListGroupsResponse = D1 ('MetaData "ListGroupsResponse" "Amazonka.IdentityStore.ListGroups" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "ListGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Group]))))

newListGroupsResponse Source #

Create a value of ListGroupsResponse 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:

ListGroups, listGroupsResponse_nextToken - 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.

$sel:httpStatus:ListGroupsResponse', listGroupsResponse_httpStatus - The response's http status code.

$sel:groups:ListGroupsResponse', listGroupsResponse_groups - A list of Group objects in the identity store.

Response Lenses

listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text) Source #

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.

listGroupsResponse_groups :: Lens' ListGroupsResponse [Group] Source #

A list of Group objects in the identity store.