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.Types.SubscriberResource

Description

 
Synopsis

Documentation

data SubscriberResource Source #

Provides details about the Amazon Security Lake account subscription. Subscribers are notified of new objects for a source as the data is written to your Amazon S3 bucket for Security Lake.

See: newSubscriberResource smart constructor.

Constructors

SubscriberResource' 

Fields

  • accessTypes :: Maybe [AccessType]

    You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

    Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

  • createdAt :: Maybe ISO8601

    The date and time when the subscription was created.

  • externalId :: Maybe Text

    The external ID of the subscriber. The external ID lets the user that is assuming the role assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.

  • roleArn :: Maybe Text

    The Amazon Resource Name (ARN) specifying the role of the subscriber.

  • s3BucketArn :: Maybe Text

    The ARN for the Amazon S3 bucket.

  • snsArn :: Maybe Text

    The ARN for the Amazon Simple Notification Service.

  • subscriberDescription :: Maybe Text

    The subscriber descriptions for a subscriber account. The description for a subscriber includes subscriberName, accountID, externalID, and subscriptionId.

  • subscriberName :: Maybe Text

    The name of your Amazon Security Lake subscriber account.

  • subscriptionEndpoint :: Maybe Text

    The subscription endpoint to which exception messages are posted.

  • subscriptionProtocol :: Maybe EndpointProtocol

    The subscription protocol to which exception messages are posted.

  • subscriptionStatus :: Maybe SubscriptionStatus

    The subscription status of the Amazon Security Lake subscriber account.

  • updatedAt :: Maybe ISO8601

    The date and time when the subscription was created.

  • accountId :: Text

    The Amazon Web Services account ID you are using to create your Amazon Security Lake account.

  • sourceTypes :: [SourceType]

    Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.

  • subscriptionId :: Text

    The subscription ID of the Amazon Security Lake subscriber account.

Instances

Instances details
FromJSON SubscriberResource Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.SubscriberResource

Generic SubscriberResource Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.SubscriberResource

Associated Types

type Rep SubscriberResource :: Type -> Type #

Read SubscriberResource Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.SubscriberResource

Show SubscriberResource Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.SubscriberResource

NFData SubscriberResource Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.SubscriberResource

Methods

rnf :: SubscriberResource -> () #

Eq SubscriberResource Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.SubscriberResource

Hashable SubscriberResource Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.SubscriberResource

type Rep SubscriberResource Source # 
Instance details

Defined in Amazonka.SecurityLake.Types.SubscriberResource

type Rep SubscriberResource = D1 ('MetaData "SubscriberResource" "Amazonka.SecurityLake.Types.SubscriberResource" "amazonka-securitylake-2.0-4WRm07ESU278sNrKhxoCOb" 'False) (C1 ('MetaCons "SubscriberResource'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accessTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccessType])) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "externalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3BucketArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "snsArn") '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 "subscriptionEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "subscriptionProtocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointProtocol)) :*: S1 ('MetaSel ('Just "subscriptionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubscriptionStatus)))) :*: ((S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "sourceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SourceType]) :*: S1 ('MetaSel ('Just "subscriptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newSubscriberResource Source #

Create a value of SubscriberResource 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:accessTypes:SubscriberResource', subscriberResource_accessTypes - You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

$sel:createdAt:SubscriberResource', subscriberResource_createdAt - The date and time when the subscription was created.

$sel:externalId:SubscriberResource', subscriberResource_externalId - The external ID of the subscriber. The external ID lets the user that is assuming the role assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.

$sel:roleArn:SubscriberResource', subscriberResource_roleArn - The Amazon Resource Name (ARN) specifying the role of the subscriber.

$sel:s3BucketArn:SubscriberResource', subscriberResource_s3BucketArn - The ARN for the Amazon S3 bucket.

$sel:snsArn:SubscriberResource', subscriberResource_snsArn - The ARN for the Amazon Simple Notification Service.

$sel:subscriberDescription:SubscriberResource', subscriberResource_subscriberDescription - The subscriber descriptions for a subscriber account. The description for a subscriber includes subscriberName, accountID, externalID, and subscriptionId.

$sel:subscriberName:SubscriberResource', subscriberResource_subscriberName - The name of your Amazon Security Lake subscriber account.

$sel:subscriptionEndpoint:SubscriberResource', subscriberResource_subscriptionEndpoint - The subscription endpoint to which exception messages are posted.

$sel:subscriptionProtocol:SubscriberResource', subscriberResource_subscriptionProtocol - The subscription protocol to which exception messages are posted.

$sel:subscriptionStatus:SubscriberResource', subscriberResource_subscriptionStatus - The subscription status of the Amazon Security Lake subscriber account.

$sel:updatedAt:SubscriberResource', subscriberResource_updatedAt - The date and time when the subscription was created.

$sel:accountId:SubscriberResource', subscriberResource_accountId - The Amazon Web Services account ID you are using to create your Amazon Security Lake account.

$sel:sourceTypes:SubscriberResource', subscriberResource_sourceTypes - Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.

$sel:subscriptionId:SubscriberResource', subscriberResource_subscriptionId - The subscription ID of the Amazon Security Lake subscriber account.

subscriberResource_accessTypes :: Lens' SubscriberResource (Maybe [AccessType]) Source #

You can choose to notify subscribers of new objects with an Amazon Simple Queue Service (Amazon SQS) queue or through messaging to an HTTPS endpoint provided by the subscriber.

Subscribers can consume data by directly querying Lake Formation tables in your Amazon S3 bucket through services like Amazon Athena. This subscription type is defined as LAKEFORMATION.

subscriberResource_createdAt :: Lens' SubscriberResource (Maybe UTCTime) Source #

The date and time when the subscription was created.

subscriberResource_externalId :: Lens' SubscriberResource (Maybe Text) Source #

The external ID of the subscriber. The external ID lets the user that is assuming the role assert the circumstances in which they are operating. It also provides a way for the account owner to permit the role to be assumed only under specific circumstances.

subscriberResource_roleArn :: Lens' SubscriberResource (Maybe Text) Source #

The Amazon Resource Name (ARN) specifying the role of the subscriber.

subscriberResource_snsArn :: Lens' SubscriberResource (Maybe Text) Source #

The ARN for the Amazon Simple Notification Service.

subscriberResource_subscriberDescription :: Lens' SubscriberResource (Maybe Text) Source #

The subscriber descriptions for a subscriber account. The description for a subscriber includes subscriberName, accountID, externalID, and subscriptionId.

subscriberResource_subscriberName :: Lens' SubscriberResource (Maybe Text) Source #

The name of your Amazon Security Lake subscriber account.

subscriberResource_subscriptionEndpoint :: Lens' SubscriberResource (Maybe Text) Source #

The subscription endpoint to which exception messages are posted.

subscriberResource_subscriptionProtocol :: Lens' SubscriberResource (Maybe EndpointProtocol) Source #

The subscription protocol to which exception messages are posted.

subscriberResource_subscriptionStatus :: Lens' SubscriberResource (Maybe SubscriptionStatus) Source #

The subscription status of the Amazon Security Lake subscriber account.

subscriberResource_updatedAt :: Lens' SubscriberResource (Maybe UTCTime) Source #

The date and time when the subscription was created.

subscriberResource_accountId :: Lens' SubscriberResource Text Source #

The Amazon Web Services account ID you are using to create your Amazon Security Lake account.

subscriberResource_sourceTypes :: Lens' SubscriberResource [SourceType] Source #

Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.

subscriberResource_subscriptionId :: Lens' SubscriberResource Text Source #

The subscription ID of the Amazon Security Lake subscriber account.