amazonka-auditmanager-2.0: Amazon Audit Manager 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.AuditManager.GetDelegations

Description

Returns a list of delegations from an audit owner to a delegate.

Synopsis

Creating a Request

data GetDelegations Source #

See: newGetDelegations smart constructor.

Constructors

GetDelegations' 

Fields

Instances

Instances details
ToHeaders GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

ToPath GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

ToQuery GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

AWSRequest GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

Associated Types

type AWSResponse GetDelegations #

Generic GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

Associated Types

type Rep GetDelegations :: Type -> Type #

Read GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

Show GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

NFData GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

Methods

rnf :: GetDelegations -> () #

Eq GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

Hashable GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

type AWSResponse GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

type Rep GetDelegations Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

type Rep GetDelegations = D1 ('MetaData "GetDelegations" "Amazonka.AuditManager.GetDelegations" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "GetDelegations'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newGetDelegations :: GetDelegations Source #

Create a value of GetDelegations 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:GetDelegations', getDelegations_maxResults - Represents the maximum number of results on a page or for an API request call.

GetDelegations, getDelegations_nextToken - The pagination token that's used to fetch the next set of results.

Request Lenses

getDelegations_maxResults :: Lens' GetDelegations (Maybe Natural) Source #

Represents the maximum number of results on a page or for an API request call.

getDelegations_nextToken :: Lens' GetDelegations (Maybe Text) Source #

The pagination token that's used to fetch the next set of results.

Destructuring the Response

data GetDelegationsResponse Source #

See: newGetDelegationsResponse smart constructor.

Constructors

GetDelegationsResponse' 

Fields

Instances

Instances details
Generic GetDelegationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

Associated Types

type Rep GetDelegationsResponse :: Type -> Type #

Read GetDelegationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

Show GetDelegationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

NFData GetDelegationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

Methods

rnf :: GetDelegationsResponse -> () #

Eq GetDelegationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

type Rep GetDelegationsResponse Source # 
Instance details

Defined in Amazonka.AuditManager.GetDelegations

type Rep GetDelegationsResponse = D1 ('MetaData "GetDelegationsResponse" "Amazonka.AuditManager.GetDelegations" "amazonka-auditmanager-2.0-FZ7GH2VR8PBBaoTT7BhtJQ" 'False) (C1 ('MetaCons "GetDelegationsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "delegations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DelegationMetadata])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetDelegationsResponse Source #

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

GetDelegationsResponse, getDelegationsResponse_delegations - The list of delegations that the GetDelegations API returned.

GetDelegations, getDelegationsResponse_nextToken - The pagination token that's used to fetch the next set of results.

$sel:httpStatus:GetDelegationsResponse', getDelegationsResponse_httpStatus - The response's http status code.

Response Lenses

getDelegationsResponse_delegations :: Lens' GetDelegationsResponse (Maybe [DelegationMetadata]) Source #

The list of delegations that the GetDelegations API returned.

getDelegationsResponse_nextToken :: Lens' GetDelegationsResponse (Maybe Text) Source #

The pagination token that's used to fetch the next set of results.