« blib/lib/Paws/CloudFront/CreateStreamingDistributionResult.pm
↑ Summary
blib/lib/Paws/CloudFront/CreateStreamingDistributionWithTagsResult.pm »
| 1 | |||
| 2 | package Paws::CloudFront::CreateStreamingDistributionWithTags; | ||
| 3 | use Moose; | ||
| 4 | has StreamingDistributionConfigWithTags => (is => 'ro', isa => 'Paws::CloudFront::StreamingDistributionConfigWithTags', traits => ['ParamInBody'], required => 1); | ||
| 5 | |||
| 6 | |||
| 7 | use MooseX::ClassAttribute; | ||
| 8 | |||
| 9 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateStreamingDistributionWithTags'); | ||
| 10 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2020-05-31/streaming-distribution?WithTags'); | ||
| 11 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudFront::CreateStreamingDistributionWithTagsResult'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | |||
| 15 | |||
| 16 | 1; | ||
| 17 | |||
| 18 | ### main pod documentation begin ### | ||
| 19 | |||
| 20 | =head1 NAME | ||
| 21 | |||
| 22 | Paws::CloudFront::CreateStreamingDistributionWithTags - Arguments for method CreateStreamingDistributionWithTags on L<Paws::CloudFront> | ||
| 23 | |||
| 24 | =head1 DESCRIPTION | ||
| 25 | |||
| 26 | This class represents the parameters used for calling the method CreateStreamingDistributionWithTags2020_05_31 on the | ||
| 27 | L<Amazon CloudFront|Paws::CloudFront> service. Use the attributes of this class | ||
| 28 | as arguments to method CreateStreamingDistributionWithTags2020_05_31. | ||
| 29 | |||
| 30 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateStreamingDistributionWithTags2020_05_31. | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | my $cloudfront = Paws->service('CloudFront'); | ||
| 35 | my $CreateStreamingDistributionWithTagsResult = | ||
| 36 | $cloudfront->CreateStreamingDistributionWithTags( | ||
| 37 | StreamingDistributionConfigWithTags => { | ||
| 38 | StreamingDistributionConfig => { | ||
| 39 | CallerReference => 'Mystring', | ||
| 40 | Comment => 'Mystring', | ||
| 41 | Enabled => 1, | ||
| 42 | S3Origin => { | ||
| 43 | DomainName => 'Mystring', | ||
| 44 | OriginAccessIdentity => 'Mystring', | ||
| 45 | |||
| 46 | }, | ||
| 47 | TrustedSigners => { | ||
| 48 | Enabled => 1, | ||
| 49 | Quantity => 1, | ||
| 50 | Items => [ 'Mystring', ... ], # OPTIONAL | ||
| 51 | }, | ||
| 52 | Aliases => { | ||
| 53 | Quantity => 1, | ||
| 54 | Items => [ 'Mystring', ... ], # OPTIONAL | ||
| 55 | }, # OPTIONAL | ||
| 56 | Logging => { | ||
| 57 | Bucket => 'Mystring', | ||
| 58 | Enabled => 1, | ||
| 59 | Prefix => 'Mystring', | ||
| 60 | |||
| 61 | }, # OPTIONAL | ||
| 62 | PriceClass => 'PriceClass_100' | ||
| 63 | , # values: PriceClass_100, PriceClass_200, PriceClass_All; OPTIONAL | ||
| 64 | }, | ||
| 65 | Tags => { | ||
| 66 | Items => [ | ||
| 67 | { | ||
| 68 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 69 | Value => 'MyTagValue', # max: 256; OPTIONAL | ||
| 70 | }, | ||
| 71 | ... | ||
| 72 | ], # OPTIONAL | ||
| 73 | }, | ||
| 74 | |||
| 75 | }, | ||
| 76 | |||
| 77 | ); | ||
| 78 | |||
| 79 | # Results: | ||
| 80 | my $ETag = $CreateStreamingDistributionWithTagsResult->ETag; | ||
| 81 | my $Location = $CreateStreamingDistributionWithTagsResult->Location; | ||
| 82 | my $StreamingDistribution = | ||
| 83 | $CreateStreamingDistributionWithTagsResult->StreamingDistribution; | ||
| 84 | |||
| 85 | # Returns a L<Paws::CloudFront::CreateStreamingDistributionWithTagsResult> object. | ||
| 86 | |||
| 87 | 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. | ||
| 88 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudfront/CreateStreamingDistributionWithTags> | ||
| 89 | |||
| 90 | =head1 ATTRIBUTES | ||
| 91 | |||
| 92 | |||
| 93 | =head2 B<REQUIRED> StreamingDistributionConfigWithTags => L<Paws::CloudFront::StreamingDistributionConfigWithTags> | ||
| 94 | |||
| 95 | The streaming distribution's configuration information. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | =head1 SEE ALSO | ||
| 101 | |||
| 102 | This class forms part of L<Paws>, documenting arguments for method CreateStreamingDistributionWithTags2020_05_31 in L<Paws::CloudFront> | ||
| 103 | |||
| 104 | =head1 BUGS and CONTRIBUTIONS | ||
| 105 | |||
| 106 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 107 | |||
| 108 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 109 | |||
| 110 | =cut | ||
| 111 |