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