NAME

Paws::MediaConnect - Perl Interface to AWS AWS MediaConnect

SYNOPSIS

  use Paws;

  my $obj = Paws->service('MediaConnect');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

DESCRIPTION

API for AWS Elemental MediaConnect

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14

METHODS

AddFlowOutputs

FlowArn => Str
Outputs => ArrayRef[Paws::MediaConnect::AddOutputRequest]

Each argument is described in detail in: Paws::MediaConnect::AddFlowOutputs

Returns: a Paws::MediaConnect::AddFlowOutputsResponse instance

Adds outputs to an existing flow. You can create up to 20 outputs per flow.

CreateFlow

Name => Str
Source => Paws::MediaConnect::SetSourceRequest
[AvailabilityZone => Str]
[Entitlements => ArrayRef[Paws::MediaConnect::GrantEntitlementRequest]]
[Outputs => ArrayRef[Paws::MediaConnect::AddOutputRequest]]

Each argument is described in detail in: Paws::MediaConnect::CreateFlow

Returns: a Paws::MediaConnect::CreateFlowResponse instance

Creates a new flow. The request must include one source. The request optionally can include outputs (up to 20) and entitlements (up to 50).

DeleteFlow

FlowArn => Str

Each argument is described in detail in: Paws::MediaConnect::DeleteFlow

Returns: a Paws::MediaConnect::DeleteFlowResponse instance

Deletes a flow. Before you can delete a flow, you must stop the flow.

DescribeFlow

FlowArn => Str

Each argument is described in detail in: Paws::MediaConnect::DescribeFlow

Returns: a Paws::MediaConnect::DescribeFlowResponse instance

Displays the details of a flow. The response includes the flow ARN, name, and Availability Zone, as well as details about the source, outputs, and entitlements.

GrantFlowEntitlements

Entitlements => ArrayRef[Paws::MediaConnect::GrantEntitlementRequest]
FlowArn => Str

Each argument is described in detail in: Paws::MediaConnect::GrantFlowEntitlements

Returns: a Paws::MediaConnect::GrantFlowEntitlementsResponse instance

Grants entitlements to an existing flow.

ListEntitlements

[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::MediaConnect::ListEntitlements

Returns: a Paws::MediaConnect::ListEntitlementsResponse instance

Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.

ListFlows

[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::MediaConnect::ListFlows

Returns: a Paws::MediaConnect::ListFlowsResponse instance

Displays a list of flows that are associated with this account. This request returns a paginated result.

ListTagsForResource

ResourceArn => Str

Each argument is described in detail in: Paws::MediaConnect::ListTagsForResource

Returns: a Paws::MediaConnect::ListTagsForResourceResponse instance

List all tags on an AWS Elemental MediaConnect resource

RemoveFlowOutput

FlowArn => Str
OutputArn => Str

Each argument is described in detail in: Paws::MediaConnect::RemoveFlowOutput

Returns: a Paws::MediaConnect::RemoveFlowOutputResponse instance

Removes an output from an existing flow. This request can be made only on an output that does not have an entitlement associated with it. If the output has an entitlement, you must revoke the entitlement instead. When an entitlement is revoked from a flow, the service automatically removes the associated output.

RevokeFlowEntitlement

EntitlementArn => Str
FlowArn => Str

Each argument is described in detail in: Paws::MediaConnect::RevokeFlowEntitlement

Returns: a Paws::MediaConnect::RevokeFlowEntitlementResponse instance

Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.

StartFlow

FlowArn => Str

Each argument is described in detail in: Paws::MediaConnect::StartFlow

Returns: a Paws::MediaConnect::StartFlowResponse instance

Starts a flow.

StopFlow

FlowArn => Str

Each argument is described in detail in: Paws::MediaConnect::StopFlow

Returns: a Paws::MediaConnect::StopFlowResponse instance

Stops a flow.

TagResource

ResourceArn => Str
Tags => Paws::MediaConnect::__mapOf__string

Each argument is described in detail in: Paws::MediaConnect::TagResource

Returns: nothing

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are deleted as well.

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::MediaConnect::UntagResource

Returns: nothing

Deletes specified tags from a resource.

UpdateFlowEntitlement

EntitlementArn => Str
FlowArn => Str
[Description => Str]
[Encryption => Paws::MediaConnect::UpdateEncryption]
[Subscribers => ArrayRef[Str|Undef]]

Each argument is described in detail in: Paws::MediaConnect::UpdateFlowEntitlement

Returns: a Paws::MediaConnect::UpdateFlowEntitlementResponse instance

You can change an entitlement's description, subscribers, and encryption. If you change the subscribers, the service will remove the outputs that are are used by the subscribers that are removed.

UpdateFlowOutput

FlowArn => Str
OutputArn => Str
[Description => Str]
[Destination => Str]
[Encryption => Paws::MediaConnect::UpdateEncryption]
[MaxLatency => Int]
[Port => Int]
[Protocol => Str]
[SmoothingLatency => Int]
[StreamId => Str]

Each argument is described in detail in: Paws::MediaConnect::UpdateFlowOutput

Returns: a Paws::MediaConnect::UpdateFlowOutputResponse instance

Updates an existing flow output.

UpdateFlowSource

FlowArn => Str
SourceArn => Str
[Decryption => Paws::MediaConnect::UpdateEncryption]
[Description => Str]
[EntitlementArn => Str]
[IngestPort => Int]
[MaxBitrate => Int]
[MaxLatency => Int]
[Protocol => Str]
[StreamId => Str]
[WhitelistCidr => Str]

Each argument is described in detail in: Paws::MediaConnect::UpdateFlowSource

Returns: a Paws::MediaConnect::UpdateFlowSourceResponse instance

Updates the source of a flow.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

ListAllEntitlements(sub { },[MaxResults => Int, NextToken => Str])

ListAllEntitlements([MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - Entitlements, passing the object as the first parameter, and the string 'Entitlements' as the second parameter 

If not, it will return a a Paws::MediaConnect::ListEntitlementsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

ListAllFlows(sub { },[MaxResults => Int, NextToken => Str])

ListAllFlows([MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - Flows, passing the object as the first parameter, and the string 'Flows' as the second parameter 

If not, it will return a a Paws::MediaConnect::ListFlowsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

SEE ALSO

This service class forms part of Paws

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