libZSservicesZSamazonka-workmailZSamazonka-workmail
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.WorkMail.ListResourceDelegates

Description

Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.

This operation returns paginated results.

Synopsis

Creating a Request

data ListResourceDelegates Source #

See: newListResourceDelegates smart constructor.

Constructors

ListResourceDelegates' 

Fields

Instances

Instances details
Eq ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Read ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Show ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Generic ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Associated Types

type Rep ListResourceDelegates :: Type -> Type #

NFData ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Methods

rnf :: ListResourceDelegates -> () #

Hashable ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

ToJSON ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

AWSPager ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

AWSRequest ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Associated Types

type AWSResponse ListResourceDelegates #

ToHeaders ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

ToPath ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

ToQuery ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

type Rep ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

type Rep ListResourceDelegates = D1 ('MetaData "ListResourceDelegates" "Amazonka.WorkMail.ListResourceDelegates" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "ListResourceDelegates'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListResourceDelegates Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

newListResourceDelegates Source #

Create a value of ListResourceDelegates 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:ListResourceDelegates', listResourceDelegates_nextToken - The token used to paginate through the delegates associated with a resource.

$sel:maxResults:ListResourceDelegates', listResourceDelegates_maxResults - The number of maximum results in a page.

$sel:organizationId:ListResourceDelegates', listResourceDelegates_organizationId - The identifier for the organization that contains the resource for which delegates are listed.

$sel:resourceId:ListResourceDelegates', listResourceDelegates_resourceId - The identifier for the resource whose delegates are listed.

Request Lenses

listResourceDelegates_nextToken :: Lens' ListResourceDelegates (Maybe Text) Source #

The token used to paginate through the delegates associated with a resource.

listResourceDelegates_organizationId :: Lens' ListResourceDelegates Text Source #

The identifier for the organization that contains the resource for which delegates are listed.

listResourceDelegates_resourceId :: Lens' ListResourceDelegates Text Source #

The identifier for the resource whose delegates are listed.

Destructuring the Response

data ListResourceDelegatesResponse Source #

See: newListResourceDelegatesResponse smart constructor.

Constructors

ListResourceDelegatesResponse' 

Fields

  • delegates :: Maybe [Delegate]

    One page of the resource's delegates.

  • nextToken :: Maybe Text

    The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListResourceDelegatesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Read ListResourceDelegatesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Show ListResourceDelegatesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Generic ListResourceDelegatesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

Associated Types

type Rep ListResourceDelegatesResponse :: Type -> Type #

NFData ListResourceDelegatesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

type Rep ListResourceDelegatesResponse Source # 
Instance details

Defined in Amazonka.WorkMail.ListResourceDelegates

type Rep ListResourceDelegatesResponse = D1 ('MetaData "ListResourceDelegatesResponse" "Amazonka.WorkMail.ListResourceDelegates" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "ListResourceDelegatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "delegates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Delegate])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListResourceDelegatesResponse Source #

Create a value of ListResourceDelegatesResponse 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:delegates:ListResourceDelegatesResponse', listResourceDelegatesResponse_delegates - One page of the resource's delegates.

$sel:nextToken:ListResourceDelegates', listResourceDelegatesResponse_nextToken - The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.

$sel:httpStatus:ListResourceDelegatesResponse', listResourceDelegatesResponse_httpStatus - The response's http status code.

Response Lenses

listResourceDelegatesResponse_nextToken :: Lens' ListResourceDelegatesResponse (Maybe Text) Source #

The token used to paginate through the delegates associated with a resource. While results are still available, it has an associated value. When the last page is reached, the token is empty.