Notification class
The Amazon Simple Notification Service (Amazon SNS) notification settings
associated with a specific job. The Notification
object is
returned as a part of the response syntax of the DescribeJob
action in the JobMetadata
data type.
When the notification settings are defined during job creation, you can
choose to notify based on a specific set of job states using the
JobStatesToNotify
array of strings, or you can specify that you
want to have Amazon SNS notifications sent out for all job states with
NotifyAll
set to true.
Constructors
-
Notification.new({List<
JobState> ? jobStatesToNotify, bool? notifyAll, String? snsTopicARN}) -
Notification.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jobStatesToNotify
→ List<
JobState> ? -
The list of job states that will trigger a notification for this job.
final
- notifyAll → bool?
-
Any change in job state will trigger a notification for this job.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snsTopicARN → String?
-
The new SNS
TopicArn
that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the CreateTopic Amazon SNS API action.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited