« blib/lib/Paws/MediaTailor/UpdateChannelResponse.pm
↑ Summary
blib/lib/Paws/MediaTailor/UpdateSourceLocationResponse.pm »
| 1 | |||
| 2 | package Paws::MediaTailor::UpdateSourceLocation; | ||
| 3 | use Moose; | ||
| 4 | has AccessConfiguration => (is => 'ro', isa => 'Paws::MediaTailor::AccessConfiguration'); | ||
| 5 | has DefaultSegmentDeliveryConfiguration => (is => 'ro', isa => 'Paws::MediaTailor::DefaultSegmentDeliveryConfiguration'); | ||
| 6 | has HttpConfiguration => (is => 'ro', isa => 'Paws::MediaTailor::HttpConfiguration', required => 1); | ||
| 7 | has SourceLocationName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'sourceLocationName', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateSourceLocation'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/sourceLocation/{sourceLocationName}'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaTailor::UpdateSourceLocationResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::MediaTailor::UpdateSourceLocation - Arguments for method UpdateSourceLocation on L<Paws::MediaTailor> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method UpdateSourceLocation on the | ||
| 26 | L<AWS MediaTailor|Paws::MediaTailor> service. Use the attributes of this class | ||
| 27 | as arguments to method UpdateSourceLocation. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateSourceLocation. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $api.mediatailor = Paws->service('MediaTailor'); | ||
| 34 | my $UpdateSourceLocationResponse = $api . mediatailor->UpdateSourceLocation( | ||
| 35 | HttpConfiguration => { | ||
| 36 | BaseUrl => 'My__string', | ||
| 37 | |||
| 38 | }, | ||
| 39 | SourceLocationName => 'My__string', | ||
| 40 | AccessConfiguration => { | ||
| 41 | AccessType => | ||
| 42 | 'S3_SIGV4', # values: S3_SIGV4, SECRETS_MANAGER_ACCESS_TOKEN; OPTIONAL | ||
| 43 | SecretsManagerAccessTokenConfiguration => { | ||
| 44 | HeaderName => 'My__string', | ||
| 45 | SecretArn => 'My__string', | ||
| 46 | SecretStringKey => 'My__string', | ||
| 47 | }, # OPTIONAL | ||
| 48 | }, # OPTIONAL | ||
| 49 | DefaultSegmentDeliveryConfiguration => { BaseUrl => 'My__string', } | ||
| 50 | , # OPTIONAL | ||
| 51 | ); | ||
| 52 | |||
| 53 | # Results: | ||
| 54 | my $AccessConfiguration = | ||
| 55 | $UpdateSourceLocationResponse->AccessConfiguration; | ||
| 56 | my $Arn = $UpdateSourceLocationResponse->Arn; | ||
| 57 | my $CreationTime = $UpdateSourceLocationResponse->CreationTime; | ||
| 58 | my $DefaultSegmentDeliveryConfiguration = | ||
| 59 | $UpdateSourceLocationResponse->DefaultSegmentDeliveryConfiguration; | ||
| 60 | my $HttpConfiguration = $UpdateSourceLocationResponse->HttpConfiguration; | ||
| 61 | my $LastModifiedTime = $UpdateSourceLocationResponse->LastModifiedTime; | ||
| 62 | my $SourceLocationName = $UpdateSourceLocationResponse->SourceLocationName; | ||
| 63 | my $Tags = $UpdateSourceLocationResponse->Tags; | ||
| 64 | |||
| 65 | # Returns a L<Paws::MediaTailor::UpdateSourceLocationResponse> object. | ||
| 66 | |||
| 67 | 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. | ||
| 68 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.mediatailor/UpdateSourceLocation> | ||
| 69 | |||
| 70 | =head1 ATTRIBUTES | ||
| 71 | |||
| 72 | |||
| 73 | =head2 AccessConfiguration => L<Paws::MediaTailor::AccessConfiguration> | ||
| 74 | |||
| 75 | Access configuration parameters. Configures the type of authentication | ||
| 76 | used to access content from your source location. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 DefaultSegmentDeliveryConfiguration => L<Paws::MediaTailor::DefaultSegmentDeliveryConfiguration> | ||
| 81 | |||
| 82 | The optional configuration for the host server that serves segments. | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | =head2 B<REQUIRED> HttpConfiguration => L<Paws::MediaTailor::HttpConfiguration> | ||
| 87 | |||
| 88 | The HTTP configuration for the source location. | ||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | =head2 B<REQUIRED> SourceLocationName => Str | ||
| 93 | |||
| 94 | The identifier for the source location you are working on. | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head1 SEE ALSO | ||
| 100 | |||
| 101 | This class forms part of L<Paws>, documenting arguments for method UpdateSourceLocation in L<Paws::MediaTailor> | ||
| 102 | |||
| 103 | =head1 BUGS and CONTRIBUTIONS | ||
| 104 | |||
| 105 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 106 | |||
| 107 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 108 | |||
| 109 | =cut | ||
| 110 |