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

Description

Creates a custom action target in Security Hub.

You can use custom actions on findings and insights in Security Hub to trigger target actions in Amazon CloudWatch Events.

Synopsis

Creating a Request

data CreateActionTarget Source #

See: newCreateActionTarget smart constructor.

Constructors

CreateActionTarget' 

Fields

  • name :: Text

    The name of the custom action target. Can contain up to 20 characters.

  • description :: Text

    The description for the custom action target.

  • id :: Text

    The ID for the custom action target. Can contain up to 20 alphanumeric characters.

Instances

Instances details
Eq CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Read CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Show CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Generic CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Associated Types

type Rep CreateActionTarget :: Type -> Type #

NFData CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Methods

rnf :: CreateActionTarget -> () #

Hashable CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

ToJSON CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

AWSRequest CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Associated Types

type AWSResponse CreateActionTarget #

ToHeaders CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

ToPath CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

ToQuery CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

type Rep CreateActionTarget Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

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

Defined in Amazonka.SecurityHub.CreateActionTarget

newCreateActionTarget Source #

Create a value of CreateActionTarget 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:name:CreateActionTarget', createActionTarget_name - The name of the custom action target. Can contain up to 20 characters.

$sel:description:CreateActionTarget', createActionTarget_description - The description for the custom action target.

$sel:id:CreateActionTarget', createActionTarget_id - The ID for the custom action target. Can contain up to 20 alphanumeric characters.

Request Lenses

createActionTarget_name :: Lens' CreateActionTarget Text Source #

The name of the custom action target. Can contain up to 20 characters.

createActionTarget_description :: Lens' CreateActionTarget Text Source #

The description for the custom action target.

createActionTarget_id :: Lens' CreateActionTarget Text Source #

The ID for the custom action target. Can contain up to 20 alphanumeric characters.

Destructuring the Response

data CreateActionTargetResponse Source #

See: newCreateActionTargetResponse smart constructor.

Constructors

CreateActionTargetResponse' 

Fields

Instances

Instances details
Eq CreateActionTargetResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Read CreateActionTargetResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Show CreateActionTargetResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Generic CreateActionTargetResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

Associated Types

type Rep CreateActionTargetResponse :: Type -> Type #

NFData CreateActionTargetResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

type Rep CreateActionTargetResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.CreateActionTarget

type Rep CreateActionTargetResponse = D1 ('MetaData "CreateActionTargetResponse" "Amazonka.SecurityHub.CreateActionTarget" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "CreateActionTargetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "actionTargetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateActionTargetResponse Source #

Create a value of CreateActionTargetResponse 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:httpStatus:CreateActionTargetResponse', createActionTargetResponse_httpStatus - The response's http status code.

$sel:actionTargetArn:CreateActionTargetResponse', createActionTargetResponse_actionTargetArn - The ARN for the custom action target.

Response Lenses