The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::MediaLive::CreateInput - Arguments for method CreateInput on Paws::MediaLive

DESCRIPTION

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.

SYNOPSIS

    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

ATTRIBUTES

Destinations => ArrayRef[Paws::MediaLive::InputDestinationRequest]

Destination settings for PUSH type inputs.

InputSecurityGroups => ArrayRef[Str|Undef]

A list of security groups referenced by IDs to attach to the input.

MediaConnectFlows => ArrayRef[Paws::MediaLive::MediaConnectFlowRequest]

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 => Str

Name of the input.

RequestId => Str

Unique identifier of the request to ensure the request is handled exactly once in case of retries.

RoleArn => Str

The Amazon Resource Name (ARN) of the role this input assumes during and after creation.

Sources => ArrayRef[Paws::MediaLive::InputSourceRequest]

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.

Tags => Paws::MediaLive::Tags

A collection of key-value pairs.

Type => Str

Valid values are: "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT"

Vpc => Paws::MediaLive::InputVpcRequest

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateInput in Paws::MediaLive

BUGS and CONTRIBUTIONS

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