Paws::MediaLive::CreateInput - Arguments for method CreateInput on Paws::MediaLive
This class represents the parameters used for calling the method CreateInput on the AWS Elemental MediaLive service. Use the attributes of this class as arguments to method CreateInput.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateInput.
my $medialive = Paws->service('MediaLive'); my $CreateInputResponse = $medialive->CreateInput( Destinations => [ { StreamName => 'My__string', # OPTIONAL }, ... ], # OPTIONAL InputSecurityGroups => [ 'My__string', ... # OPTIONAL ], # OPTIONAL MediaConnectFlows => [ { FlowArn => 'My__string', # OPTIONAL }, ... ], # OPTIONAL Name => 'My__string', # OPTIONAL RequestId => 'My__string', # OPTIONAL RoleArn => 'My__string', # OPTIONAL Sources => [ { PasswordParam => 'My__string', # OPTIONAL Url => 'My__string', # OPTIONAL Username => 'My__string', # OPTIONAL }, ... ], # OPTIONAL Tags => { 'My__string' => 'My__string', # key: OPTIONAL, value: OPTIONAL }, # OPTIONAL Type => 'UDP_PUSH', # OPTIONAL Vpc => { SubnetIds => [ 'My__string', ... # OPTIONAL ], SecurityGroupIds => [ 'My__string', ... # OPTIONAL ], }, # OPTIONAL ); # Results: my $Destinations = $CreateInputResponse->Destinations; my $InputSecurityGroups = $CreateInputResponse->InputSecurityGroups; my $MediaConnectFlows = $CreateInputResponse->MediaConnectFlows; my $Name = $CreateInputResponse->Name; my $RequestId = $CreateInputResponse->RequestId; my $RoleArn = $CreateInputResponse->RoleArn; my $Sources = $CreateInputResponse->Sources; my $Tags = $CreateInputResponse->Tags; my $Type = $CreateInputResponse->Type; my $Vpc = $CreateInputResponse->Vpc; # Returns a L<Paws::MediaLive::CreateInputResponse> object.
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/medialive/CreateInput
Destination settings for PUSH type inputs.
A list of security groups referenced by IDs to attach to the input.
A list of the MediaConnect Flows that you want to use in this input. You can specify as few as one Flow and presently, as many as two. The only requirement is when you have more than one is that each Flow is in a separate Availability Zone as this ensures your EML input is redundant to AZ issues.
Name of the input.
Unique identifier of the request to ensure the request is handled exactly once in case of retries.
The Amazon Resource Name (ARN) of the role this input assumes during and after creation.
The source URLs for a PULL-type input. Every PULL type input needs exactly two source URLs for redundancy. Only specify sources for PULL type Inputs. Leave Destinations empty.
A collection of key-value pairs.
Valid values are: "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT"
"UDP_PUSH"
"RTP_PUSH"
"RTMP_PUSH"
"RTMP_PULL"
"URL_PULL"
"MP4_FILE"
"MEDIACONNECT"
This class forms part of Paws, documenting arguments for method CreateInput in Paws::MediaLive
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.