amazonka-securitylake-2.0: Amazon Security Lake 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.SecurityLake.UpdateSubscriber

Description

Updates an existing subscription for the given Amazon Security Lake account ID. You can update a subscriber by changing the sources that the subscriber consumes data from.

Synopsis

Creating a Request

data UpdateSubscriber Source #

See: newUpdateSubscriber smart constructor.

Constructors

UpdateSubscriber' 

Fields

Instances

Instances details
ToJSON UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

ToHeaders UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

ToPath UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

ToQuery UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

AWSRequest UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

Associated Types

type AWSResponse UpdateSubscriber #

Generic UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

Associated Types

type Rep UpdateSubscriber :: Type -> Type #

Read UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

Show UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

NFData UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

Methods

rnf :: UpdateSubscriber -> () #

Eq UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

Hashable UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

type AWSResponse UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

type Rep UpdateSubscriber Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

type Rep UpdateSubscriber = D1 ('MetaData "UpdateSubscriber" "Amazonka.SecurityLake.UpdateSubscriber" "amazonka-securitylake-2.0-4WRm07ESU278sNrKhxoCOb" 'False) (C1 ('MetaCons "UpdateSubscriber'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "externalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subscriberDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "subscriberName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SourceType])))))

newUpdateSubscriber Source #

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

UpdateSubscriber, updateSubscriber_externalId - The external ID of the Security Lake account.

UpdateSubscriber, updateSubscriber_subscriberDescription - The description of the Security Lake account subscriber.

UpdateSubscriber, updateSubscriber_subscriberName - The name of the Security Lake account subscriber.

$sel:id:UpdateSubscriber', updateSubscriber_id - A value created by Security Lake that uniquely identifies your subscription.

UpdateSubscriber, updateSubscriber_sourceTypes - The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.

Request Lenses

updateSubscriber_externalId :: Lens' UpdateSubscriber (Maybe Text) Source #

The external ID of the Security Lake account.

updateSubscriber_subscriberDescription :: Lens' UpdateSubscriber (Maybe Text) Source #

The description of the Security Lake account subscriber.

updateSubscriber_subscriberName :: Lens' UpdateSubscriber (Maybe Text) Source #

The name of the Security Lake account subscriber.

updateSubscriber_id :: Lens' UpdateSubscriber Text Source #

A value created by Security Lake that uniquely identifies your subscription.

updateSubscriber_sourceTypes :: Lens' UpdateSubscriber [SourceType] Source #

The supported Amazon Web Services from which logs and events are collected. For the list of supported Amazon Web Services, see the Amazon Security Lake User Guide.

Destructuring the Response

data UpdateSubscriberResponse Source #

See: newUpdateSubscriberResponse smart constructor.

Constructors

UpdateSubscriberResponse' 

Fields

Instances

Instances details
Generic UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

Associated Types

type Rep UpdateSubscriberResponse :: Type -> Type #

Read UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

Show UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

NFData UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

Eq UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

type Rep UpdateSubscriberResponse Source # 
Instance details

Defined in Amazonka.SecurityLake.UpdateSubscriber

type Rep UpdateSubscriberResponse = D1 ('MetaData "UpdateSubscriberResponse" "Amazonka.SecurityLake.UpdateSubscriber" "amazonka-securitylake-2.0-4WRm07ESU278sNrKhxoCOb" 'False) (C1 ('MetaCons "UpdateSubscriberResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subscriber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubscriberResource)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateSubscriberResponse Source #

Create a value of UpdateSubscriberResponse 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:subscriber:UpdateSubscriberResponse', updateSubscriberResponse_subscriber - The account of the subscriber.

$sel:httpStatus:UpdateSubscriberResponse', updateSubscriberResponse_httpStatus - The response's http status code.

Response Lenses