amazonka-config-2.0: Amazon Config 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.Config.DescribeOrganizationConformancePacks

Description

Returns a list of organization conformance packs.

When you specify the limit and the next token, you receive a paginated response.

Limit and next token are not applicable if you specify organization conformance packs names. They are only applicable, when you request all the organization conformance packs.

For accounts within an organzation

If you deploy an organizational rule or conformance pack in an organization administrator account, and then establish a delegated administrator and deploy an organizational rule or conformance pack in the delegated administrator account, you won't be able to see the organizational rule or conformance pack in the organization administrator account from the delegated administrator account or see the organizational rule or conformance pack in the delegated administrator account from organization administrator account. The DescribeOrganizationConfigRules and DescribeOrganizationConformancePacks APIs can only see and interact with the organization-related resource that were deployed from within the account calling those APIs.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeOrganizationConformancePacks Source #

Constructors

DescribeOrganizationConformancePacks' 

Fields

  • limit :: Maybe Natural

    The maximum number of organization config packs returned on each page. If you do no specify a number, Config uses the default. The default is 100.

  • nextToken :: Maybe Text

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

  • organizationConformancePackNames :: Maybe [Text]

    The name that you assign to an organization conformance pack.

Instances

Instances details
ToJSON DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

ToHeaders DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

ToPath DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

ToQuery DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

AWSPager DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

AWSRequest DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

Generic DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

Read DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

Show DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

NFData DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

Eq DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

Hashable DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

type AWSResponse DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

type Rep DescribeOrganizationConformancePacks Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

type Rep DescribeOrganizationConformancePacks = D1 ('MetaData "DescribeOrganizationConformancePacks" "Amazonka.Config.DescribeOrganizationConformancePacks" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "DescribeOrganizationConformancePacks'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "organizationConformancePackNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newDescribeOrganizationConformancePacks :: DescribeOrganizationConformancePacks Source #

Create a value of DescribeOrganizationConformancePacks 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:limit:DescribeOrganizationConformancePacks', describeOrganizationConformancePacks_limit - The maximum number of organization config packs returned on each page. If you do no specify a number, Config uses the default. The default is 100.

DescribeOrganizationConformancePacks, describeOrganizationConformancePacks_nextToken - The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

$sel:organizationConformancePackNames:DescribeOrganizationConformancePacks', describeOrganizationConformancePacks_organizationConformancePackNames - The name that you assign to an organization conformance pack.

Request Lenses

describeOrganizationConformancePacks_limit :: Lens' DescribeOrganizationConformancePacks (Maybe Natural) Source #

The maximum number of organization config packs returned on each page. If you do no specify a number, Config uses the default. The default is 100.

describeOrganizationConformancePacks_nextToken :: Lens' DescribeOrganizationConformancePacks (Maybe Text) Source #

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Destructuring the Response

data DescribeOrganizationConformancePacksResponse Source #

Constructors

DescribeOrganizationConformancePacksResponse' 

Fields

Instances

Instances details
Generic DescribeOrganizationConformancePacksResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

Read DescribeOrganizationConformancePacksResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

Show DescribeOrganizationConformancePacksResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

NFData DescribeOrganizationConformancePacksResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

Eq DescribeOrganizationConformancePacksResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

type Rep DescribeOrganizationConformancePacksResponse Source # 
Instance details

Defined in Amazonka.Config.DescribeOrganizationConformancePacks

type Rep DescribeOrganizationConformancePacksResponse = D1 ('MetaData "DescribeOrganizationConformancePacksResponse" "Amazonka.Config.DescribeOrganizationConformancePacks" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "DescribeOrganizationConformancePacksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "organizationConformancePacks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [OrganizationConformancePack])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeOrganizationConformancePacksResponse Source #

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

DescribeOrganizationConformancePacks, describeOrganizationConformancePacksResponse_nextToken - The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

$sel:organizationConformancePacks:DescribeOrganizationConformancePacksResponse', describeOrganizationConformancePacksResponse_organizationConformancePacks - Returns a list of OrganizationConformancePacks objects.

$sel:httpStatus:DescribeOrganizationConformancePacksResponse', describeOrganizationConformancePacksResponse_httpStatus - The response's http status code.

Response Lenses

describeOrganizationConformancePacksResponse_nextToken :: Lens' DescribeOrganizationConformancePacksResponse (Maybe Text) Source #

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.