« blib/lib/Paws/MediaLive/UpdateChannelResultModel.pm
↑ Summary
blib/lib/Paws/MediaLive/UpdateInputDevice.pm »
| 1 | |||
| 2 | package Paws::MediaLive::UpdateInput; | ||
| 3 | use Moose; | ||
| 4 | has Destinations => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::InputDestinationRequest]', traits => ['NameInRequest'], request_name => 'destinations'); | ||
| 5 | has InputDevices => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::InputDeviceRequest]', traits => ['NameInRequest'], request_name => 'inputDevices'); | ||
| 6 | has InputSecurityGroups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'inputSecurityGroups'); | ||
| 7 | has MediaConnectFlows => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::MediaConnectFlowRequest]', traits => ['NameInRequest'], request_name => 'mediaConnectFlows'); | ||
| 8 | has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name'); | ||
| 9 | has RoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'roleArn'); | ||
| 10 | has Sources => (is => 'ro', isa => 'ArrayRef[Paws::MediaLive::InputSourceRequest]', traits => ['NameInRequest'], request_name => 'sources'); | ||
| 11 | |||
| 12 | use MooseX::ClassAttribute; | ||
| 13 | |||
| 14 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateInput'); | ||
| 15 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/prod/inputs/{inputId}'); | ||
| 16 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT'); | ||
| 17 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MediaLive::UpdateInputResponse'); | ||
| 18 | 1; | ||
| 19 | |||
| 20 | ### main pod documentation begin ### | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | Paws::MediaLive::UpdateInput - Arguments for method UpdateInput on L<Paws::MediaLive> | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | This class represents the parameters used for calling the method UpdateInput on the | ||
| 29 | L<AWS Elemental MediaLive|Paws::MediaLive> service. Use the attributes of this class | ||
| 30 | as arguments to method UpdateInput. | ||
| 31 | |||
| 32 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateInput. | ||
| 33 | |||
| 34 | =head1 SYNOPSIS | ||
| 35 | |||
| 36 | my $medialive = Paws->service('MediaLive'); | ||
| 37 | my $UpdateInputResponse = $medialive->UpdateInput( | ||
| 38 | Destinations => [ | ||
| 39 | { | ||
| 40 | StreamName => 'My__string', # OPTIONAL | ||
| 41 | }, | ||
| 42 | ... | ||
| 43 | ], # OPTIONAL | ||
| 44 | InputDevices => [ | ||
| 45 | { | ||
| 46 | Id => 'My__string', # OPTIONAL | ||
| 47 | }, | ||
| 48 | ... | ||
| 49 | ], # OPTIONAL | ||
| 50 | InputSecurityGroups => [ | ||
| 51 | 'My__string', ... # OPTIONAL | ||
| 52 | ], # OPTIONAL | ||
| 53 | MediaConnectFlows => [ | ||
| 54 | { | ||
| 55 | FlowArn => 'My__string', # OPTIONAL | ||
| 56 | }, | ||
| 57 | ... | ||
| 58 | ], # OPTIONAL | ||
| 59 | Name => 'My__string', # OPTIONAL | ||
| 60 | RoleArn => 'My__string', # OPTIONAL | ||
| 61 | Sources => [ | ||
| 62 | { | ||
| 63 | PasswordParam => 'My__string', # OPTIONAL | ||
| 64 | Url => 'My__string', # OPTIONAL | ||
| 65 | Username => 'My__string', # OPTIONAL | ||
| 66 | }, | ||
| 67 | ... | ||
| 68 | ], # OPTIONAL | ||
| 69 | ); | ||
| 70 | |||
| 71 | # Results: | ||
| 72 | my $Input = $UpdateInputResponse->Input; | ||
| 73 | |||
| 74 | # Returns a L<Paws::MediaLive::UpdateInputResponse> object. | ||
| 75 | |||
| 76 | 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. | ||
| 77 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/medialive/UpdateInput> | ||
| 78 | |||
| 79 | =head1 ATTRIBUTES | ||
| 80 | |||
| 81 | |||
| 82 | =head2 Destinations => ArrayRef[L<Paws::MediaLive::InputDestinationRequest>] | ||
| 83 | |||
| 84 | Destination settings for PUSH type inputs. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head2 InputDevices => ArrayRef[L<Paws::MediaLive::InputDeviceRequest>] | ||
| 89 | |||
| 90 | Settings for the devices. | ||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | =head2 InputSecurityGroups => ArrayRef[Str|Undef] | ||
| 95 | |||
| 96 | A list of security groups referenced by IDs to attach to the input. | ||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | =head2 MediaConnectFlows => ArrayRef[L<Paws::MediaLive::MediaConnectFlowRequest>] | ||
| 101 | |||
| 102 | A list of the MediaConnect Flow ARNs that you want to use as the source | ||
| 103 | of the input. You can specify as few as one Flow and presently, as many | ||
| 104 | as two. The only requirement is when you have more than one is that | ||
| 105 | each Flow is in a separate Availability Zone as this ensures your EML | ||
| 106 | input is redundant to AZ issues. | ||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | =head2 Name => Str | ||
| 111 | |||
| 112 | Name of the input. | ||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | =head2 RoleArn => Str | ||
| 117 | |||
| 118 | The Amazon Resource Name (ARN) of the role this input assumes during | ||
| 119 | and after creation. | ||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | =head2 Sources => ArrayRef[L<Paws::MediaLive::InputSourceRequest>] | ||
| 124 | |||
| 125 | The source URLs for a PULL-type input. Every PULL type input needs | ||
| 126 | exactly two source URLs for redundancy. Only specify sources for PULL | ||
| 127 | type Inputs. Leave Destinations empty. | ||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | =head1 SEE ALSO | ||
| 133 | |||
| 134 | This class forms part of L<Paws>, documenting arguments for method UpdateInput in L<Paws::MediaLive> | ||
| 135 | |||
| 136 | =head1 BUGS and CONTRIBUTIONS | ||
| 137 | |||
| 138 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 139 | |||
| 140 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 141 | |||
| 142 | =cut | ||
| 143 |