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.DescribeStandards

Description

Returns a list of the available standards in Security Hub.

For each standard, the results include the standard ARN, the name, and a description.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeStandards Source #

See: newDescribeStandards smart constructor.

Constructors

DescribeStandards' 

Fields

  • nextToken :: Maybe Text

    The token that is required for pagination. On your first call to the DescribeStandards 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.

  • maxResults :: Maybe Natural

    The maximum number of standards to return.

Instances

Instances details
Eq DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Read DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Show DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Generic DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Associated Types

type Rep DescribeStandards :: Type -> Type #

NFData DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Methods

rnf :: DescribeStandards -> () #

Hashable DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

AWSPager DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

AWSRequest DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Associated Types

type AWSResponse DescribeStandards #

ToHeaders DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

ToPath DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

ToQuery DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

type Rep DescribeStandards Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

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

Defined in Amazonka.SecurityHub.DescribeStandards

newDescribeStandards :: DescribeStandards Source #

Create a value of DescribeStandards 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:DescribeStandards', describeStandards_nextToken - The token that is required for pagination. On your first call to the DescribeStandards 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:maxResults:DescribeStandards', describeStandards_maxResults - The maximum number of standards to return.

Request Lenses

describeStandards_nextToken :: Lens' DescribeStandards (Maybe Text) Source #

The token that is required for pagination. On your first call to the DescribeStandards 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.

describeStandards_maxResults :: Lens' DescribeStandards (Maybe Natural) Source #

The maximum number of standards to return.

Destructuring the Response

data DescribeStandardsResponse Source #

See: newDescribeStandardsResponse smart constructor.

Constructors

DescribeStandardsResponse' 

Fields

Instances

Instances details
Eq DescribeStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Read DescribeStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Show DescribeStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Generic DescribeStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

Associated Types

type Rep DescribeStandardsResponse :: Type -> Type #

NFData DescribeStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

type Rep DescribeStandardsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeStandards

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

newDescribeStandardsResponse Source #

Create a value of DescribeStandardsResponse 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:standards:DescribeStandardsResponse', describeStandardsResponse_standards - A list of available standards.

$sel:nextToken:DescribeStandards', describeStandardsResponse_nextToken - The pagination token to use to request the next page of results.

$sel:httpStatus:DescribeStandardsResponse', describeStandardsResponse_httpStatus - The response's http status code.

Response Lenses

describeStandardsResponse_nextToken :: Lens' DescribeStandardsResponse (Maybe Text) Source #

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