Interface MediaConnectAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
API for AWS Elemental MediaConnect-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionaddBridgeOutputs(Consumer<AddBridgeOutputsRequest.Builder> addBridgeOutputsRequest) Adds outputs to an existing bridge.addBridgeOutputs(AddBridgeOutputsRequest addBridgeOutputsRequest) Adds outputs to an existing bridge.addBridgeSources(Consumer<AddBridgeSourcesRequest.Builder> addBridgeSourcesRequest) Adds sources to an existing bridge.addBridgeSources(AddBridgeSourcesRequest addBridgeSourcesRequest) Adds sources to an existing bridge.addFlowMediaStreams(Consumer<AddFlowMediaStreamsRequest.Builder> addFlowMediaStreamsRequest) Adds media streams to an existing flow.addFlowMediaStreams(AddFlowMediaStreamsRequest addFlowMediaStreamsRequest) Adds media streams to an existing flow.default CompletableFuture<AddFlowOutputsResponse> addFlowOutputs(Consumer<AddFlowOutputsRequest.Builder> addFlowOutputsRequest) Adds outputs to an existing flow.default CompletableFuture<AddFlowOutputsResponse> addFlowOutputs(AddFlowOutputsRequest addFlowOutputsRequest) Adds outputs to an existing flow.default CompletableFuture<AddFlowSourcesResponse> addFlowSources(Consumer<AddFlowSourcesRequest.Builder> addFlowSourcesRequest) Adds Sources to flowdefault CompletableFuture<AddFlowSourcesResponse> addFlowSources(AddFlowSourcesRequest addFlowSourcesRequest) Adds Sources to flowaddFlowVpcInterfaces(Consumer<AddFlowVpcInterfacesRequest.Builder> addFlowVpcInterfacesRequest) Adds VPC interfaces to flowaddFlowVpcInterfaces(AddFlowVpcInterfacesRequest addFlowVpcInterfacesRequest) Adds VPC interfaces to flowbuilder()Create a builder that can be used to configure and create aMediaConnectAsyncClient.static MediaConnectAsyncClientcreate()Create aMediaConnectAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateBridgeResponse> createBridge(Consumer<CreateBridgeRequest.Builder> createBridgeRequest) Creates a new bridge.default CompletableFuture<CreateBridgeResponse> createBridge(CreateBridgeRequest createBridgeRequest) Creates a new bridge.default CompletableFuture<CreateFlowResponse> createFlow(Consumer<CreateFlowRequest.Builder> createFlowRequest) Creates a new flow.default CompletableFuture<CreateFlowResponse> createFlow(CreateFlowRequest createFlowRequest) Creates a new flow.default CompletableFuture<CreateGatewayResponse> createGateway(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) Creates a new gateway.default CompletableFuture<CreateGatewayResponse> createGateway(CreateGatewayRequest createGatewayRequest) Creates a new gateway.default CompletableFuture<DeleteBridgeResponse> deleteBridge(Consumer<DeleteBridgeRequest.Builder> deleteBridgeRequest) Deletes a bridge.default CompletableFuture<DeleteBridgeResponse> deleteBridge(DeleteBridgeRequest deleteBridgeRequest) Deletes a bridge.default CompletableFuture<DeleteFlowResponse> deleteFlow(Consumer<DeleteFlowRequest.Builder> deleteFlowRequest) Deletes a flow.default CompletableFuture<DeleteFlowResponse> deleteFlow(DeleteFlowRequest deleteFlowRequest) Deletes a flow.default CompletableFuture<DeleteGatewayResponse> deleteGateway(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest) Deletes a gateway.default CompletableFuture<DeleteGatewayResponse> deleteGateway(DeleteGatewayRequest deleteGatewayRequest) Deletes a gateway.deregisterGatewayInstance(Consumer<DeregisterGatewayInstanceRequest.Builder> deregisterGatewayInstanceRequest) Deregisters an instance.deregisterGatewayInstance(DeregisterGatewayInstanceRequest deregisterGatewayInstanceRequest) Deregisters an instance.default CompletableFuture<DescribeBridgeResponse> describeBridge(Consumer<DescribeBridgeRequest.Builder> describeBridgeRequest) Displays the details of a bridge.default CompletableFuture<DescribeBridgeResponse> describeBridge(DescribeBridgeRequest describeBridgeRequest) Displays the details of a bridge.default CompletableFuture<DescribeFlowResponse> describeFlow(Consumer<DescribeFlowRequest.Builder> describeFlowRequest) Displays the details of a flow.default CompletableFuture<DescribeFlowResponse> describeFlow(DescribeFlowRequest describeFlowRequest) Displays the details of a flow.describeFlowSourceMetadata(Consumer<DescribeFlowSourceMetadataRequest.Builder> describeFlowSourceMetadataRequest) Displays details of the flow's source stream.describeFlowSourceMetadata(DescribeFlowSourceMetadataRequest describeFlowSourceMetadataRequest) Displays details of the flow's source stream.describeFlowSourceThumbnail(Consumer<DescribeFlowSourceThumbnailRequest.Builder> describeFlowSourceThumbnailRequest) Displays the thumbnail details of a flow's source stream.describeFlowSourceThumbnail(DescribeFlowSourceThumbnailRequest describeFlowSourceThumbnailRequest) Displays the thumbnail details of a flow's source stream.default CompletableFuture<DescribeGatewayResponse> describeGateway(Consumer<DescribeGatewayRequest.Builder> describeGatewayRequest) Displays the details of a gateway.default CompletableFuture<DescribeGatewayResponse> describeGateway(DescribeGatewayRequest describeGatewayRequest) Displays the details of a gateway.describeGatewayInstance(Consumer<DescribeGatewayInstanceRequest.Builder> describeGatewayInstanceRequest) Displays the details of an instance.describeGatewayInstance(DescribeGatewayInstanceRequest describeGatewayInstanceRequest) Displays the details of an instance.describeOffering(Consumer<DescribeOfferingRequest.Builder> describeOfferingRequest) Displays the details of an offering.describeOffering(DescribeOfferingRequest describeOfferingRequest) Displays the details of an offering.describeReservation(Consumer<DescribeReservationRequest.Builder> describeReservationRequest) Displays the details of a reservation.describeReservation(DescribeReservationRequest describeReservationRequest) Displays the details of a reservation.grantFlowEntitlements(Consumer<GrantFlowEntitlementsRequest.Builder> grantFlowEntitlementsRequest) Grants entitlements to an existing flow.grantFlowEntitlements(GrantFlowEntitlementsRequest grantFlowEntitlementsRequest) Grants entitlements to an existing flow.default CompletableFuture<ListBridgesResponse> listBridges(Consumer<ListBridgesRequest.Builder> listBridgesRequest) Displays a list of bridges that are associated with this account and an optionally specified Arn.default CompletableFuture<ListBridgesResponse> listBridges(ListBridgesRequest listBridgesRequest) Displays a list of bridges that are associated with this account and an optionally specified Arn.default ListBridgesPublisherlistBridgesPaginator(Consumer<ListBridgesRequest.Builder> listBridgesRequest) This is a variant oflistBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.default ListBridgesPublisherlistBridgesPaginator(ListBridgesRequest listBridgesRequest) This is a variant oflistBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.Displays a list of all entitlements that have been granted to this account.listEntitlements(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) Displays a list of all entitlements that have been granted to this account.listEntitlements(ListEntitlementsRequest listEntitlementsRequest) Displays a list of all entitlements that have been granted to this account.default ListEntitlementsPublisherThis is a variant oflistEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.default ListEntitlementsPublisherlistEntitlementsPaginator(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) This is a variant oflistEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.default ListEntitlementsPublisherlistEntitlementsPaginator(ListEntitlementsRequest listEntitlementsRequest) This is a variant oflistEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.default CompletableFuture<ListFlowsResponse> Displays a list of flows that are associated with this account.default CompletableFuture<ListFlowsResponse> listFlows(Consumer<ListFlowsRequest.Builder> listFlowsRequest) Displays a list of flows that are associated with this account.default CompletableFuture<ListFlowsResponse> listFlows(ListFlowsRequest listFlowsRequest) Displays a list of flows that are associated with this account.default ListFlowsPublisherThis is a variant oflistFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.default ListFlowsPublisherlistFlowsPaginator(Consumer<ListFlowsRequest.Builder> listFlowsRequest) This is a variant oflistFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.default ListFlowsPublisherlistFlowsPaginator(ListFlowsRequest listFlowsRequest) This is a variant oflistFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.listGatewayInstances(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) Displays a list of instances associated with the AWS account.listGatewayInstances(ListGatewayInstancesRequest listGatewayInstancesRequest) Displays a list of instances associated with the AWS account.default ListGatewayInstancesPublisherlistGatewayInstancesPaginator(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) This is a variant oflistGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.default ListGatewayInstancesPublisherlistGatewayInstancesPaginator(ListGatewayInstancesRequest listGatewayInstancesRequest) This is a variant oflistGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.default CompletableFuture<ListGatewaysResponse> listGateways(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) Displays a list of gateways that are associated with this account.default CompletableFuture<ListGatewaysResponse> listGateways(ListGatewaysRequest listGatewaysRequest) Displays a list of gateways that are associated with this account.default ListGatewaysPublisherlistGatewaysPaginator(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.default ListGatewaysPublisherlistGatewaysPaginator(ListGatewaysRequest listGatewaysRequest) This is a variant oflistGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.default CompletableFuture<ListOfferingsResponse> listOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) Displays a list of all offerings that are available to this account in the current AWS Region.default CompletableFuture<ListOfferingsResponse> listOfferings(ListOfferingsRequest listOfferingsRequest) Displays a list of all offerings that are available to this account in the current AWS Region.default ListOfferingsPublisherlistOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) This is a variant oflistOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.default ListOfferingsPublisherlistOfferingsPaginator(ListOfferingsRequest listOfferingsRequest) This is a variant oflistOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.listReservations(Consumer<ListReservationsRequest.Builder> listReservationsRequest) Displays a list of all reservations that have been purchased by this account in the current AWS Region.listReservations(ListReservationsRequest listReservationsRequest) Displays a list of all reservations that have been purchased by this account in the current AWS Region.default ListReservationsPublisherlistReservationsPaginator(Consumer<ListReservationsRequest.Builder> listReservationsRequest) This is a variant oflistReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.default ListReservationsPublisherlistReservationsPaginator(ListReservationsRequest listReservationsRequest) This is a variant oflistReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags on an AWS Elemental MediaConnect resourcelistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all tags on an AWS Elemental MediaConnect resourcepurchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest) Submits a request to purchase an offering.purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest) Submits a request to purchase an offering.removeBridgeOutput(Consumer<RemoveBridgeOutputRequest.Builder> removeBridgeOutputRequest) Removes an output from a bridge.removeBridgeOutput(RemoveBridgeOutputRequest removeBridgeOutputRequest) Removes an output from a bridge.removeBridgeSource(Consumer<RemoveBridgeSourceRequest.Builder> removeBridgeSourceRequest) Removes a source from a bridge.removeBridgeSource(RemoveBridgeSourceRequest removeBridgeSourceRequest) Removes a source from a bridge.removeFlowMediaStream(Consumer<RemoveFlowMediaStreamRequest.Builder> removeFlowMediaStreamRequest) Removes a media stream from a flow.removeFlowMediaStream(RemoveFlowMediaStreamRequest removeFlowMediaStreamRequest) Removes a media stream from a flow.removeFlowOutput(Consumer<RemoveFlowOutputRequest.Builder> removeFlowOutputRequest) Removes an output from an existing flow.removeFlowOutput(RemoveFlowOutputRequest removeFlowOutputRequest) Removes an output from an existing flow.removeFlowSource(Consumer<RemoveFlowSourceRequest.Builder> removeFlowSourceRequest) Removes a source from an existing flow.removeFlowSource(RemoveFlowSourceRequest removeFlowSourceRequest) Removes a source from an existing flow.removeFlowVpcInterface(Consumer<RemoveFlowVpcInterfaceRequest.Builder> removeFlowVpcInterfaceRequest) Removes a VPC Interface from an existing flow.removeFlowVpcInterface(RemoveFlowVpcInterfaceRequest removeFlowVpcInterfaceRequest) Removes a VPC Interface from an existing flow.revokeFlowEntitlement(Consumer<RevokeFlowEntitlementRequest.Builder> revokeFlowEntitlementRequest) Revokes an entitlement from a flow.revokeFlowEntitlement(RevokeFlowEntitlementRequest revokeFlowEntitlementRequest) Revokes an entitlement from a flow.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StartFlowResponse> startFlow(Consumer<StartFlowRequest.Builder> startFlowRequest) Starts a flow.default CompletableFuture<StartFlowResponse> startFlow(StartFlowRequest startFlowRequest) Starts a flow.default CompletableFuture<StopFlowResponse> stopFlow(Consumer<StopFlowRequest.Builder> stopFlowRequest) Stops a flow.default CompletableFuture<StopFlowResponse> stopFlow(StopFlowRequest stopFlowRequest) Stops a flow.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specified resourceArn.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Associates the specified tags to a resource with the specified resourceArn.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes specified tags from a resource.default CompletableFuture<UpdateBridgeResponse> updateBridge(Consumer<UpdateBridgeRequest.Builder> updateBridgeRequest) Updates the bridgedefault CompletableFuture<UpdateBridgeResponse> updateBridge(UpdateBridgeRequest updateBridgeRequest) Updates the bridgeupdateBridgeOutput(Consumer<UpdateBridgeOutputRequest.Builder> updateBridgeOutputRequest) Updates an existing bridge output.updateBridgeOutput(UpdateBridgeOutputRequest updateBridgeOutputRequest) Updates an existing bridge output.updateBridgeSource(Consumer<UpdateBridgeSourceRequest.Builder> updateBridgeSourceRequest) Updates an existing bridge source.updateBridgeSource(UpdateBridgeSourceRequest updateBridgeSourceRequest) Updates an existing bridge source.updateBridgeState(Consumer<UpdateBridgeStateRequest.Builder> updateBridgeStateRequest) Updates the bridge stateupdateBridgeState(UpdateBridgeStateRequest updateBridgeStateRequest) Updates the bridge statedefault CompletableFuture<UpdateFlowResponse> updateFlow(Consumer<UpdateFlowRequest.Builder> updateFlowRequest) Updates flowdefault CompletableFuture<UpdateFlowResponse> updateFlow(UpdateFlowRequest updateFlowRequest) Updates flowupdateFlowEntitlement(Consumer<UpdateFlowEntitlementRequest.Builder> updateFlowEntitlementRequest) You can change an entitlement's description, subscribers, and encryption.updateFlowEntitlement(UpdateFlowEntitlementRequest updateFlowEntitlementRequest) You can change an entitlement's description, subscribers, and encryption.updateFlowMediaStream(Consumer<UpdateFlowMediaStreamRequest.Builder> updateFlowMediaStreamRequest) Updates an existing media stream.updateFlowMediaStream(UpdateFlowMediaStreamRequest updateFlowMediaStreamRequest) Updates an existing media stream.updateFlowOutput(Consumer<UpdateFlowOutputRequest.Builder> updateFlowOutputRequest) Updates an existing flow output.updateFlowOutput(UpdateFlowOutputRequest updateFlowOutputRequest) Updates an existing flow output.updateFlowSource(Consumer<UpdateFlowSourceRequest.Builder> updateFlowSourceRequest) Updates the source of a flow.updateFlowSource(UpdateFlowSourceRequest updateFlowSourceRequest) Updates the source of a flow.updateGatewayInstance(Consumer<UpdateGatewayInstanceRequest.Builder> updateGatewayInstanceRequest) Updates the configuration of an existing Gateway Instance.updateGatewayInstance(UpdateGatewayInstanceRequest updateGatewayInstanceRequest) Updates the configuration of an existing Gateway Instance.default MediaConnectAsyncWaiterwaiter()Create an instance ofMediaConnectAsyncWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
addBridgeOutputs
default CompletableFuture<AddBridgeOutputsResponse> addBridgeOutputs(AddBridgeOutputsRequest addBridgeOutputsRequest) Adds outputs to an existing bridge.- Parameters:
addBridgeOutputsRequest- A request to add outputs to the specified bridge.- Returns:
- A Java Future containing the result of the AddBridgeOutputs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addBridgeOutputs
default CompletableFuture<AddBridgeOutputsResponse> addBridgeOutputs(Consumer<AddBridgeOutputsRequest.Builder> addBridgeOutputsRequest) Adds outputs to an existing bridge.
This is a convenience which creates an instance of the
AddBridgeOutputsRequest.Builderavoiding the need to create one manually viaAddBridgeOutputsRequest.builder()- Parameters:
addBridgeOutputsRequest- AConsumerthat will call methods onAddBridgeOutputsRequest.Builderto create a request. A request to add outputs to the specified bridge.- Returns:
- A Java Future containing the result of the AddBridgeOutputs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addBridgeSources
default CompletableFuture<AddBridgeSourcesResponse> addBridgeSources(AddBridgeSourcesRequest addBridgeSourcesRequest) Adds sources to an existing bridge.- Parameters:
addBridgeSourcesRequest- A request to add sources to the specified bridge.- Returns:
- A Java Future containing the result of the AddBridgeSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addBridgeSources
default CompletableFuture<AddBridgeSourcesResponse> addBridgeSources(Consumer<AddBridgeSourcesRequest.Builder> addBridgeSourcesRequest) Adds sources to an existing bridge.
This is a convenience which creates an instance of the
AddBridgeSourcesRequest.Builderavoiding the need to create one manually viaAddBridgeSourcesRequest.builder()- Parameters:
addBridgeSourcesRequest- AConsumerthat will call methods onAddBridgeSourcesRequest.Builderto create a request. A request to add sources to the specified bridge.- Returns:
- A Java Future containing the result of the AddBridgeSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addFlowMediaStreams
default CompletableFuture<AddFlowMediaStreamsResponse> addFlowMediaStreams(AddFlowMediaStreamsRequest addFlowMediaStreamsRequest) Adds media streams to an existing flow. After you add a media stream to a flow, you can associate it with a source and/or an output that uses the ST 2110 JPEG XS or CDI protocol.- Parameters:
addFlowMediaStreamsRequest- A request to add media streams to the flow.- Returns:
- A Java Future containing the result of the AddFlowMediaStreams operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addFlowMediaStreams
default CompletableFuture<AddFlowMediaStreamsResponse> addFlowMediaStreams(Consumer<AddFlowMediaStreamsRequest.Builder> addFlowMediaStreamsRequest) Adds media streams to an existing flow. After you add a media stream to a flow, you can associate it with a source and/or an output that uses the ST 2110 JPEG XS or CDI protocol.
This is a convenience which creates an instance of the
AddFlowMediaStreamsRequest.Builderavoiding the need to create one manually viaAddFlowMediaStreamsRequest.builder()- Parameters:
addFlowMediaStreamsRequest- AConsumerthat will call methods onAddFlowMediaStreamsRequest.Builderto create a request. A request to add media streams to the flow.- Returns:
- A Java Future containing the result of the AddFlowMediaStreams operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addFlowOutputs
default CompletableFuture<AddFlowOutputsResponse> addFlowOutputs(AddFlowOutputsRequest addFlowOutputsRequest) Adds outputs to an existing flow. You can create up to 50 outputs per flow.- Parameters:
addFlowOutputsRequest- A request to add outputs to the specified flow.- Returns:
- A Java Future containing the result of the AddFlowOutputs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addFlowOutputs
default CompletableFuture<AddFlowOutputsResponse> addFlowOutputs(Consumer<AddFlowOutputsRequest.Builder> addFlowOutputsRequest) Adds outputs to an existing flow. You can create up to 50 outputs per flow.
This is a convenience which creates an instance of the
AddFlowOutputsRequest.Builderavoiding the need to create one manually viaAddFlowOutputsRequest.builder()- Parameters:
addFlowOutputsRequest- AConsumerthat will call methods onAddFlowOutputsRequest.Builderto create a request. A request to add outputs to the specified flow.- Returns:
- A Java Future containing the result of the AddFlowOutputs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addFlowSources
default CompletableFuture<AddFlowSourcesResponse> addFlowSources(AddFlowSourcesRequest addFlowSourcesRequest) Adds Sources to flow- Parameters:
addFlowSourcesRequest- A request to add sources to the flow.- Returns:
- A Java Future containing the result of the AddFlowSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addFlowSources
default CompletableFuture<AddFlowSourcesResponse> addFlowSources(Consumer<AddFlowSourcesRequest.Builder> addFlowSourcesRequest) Adds Sources to flow
This is a convenience which creates an instance of the
AddFlowSourcesRequest.Builderavoiding the need to create one manually viaAddFlowSourcesRequest.builder()- Parameters:
addFlowSourcesRequest- AConsumerthat will call methods onAddFlowSourcesRequest.Builderto create a request. A request to add sources to the flow.- Returns:
- A Java Future containing the result of the AddFlowSources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addFlowVpcInterfaces
default CompletableFuture<AddFlowVpcInterfacesResponse> addFlowVpcInterfaces(AddFlowVpcInterfacesRequest addFlowVpcInterfacesRequest) Adds VPC interfaces to flow- Parameters:
addFlowVpcInterfacesRequest- A request to add VPC interfaces to the flow.- Returns:
- A Java Future containing the result of the AddFlowVpcInterfaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
addFlowVpcInterfaces
default CompletableFuture<AddFlowVpcInterfacesResponse> addFlowVpcInterfaces(Consumer<AddFlowVpcInterfacesRequest.Builder> addFlowVpcInterfacesRequest) Adds VPC interfaces to flow
This is a convenience which creates an instance of the
AddFlowVpcInterfacesRequest.Builderavoiding the need to create one manually viaAddFlowVpcInterfacesRequest.builder()- Parameters:
addFlowVpcInterfacesRequest- AConsumerthat will call methods onAddFlowVpcInterfacesRequest.Builderto create a request. A request to add VPC interfaces to the flow.- Returns:
- A Java Future containing the result of the AddFlowVpcInterfaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBridge
default CompletableFuture<CreateBridgeResponse> createBridge(CreateBridgeRequest createBridgeRequest) Creates a new bridge. The request must include one source.- Parameters:
createBridgeRequest- Creates a new bridge. The request must include one source.- Returns:
- A Java Future containing the result of the CreateBridge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CreateBridge420Exception Your account already contains the maximum number of bridges 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBridge
default CompletableFuture<CreateBridgeResponse> createBridge(Consumer<CreateBridgeRequest.Builder> createBridgeRequest) Creates a new bridge. The request must include one source.
This is a convenience which creates an instance of the
CreateBridgeRequest.Builderavoiding the need to create one manually viaCreateBridgeRequest.builder()- Parameters:
createBridgeRequest- AConsumerthat will call methods onCreateBridgeRequest.Builderto create a request. Creates a new bridge. The request must include one source.- Returns:
- A Java Future containing the result of the CreateBridge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CreateBridge420Exception Your account already contains the maximum number of bridges 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFlow
Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).- Parameters:
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).- Returns:
- A Java Future containing the result of the CreateFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFlow
default CompletableFuture<CreateFlowResponse> createFlow(Consumer<CreateFlowRequest.Builder> 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).
This is a convenience which creates an instance of the
CreateFlowRequest.Builderavoiding the need to create one manually viaCreateFlowRequest.builder()- Parameters:
createFlowRequest- AConsumerthat will call methods onCreateFlowRequest.Builderto create a request. Creates a new flow. The request must include one source. The request optionally can include outputs (up to 50) and entitlements (up to 50).- Returns:
- A Java Future containing the result of the CreateFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGateway
default CompletableFuture<CreateGatewayResponse> createGateway(CreateGatewayRequest createGatewayRequest) Creates a new gateway. The request must include at least one network (up to 4).- Parameters:
createGatewayRequest- Creates a new gateway. The request must include at least one network (up to 4).- Returns:
- A Java Future containing the result of the CreateGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CreateGateway420Exception Your account already contains the maximum number of gateways 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createGateway
default CompletableFuture<CreateGatewayResponse> createGateway(Consumer<CreateGatewayRequest.Builder> createGatewayRequest) Creates a new gateway. The request must include at least one network (up to 4).
This is a convenience which creates an instance of the
CreateGatewayRequest.Builderavoiding the need to create one manually viaCreateGatewayRequest.builder()- Parameters:
createGatewayRequest- AConsumerthat will call methods onCreateGatewayRequest.Builderto create a request. Creates a new gateway. The request must include at least one network (up to 4).- Returns:
- A Java Future containing the result of the CreateGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- CreateGateway420Exception Your account already contains the maximum number of gateways 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBridge
default CompletableFuture<DeleteBridgeResponse> deleteBridge(DeleteBridgeRequest deleteBridgeRequest) Deletes a bridge. Before you can delete a bridge, you must stop the bridge.- Parameters:
deleteBridgeRequest-- Returns:
- A Java Future containing the result of the DeleteBridge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteBridge
default CompletableFuture<DeleteBridgeResponse> deleteBridge(Consumer<DeleteBridgeRequest.Builder> deleteBridgeRequest) Deletes a bridge. Before you can delete a bridge, you must stop the bridge.
This is a convenience which creates an instance of the
DeleteBridgeRequest.Builderavoiding the need to create one manually viaDeleteBridgeRequest.builder()- Parameters:
deleteBridgeRequest- AConsumerthat will call methods onDeleteBridgeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteBridge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFlow
Deletes a flow. Before you can delete a flow, you must stop the flow.- Parameters:
deleteFlowRequest-- Returns:
- A Java Future containing the result of the DeleteFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFlow
default CompletableFuture<DeleteFlowResponse> deleteFlow(Consumer<DeleteFlowRequest.Builder> deleteFlowRequest) Deletes a flow. Before you can delete a flow, you must stop the flow.
This is a convenience which creates an instance of the
DeleteFlowRequest.Builderavoiding the need to create one manually viaDeleteFlowRequest.builder()- Parameters:
deleteFlowRequest- AConsumerthat will call methods onDeleteFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGateway
default CompletableFuture<DeleteGatewayResponse> deleteGateway(DeleteGatewayRequest deleteGatewayRequest) Deletes a gateway. Before you can delete a gateway, you must deregister its instances and delete its bridges.- Parameters:
deleteGatewayRequest-- Returns:
- A Java Future containing the result of the DeleteGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteGateway
default CompletableFuture<DeleteGatewayResponse> deleteGateway(Consumer<DeleteGatewayRequest.Builder> deleteGatewayRequest) Deletes a gateway. Before you can delete a gateway, you must deregister its instances and delete its bridges.
This is a convenience which creates an instance of the
DeleteGatewayRequest.Builderavoiding the need to create one manually viaDeleteGatewayRequest.builder()- Parameters:
deleteGatewayRequest- AConsumerthat will call methods onDeleteGatewayRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterGatewayInstance
default CompletableFuture<DeregisterGatewayInstanceResponse> deregisterGatewayInstance(DeregisterGatewayInstanceRequest deregisterGatewayInstanceRequest) Deregisters an instance. Before you deregister an instance, all bridges running on the instance must be stopped. If you want to deregister an instance without stopping the bridges, you must use the --force option.- Parameters:
deregisterGatewayInstanceRequest-- Returns:
- A Java Future containing the result of the DeregisterGatewayInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterGatewayInstance
default CompletableFuture<DeregisterGatewayInstanceResponse> deregisterGatewayInstance(Consumer<DeregisterGatewayInstanceRequest.Builder> deregisterGatewayInstanceRequest) Deregisters an instance. Before you deregister an instance, all bridges running on the instance must be stopped. If you want to deregister an instance without stopping the bridges, you must use the --force option.
This is a convenience which creates an instance of the
DeregisterGatewayInstanceRequest.Builderavoiding the need to create one manually viaDeregisterGatewayInstanceRequest.builder()- Parameters:
deregisterGatewayInstanceRequest- AConsumerthat will call methods onDeregisterGatewayInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeregisterGatewayInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBridge
default CompletableFuture<DescribeBridgeResponse> describeBridge(DescribeBridgeRequest describeBridgeRequest) Displays the details of a bridge.- Parameters:
describeBridgeRequest-- Returns:
- A Java Future containing the result of the DescribeBridge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBridge
default CompletableFuture<DescribeBridgeResponse> describeBridge(Consumer<DescribeBridgeRequest.Builder> describeBridgeRequest) Displays the details of a bridge.
This is a convenience which creates an instance of the
DescribeBridgeRequest.Builderavoiding the need to create one manually viaDescribeBridgeRequest.builder()- Parameters:
describeBridgeRequest- AConsumerthat will call methods onDescribeBridgeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeBridge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFlow
default CompletableFuture<DescribeFlowResponse> describeFlow(DescribeFlowRequest describeFlowRequest) 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.- Parameters:
describeFlowRequest-- Returns:
- A Java Future containing the result of the DescribeFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFlow
default CompletableFuture<DescribeFlowResponse> describeFlow(Consumer<DescribeFlowRequest.Builder> describeFlowRequest) 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.
This is a convenience which creates an instance of the
DescribeFlowRequest.Builderavoiding the need to create one manually viaDescribeFlowRequest.builder()- Parameters:
describeFlowRequest- AConsumerthat will call methods onDescribeFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFlowSourceMetadata
default CompletableFuture<DescribeFlowSourceMetadataResponse> describeFlowSourceMetadata(DescribeFlowSourceMetadataRequest describeFlowSourceMetadataRequest) Displays details of the flow's source stream. The response contains information about the contents of the stream and its programs.- Parameters:
describeFlowSourceMetadataRequest-- Returns:
- A Java Future containing the result of the DescribeFlowSourceMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFlowSourceMetadata
default CompletableFuture<DescribeFlowSourceMetadataResponse> describeFlowSourceMetadata(Consumer<DescribeFlowSourceMetadataRequest.Builder> describeFlowSourceMetadataRequest) Displays details of the flow's source stream. The response contains information about the contents of the stream and its programs.
This is a convenience which creates an instance of the
DescribeFlowSourceMetadataRequest.Builderavoiding the need to create one manually viaDescribeFlowSourceMetadataRequest.builder()- Parameters:
describeFlowSourceMetadataRequest- AConsumerthat will call methods onDescribeFlowSourceMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeFlowSourceMetadata operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFlowSourceThumbnail
default CompletableFuture<DescribeFlowSourceThumbnailResponse> describeFlowSourceThumbnail(DescribeFlowSourceThumbnailRequest describeFlowSourceThumbnailRequest) Displays the thumbnail details of a flow's source stream.- Parameters:
describeFlowSourceThumbnailRequest-- Returns:
- A Java Future containing the result of the DescribeFlowSourceThumbnail operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeFlowSourceThumbnail
default CompletableFuture<DescribeFlowSourceThumbnailResponse> describeFlowSourceThumbnail(Consumer<DescribeFlowSourceThumbnailRequest.Builder> describeFlowSourceThumbnailRequest) Displays the thumbnail details of a flow's source stream.
This is a convenience which creates an instance of the
DescribeFlowSourceThumbnailRequest.Builderavoiding the need to create one manually viaDescribeFlowSourceThumbnailRequest.builder()- Parameters:
describeFlowSourceThumbnailRequest- AConsumerthat will call methods onDescribeFlowSourceThumbnailRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeFlowSourceThumbnail operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeGateway
default CompletableFuture<DescribeGatewayResponse> describeGateway(DescribeGatewayRequest describeGatewayRequest) Displays the details of a gateway. The response includes the gateway ARN, name, and CIDR blocks, as well as details about the networks.- Parameters:
describeGatewayRequest-- Returns:
- A Java Future containing the result of the DescribeGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeGateway
default CompletableFuture<DescribeGatewayResponse> describeGateway(Consumer<DescribeGatewayRequest.Builder> describeGatewayRequest) Displays the details of a gateway. The response includes the gateway ARN, name, and CIDR blocks, as well as details about the networks.
This is a convenience which creates an instance of the
DescribeGatewayRequest.Builderavoiding the need to create one manually viaDescribeGatewayRequest.builder()- Parameters:
describeGatewayRequest- AConsumerthat will call methods onDescribeGatewayRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeGateway operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeGatewayInstance
default CompletableFuture<DescribeGatewayInstanceResponse> describeGatewayInstance(DescribeGatewayInstanceRequest describeGatewayInstanceRequest) Displays the details of an instance.- Parameters:
describeGatewayInstanceRequest-- Returns:
- A Java Future containing the result of the DescribeGatewayInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeGatewayInstance
default CompletableFuture<DescribeGatewayInstanceResponse> describeGatewayInstance(Consumer<DescribeGatewayInstanceRequest.Builder> describeGatewayInstanceRequest) Displays the details of an instance.
This is a convenience which creates an instance of the
DescribeGatewayInstanceRequest.Builderavoiding the need to create one manually viaDescribeGatewayInstanceRequest.builder()- Parameters:
describeGatewayInstanceRequest- AConsumerthat will call methods onDescribeGatewayInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeGatewayInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOffering
default CompletableFuture<DescribeOfferingResponse> describeOffering(DescribeOfferingRequest describeOfferingRequest) Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).- Parameters:
describeOfferingRequest-- Returns:
- A Java Future containing the result of the DescribeOffering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOffering
default CompletableFuture<DescribeOfferingResponse> describeOffering(Consumer<DescribeOfferingRequest.Builder> describeOfferingRequest) Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).
This is a convenience which creates an instance of the
DescribeOfferingRequest.Builderavoiding the need to create one manually viaDescribeOfferingRequest.builder()- Parameters:
describeOfferingRequest- AConsumerthat will call methods onDescribeOfferingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeOffering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReservation
default CompletableFuture<DescribeReservationResponse> describeReservation(DescribeReservationRequest describeReservationRequest) Displays the details of a reservation. The response includes the reservation name, state, start date and time, and the details of the offering that make up the rest of the reservation (such as price, duration, and outbound bandwidth).- Parameters:
describeReservationRequest-- Returns:
- A Java Future containing the result of the DescribeReservation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeReservation
default CompletableFuture<DescribeReservationResponse> describeReservation(Consumer<DescribeReservationRequest.Builder> describeReservationRequest) Displays the details of a reservation. The response includes the reservation name, state, start date and time, and the details of the offering that make up the rest of the reservation (such as price, duration, and outbound bandwidth).
This is a convenience which creates an instance of the
DescribeReservationRequest.Builderavoiding the need to create one manually viaDescribeReservationRequest.builder()- Parameters:
describeReservationRequest- AConsumerthat will call methods onDescribeReservationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeReservation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
grantFlowEntitlements
default CompletableFuture<GrantFlowEntitlementsResponse> grantFlowEntitlements(GrantFlowEntitlementsRequest grantFlowEntitlementsRequest) Grants entitlements to an existing flow.- Parameters:
grantFlowEntitlementsRequest- A request to grant entitlements on a flow.- Returns:
- A Java Future containing the result of the GrantFlowEntitlements operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
grantFlowEntitlements
default CompletableFuture<GrantFlowEntitlementsResponse> grantFlowEntitlements(Consumer<GrantFlowEntitlementsRequest.Builder> grantFlowEntitlementsRequest) Grants entitlements to an existing flow.
This is a convenience which creates an instance of the
GrantFlowEntitlementsRequest.Builderavoiding the need to create one manually viaGrantFlowEntitlementsRequest.builder()- Parameters:
grantFlowEntitlementsRequest- AConsumerthat will call methods onGrantFlowEntitlementsRequest.Builderto create a request. A request to grant entitlements on a flow.- Returns:
- A Java Future containing the result of the GrantFlowEntitlements operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBridges
Displays a list of bridges that are associated with this account and an optionally specified Arn. This request returns a paginated result.- Parameters:
listBridgesRequest-- Returns:
- A Java Future containing the result of the ListBridges operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBridges
default CompletableFuture<ListBridgesResponse> listBridges(Consumer<ListBridgesRequest.Builder> listBridgesRequest) Displays a list of bridges that are associated with this account and an optionally specified Arn. This request returns a paginated result.
This is a convenience which creates an instance of the
ListBridgesRequest.Builderavoiding the need to create one manually viaListBridgesRequest.builder()- Parameters:
listBridgesRequest- AConsumerthat will call methods onListBridgesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListBridges operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBridgesPaginator
This is a variant of
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesPublisher publisher = client.listBridgesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListBridgesPublisher publisher = client.listBridgesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListBridgesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListBridgesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.- Parameters:
listBridgesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBridgesPaginator
default ListBridgesPublisher listBridgesPaginator(Consumer<ListBridgesRequest.Builder> listBridgesRequest) This is a variant of
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListBridgesPublisher publisher = client.listBridgesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListBridgesPublisher publisher = client.listBridgesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListBridgesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListBridgesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBridges(software.amazon.awssdk.services.mediaconnect.model.ListBridgesRequest)operation.
This is a convenience which creates an instance of the
ListBridgesRequest.Builderavoiding the need to create one manually viaListBridgesRequest.builder()- Parameters:
listBridgesRequest- AConsumerthat will call methods onListBridgesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEntitlements
default CompletableFuture<ListEntitlementsResponse> listEntitlements(ListEntitlementsRequest listEntitlementsRequest) Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.- Parameters:
listEntitlementsRequest-- Returns:
- A Java Future containing the result of the ListEntitlements operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEntitlements
default CompletableFuture<ListEntitlementsResponse> listEntitlements(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.
This is a convenience which creates an instance of the
ListEntitlementsRequest.Builderavoiding the need to create one manually viaListEntitlementsRequest.builder()- Parameters:
listEntitlementsRequest- AConsumerthat will call methods onListEntitlementsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEntitlements operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEntitlements
Displays a list of all entitlements that have been granted to this account. This request returns 20 results per page.- Returns:
- A Java Future containing the result of the ListEntitlements operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEntitlementsPaginator
This is a variant of
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsPublisher publisher = client.listEntitlementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsPublisher publisher = client.listEntitlementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEntitlementsPaginator
default ListEntitlementsPublisher listEntitlementsPaginator(ListEntitlementsRequest listEntitlementsRequest) This is a variant of
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsPublisher publisher = client.listEntitlementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsPublisher publisher = client.listEntitlementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.- Parameters:
listEntitlementsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEntitlementsPaginator
default ListEntitlementsPublisher listEntitlementsPaginator(Consumer<ListEntitlementsRequest.Builder> listEntitlementsRequest) This is a variant of
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsPublisher publisher = client.listEntitlementsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsPublisher publisher = client.listEntitlementsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntitlements(software.amazon.awssdk.services.mediaconnect.model.ListEntitlementsRequest)operation.
This is a convenience which creates an instance of the
ListEntitlementsRequest.Builderavoiding the need to create one manually viaListEntitlementsRequest.builder()- Parameters:
listEntitlementsRequest- AConsumerthat will call methods onListEntitlementsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlows
Displays a list of flows that are associated with this account. This request returns a paginated result.- Parameters:
listFlowsRequest-- Returns:
- A Java Future containing the result of the ListFlows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlows
default CompletableFuture<ListFlowsResponse> listFlows(Consumer<ListFlowsRequest.Builder> listFlowsRequest) Displays a list of flows that are associated with this account. This request returns a paginated result.
This is a convenience which creates an instance of the
ListFlowsRequest.Builderavoiding the need to create one manually viaListFlowsRequest.builder()- Parameters:
listFlowsRequest- AConsumerthat will call methods onListFlowsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFlows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlows
Displays a list of flows that are associated with this account. This request returns a paginated result.- Returns:
- A Java Future containing the result of the ListFlows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlowsPaginator
This is a variant of
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsPublisher publisher = client.listFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsPublisher publisher = client.listFlowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlowsPaginator
This is a variant of
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsPublisher publisher = client.listFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsPublisher publisher = client.listFlowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.- Parameters:
listFlowsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFlowsPaginator
This is a variant of
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListFlowsPublisher publisher = client.listFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsPublisher publisher = client.listFlowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListFlowsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFlows(software.amazon.awssdk.services.mediaconnect.model.ListFlowsRequest)operation.
This is a convenience which creates an instance of the
ListFlowsRequest.Builderavoiding the need to create one manually viaListFlowsRequest.builder()- Parameters:
listFlowsRequest- AConsumerthat will call methods onListFlowsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGatewayInstances
default CompletableFuture<ListGatewayInstancesResponse> listGatewayInstances(ListGatewayInstancesRequest listGatewayInstancesRequest) Displays a list of instances associated with the AWS account. This request returns a paginated result. You can use the filterArn property to display only the instances associated with the selected Gateway Amazon Resource Name (ARN).- Parameters:
listGatewayInstancesRequest-- Returns:
- A Java Future containing the result of the ListGatewayInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGatewayInstances
default CompletableFuture<ListGatewayInstancesResponse> listGatewayInstances(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) Displays a list of instances associated with the AWS account. This request returns a paginated result. You can use the filterArn property to display only the instances associated with the selected Gateway Amazon Resource Name (ARN).
This is a convenience which creates an instance of the
ListGatewayInstancesRequest.Builderavoiding the need to create one manually viaListGatewayInstancesRequest.builder()- Parameters:
listGatewayInstancesRequest- AConsumerthat will call methods onListGatewayInstancesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListGatewayInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGatewayInstancesPaginator
default ListGatewayInstancesPublisher listGatewayInstancesPaginator(ListGatewayInstancesRequest listGatewayInstancesRequest) This is a variant of
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesPublisher publisher = client.listGatewayInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesPublisher publisher = client.listGatewayInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.- Parameters:
listGatewayInstancesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGatewayInstancesPaginator
default ListGatewayInstancesPublisher listGatewayInstancesPaginator(Consumer<ListGatewayInstancesRequest.Builder> listGatewayInstancesRequest) This is a variant of
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesPublisher publisher = client.listGatewayInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesPublisher publisher = client.listGatewayInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGatewayInstances(software.amazon.awssdk.services.mediaconnect.model.ListGatewayInstancesRequest)operation.
This is a convenience which creates an instance of the
ListGatewayInstancesRequest.Builderavoiding the need to create one manually viaListGatewayInstancesRequest.builder()- Parameters:
listGatewayInstancesRequest- AConsumerthat will call methods onListGatewayInstancesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGateways
default CompletableFuture<ListGatewaysResponse> listGateways(ListGatewaysRequest listGatewaysRequest) Displays a list of gateways that are associated with this account. This request returns a paginated result.- Parameters:
listGatewaysRequest-- Returns:
- A Java Future containing the result of the ListGateways operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGateways
default CompletableFuture<ListGatewaysResponse> listGateways(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) Displays a list of gateways that are associated with this account. This request returns a paginated result.
This is a convenience which creates an instance of the
ListGatewaysRequest.Builderavoiding the need to create one manually viaListGatewaysRequest.builder()- Parameters:
listGatewaysRequest- AConsumerthat will call methods onListGatewaysRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListGateways operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGatewaysPaginator
This is a variant of
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListGatewaysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.- Parameters:
listGatewaysRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGatewaysPaginator
default ListGatewaysPublisher listGatewaysPaginator(Consumer<ListGatewaysRequest.Builder> listGatewaysRequest) This is a variant of
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListGatewaysResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listGateways(software.amazon.awssdk.services.mediaconnect.model.ListGatewaysRequest)operation.
This is a convenience which creates an instance of the
ListGatewaysRequest.Builderavoiding the need to create one manually viaListGatewaysRequest.builder()- Parameters:
listGatewaysRequest- AConsumerthat will call methods onListGatewaysRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOfferings
default CompletableFuture<ListOfferingsResponse> listOfferings(ListOfferingsRequest listOfferingsRequest) Displays a list of all offerings that are available to this account in the current AWS Region. If you have an active reservation (which means you've purchased an offering that has already started and hasn't expired yet), your account isn't eligible for other offerings.- Parameters:
listOfferingsRequest-- Returns:
- A Java Future containing the result of the ListOfferings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOfferings
default CompletableFuture<ListOfferingsResponse> listOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) Displays a list of all offerings that are available to this account in the current AWS Region. If you have an active reservation (which means you've purchased an offering that has already started and hasn't expired yet), your account isn't eligible for other offerings.
This is a convenience which creates an instance of the
ListOfferingsRequest.Builderavoiding the need to create one manually viaListOfferingsRequest.builder()- Parameters:
listOfferingsRequest- AConsumerthat will call methods onListOfferingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListOfferings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOfferingsPaginator
This is a variant of
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListOfferingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.- Parameters:
listOfferingsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOfferingsPaginator
default ListOfferingsPublisher listOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) This is a variant of
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListOfferingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.mediaconnect.model.ListOfferingsRequest)operation.
This is a convenience which creates an instance of the
ListOfferingsRequest.Builderavoiding the need to create one manually viaListOfferingsRequest.builder()- Parameters:
listOfferingsRequest- AConsumerthat will call methods onListOfferingsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReservations
default CompletableFuture<ListReservationsResponse> listReservations(ListReservationsRequest listReservationsRequest) Displays a list of all reservations that have been purchased by this account in the current AWS Region. This list includes all reservations in all states (such as active and expired).- Parameters:
listReservationsRequest-- Returns:
- A Java Future containing the result of the ListReservations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReservations
default CompletableFuture<ListReservationsResponse> listReservations(Consumer<ListReservationsRequest.Builder> listReservationsRequest) Displays a list of all reservations that have been purchased by this account in the current AWS Region. This list includes all reservations in all states (such as active and expired).
This is a convenience which creates an instance of the
ListReservationsRequest.Builderavoiding the need to create one manually viaListReservationsRequest.builder()- Parameters:
listReservationsRequest- AConsumerthat will call methods onListReservationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListReservations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReservationsPaginator
default ListReservationsPublisher listReservationsPaginator(ListReservationsRequest listReservationsRequest) This is a variant of
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListReservationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListReservationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.- Parameters:
listReservationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listReservationsPaginator
default ListReservationsPublisher listReservationsPaginator(Consumer<ListReservationsRequest.Builder> listReservationsRequest) This is a variant of
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.mediaconnect.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.mediaconnect.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.mediaconnect.model.ListReservationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.mediaconnect.model.ListReservationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listReservations(software.amazon.awssdk.services.mediaconnect.model.ListReservationsRequest)operation.
This is a convenience which creates an instance of the
ListReservationsRequest.Builderavoiding the need to create one manually viaListReservationsRequest.builder()- Parameters:
listReservationsRequest- AConsumerthat will call methods onListReservationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all tags on an AWS Elemental MediaConnect resource- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException The requested resource was not found
- BadRequestException The client performed an invalid request
- InternalServerErrorException Internal service error
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all tags on an AWS Elemental MediaConnect resource
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException The requested resource was not found
- BadRequestException The client performed an invalid request
- InternalServerErrorException Internal service error
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
purchaseOffering
default CompletableFuture<PurchaseOfferingResponse> purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest) Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.- Parameters:
purchaseOfferingRequest- A request to purchase a offering.- Returns:
- A Java Future containing the result of the PurchaseOffering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
purchaseOffering
default CompletableFuture<PurchaseOfferingResponse> purchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest) Submits a request to purchase an offering. If you already have an active reservation, you can't purchase another offering.
This is a convenience which creates an instance of the
PurchaseOfferingRequest.Builderavoiding the need to create one manually viaPurchaseOfferingRequest.builder()- Parameters:
purchaseOfferingRequest- AConsumerthat will call methods onPurchaseOfferingRequest.Builderto create a request. A request to purchase a offering.- Returns:
- A Java Future containing the result of the PurchaseOffering operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeBridgeOutput
default CompletableFuture<RemoveBridgeOutputResponse> removeBridgeOutput(RemoveBridgeOutputRequest removeBridgeOutputRequest) Removes an output from a bridge.- Parameters:
removeBridgeOutputRequest-- Returns:
- A Java Future containing the result of the RemoveBridgeOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeBridgeOutput
default CompletableFuture<RemoveBridgeOutputResponse> removeBridgeOutput(Consumer<RemoveBridgeOutputRequest.Builder> removeBridgeOutputRequest) Removes an output from a bridge.
This is a convenience which creates an instance of the
RemoveBridgeOutputRequest.Builderavoiding the need to create one manually viaRemoveBridgeOutputRequest.builder()- Parameters:
removeBridgeOutputRequest- AConsumerthat will call methods onRemoveBridgeOutputRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RemoveBridgeOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeBridgeSource
default CompletableFuture<RemoveBridgeSourceResponse> removeBridgeSource(RemoveBridgeSourceRequest removeBridgeSourceRequest) Removes a source from a bridge.- Parameters:
removeBridgeSourceRequest-- Returns:
- A Java Future containing the result of the RemoveBridgeSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeBridgeSource
default CompletableFuture<RemoveBridgeSourceResponse> removeBridgeSource(Consumer<RemoveBridgeSourceRequest.Builder> removeBridgeSourceRequest) Removes a source from a bridge.
This is a convenience which creates an instance of the
RemoveBridgeSourceRequest.Builderavoiding the need to create one manually viaRemoveBridgeSourceRequest.builder()- Parameters:
removeBridgeSourceRequest- AConsumerthat will call methods onRemoveBridgeSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RemoveBridgeSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeFlowMediaStream
default CompletableFuture<RemoveFlowMediaStreamResponse> removeFlowMediaStream(RemoveFlowMediaStreamRequest removeFlowMediaStreamRequest) Removes a media stream from a flow. This action is only available if the media stream is not associated with a source or output.- Parameters:
removeFlowMediaStreamRequest-- Returns:
- A Java Future containing the result of the RemoveFlowMediaStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeFlowMediaStream
default CompletableFuture<RemoveFlowMediaStreamResponse> removeFlowMediaStream(Consumer<RemoveFlowMediaStreamRequest.Builder> removeFlowMediaStreamRequest) Removes a media stream from a flow. This action is only available if the media stream is not associated with a source or output.
This is a convenience which creates an instance of the
RemoveFlowMediaStreamRequest.Builderavoiding the need to create one manually viaRemoveFlowMediaStreamRequest.builder()- Parameters:
removeFlowMediaStreamRequest- AConsumerthat will call methods onRemoveFlowMediaStreamRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RemoveFlowMediaStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeFlowOutput
default CompletableFuture<RemoveFlowOutputResponse> removeFlowOutput(RemoveFlowOutputRequest removeFlowOutputRequest) 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.- Parameters:
removeFlowOutputRequest-- Returns:
- A Java Future containing the result of the RemoveFlowOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeFlowOutput
default CompletableFuture<RemoveFlowOutputResponse> removeFlowOutput(Consumer<RemoveFlowOutputRequest.Builder> removeFlowOutputRequest) 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.
This is a convenience which creates an instance of the
RemoveFlowOutputRequest.Builderavoiding the need to create one manually viaRemoveFlowOutputRequest.builder()- Parameters:
removeFlowOutputRequest- AConsumerthat will call methods onRemoveFlowOutputRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RemoveFlowOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeFlowSource
default CompletableFuture<RemoveFlowSourceResponse> removeFlowSource(RemoveFlowSourceRequest removeFlowSourceRequest) Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.- Parameters:
removeFlowSourceRequest-- Returns:
- A Java Future containing the result of the RemoveFlowSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeFlowSource
default CompletableFuture<RemoveFlowSourceResponse> removeFlowSource(Consumer<RemoveFlowSourceRequest.Builder> removeFlowSourceRequest) Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.
This is a convenience which creates an instance of the
RemoveFlowSourceRequest.Builderavoiding the need to create one manually viaRemoveFlowSourceRequest.builder()- Parameters:
removeFlowSourceRequest- AConsumerthat will call methods onRemoveFlowSourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RemoveFlowSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeFlowVpcInterface
default CompletableFuture<RemoveFlowVpcInterfaceResponse> removeFlowVpcInterface(RemoveFlowVpcInterfaceRequest removeFlowVpcInterfaceRequest) Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface.- Parameters:
removeFlowVpcInterfaceRequest-- Returns:
- A Java Future containing the result of the RemoveFlowVpcInterface operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
removeFlowVpcInterface
default CompletableFuture<RemoveFlowVpcInterfaceResponse> removeFlowVpcInterface(Consumer<RemoveFlowVpcInterfaceRequest.Builder> removeFlowVpcInterfaceRequest) Removes a VPC Interface from an existing flow. This request can be made only on a VPC interface that does not have a Source or Output associated with it. If the VPC interface is referenced by a Source or Output, you must first delete or update the Source or Output to no longer reference the VPC interface.
This is a convenience which creates an instance of the
RemoveFlowVpcInterfaceRequest.Builderavoiding the need to create one manually viaRemoveFlowVpcInterfaceRequest.builder()- Parameters:
removeFlowVpcInterfaceRequest- AConsumerthat will call methods onRemoveFlowVpcInterfaceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RemoveFlowVpcInterface operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeFlowEntitlement
default CompletableFuture<RevokeFlowEntitlementResponse> revokeFlowEntitlement(RevokeFlowEntitlementRequest revokeFlowEntitlementRequest) Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.- Parameters:
revokeFlowEntitlementRequest-- Returns:
- A Java Future containing the result of the RevokeFlowEntitlement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeFlowEntitlement
default CompletableFuture<RevokeFlowEntitlementResponse> revokeFlowEntitlement(Consumer<RevokeFlowEntitlementRequest.Builder> revokeFlowEntitlementRequest) Revokes an entitlement from a flow. Once an entitlement is revoked, the content becomes unavailable to the subscriber and the associated output is removed.
This is a convenience which creates an instance of the
RevokeFlowEntitlementRequest.Builderavoiding the need to create one manually viaRevokeFlowEntitlementRequest.builder()- Parameters:
revokeFlowEntitlementRequest- AConsumerthat will call methods onRevokeFlowEntitlementRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RevokeFlowEntitlement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startFlow
Starts a flow.- Parameters:
startFlowRequest-- Returns:
- A Java Future containing the result of the StartFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startFlow
default CompletableFuture<StartFlowResponse> startFlow(Consumer<StartFlowRequest.Builder> startFlowRequest) Starts a flow.
This is a convenience which creates an instance of the
StartFlowRequest.Builderavoiding the need to create one manually viaStartFlowRequest.builder()- Parameters:
startFlowRequest- AConsumerthat will call methods onStartFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopFlow
Stops a flow.- Parameters:
stopFlowRequest-- Returns:
- A Java Future containing the result of the StopFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopFlow
default CompletableFuture<StopFlowResponse> stopFlow(Consumer<StopFlowRequest.Builder> stopFlowRequest) Stops a flow.
This is a convenience which creates an instance of the
StopFlowRequest.Builderavoiding the need to create one manually viaStopFlowRequest.builder()- Parameters:
stopFlowRequest- AConsumerthat will call methods onStopFlowRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
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.- Parameters:
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.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException The requested resource was not found
- BadRequestException The client performed an invalid request
- InternalServerErrorException Internal service error
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) 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.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. 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.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException The requested resource was not found
- BadRequestException The client performed an invalid request
- InternalServerErrorException Internal service error
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes specified tags from a resource.- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException The requested resource was not found
- BadRequestException The client performed an invalid request
- InternalServerErrorException Internal service error
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes specified tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- NotFoundException The requested resource was not found
- BadRequestException The client performed an invalid request
- InternalServerErrorException Internal service error
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBridge
default CompletableFuture<UpdateBridgeResponse> updateBridge(UpdateBridgeRequest updateBridgeRequest) Updates the bridge- Parameters:
updateBridgeRequest- A request to update the bridge.- Returns:
- A Java Future containing the result of the UpdateBridge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBridge
default CompletableFuture<UpdateBridgeResponse> updateBridge(Consumer<UpdateBridgeRequest.Builder> updateBridgeRequest) Updates the bridge
This is a convenience which creates an instance of the
UpdateBridgeRequest.Builderavoiding the need to create one manually viaUpdateBridgeRequest.builder()- Parameters:
updateBridgeRequest- AConsumerthat will call methods onUpdateBridgeRequest.Builderto create a request. A request to update the bridge.- Returns:
- A Java Future containing the result of the UpdateBridge operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBridgeOutput
default CompletableFuture<UpdateBridgeOutputResponse> updateBridgeOutput(UpdateBridgeOutputRequest updateBridgeOutputRequest) Updates an existing bridge output.- Parameters:
updateBridgeOutputRequest- The fields that you want to update in the bridge output.- Returns:
- A Java Future containing the result of the UpdateBridgeOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBridgeOutput
default CompletableFuture<UpdateBridgeOutputResponse> updateBridgeOutput(Consumer<UpdateBridgeOutputRequest.Builder> updateBridgeOutputRequest) Updates an existing bridge output.
This is a convenience which creates an instance of the
UpdateBridgeOutputRequest.Builderavoiding the need to create one manually viaUpdateBridgeOutputRequest.builder()- Parameters:
updateBridgeOutputRequest- AConsumerthat will call methods onUpdateBridgeOutputRequest.Builderto create a request. The fields that you want to update in the bridge output.- Returns:
- A Java Future containing the result of the UpdateBridgeOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBridgeSource
default CompletableFuture<UpdateBridgeSourceResponse> updateBridgeSource(UpdateBridgeSourceRequest updateBridgeSourceRequest) Updates an existing bridge source.- Parameters:
updateBridgeSourceRequest- The fields that you want to update in the bridge source.- Returns:
- A Java Future containing the result of the UpdateBridgeSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBridgeSource
default CompletableFuture<UpdateBridgeSourceResponse> updateBridgeSource(Consumer<UpdateBridgeSourceRequest.Builder> updateBridgeSourceRequest) Updates an existing bridge source.
This is a convenience which creates an instance of the
UpdateBridgeSourceRequest.Builderavoiding the need to create one manually viaUpdateBridgeSourceRequest.builder()- Parameters:
updateBridgeSourceRequest- AConsumerthat will call methods onUpdateBridgeSourceRequest.Builderto create a request. The fields that you want to update in the bridge source.- Returns:
- A Java Future containing the result of the UpdateBridgeSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBridgeState
default CompletableFuture<UpdateBridgeStateResponse> updateBridgeState(UpdateBridgeStateRequest updateBridgeStateRequest) Updates the bridge state- Parameters:
updateBridgeStateRequest- A request to update the bridge state.- Returns:
- A Java Future containing the result of the UpdateBridgeState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBridgeState
default CompletableFuture<UpdateBridgeStateResponse> updateBridgeState(Consumer<UpdateBridgeStateRequest.Builder> updateBridgeStateRequest) Updates the bridge state
This is a convenience which creates an instance of the
UpdateBridgeStateRequest.Builderavoiding the need to create one manually viaUpdateBridgeStateRequest.builder()- Parameters:
updateBridgeStateRequest- AConsumerthat will call methods onUpdateBridgeStateRequest.Builderto create a request. A request to update the bridge state.- Returns:
- A Java Future containing the result of the UpdateBridgeState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlow
Updates flow- Parameters:
updateFlowRequest- A request to update flow.- Returns:
- A Java Future containing the result of the UpdateFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlow
default CompletableFuture<UpdateFlowResponse> updateFlow(Consumer<UpdateFlowRequest.Builder> updateFlowRequest) Updates flow
This is a convenience which creates an instance of the
UpdateFlowRequest.Builderavoiding the need to create one manually viaUpdateFlowRequest.builder()- Parameters:
updateFlowRequest- AConsumerthat will call methods onUpdateFlowRequest.Builderto create a request. A request to update flow.- Returns:
- A Java Future containing the result of the UpdateFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlowEntitlement
default CompletableFuture<UpdateFlowEntitlementResponse> updateFlowEntitlement(UpdateFlowEntitlementRequest updateFlowEntitlementRequest) 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.- Parameters:
updateFlowEntitlementRequest- The entitlement fields that you want to update.- Returns:
- A Java Future containing the result of the UpdateFlowEntitlement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlowEntitlement
default CompletableFuture<UpdateFlowEntitlementResponse> updateFlowEntitlement(Consumer<UpdateFlowEntitlementRequest.Builder> updateFlowEntitlementRequest) 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.
This is a convenience which creates an instance of the
UpdateFlowEntitlementRequest.Builderavoiding the need to create one manually viaUpdateFlowEntitlementRequest.builder()- Parameters:
updateFlowEntitlementRequest- AConsumerthat will call methods onUpdateFlowEntitlementRequest.Builderto create a request. The entitlement fields that you want to update.- Returns:
- A Java Future containing the result of the UpdateFlowEntitlement operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlowMediaStream
default CompletableFuture<UpdateFlowMediaStreamResponse> updateFlowMediaStream(UpdateFlowMediaStreamRequest updateFlowMediaStreamRequest) Updates an existing media stream.- Parameters:
updateFlowMediaStreamRequest- The fields that you want to update in the media stream.- Returns:
- A Java Future containing the result of the UpdateFlowMediaStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlowMediaStream
default CompletableFuture<UpdateFlowMediaStreamResponse> updateFlowMediaStream(Consumer<UpdateFlowMediaStreamRequest.Builder> updateFlowMediaStreamRequest) Updates an existing media stream.
This is a convenience which creates an instance of the
UpdateFlowMediaStreamRequest.Builderavoiding the need to create one manually viaUpdateFlowMediaStreamRequest.builder()- Parameters:
updateFlowMediaStreamRequest- AConsumerthat will call methods onUpdateFlowMediaStreamRequest.Builderto create a request. The fields that you want to update in the media stream.- Returns:
- A Java Future containing the result of the UpdateFlowMediaStream operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlowOutput
default CompletableFuture<UpdateFlowOutputResponse> updateFlowOutput(UpdateFlowOutputRequest updateFlowOutputRequest) Updates an existing flow output.- Parameters:
updateFlowOutputRequest- The fields that you want to update in the output.- Returns:
- A Java Future containing the result of the UpdateFlowOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlowOutput
default CompletableFuture<UpdateFlowOutputResponse> updateFlowOutput(Consumer<UpdateFlowOutputRequest.Builder> updateFlowOutputRequest) Updates an existing flow output.
This is a convenience which creates an instance of the
UpdateFlowOutputRequest.Builderavoiding the need to create one manually viaUpdateFlowOutputRequest.builder()- Parameters:
updateFlowOutputRequest- AConsumerthat will call methods onUpdateFlowOutputRequest.Builderto create a request. The fields that you want to update in the output.- Returns:
- A Java Future containing the result of the UpdateFlowOutput operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlowSource
default CompletableFuture<UpdateFlowSourceResponse> updateFlowSource(UpdateFlowSourceRequest updateFlowSourceRequest) Updates the source of a flow.- Parameters:
updateFlowSourceRequest- A request to update the source of a flow.- Returns:
- A Java Future containing the result of the UpdateFlowSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFlowSource
default CompletableFuture<UpdateFlowSourceResponse> updateFlowSource(Consumer<UpdateFlowSourceRequest.Builder> updateFlowSourceRequest) Updates the source of a flow.
This is a convenience which creates an instance of the
UpdateFlowSourceRequest.Builderavoiding the need to create one manually viaUpdateFlowSourceRequest.builder()- Parameters:
updateFlowSourceRequest- AConsumerthat will call methods onUpdateFlowSourceRequest.Builderto create a request. A request to update the source of a flow.- Returns:
- A Java Future containing the result of the UpdateFlowSource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGatewayInstance
default CompletableFuture<UpdateGatewayInstanceResponse> updateGatewayInstance(UpdateGatewayInstanceRequest updateGatewayInstanceRequest) Updates the configuration of an existing Gateway Instance.- Parameters:
updateGatewayInstanceRequest- A request to update gateway instance state.- Returns:
- A Java Future containing the result of the UpdateGatewayInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGatewayInstance
default CompletableFuture<UpdateGatewayInstanceResponse> updateGatewayInstance(Consumer<UpdateGatewayInstanceRequest.Builder> updateGatewayInstanceRequest) Updates the configuration of an existing Gateway Instance.
This is a convenience which creates an instance of the
UpdateGatewayInstanceRequest.Builderavoiding the need to create one manually viaUpdateGatewayInstanceRequest.builder()- Parameters:
updateGatewayInstanceRequest- AConsumerthat will call methods onUpdateGatewayInstanceRequest.Builderto create a request. A request to update gateway instance state.- Returns:
- A Java Future containing the result of the UpdateGatewayInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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.
- ConflictException The request could not be completed due to a conflict with the current state of the target resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- MediaConnectException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
waiter
Create an instance ofMediaConnectAsyncWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
MediaConnectAsyncWaiter
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aMediaConnectAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMediaConnectAsyncClient.
-