« blib/lib/Paws/Pinpoint/WriteCampaignRequest.pm
↑ Summary
blib/lib/Paws/Pinpoint/WriteJourneyRequest.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::WriteEventStream; | ||
| 3 | use Moose; | ||
| 4 | has DestinationStreamArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has RoleArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Pinpoint::WriteEventStream | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::Pinpoint::WriteEventStream object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { DestinationStreamArn => $value, ..., RoleArn => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::WriteEventStream object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->DestinationStreamArn | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Specifies the Amazon Resource Name (ARN) of an event stream to publish | ||
| 38 | events to and the AWS Identity and Access Management (IAM) role to use | ||
| 39 | when publishing those events. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 B<REQUIRED> DestinationStreamArn => Str | ||
| 45 | |||
| 46 | The Amazon Resource Name (ARN) of the Amazon Kinesis data stream or | ||
| 47 | Amazon Kinesis Data Firehose delivery stream that you want to publish | ||
| 48 | event data to. | ||
| 49 | |||
| 50 | For a Kinesis data stream, the ARN format is: | ||
| 51 | arn:aws:kinesis:region:account-id:stream/stream_name | ||
| 52 | |||
| 53 | For a Kinesis Data Firehose delivery stream, the ARN format is: | ||
| 54 | arn:aws:firehose:region:account-id:deliverystream/stream_name | ||
| 55 | |||
| 56 | |||
| 57 | =head2 B<REQUIRED> RoleArn => Str | ||
| 58 | |||
| 59 | The AWS Identity and Access Management (IAM) role that authorizes | ||
| 60 | Amazon Pinpoint to publish event data to the stream in your AWS | ||
| 61 | account. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head1 SEE ALSO | ||
| 66 | |||
| 67 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 68 | |||
| 69 | =head1 BUGS and CONTRIBUTIONS | ||
| 70 | |||
| 71 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 72 | |||
| 73 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 74 | |||
| 75 | =cut | ||
| 76 |