@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSMediaConnectClient extends AmazonWebServiceClient implements AWSMediaConnect
API for AWS Elemental MediaConnect
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSMediaConnectClientBuilder builder()
public AddFlowMediaStreamsResult addFlowMediaStreams(AddFlowMediaStreamsRequest request)
addFlowMediaStreams
in interface AWSMediaConnect
addFlowMediaStreamsRequest
- A request to add media streams to the flow.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public AddFlowOutputsResult addFlowOutputs(AddFlowOutputsRequest request)
addFlowOutputs
in interface AWSMediaConnect
addFlowOutputsRequest
- A request to add outputs to the specified flow.AddFlowOutputs420Exception
- AWS Elemental MediaConnect can't complete this request because this flow already has the maximum number
of allowed outputs (50). For more information, contact AWS Customer Support.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public AddFlowSourcesResult addFlowSources(AddFlowSourcesRequest request)
addFlowSources
in interface AWSMediaConnect
addFlowSourcesRequest
- A request to add sources to the flow.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public AddFlowVpcInterfacesResult addFlowVpcInterfaces(AddFlowVpcInterfacesRequest request)
addFlowVpcInterfaces
in interface AWSMediaConnect
addFlowVpcInterfacesRequest
- A request to add VPC interfaces to the flow.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public CreateFlowResult createFlow(CreateFlowRequest request)
createFlow
in interface AWSMediaConnect
createFlowRequest
- Creates a new flow. The request must include one source. The request optionally can include outputs (up to
50) and entitlements (up to 50).CreateFlow420Exception
- Your account already contains the maximum number of 20 flows per account, per Region. For more
information, contact AWS Customer Support.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public DeleteFlowResult deleteFlow(DeleteFlowRequest request)
deleteFlow
in interface AWSMediaConnect
deleteFlowRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public DescribeFlowResult describeFlow(DescribeFlowRequest request)
describeFlow
in interface AWSMediaConnect
describeFlowRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public DescribeOfferingResult describeOffering(DescribeOfferingRequest request)
describeOffering
in interface AWSMediaConnect
describeOfferingRequest
- NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.public DescribeReservationResult describeReservation(DescribeReservationRequest request)
describeReservation
in interface AWSMediaConnect
describeReservationRequest
- NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.public GrantFlowEntitlementsResult grantFlowEntitlements(GrantFlowEntitlementsRequest request)
grantFlowEntitlements
in interface AWSMediaConnect
grantFlowEntitlementsRequest
- A request to grant entitlements on a flow.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.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public ListEntitlementsResult listEntitlements(ListEntitlementsRequest request)
listEntitlements
in interface AWSMediaConnect
listEntitlementsRequest
- ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.public ListFlowsResult listFlows(ListFlowsRequest request)
listFlows
in interface AWSMediaConnect
listFlowsRequest
- ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.public ListOfferingsResult listOfferings(ListOfferingsRequest request)
listOfferings
in interface AWSMediaConnect
listOfferingsRequest
- ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.public ListReservationsResult listReservations(ListReservationsRequest request)
listReservations
in interface AWSMediaConnect
listReservationsRequest
- ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
listTagsForResource
in interface AWSMediaConnect
listTagsForResourceRequest
- NotFoundException
- The requested resource was not foundBadRequestException
- The client performed an invalid requestInternalServerErrorException
- Internal service errorpublic PurchaseOfferingResult purchaseOffering(PurchaseOfferingRequest request)
purchaseOffering
in interface AWSMediaConnect
purchaseOfferingRequest
- A request to purchase a offering.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public RemoveFlowMediaStreamResult removeFlowMediaStream(RemoveFlowMediaStreamRequest request)
removeFlowMediaStream
in interface AWSMediaConnect
removeFlowMediaStreamRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public RemoveFlowOutputResult removeFlowOutput(RemoveFlowOutputRequest request)
removeFlowOutput
in interface AWSMediaConnect
removeFlowOutputRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public RemoveFlowSourceResult removeFlowSource(RemoveFlowSourceRequest request)
removeFlowSource
in interface AWSMediaConnect
removeFlowSourceRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public RemoveFlowVpcInterfaceResult removeFlowVpcInterface(RemoveFlowVpcInterfaceRequest request)
removeFlowVpcInterface
in interface AWSMediaConnect
removeFlowVpcInterfaceRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public RevokeFlowEntitlementResult revokeFlowEntitlement(RevokeFlowEntitlementRequest request)
revokeFlowEntitlement
in interface AWSMediaConnect
revokeFlowEntitlementRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public StartFlowResult startFlow(StartFlowRequest request)
startFlow
in interface AWSMediaConnect
startFlowRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public StopFlowResult stopFlow(StopFlowRequest request)
stopFlow
in interface AWSMediaConnect
stopFlowRequest
- BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public TagResourceResult tagResource(TagResourceRequest request)
tagResource
in interface AWSMediaConnect
tagResourceRequest
- The tags to add to the resource. A tag is an array of key-value pairs. Tag keys can have a maximum
character length of 128 characters, and tag values can have a maximum length of 256 characters.NotFoundException
- The requested resource was not foundBadRequestException
- The client performed an invalid requestInternalServerErrorException
- Internal service errorpublic UntagResourceResult untagResource(UntagResourceRequest request)
untagResource
in interface AWSMediaConnect
untagResourceRequest
- NotFoundException
- The requested resource was not foundBadRequestException
- The client performed an invalid requestInternalServerErrorException
- Internal service errorpublic UpdateFlowResult updateFlow(UpdateFlowRequest request)
updateFlow
in interface AWSMediaConnect
updateFlowRequest
- A request to update flow.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public UpdateFlowEntitlementResult updateFlowEntitlement(UpdateFlowEntitlementRequest request)
updateFlowEntitlement
in interface AWSMediaConnect
updateFlowEntitlementRequest
- The entitlement fields that you want to update.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public UpdateFlowMediaStreamResult updateFlowMediaStream(UpdateFlowMediaStreamRequest request)
updateFlowMediaStream
in interface AWSMediaConnect
updateFlowMediaStreamRequest
- The fields that you want to update in the media stream.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public UpdateFlowOutputResult updateFlowOutput(UpdateFlowOutputRequest request)
updateFlowOutput
in interface AWSMediaConnect
updateFlowOutputRequest
- The fields that you want to update in the output.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public UpdateFlowSourceResult updateFlowSource(UpdateFlowSourceRequest request)
updateFlowSource
in interface AWSMediaConnect
updateFlowSourceRequest
- A request to update the source of a flow.BadRequestException
- The request that you submitted is not valid.InternalServerErrorException
- AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.ForbiddenException
- You don't have the required permissions to perform this operation.NotFoundException
- AWS Elemental MediaConnect did not find the resource that you specified in the request.ServiceUnavailableException
- AWS Elemental MediaConnect is currently unavailable. Try again later.TooManyRequestsException
- You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata
in interface AWSMediaConnect
request
- The originally executed requestpublic AWSMediaConnectWaiters waiters()
waiters
in interface AWSMediaConnect
public void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSMediaConnect
shutdown
in class AmazonWebServiceClient