amazonka-greengrass-2.0: Amazon Greengrass 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.Greengrass.ListGroups

Description

Retrieves a list of groups.

This operation returns paginated results.

Synopsis

Creating a Request

data ListGroups Source #

See: newListGroups smart constructor.

Constructors

ListGroups' 

Fields

  • maxResults :: Maybe Text

    The maximum number of results to be returned per request.

  • nextToken :: Maybe Text

    The token for the next set of results, or ''null'' if there are no additional results.

Instances

Instances details
ToHeaders ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Methods

toHeaders :: ListGroups -> [Header] #

ToPath ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

ToQuery ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

AWSPager ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

AWSRequest ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Associated Types

type AWSResponse ListGroups #

Generic ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Associated Types

type Rep ListGroups :: Type -> Type #

Read ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Show ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

NFData ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Methods

rnf :: ListGroups -> () #

Eq ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Hashable ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

type AWSResponse ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

type Rep ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

type Rep ListGroups = D1 ('MetaData "ListGroups" "Amazonka.Greengrass.ListGroups" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "ListGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListGroups :: ListGroups Source #

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:maxResults:ListGroups', listGroups_maxResults - The maximum number of results to be returned per request.

ListGroups, listGroups_nextToken - The token for the next set of results, or ''null'' if there are no additional results.

Request Lenses

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

The maximum number of results to be returned per request.

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

The token for the next set of results, or ''null'' if there are no additional results.

Destructuring the Response

data ListGroupsResponse Source #

See: newListGroupsResponse smart constructor.

Constructors

ListGroupsResponse' 

Fields

Instances

Instances details
Generic ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Associated Types

type Rep ListGroupsResponse :: Type -> Type #

Read ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Show ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

NFData ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Methods

rnf :: ListGroupsResponse -> () #

Eq ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

type Rep ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

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

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:

$sel:groups:ListGroupsResponse', listGroupsResponse_groups - Information about a group.

ListGroups, listGroupsResponse_nextToken - The token for the next set of results, or ''null'' if there are no additional results.

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

Response Lenses

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

The token for the next set of results, or ''null'' if there are no additional results.