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

Description

Returns a list of the custom action targets in Security Hub in your account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeActionTargets Source #

See: newDescribeActionTargets smart constructor.

Constructors

DescribeActionTargets' 

Fields

  • actionTargetArns :: Maybe [Text]

    A list of custom action target ARNs for the custom action targets to retrieve.

  • nextToken :: Maybe Text

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

Instances

Instances details
Eq DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Read DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Show DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Generic DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Associated Types

type Rep DescribeActionTargets :: Type -> Type #

NFData DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Methods

rnf :: DescribeActionTargets -> () #

Hashable DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

ToJSON DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

AWSPager DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

AWSRequest DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Associated Types

type AWSResponse DescribeActionTargets #

ToHeaders DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

ToPath DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

ToQuery DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

type Rep DescribeActionTargets Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

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

Defined in Amazonka.SecurityHub.DescribeActionTargets

newDescribeActionTargets :: DescribeActionTargets Source #

Create a value of DescribeActionTargets 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:actionTargetArns:DescribeActionTargets', describeActionTargets_actionTargetArns - A list of custom action target ARNs for the custom action targets to retrieve.

$sel:nextToken:DescribeActionTargets', describeActionTargets_nextToken - The token that is required for pagination. On your first call to the DescribeActionTargets 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:DescribeActionTargets', describeActionTargets_maxResults - The maximum number of results to return.

Request Lenses

describeActionTargets_actionTargetArns :: Lens' DescribeActionTargets (Maybe [Text]) Source #

A list of custom action target ARNs for the custom action targets to retrieve.

describeActionTargets_nextToken :: Lens' DescribeActionTargets (Maybe Text) Source #

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

Destructuring the Response

data DescribeActionTargetsResponse Source #

See: newDescribeActionTargetsResponse smart constructor.

Constructors

DescribeActionTargetsResponse' 

Fields

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

  • actionTargets :: [ActionTarget]

    A list of ActionTarget objects. Each object includes the ActionTargetArn, Description, and Name of a custom action target available in Security Hub.

Instances

Instances details
Eq DescribeActionTargetsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Read DescribeActionTargetsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Show DescribeActionTargetsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Generic DescribeActionTargetsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

Associated Types

type Rep DescribeActionTargetsResponse :: Type -> Type #

NFData DescribeActionTargetsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

type Rep DescribeActionTargetsResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DescribeActionTargets

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

newDescribeActionTargetsResponse Source #

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

$sel:httpStatus:DescribeActionTargetsResponse', describeActionTargetsResponse_httpStatus - The response's http status code.

$sel:actionTargets:DescribeActionTargetsResponse', describeActionTargetsResponse_actionTargets - A list of ActionTarget objects. Each object includes the ActionTargetArn, Description, and Name of a custom action target available in Security Hub.

Response Lenses

describeActionTargetsResponse_nextToken :: Lens' DescribeActionTargetsResponse (Maybe Text) Source #

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

describeActionTargetsResponse_actionTargets :: Lens' DescribeActionTargetsResponse [ActionTarget] Source #

A list of ActionTarget objects. Each object includes the ActionTargetArn, Description, and Name of a custom action target available in Security Hub.