« blib/lib/Paws/RedShift/EventInfoMap.pm
↑ Summary
blib/lib/Paws/RedShift/EventSubscriptionsMessage.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::RedShift::EventSubscription; | ||
| 3 | use Moose; | ||
| 4 | has CustomerAwsId => (is => 'ro', isa => 'Str'); | ||
| 5 | has CustSubscriptionId => (is => 'ro', isa => 'Str'); | ||
| 6 | has Enabled => (is => 'ro', isa => 'Bool'); | ||
| 7 | has EventCategoriesList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'EventCategory', traits => ['NameInRequest']); | ||
| 8 | has Severity => (is => 'ro', isa => 'Str'); | ||
| 9 | has SnsTopicArn => (is => 'ro', isa => 'Str'); | ||
| 10 | has SourceIdsList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'SourceId', traits => ['NameInRequest']); | ||
| 11 | has SourceType => (is => 'ro', isa => 'Str'); | ||
| 12 | has Status => (is => 'ro', isa => 'Str'); | ||
| 13 | has SubscriptionCreationTime => (is => 'ro', isa => 'Str'); | ||
| 14 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::Tag]', request_name => 'Tag', traits => ['NameInRequest']); | ||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::RedShift::EventSubscription | ||
| 23 | |||
| 24 | =head1 USAGE | ||
| 25 | |||
| 26 | This class represents one of two things: | ||
| 27 | |||
| 28 | =head3 Arguments in a call to a service | ||
| 29 | |||
| 30 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 31 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 32 | |||
| 33 | As an example, if Att1 is expected to be a Paws::RedShift::EventSubscription object: | ||
| 34 | |||
| 35 | $service_obj->Method(Att1 => { CustomerAwsId => $value, ..., Tags => $value }); | ||
| 36 | |||
| 37 | =head3 Results returned from an API call | ||
| 38 | |||
| 39 | Use accessors for each attribute. If Att1 is expected to be an Paws::RedShift::EventSubscription object: | ||
| 40 | |||
| 41 | $result = $service_obj->Method(...); | ||
| 42 | $result->Att1->CustomerAwsId | ||
| 43 | |||
| 44 | =head1 DESCRIPTION | ||
| 45 | |||
| 46 | Describes event subscriptions. | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 CustomerAwsId => Str | ||
| 52 | |||
| 53 | The AWS customer account associated with the Amazon Redshift event | ||
| 54 | notification subscription. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 CustSubscriptionId => Str | ||
| 58 | |||
| 59 | The name of the Amazon Redshift event notification subscription. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 Enabled => Bool | ||
| 63 | |||
| 64 | A boolean value indicating whether the subscription is enabled; C<true> | ||
| 65 | indicates that the subscription is enabled. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 EventCategoriesList => ArrayRef[Str|Undef] | ||
| 69 | |||
| 70 | The list of Amazon Redshift event categories specified in the event | ||
| 71 | notification subscription. | ||
| 72 | |||
| 73 | Values: Configuration, Management, Monitoring, Security | ||
| 74 | |||
| 75 | |||
| 76 | =head2 Severity => Str | ||
| 77 | |||
| 78 | The event severity specified in the Amazon Redshift event notification | ||
| 79 | subscription. | ||
| 80 | |||
| 81 | Values: ERROR, INFO | ||
| 82 | |||
| 83 | |||
| 84 | =head2 SnsTopicArn => Str | ||
| 85 | |||
| 86 | The Amazon Resource Name (ARN) of the Amazon SNS topic used by the | ||
| 87 | event notification subscription. | ||
| 88 | |||
| 89 | |||
| 90 | =head2 SourceIdsList => ArrayRef[Str|Undef] | ||
| 91 | |||
| 92 | A list of the sources that publish events to the Amazon Redshift event | ||
| 93 | notification subscription. | ||
| 94 | |||
| 95 | |||
| 96 | =head2 SourceType => Str | ||
| 97 | |||
| 98 | The source type of the events returned by the Amazon Redshift event | ||
| 99 | notification, such as cluster, cluster-snapshot, | ||
| 100 | cluster-parameter-group, cluster-security-group, or scheduled-action. | ||
| 101 | |||
| 102 | |||
| 103 | =head2 Status => Str | ||
| 104 | |||
| 105 | The status of the Amazon Redshift event notification subscription. | ||
| 106 | |||
| 107 | Constraints: | ||
| 108 | |||
| 109 | =over | ||
| 110 | |||
| 111 | =item * | ||
| 112 | |||
| 113 | Can be one of the following: active | no-permission | topic-not-exist | ||
| 114 | |||
| 115 | =item * | ||
| 116 | |||
| 117 | The status "no-permission" indicates that Amazon Redshift no longer has | ||
| 118 | permission to post to the Amazon SNS topic. The status | ||
| 119 | "topic-not-exist" indicates that the topic was deleted after the | ||
| 120 | subscription was created. | ||
| 121 | |||
| 122 | =back | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | =head2 SubscriptionCreationTime => Str | ||
| 127 | |||
| 128 | The date and time the Amazon Redshift event notification subscription | ||
| 129 | was created. | ||
| 130 | |||
| 131 | |||
| 132 | =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>] | ||
| 133 | |||
| 134 | The list of tags for the event subscription. | ||
| 135 | |||
| 136 | |||
| 137 | |||
| 138 | =head1 SEE ALSO | ||
| 139 | |||
| 140 | This class forms part of L<Paws>, describing an object used in L<Paws::RedShift> | ||
| 141 | |||
| 142 | =head1 BUGS and CONTRIBUTIONS | ||
| 143 | |||
| 144 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 145 | |||
| 146 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 147 | |||
| 148 | =cut | ||
| 149 |