| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Forecast::S3Config; | ||
| 3 | use Moose; | ||
| 4 | has KMSKeyArn => (is => 'ro', isa => 'Str'); | ||
| 5 | has Path => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has RoleArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::Forecast::S3Config | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::Forecast::S3Config object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { KMSKeyArn => $value, ..., RoleArn => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::Forecast::S3Config object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->KMSKeyArn | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | The path to the file(s) in an Amazon Simple Storage Service (Amazon S3) | ||
| 39 | bucket, and an AWS Identity and Access Management (IAM) role that | ||
| 40 | Amazon Forecast can assume to access the file(s). Optionally, includes | ||
| 41 | an AWS Key Management Service (KMS) key. This object is part of the | ||
| 42 | DataSource object that is submitted in the CreateDatasetImportJob | ||
| 43 | request, and part of the DataDestination object. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 KMSKeyArn => Str | ||
| 49 | |||
| 50 | The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) | ||
| 51 | key. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 B<REQUIRED> Path => Str | ||
| 55 | |||
| 56 | The path to an Amazon Simple Storage Service (Amazon S3) bucket or | ||
| 57 | file(s) in an Amazon S3 bucket. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> RoleArn => Str | ||
| 61 | |||
| 62 | The ARN of the AWS Identity and Access Management (IAM) role that | ||
| 63 | Amazon Forecast can assume to access the Amazon S3 bucket or files. If | ||
| 64 | you provide a value for the C<KMSKeyArn> key, the role must allow | ||
| 65 | access to the key. | ||
| 66 | |||
| 67 | Passing a role across AWS accounts is not allowed. If you pass a role | ||
| 68 | that isn't in your account, you get an C<InvalidInputException> error. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::Forecast> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |