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.ListGroupMemberships

Description

For the specified group in the specified identity store, returns the list of all GroupMembership objects and returns results in paginated form.

This operation returns paginated results.

Synopsis

Creating a Request

data ListGroupMemberships Source #

See: newListGroupMemberships smart constructor.

Constructors

ListGroupMemberships' 

Fields

  • maxResults :: Maybe Natural

    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.

  • nextToken :: Maybe Text

    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.

  • identityStoreId :: Text

    The globally unique identifier for the identity store.

  • groupId :: Text

    The identifier for a group in the identity store.

Instances

Instances details
ToJSON ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

ToHeaders ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

ToPath ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

ToQuery ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

AWSPager ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

AWSRequest ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

Associated Types

type AWSResponse ListGroupMemberships #

Generic ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

Associated Types

type Rep ListGroupMemberships :: Type -> Type #

Read ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

Show ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

NFData ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

Methods

rnf :: ListGroupMemberships -> () #

Eq ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

Hashable ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

type AWSResponse ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

type Rep ListGroupMemberships Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

type Rep ListGroupMemberships = D1 ('MetaData "ListGroupMemberships" "Amazonka.IdentityStore.ListGroupMemberships" "amazonka-identitystore-2.0-FD6RUaLi6gx9YE16ATGTMj" 'False) (C1 ('MetaCons "ListGroupMemberships'" 'PrefixI 'True) ((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) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListGroupMemberships Source #

Create a value of ListGroupMemberships 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:maxResults:ListGroupMemberships', listGroupMemberships_maxResults - 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.

ListGroupMemberships, listGroupMemberships_nextToken - 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.

ListGroupMemberships, listGroupMemberships_identityStoreId - The globally unique identifier for the identity store.

ListGroupMemberships, listGroupMemberships_groupId - The identifier for a group in the identity store.

Request Lenses

listGroupMemberships_maxResults :: Lens' ListGroupMemberships (Maybe Natural) Source #

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.

listGroupMemberships_nextToken :: Lens' ListGroupMemberships (Maybe Text) Source #

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.

listGroupMemberships_identityStoreId :: Lens' ListGroupMemberships Text Source #

The globally unique identifier for the identity store.

listGroupMemberships_groupId :: Lens' ListGroupMemberships Text Source #

The identifier for a group in the identity store.

Destructuring the Response

data ListGroupMembershipsResponse Source #

See: newListGroupMembershipsResponse smart constructor.

Constructors

ListGroupMembershipsResponse' 

Fields

  • nextToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

  • groupMemberships :: [GroupMembership]

    A list of GroupMembership objects in the group.

Instances

Instances details
Generic ListGroupMembershipsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

Associated Types

type Rep ListGroupMembershipsResponse :: Type -> Type #

Read ListGroupMembershipsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

Show ListGroupMembershipsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

NFData ListGroupMembershipsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

Eq ListGroupMembershipsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

type Rep ListGroupMembershipsResponse Source # 
Instance details

Defined in Amazonka.IdentityStore.ListGroupMemberships

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

newListGroupMembershipsResponse Source #

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

ListGroupMemberships, listGroupMembershipsResponse_nextToken - 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.

$sel:httpStatus:ListGroupMembershipsResponse', listGroupMembershipsResponse_httpStatus - The response's http status code.

$sel:groupMemberships:ListGroupMembershipsResponse', listGroupMembershipsResponse_groupMemberships - A list of GroupMembership objects in the group.

Response Lenses

listGroupMembershipsResponse_nextToken :: Lens' ListGroupMembershipsResponse (Maybe Text) Source #

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.