« blib/lib/Paws/CloudWatchEvents/EventBus.pm
↑ Summary
blib/lib/Paws/CloudWatchEvents/HeaderParametersMap.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CloudWatchEvents::EventSource; | ||
| 3 | use Moose; | ||
| 4 | has Arn => (is => 'ro', isa => 'Str'); | ||
| 5 | has CreatedBy => (is => 'ro', isa => 'Str'); | ||
| 6 | has CreationTime => (is => 'ro', isa => 'Str'); | ||
| 7 | has ExpirationTime => (is => 'ro', isa => 'Str'); | ||
| 8 | has Name => (is => 'ro', isa => 'Str'); | ||
| 9 | has State => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::CloudWatchEvents::EventSource | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::CloudWatchEvents::EventSource object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { Arn => $value, ..., State => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::CloudWatchEvents::EventSource object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->Arn | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | A partner event source is created by an SaaS partner. If a customer | ||
| 42 | creates a partner event bus that matches this event source, that AWS | ||
| 43 | account can receive events from the partner's applications or services. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 Arn => Str | ||
| 49 | |||
| 50 | The ARN of the event source. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 CreatedBy => Str | ||
| 54 | |||
| 55 | The name of the partner that created the event source. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 CreationTime => Str | ||
| 59 | |||
| 60 | The date and time the event source was created. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ExpirationTime => Str | ||
| 64 | |||
| 65 | The date and time that the event source will expire, if the AWS account | ||
| 66 | doesn't create a matching event bus for it. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 Name => Str | ||
| 70 | |||
| 71 | The name of the event source. | ||
| 72 | |||
| 73 | |||
| 74 | =head2 State => Str | ||
| 75 | |||
| 76 | The state of the event source. If it is ACTIVE, you have already | ||
| 77 | created a matching event bus for this event source, and that event bus | ||
| 78 | is active. If it is PENDING, either you haven't yet created a matching | ||
| 79 | event bus, or that event bus is deactivated. If it is DELETED, you have | ||
| 80 | created a matching event bus, but the event source has since been | ||
| 81 | deleted. | ||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | =head1 SEE ALSO | ||
| 86 | |||
| 87 | This class forms part of L<Paws>, describing an object used in L<Paws::CloudWatchEvents> | ||
| 88 | |||
| 89 | =head1 BUGS and CONTRIBUTIONS | ||
| 90 | |||
| 91 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 92 | |||
| 93 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 94 | |||
| 95 | =cut | ||
| 96 |