libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.GetEnabledStandards

Description

Returns a list of the standards that are currently enabled.

This operation returns paginated results.

Synopsis

Creating a Request

data GetEnabledStandards Source #

See: newGetEnabledStandards smart constructor.

Constructors

GetEnabledStandards' 

Fields

  • nextToken :: Maybe Text

    The token that is required for pagination. On your first call to the GetEnabledStandards operation, set the value of this parameter to NULL.

    For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

  • standardsSubscriptionArns :: Maybe (NonEmpty Text)

    The list of the standards subscription ARNs for the standards to retrieve.

  • maxResults :: Maybe Natural

    The maximum number of results to return in the response.

Instances

Instances details
Eq GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Read GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Show GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Generic GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Associated Types

type Rep GetEnabledStandards :: Type -> Type #

NFData GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Methods

rnf :: GetEnabledStandards -> () #

Hashable GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

ToJSON GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

AWSPager GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

AWSRequest GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Associated Types

type AWSResponse GetEnabledStandards #

ToHeaders GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

ToPath GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

ToQuery GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

type Rep GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

type Rep GetEnabledStandards = D1 ('MetaData "GetEnabledStandards" "Amazonka.SecurityHub.GetEnabledStandards" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "GetEnabledStandards'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "standardsSubscriptionArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse GetEnabledStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

newGetEnabledStandards :: GetEnabledStandards Source #

Create a value of GetEnabledStandards 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:GetEnabledStandards', getEnabledStandards_nextToken - The token that is required for pagination. On your first call to the GetEnabledStandards operation, set the value of this parameter to NULL.

For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

$sel:standardsSubscriptionArns:GetEnabledStandards', getEnabledStandards_standardsSubscriptionArns - The list of the standards subscription ARNs for the standards to retrieve.

$sel:maxResults:GetEnabledStandards', getEnabledStandards_maxResults - The maximum number of results to return in the response.

Request Lenses

getEnabledStandards_nextToken :: Lens' GetEnabledStandards (Maybe Text) Source #

The token that is required for pagination. On your first call to the GetEnabledStandards operation, set the value of this parameter to NULL.

For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.

getEnabledStandards_standardsSubscriptionArns :: Lens' GetEnabledStandards (Maybe (NonEmpty Text)) Source #

The list of the standards subscription ARNs for the standards to retrieve.

getEnabledStandards_maxResults :: Lens' GetEnabledStandards (Maybe Natural) Source #

The maximum number of results to return in the response.

Destructuring the Response

data GetEnabledStandardsResponse Source #

See: newGetEnabledStandardsResponse smart constructor.

Constructors

GetEnabledStandardsResponse' 

Fields

Instances

Instances details
Eq GetEnabledStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Read GetEnabledStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Show GetEnabledStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Generic GetEnabledStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

Associated Types

type Rep GetEnabledStandardsResponse :: Type -> Type #

NFData GetEnabledStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

type Rep GetEnabledStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.GetEnabledStandards

type Rep GetEnabledStandardsResponse = D1 ('MetaData "GetEnabledStandardsResponse" "Amazonka.SecurityHub.GetEnabledStandards" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "GetEnabledStandardsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "standardsSubscriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StandardsSubscription])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetEnabledStandardsResponse Source #

Create a value of GetEnabledStandardsResponse 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:GetEnabledStandards', getEnabledStandardsResponse_nextToken - The pagination token to use to request the next page of results.

$sel:standardsSubscriptions:GetEnabledStandardsResponse', getEnabledStandardsResponse_standardsSubscriptions - The list of StandardsSubscriptions objects that include information about the enabled standards.

$sel:httpStatus:GetEnabledStandardsResponse', getEnabledStandardsResponse_httpStatus - The response's http status code.

Response Lenses

getEnabledStandardsResponse_nextToken :: Lens' GetEnabledStandardsResponse (Maybe Text) Source #

The pagination token to use to request the next page of results.

getEnabledStandardsResponse_standardsSubscriptions :: Lens' GetEnabledStandardsResponse (Maybe [StandardsSubscription]) Source #

The list of StandardsSubscriptions objects that include information about the enabled standards.