All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.mediaconnect.AWSMediaConnect Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS MediaConnect module holds the client classes that are used for communicating with AWS MediaConnect Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.mediaconnect;

import javax.annotation.Generated;

import com.amazonaws.*;
import com.amazonaws.regions.*;

import com.amazonaws.services.mediaconnect.model.*;

/**
 * Interface for accessing AWS MediaConnect.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.mediaconnect.AbstractAWSMediaConnect} instead. *

*

* API for AWS Elemental MediaConnect */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSMediaConnect { /** * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata * (such as supported regions) of the service. * * @see RegionUtils#getRegionsForService(String) */ String ENDPOINT_PREFIX = "mediaconnect"; /** * Adds outputs to an existing flow. You can create up to 20 outputs per flow. * * @param addFlowOutputsRequest * A request to add outputs to the specified flow. * @return Result of the AddFlowOutputs operation returned by the service. * @throws AddFlowOutputs420Exception * AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number * of allowed outputs (20). For more information, contact AWS Customer Support. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.AddFlowOutputs * @see AWS * API Documentation */ AddFlowOutputsResult addFlowOutputs(AddFlowOutputsRequest addFlowOutputsRequest); /** * Creates a new flow. The request must include one source. The request optionally can include outputs (up to 20) * and entitlements (up to 50). * * @param createFlowRequest * Creates a new flow. The request must include one source. The request optionally can include outputs (up to * 20) and entitlements (up to 50). * @return Result of the CreateFlow operation returned by the service. * @throws CreateFlow420Exception * Your account already contains the maximum number of 20 flows per account, per Region. For more * information, contact AWS Customer Support. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.CreateFlow * @see AWS API * Documentation */ CreateFlowResult createFlow(CreateFlowRequest createFlowRequest); /** * Deletes a flow. Before you can delete a flow, you must stop the flow. * * @param deleteFlowRequest * @return Result of the DeleteFlow operation returned by the service. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.DeleteFlow * @see AWS API * Documentation */ DeleteFlowResult deleteFlow(DeleteFlowRequest deleteFlowRequest); /** * 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. * * @param describeFlowRequest * @return Result of the DescribeFlow operation returned by the service. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.DescribeFlow * @see AWS API * Documentation */ DescribeFlowResult describeFlow(DescribeFlowRequest describeFlowRequest); /** * Grants entitlements to an existing flow. * * @param grantFlowEntitlementsRequest * A request to grant entitlements on a flow. * @return Result of the GrantFlowEntitlements operation returned by the service. * @throws GrantFlowEntitlements420Exception * AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number * of allowed entitlements (50). For more information, contact AWS Customer Support. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.GrantFlowEntitlements * @see AWS API Documentation */ GrantFlowEntitlementsResult grantFlowEntitlements(GrantFlowEntitlementsRequest grantFlowEntitlementsRequest); /** * Displays a list of all entitlements that have been granted to this account. This request returns 20 results per * page. * * @param listEntitlementsRequest * @return Result of the ListEntitlements operation returned by the service. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @sample AWSMediaConnect.ListEntitlements * @see AWS * API Documentation */ ListEntitlementsResult listEntitlements(ListEntitlementsRequest listEntitlementsRequest); /** * Displays a list of flows that are associated with this account. This request returns a paginated result. * * @param listFlowsRequest * @return Result of the ListFlows operation returned by the service. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @sample AWSMediaConnect.ListFlows * @see AWS API * Documentation */ ListFlowsResult listFlows(ListFlowsRequest listFlowsRequest); /** * 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. * * @param removeFlowOutputRequest * @return Result of the RemoveFlowOutput operation returned by the service. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.RemoveFlowOutput * @see AWS * API Documentation */ RemoveFlowOutputResult removeFlowOutput(RemoveFlowOutputRequest removeFlowOutputRequest); /** * Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the * subscriber and the associated output is removed. * * @param revokeFlowEntitlementRequest * @return Result of the RevokeFlowEntitlement operation returned by the service. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.RevokeFlowEntitlement * @see AWS API Documentation */ RevokeFlowEntitlementResult revokeFlowEntitlement(RevokeFlowEntitlementRequest revokeFlowEntitlementRequest); /** * Starts a flow. * * @param startFlowRequest * @return Result of the StartFlow operation returned by the service. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.StartFlow * @see AWS API * Documentation */ StartFlowResult startFlow(StartFlowRequest startFlowRequest); /** * Stops a flow. * * @param stopFlowRequest * @return Result of the StopFlow operation returned by the service. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.StopFlow * @see AWS API * Documentation */ StopFlowResult stopFlow(StopFlowRequest stopFlowRequest); /** * 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. * * @param updateFlowEntitlementRequest * The entitlement fields that you want to update. * @return Result of the UpdateFlowEntitlement operation returned by the service. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.UpdateFlowEntitlement * @see AWS API Documentation */ UpdateFlowEntitlementResult updateFlowEntitlement(UpdateFlowEntitlementRequest updateFlowEntitlementRequest); /** * Updates an existing flow output. * * @param updateFlowOutputRequest * The fields that you want to update in the output. * @return Result of the UpdateFlowOutput operation returned by the service. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.UpdateFlowOutput * @see AWS * API Documentation */ UpdateFlowOutputResult updateFlowOutput(UpdateFlowOutputRequest updateFlowOutputRequest); /** * Updates the source of a flow. * * @param updateFlowSourceRequest * A request to update the source of a flow. * @return Result of the UpdateFlowSource operation returned by the service. * @throws BadRequestException * The request that you submitted is not valid. * @throws InternalServerErrorException * AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition. * @throws ForbiddenException * You don't have the required permissions to perform this operation. * @throws NotFoundException * AWS Elemental MediaConnect did not find the resource that you specified in the request. * @throws ServiceUnavailableException * AWS Elemental MediaConnect is currently unavailable. Try again later. * @throws TooManyRequestsException * You have exceeded the service request rate limit for your AWS Elemental MediaConnect account. * @sample AWSMediaConnect.UpdateFlowSource * @see AWS * API Documentation */ UpdateFlowSourceResult updateFlowSource(UpdateFlowSourceRequest updateFlowSourceRequest); /** * Shuts down this client object, releasing any resources that might be held open. This is an optional method, and * callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client * has been shutdown, it should not be used to make any more requests. */ void shutdown(); /** * Returns additional metadata for a previously executed successful request, typically used for debugging issues * where a service isn't acting as expected. This data isn't considered part of the result data returned by an * operation, so it's available through this separate, diagnostic interface. *

* Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic * information for an executed request, you should use this method to retrieve it as soon as possible after * executing a request. * * @param request * The originally executed request. * * @return The response metadata for the specified request, or null if none is available. */ ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy