libZSservicesZSamazonka-greengrassZSamazonka-greengrass
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Text

    The maximum number of results to be returned per request.

Instances

Instances details
Eq ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Read ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Show ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Generic ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Associated Types

type Rep ListGroups :: Type -> Type #

NFData ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Methods

rnf :: ListGroups -> () #

Hashable 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 #

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

type Rep ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

type Rep ListGroups = D1 ('MetaData "ListGroups" "Amazonka.Greengrass.ListGroups" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "ListGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListGroups Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

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:nextToken:ListGroups', listGroups_nextToken - The token for the next set of results, or ''null'' if there are no additional results.

$sel:maxResults:ListGroups', listGroups_maxResults - The maximum number of results to be returned per request.

Request Lenses

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

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

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

The maximum number of results to be returned per request.

Destructuring the Response

data ListGroupsResponse Source #

See: newListGroupsResponse smart constructor.

Constructors

ListGroupsResponse' 

Fields

Instances

Instances details
Eq ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Read ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Show ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Generic ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Associated Types

type Rep ListGroupsResponse :: Type -> Type #

NFData ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

Methods

rnf :: ListGroupsResponse -> () #

type Rep ListGroupsResponse Source # 
Instance details

Defined in Amazonka.Greengrass.ListGroups

type Rep ListGroupsResponse = D1 ('MetaData "ListGroupsResponse" "Amazonka.Greengrass.ListGroups" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" '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.

$sel:nextToken: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.