NAME
Paws::MediaPackageVod::CreateAsset - Arguments for method CreateAsset on Paws::MediaPackageVod
DESCRIPTION
This 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.
SYNOPSIS
my $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
ATTRIBUTES
REQUIRED Id => Str
The unique identifier for the Asset.
REQUIRED PackagingGroupId => Str
The ID of the PackagingGroup for the Asset.
ResourceId => Str
The resource ID to include in SPEKE key requests.
REQUIRED SourceArn => Str
ARN of the source object in S3.
REQUIRED SourceRoleArn => Str
The IAM role ARN used to access the source S3 bucket.
Tags => Paws::MediaPackageVod::Tags
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateAsset in Paws::MediaPackageVod
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues