« blib/lib/Paws/MediaPackage/CreateChannelResponse.pm
↑ Summary
blib/lib/Paws/MediaPackage/CreateHarvestJobResponse.pm »
| 1 | |||
| 2 | package Paws::MediaPackage::CreateHarvestJob; | ||
| 3 | use Moose; | ||
| 4 | has EndTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'endTime', required => 1); | ||
| 5 | has Id => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'id', required => 1); | ||
| 6 | has OriginEndpointId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'originEndpointId', required => 1); | ||
| 7 | has S3Destination => (is => 'ro', isa => 'Paws::MediaPackage::S3Destination', traits => ['NameInRequest'], request_name => 's3Destination', required => 1); | ||
| 8 | has StartTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'startTime', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateHarvestJob'); | ||
| 13 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/harvest_jobs'); | ||
| 14 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 15 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaPackage::CreateHarvestJobResponse'); | ||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::MediaPackage::CreateHarvestJob - Arguments for method CreateHarvestJob on L<Paws::MediaPackage> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method CreateHarvestJob on the | ||
| 27 | L<AWS Elemental MediaPackage|Paws::MediaPackage> service. Use the attributes of this class | ||
| 28 | as arguments to method CreateHarvestJob. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateHarvestJob. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $mediapackage = Paws->service('MediaPackage'); | ||
| 35 | my $CreateHarvestJobResponse = $mediapackage->CreateHarvestJob( | ||
| 36 | EndTime => 'My__string', | ||
| 37 | Id => 'My__string', | ||
| 38 | OriginEndpointId => 'My__string', | ||
| 39 | S3Destination => { | ||
| 40 | BucketName => 'My__string', | ||
| 41 | ManifestKey => 'My__string', | ||
| 42 | RoleArn => 'My__string', | ||
| 43 | |||
| 44 | }, | ||
| 45 | StartTime => 'My__string', | ||
| 46 | |||
| 47 | ); | ||
| 48 | |||
| 49 | # Results: | ||
| 50 | my $Arn = $CreateHarvestJobResponse->Arn; | ||
| 51 | my $ChannelId = $CreateHarvestJobResponse->ChannelId; | ||
| 52 | my $CreatedAt = $CreateHarvestJobResponse->CreatedAt; | ||
| 53 | my $EndTime = $CreateHarvestJobResponse->EndTime; | ||
| 54 | my $Id = $CreateHarvestJobResponse->Id; | ||
| 55 | my $OriginEndpointId = $CreateHarvestJobResponse->OriginEndpointId; | ||
| 56 | my $S3Destination = $CreateHarvestJobResponse->S3Destination; | ||
| 57 | my $StartTime = $CreateHarvestJobResponse->StartTime; | ||
| 58 | my $Status = $CreateHarvestJobResponse->Status; | ||
| 59 | |||
| 60 | # Returns a L<Paws::MediaPackage::CreateHarvestJobResponse> object. | ||
| 61 | |||
| 62 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 63 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediapackage/CreateHarvestJob> | ||
| 64 | |||
| 65 | =head1 ATTRIBUTES | ||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> EndTime => Str | ||
| 69 | |||
| 70 | The end of the time-window which will be harvested | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | =head2 B<REQUIRED> Id => Str | ||
| 75 | |||
| 76 | The ID of the HarvestJob. The ID must be unique within the region and | ||
| 77 | it cannot be changed after the HarvestJob is submitted | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 B<REQUIRED> OriginEndpointId => Str | ||
| 82 | |||
| 83 | The ID of the OriginEndpoint that the HarvestJob will harvest from. | ||
| 84 | This cannot be changed after the HarvestJob is submitted. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 B<REQUIRED> S3Destination => L<Paws::MediaPackage::S3Destination> | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 B<REQUIRED> StartTime => Str | ||
| 95 | |||
| 96 | The start of the time-window which will be harvested | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | =head1 SEE ALSO | ||
| 102 | |||
| 103 | This class forms part of L<Paws>, documenting arguments for method CreateHarvestJob in L<Paws::MediaPackage> | ||
| 104 | |||
| 105 | =head1 BUGS and CONTRIBUTIONS | ||
| 106 | |||
| 107 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 108 | |||
| 109 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 110 | |||
| 111 | =cut | ||
| 112 |