Class: Aws::Textract::Types::NotificationChannel

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb

Overview

Note:

When making an API call, you may pass NotificationChannel data as a hash:

{
  sns_topic_arn: "SNSTopicArn", # required
  role_arn: "RoleArn", # required
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#role_arnString

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

Returns:

  • (String)


883
884
885
886
887
888
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 883

class NotificationChannel < Struct.new(
  :sns_topic_arn,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end

#sns_topic_arnString

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

Returns:

  • (String)


883
884
885
886
887
888
# File 'gems/aws-sdk-textract/lib/aws-sdk-textract/types.rb', line 883

class NotificationChannel < Struct.new(
  :sns_topic_arn,
  :role_arn)
  SENSITIVE = []
  include Aws::Structure
end