libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs
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.CloudWatchLogs.DescribeResourcePolicies

Description

Lists the resource policies in this account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeResourcePolicies Source #

See: newDescribeResourcePolicies smart constructor.

Constructors

DescribeResourcePolicies' 

Fields

Instances

Instances details
Eq DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

Read DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

Show DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

Generic DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

Associated Types

type Rep DescribeResourcePolicies :: Type -> Type #

NFData DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

Hashable DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

ToJSON DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

AWSPager DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

AWSRequest DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

ToHeaders DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

ToPath DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

ToQuery DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

type Rep DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

type Rep DescribeResourcePolicies = D1 ('MetaData "DescribeResourcePolicies" "Amazonka.CloudWatchLogs.DescribeResourcePolicies" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "DescribeResourcePolicies'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse DescribeResourcePolicies Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

newDescribeResourcePolicies :: DescribeResourcePolicies Source #

Create a value of DescribeResourcePolicies 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:DescribeResourcePolicies', describeResourcePolicies_nextToken - Undocumented member.

$sel:limit:DescribeResourcePolicies', describeResourcePolicies_limit - The maximum number of resource policies to be displayed with one call of this API.

Request Lenses

describeResourcePolicies_limit :: Lens' DescribeResourcePolicies (Maybe Natural) Source #

The maximum number of resource policies to be displayed with one call of this API.

Destructuring the Response

data DescribeResourcePoliciesResponse Source #

See: newDescribeResourcePoliciesResponse smart constructor.

Constructors

DescribeResourcePoliciesResponse' 

Fields

Instances

Instances details
Eq DescribeResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

Read DescribeResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

Show DescribeResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

Generic DescribeResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

Associated Types

type Rep DescribeResourcePoliciesResponse :: Type -> Type #

NFData DescribeResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

type Rep DescribeResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.DescribeResourcePolicies

type Rep DescribeResourcePoliciesResponse = D1 ('MetaData "DescribeResourcePoliciesResponse" "Amazonka.CloudWatchLogs.DescribeResourcePolicies" "libZSservicesZSamazonka-cloudwatch-logsZSamazonka-cloudwatch-logs" 'False) (C1 ('MetaCons "DescribeResourcePoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourcePolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourcePolicy])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeResourcePoliciesResponse Source #

Create a value of DescribeResourcePoliciesResponse 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:resourcePolicies:DescribeResourcePoliciesResponse', describeResourcePoliciesResponse_resourcePolicies - The resource policies that exist in this account.

$sel:nextToken:DescribeResourcePolicies', describeResourcePoliciesResponse_nextToken - Undocumented member.

$sel:httpStatus:DescribeResourcePoliciesResponse', describeResourcePoliciesResponse_httpStatus - The response's http status code.

Response Lenses