« blib/lib/Paws/MediaPackage/CmafPackageCreateOrUpdateParameters.pm
↑ Summary
blib/lib/Paws/MediaPackage/ConfigureLogsParameters.pm »
| 1 | |||
| 2 | package Paws::MediaPackage::ConfigureLogs; | ||
| 3 | use Moose; | ||
| 4 | has EgressAccessLogs => (is => 'ro', isa => 'Paws::MediaPackage::EgressAccessLogs', traits => ['NameInRequest'], request_name => 'egressAccessLogs'); | ||
| 5 | has Id => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'id', required => 1); | ||
| 6 | has IngressAccessLogs => (is => 'ro', isa => 'Paws::MediaPackage::IngressAccessLogs', traits => ['NameInRequest'], request_name => 'ingressAccessLogs'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'ConfigureLogs'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/channels/{id}/configure_logs'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaPackage::ConfigureLogsResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::MediaPackage::ConfigureLogs - Arguments for method ConfigureLogs on L<Paws::MediaPackage> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method ConfigureLogs on the | ||
| 25 | L<AWS Elemental MediaPackage|Paws::MediaPackage> service. Use the attributes of this class | ||
| 26 | as arguments to method ConfigureLogs. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ConfigureLogs. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $mediapackage = Paws->service('MediaPackage'); | ||
| 33 | my $ConfigureLogsResponse = $mediapackage->ConfigureLogs( | ||
| 34 | Id => 'My__string', | ||
| 35 | EgressAccessLogs => { LogGroupName => 'My__string', }, # OPTIONAL | ||
| 36 | IngressAccessLogs => { LogGroupName => 'My__string', }, # OPTIONAL | ||
| 37 | ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $Arn = $ConfigureLogsResponse->Arn; | ||
| 41 | my $Description = $ConfigureLogsResponse->Description; | ||
| 42 | my $EgressAccessLogs = $ConfigureLogsResponse->EgressAccessLogs; | ||
| 43 | my $HlsIngest = $ConfigureLogsResponse->HlsIngest; | ||
| 44 | my $Id = $ConfigureLogsResponse->Id; | ||
| 45 | my $IngressAccessLogs = $ConfigureLogsResponse->IngressAccessLogs; | ||
| 46 | my $Tags = $ConfigureLogsResponse->Tags; | ||
| 47 | |||
| 48 | # Returns a L<Paws::MediaPackage::ConfigureLogsResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mediapackage/ConfigureLogs> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 EgressAccessLogs => L<Paws::MediaPackage::EgressAccessLogs> | ||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> Id => Str | ||
| 63 | |||
| 64 | The ID of the channel to log subscription. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 IngressAccessLogs => L<Paws::MediaPackage::IngressAccessLogs> | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head1 SEE ALSO | ||
| 76 | |||
| 77 | This class forms part of L<Paws>, documenting arguments for method ConfigureLogs in L<Paws::MediaPackage> | ||
| 78 | |||
| 79 | =head1 BUGS and CONTRIBUTIONS | ||
| 80 | |||
| 81 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 82 | |||
| 83 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 84 | |||
| 85 | =cut | ||
| 86 |