Interface MediaConnectAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface MediaConnectAsyncClient extends AwsClient
Service client for accessing AWS MediaConnect asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any
invalid reference
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 Details

  • 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 invoke Throwable.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.Builder avoiding the need to create one manually via AddBridgeOutputsRequest.builder()

      Parameters:
      addBridgeOutputsRequest - A Consumer that will call methods on AddBridgeOutputsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via AddBridgeSourcesRequest.builder()

      Parameters:
      addBridgeSourcesRequest - A Consumer that will call methods on AddBridgeSourcesRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via AddFlowMediaStreamsRequest.builder()

      Parameters:
      addFlowMediaStreamsRequest - A Consumer that will call methods on AddFlowMediaStreamsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via AddFlowOutputsRequest.builder()

      Parameters:
      addFlowOutputsRequest - A Consumer that will call methods on AddFlowOutputsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via AddFlowSourcesRequest.builder()

      Parameters:
      addFlowSourcesRequest - A Consumer that will call methods on AddFlowSourcesRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via AddFlowVpcInterfacesRequest.builder()

      Parameters:
      addFlowVpcInterfacesRequest - A Consumer that will call methods on AddFlowVpcInterfacesRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via CreateBridgeRequest.builder()

      Parameters:
      createBridgeRequest - A Consumer that will call methods on CreateBridgeRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<CreateFlowResponse> createFlow(CreateFlowRequest 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).
      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 invoke Throwable.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.Builder avoiding the need to create one manually via CreateFlowRequest.builder()

      Parameters:
      createFlowRequest - A Consumer that will call methods on CreateFlowRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via CreateGatewayRequest.builder()

      Parameters:
      createGatewayRequest - A Consumer that will call methods on CreateGatewayRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DeleteBridgeRequest.builder()

      Parameters:
      deleteBridgeRequest - A Consumer that will call methods on DeleteBridgeRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<DeleteFlowResponse> deleteFlow(DeleteFlowRequest deleteFlowRequest)
      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 invoke Throwable.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.Builder avoiding the need to create one manually via DeleteFlowRequest.builder()

      Parameters:
      deleteFlowRequest - A Consumer that will call methods on DeleteFlowRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DeleteGatewayRequest.builder()

      Parameters:
      deleteGatewayRequest - A Consumer that will call methods on DeleteGatewayRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DeregisterGatewayInstanceRequest.builder()

      Parameters:
      deregisterGatewayInstanceRequest - A Consumer that will call methods on DeregisterGatewayInstanceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DescribeBridgeRequest.builder()

      Parameters:
      describeBridgeRequest - A Consumer that will call methods on DescribeBridgeRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DescribeFlowRequest.builder()

      Parameters:
      describeFlowRequest - A Consumer that will call methods on DescribeFlowRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DescribeFlowSourceMetadataRequest.builder()

      Parameters:
      describeFlowSourceMetadataRequest - A Consumer that will call methods on DescribeFlowSourceMetadataRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DescribeGatewayRequest.builder()

      Parameters:
      describeGatewayRequest - A Consumer that will call methods on DescribeGatewayRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DescribeGatewayInstanceRequest.builder()

      Parameters:
      describeGatewayInstanceRequest - A Consumer that will call methods on DescribeGatewayInstanceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DescribeOfferingRequest.builder()

      Parameters:
      describeOfferingRequest - A Consumer that will call methods on DescribeOfferingRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via DescribeReservationRequest.builder()

      Parameters:
      describeReservationRequest - A Consumer that will call methods on DescribeReservationRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via GrantFlowEntitlementsRequest.builder()

      Parameters:
      grantFlowEntitlementsRequest - A Consumer that will call methods on GrantFlowEntitlementsRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<ListBridgesResponse> listBridges(ListBridgesRequest listBridgesRequest)
      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 invoke Throwable.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.Builder avoiding the need to create one manually via ListBridgesRequest.builder()

      Parameters:
      listBridgesRequest - A Consumer that will call methods on ListBridgesRequest.Builder to 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 invoke Throwable.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(ListBridgesRequest 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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListBridgesPublisher publisher = client.listBridgesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListBridgesPublisher publisher = client.listBridgesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListBridgesRequest.builder()

      Parameters:
      listBridgesRequest - A Consumer that will call methods on ListBridgesRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListEntitlementsRequest.builder()

      Parameters:
      listEntitlementsRequest - A Consumer that will call methods on ListEntitlementsRequest.Builder to 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 invoke Throwable.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()
      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 invoke Throwable.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()

      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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsPublisher publisher = client.listEntitlementsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsPublisher publisher = client.listEntitlementsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListEntitlementsPublisher publisher = client.listEntitlementsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListEntitlementsRequest.builder()

      Parameters:
      listEntitlementsRequest - A Consumer that will call methods on ListEntitlementsRequest.Builder to 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 invoke Throwable.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(ListFlowsRequest listFlowsRequest)
      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 invoke Throwable.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.Builder avoiding the need to create one manually via ListFlowsRequest.builder()

      Parameters:
      listFlowsRequest - A Consumer that will call methods on ListFlowsRequest.Builder to 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 invoke Throwable.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()
      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 invoke Throwable.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

      default ListFlowsPublisher 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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsPublisher publisher = client.listFlowsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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

      default ListFlowsPublisher listFlowsPaginator(ListFlowsRequest listFlowsRequest)

      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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsPublisher publisher = client.listFlowsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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

      default ListFlowsPublisher listFlowsPaginator(Consumer<ListFlowsRequest.Builder> listFlowsRequest)

      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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListFlowsPublisher publisher = client.listFlowsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListFlowsRequest.builder()

      Parameters:
      listFlowsRequest - A Consumer that will call methods on ListFlowsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListGatewayInstancesRequest.builder()

      Parameters:
      listGatewayInstancesRequest - A Consumer that will call methods on ListGatewayInstancesRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesPublisher publisher = client.listGatewayInstancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListGatewayInstancesPublisher publisher = client.listGatewayInstancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListGatewayInstancesRequest.builder()

      Parameters:
      listGatewayInstancesRequest - A Consumer that will call methods on ListGatewayInstancesRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListGatewaysRequest.builder()

      Parameters:
      listGatewaysRequest - A Consumer that will call methods on ListGatewaysRequest.Builder to 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 invoke Throwable.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(ListGatewaysRequest 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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListGatewaysPublisher publisher = client.listGatewaysPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListGatewaysRequest.builder()

      Parameters:
      listGatewaysRequest - A Consumer that will call methods on ListGatewaysRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListOfferingsRequest.builder()

      Parameters:
      listOfferingsRequest - A Consumer that will call methods on ListOfferingsRequest.Builder to 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 invoke Throwable.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(ListOfferingsRequest 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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListOfferingsRequest.builder()

      Parameters:
      listOfferingsRequest - A Consumer that will call methods on ListOfferingsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListReservationsRequest.builder()

      Parameters:
      listReservationsRequest - A Consumer that will call methods on ListReservationsRequest.Builder to 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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 invoke Throwable.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 new Subscription i.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
       
       software.amazon.awssdk.services.mediaconnect.paginators.ListReservationsPublisher publisher = client.listReservationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       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) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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.Builder avoiding the need to create one manually via ListReservationsRequest.builder()

      Parameters:
      listReservationsRequest - A Consumer that will call methods on ListReservationsRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via PurchaseOfferingRequest.builder()

      Parameters:
      purchaseOfferingRequest - A Consumer that will call methods on PurchaseOfferingRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via RemoveBridgeOutputRequest.builder()

      Parameters:
      removeBridgeOutputRequest - A Consumer that will call methods on RemoveBridgeOutputRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via RemoveBridgeSourceRequest.builder()

      Parameters:
      removeBridgeSourceRequest - A Consumer that will call methods on RemoveBridgeSourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via RemoveFlowMediaStreamRequest.builder()

      Parameters:
      removeFlowMediaStreamRequest - A Consumer that will call methods on RemoveFlowMediaStreamRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via RemoveFlowOutputRequest.builder()

      Parameters:
      removeFlowOutputRequest - A Consumer that will call methods on RemoveFlowOutputRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via RemoveFlowSourceRequest.builder()

      Parameters:
      removeFlowSourceRequest - A Consumer that will call methods on RemoveFlowSourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via RemoveFlowVpcInterfaceRequest.builder()

      Parameters:
      removeFlowVpcInterfaceRequest - A Consumer that will call methods on RemoveFlowVpcInterfaceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via RevokeFlowEntitlementRequest.builder()

      Parameters:
      revokeFlowEntitlementRequest - A Consumer that will call methods on RevokeFlowEntitlementRequest.Builder to 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 invoke Throwable.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(StartFlowRequest startFlowRequest)
      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 invoke Throwable.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.Builder avoiding the need to create one manually via StartFlowRequest.builder()

      Parameters:
      startFlowRequest - A Consumer that will call methods on StartFlowRequest.Builder to 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 invoke Throwable.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(StopFlowRequest stopFlowRequest)
      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 invoke Throwable.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.

      This is a convenience which creates an instance of the StopFlowRequest.Builder avoiding the need to create one manually via StopFlowRequest.builder()

      Parameters:
      stopFlowRequest - A Consumer that will call methods on StopFlowRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest 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.
      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 invoke Throwable.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.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateBridgeRequest.builder()

      Parameters:
      updateBridgeRequest - A Consumer that will call methods on UpdateBridgeRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateBridgeOutputRequest.builder()

      Parameters:
      updateBridgeOutputRequest - A Consumer that will call methods on UpdateBridgeOutputRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateBridgeSourceRequest.builder()

      Parameters:
      updateBridgeSourceRequest - A Consumer that will call methods on UpdateBridgeSourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateBridgeStateRequest.builder()

      Parameters:
      updateBridgeStateRequest - A Consumer that will call methods on UpdateBridgeStateRequest.Builder to 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 invoke Throwable.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

      default CompletableFuture<UpdateFlowResponse> updateFlow(UpdateFlowRequest updateFlowRequest)
      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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateFlowRequest.builder()

      Parameters:
      updateFlowRequest - A Consumer that will call methods on UpdateFlowRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateFlowEntitlementRequest.builder()

      Parameters:
      updateFlowEntitlementRequest - A Consumer that will call methods on UpdateFlowEntitlementRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateFlowMediaStreamRequest.builder()

      Parameters:
      updateFlowMediaStreamRequest - A Consumer that will call methods on UpdateFlowMediaStreamRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateFlowOutputRequest.builder()

      Parameters:
      updateFlowOutputRequest - A Consumer that will call methods on UpdateFlowOutputRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateFlowSourceRequest.builder()

      Parameters:
      updateFlowSourceRequest - A Consumer that will call methods on UpdateFlowSourceRequest.Builder to 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 invoke Throwable.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 invoke Throwable.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.Builder avoiding the need to create one manually via UpdateGatewayInstanceRequest.builder()

      Parameters:
      updateGatewayInstanceRequest - A Consumer that will call methods on UpdateGatewayInstanceRequest.Builder to 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 invoke Throwable.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

      default MediaConnectAsyncWaiter waiter()
      Create an instance of MediaConnectAsyncWaiter using 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

      default MediaConnectServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static MediaConnectAsyncClient create()
      Create a MediaConnectAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a MediaConnectAsyncClient.