| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::DMS::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]'); | ||
| 8 | has SnsTopicArn => (is => 'ro', isa => 'Str'); | ||
| 9 | has SourceIdsList => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 10 | has SourceType => (is => 'ro', isa => 'Str'); | ||
| 11 | has Status => (is => 'ro', isa => 'Str'); | ||
| 12 | has SubscriptionCreationTime => (is => 'ro', isa => 'Str'); | ||
| 13 | |||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::DMS::EventSubscription | ||
| 21 | |||
| 22 | =head1 USAGE | ||
| 23 | |||
| 24 | This class represents one of two things: | ||
| 25 | |||
| 26 | =head3 Arguments in a call to a service | ||
| 27 | |||
| 28 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 29 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 30 | |||
| 31 | As an example, if Att1 is expected to be a Paws::DMS::EventSubscription object: | ||
| 32 | |||
| 33 | $service_obj->Method(Att1 => { CustomerAwsId => $value, ..., SubscriptionCreationTime => $value }); | ||
| 34 | |||
| 35 | =head3 Results returned from an API call | ||
| 36 | |||
| 37 | Use accessors for each attribute. If Att1 is expected to be an Paws::DMS::EventSubscription object: | ||
| 38 | |||
| 39 | $result = $service_obj->Method(...); | ||
| 40 | $result->Att1->CustomerAwsId | ||
| 41 | |||
| 42 | =head1 DESCRIPTION | ||
| 43 | |||
| 44 | Describes an event notification subscription created by the | ||
| 45 | C<CreateEventSubscription> operation. | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 CustomerAwsId => Str | ||
| 51 | |||
| 52 | The AWS customer account associated with the AWS DMS event notification | ||
| 53 | subscription. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 CustSubscriptionId => Str | ||
| 57 | |||
| 58 | The AWS DMS event notification subscription Id. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 Enabled => Bool | ||
| 62 | |||
| 63 | Boolean value that indicates if the event subscription is enabled. | ||
| 64 | |||
| 65 | |||
| 66 | =head2 EventCategoriesList => ArrayRef[Str|Undef] | ||
| 67 | |||
| 68 | A lists of event categories. | ||
| 69 | |||
| 70 | |||
| 71 | =head2 SnsTopicArn => Str | ||
| 72 | |||
| 73 | The topic ARN of the AWS DMS event notification subscription. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 SourceIdsList => ArrayRef[Str|Undef] | ||
| 77 | |||
| 78 | A list of source Ids for the event subscription. | ||
| 79 | |||
| 80 | |||
| 81 | =head2 SourceType => Str | ||
| 82 | |||
| 83 | The type of AWS DMS resource that generates events. | ||
| 84 | |||
| 85 | Valid values: replication-instance | replication-server | | ||
| 86 | security-group | replication-task | ||
| 87 | |||
| 88 | |||
| 89 | =head2 Status => Str | ||
| 90 | |||
| 91 | The status of the AWS DMS event notification subscription. | ||
| 92 | |||
| 93 | Constraints: | ||
| 94 | |||
| 95 | Can be one of the following: creating | modifying | deleting | active | | ||
| 96 | no-permission | topic-not-exist | ||
| 97 | |||
| 98 | The status "no-permission" indicates that AWS DMS no longer has | ||
| 99 | permission to post to the SNS topic. The status "topic-not-exist" | ||
| 100 | indicates that the topic was deleted after the subscription was | ||
| 101 | created. | ||
| 102 | |||
| 103 | |||
| 104 | =head2 SubscriptionCreationTime => Str | ||
| 105 | |||
| 106 | The time the AWS DMS event notification subscription was created. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head1 SEE ALSO | ||
| 111 | |||
| 112 | This class forms part of L<Paws>, describing an object used in L<Paws::DMS> | ||
| 113 | |||
| 114 | =head1 BUGS and CONTRIBUTIONS | ||
| 115 | |||
| 116 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 117 | |||
| 118 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 119 | |||
| 120 | =cut | ||
| 121 |