| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Pinpoint::SegmentImportResource; | ||
| 3 | use Moose; | ||
| 4 | has ChannelCounts => (is => 'ro', isa => 'Paws::Pinpoint::MapOf__integer'); | ||
| 5 | has ExternalId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Format => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has RoleArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has S3Url => (is => 'ro', isa => 'Str', required => 1); | ||
| 9 | has Size => (is => 'ro', isa => 'Int', required => 1); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::Pinpoint::SegmentImportResource | ||
| 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::Pinpoint::SegmentImportResource object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { ChannelCounts => $value, ..., Size => $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::Pinpoint::SegmentImportResource object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->ChannelCounts | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Provides information about the import job that created a segment. An | ||
| 42 | import job is a job that creates a user segment by importing endpoint | ||
| 43 | definitions. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 ChannelCounts => L<Paws::Pinpoint::MapOf__integer> | ||
| 49 | |||
| 50 | The number of channel types in the endpoint definitions that were | ||
| 51 | imported to create the segment. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> ExternalId => Str | ||
| 55 | |||
| 56 | (Deprecated) Your AWS account ID, which you assigned to an external ID | ||
| 57 | key in an IAM trust policy. Amazon Pinpoint previously used this value | ||
| 58 | to assume an IAM role when importing endpoint definitions, but we | ||
| 59 | removed this requirement. We don't recommend use of external IDs for | ||
| 60 | IAM roles that are assumed by Amazon Pinpoint. | ||
| 61 | |||
| 62 | |||
| 63 | =head2 B<REQUIRED> Format => Str | ||
| 64 | |||
| 65 | The format of the files that were imported to create the segment. Valid | ||
| 66 | values are: CSV, for comma-separated values format; and, JSON, for | ||
| 67 | newline-delimited JSON format. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> RoleArn => Str | ||
| 71 | |||
| 72 | The Amazon Resource Name (ARN) of the AWS Identity and Access | ||
| 73 | Management (IAM) role that authorized Amazon Pinpoint to access the | ||
| 74 | Amazon S3 location to import endpoint definitions from. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 B<REQUIRED> S3Url => Str | ||
| 78 | |||
| 79 | The URL of the Amazon Simple Storage Service (Amazon S3) bucket that | ||
| 80 | the endpoint definitions were imported from to create the segment. | ||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> Size => Int | ||
| 84 | |||
| 85 | The number of endpoint definitions that were imported successfully to | ||
| 86 | create the segment. | ||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head1 SEE ALSO | ||
| 91 | |||
| 92 | This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint> | ||
| 93 | |||
| 94 | =head1 BUGS and CONTRIBUTIONS | ||
| 95 | |||
| 96 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 97 | |||
| 98 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 99 | |||
| 100 | =cut | ||
| 101 |