![]() |
![]()
| ![]() |
![]()
NAMEPaws::MediaPackageVod::CreateAsset - Arguments for method CreateAsset on Paws::MediaPackageVod DESCRIPTIONThis class represents the parameters used for calling the method CreateAsset on the AWS Elemental MediaPackage VOD service. Use the attributes of this class as arguments to method CreateAsset. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAsset. SYNOPSISmy $mediapackage-vod = Paws->service('MediaPackageVod'); my $CreateAssetResponse = $mediapackage -vod->CreateAsset( Id => 'My__string', PackagingGroupId => 'My__string', SourceArn => 'My__string', SourceRoleArn => 'My__string', ResourceId => 'My__string', # OPTIONAL Tags => { 'My__string' => 'My__string', }, # OPTIONAL ); # Results: my $Arn = $CreateAssetResponse->Arn; my $CreatedAt = $CreateAssetResponse->CreatedAt; my $EgressEndpoints = $CreateAssetResponse->EgressEndpoints; my $Id = $CreateAssetResponse->Id; my $PackagingGroupId = $CreateAssetResponse->PackagingGroupId; my $ResourceId = $CreateAssetResponse->ResourceId; my $SourceArn = $CreateAssetResponse->SourceArn; my $SourceRoleArn = $CreateAssetResponse->SourceRoleArn; my $Tags = $CreateAssetResponse->Tags; # Returns a L<Paws::MediaPackageVod::CreateAssetResponse> object. 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. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod/CreateAsset> ATTRIBUTESREQUIRED Id => StrThe unique identifier for the Asset. REQUIRED PackagingGroupId => StrThe ID of the PackagingGroup for the Asset. ResourceId => StrThe resource ID to include in SPEKE key requests. REQUIRED SourceArn => StrARN of the source object in S3. REQUIRED SourceRoleArn => StrThe IAM role ARN used to access the source S3 bucket. Tags => Paws::MediaPackageVod::TagsSEE ALSOThis class forms part of Paws, documenting arguments for method CreateAsset in Paws::MediaPackageVod BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|