libZSservicesZSamazonka-textractZSamazonka-textract
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.Textract.Types.NotificationChannel

Description

 
Synopsis

Documentation

data NotificationChannel Source #

The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Textract publishes the completion status of an asynchronous document operation, such as StartDocumentTextDetection.

See: newNotificationChannel smart constructor.

Constructors

NotificationChannel' 

Fields

  • sNSTopicArn :: Text

    The Amazon SNS topic that Amazon Textract posts the completion status to.

  • roleArn :: Text

    The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.

Instances

Instances details
Eq NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Read NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Show NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Generic NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Associated Types

type Rep NotificationChannel :: Type -> Type #

NFData NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

Methods

rnf :: NotificationChannel -> () #

Hashable NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

ToJSON NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

type Rep NotificationChannel Source # 
Instance details

Defined in Amazonka.Textract.Types.NotificationChannel

type Rep NotificationChannel = D1 ('MetaData "NotificationChannel" "Amazonka.Textract.Types.NotificationChannel" "libZSservicesZSamazonka-textractZSamazonka-textract" 'False) (C1 ('MetaCons "NotificationChannel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sNSTopicArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newNotificationChannel Source #

Create a value of NotificationChannel 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:sNSTopicArn:NotificationChannel', notificationChannel_sNSTopicArn - The Amazon SNS topic that Amazon Textract posts the completion status to.

$sel:roleArn:NotificationChannel', notificationChannel_roleArn - The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.

notificationChannel_sNSTopicArn :: Lens' NotificationChannel Text Source #

The Amazon SNS topic that Amazon Textract posts the completion status to.

notificationChannel_roleArn :: Lens' NotificationChannel Text Source #

The Amazon Resource Name (ARN) of an IAM role that gives Amazon Textract publishing permissions to the Amazon SNS topic.