
software.amazon.awssdk.services.chimesdkmediapipelines.ChimeSdkMediaPipelinesAsyncClient Maven / Gradle / Ivy
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.chimesdkmediapipelines;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaCapturePipelineRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaCapturePipelineResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaConcatenationPipelineRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaConcatenationPipelineResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaInsightsPipelineConfigurationRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaInsightsPipelineConfigurationResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaInsightsPipelineRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaInsightsPipelineResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaLiveConnectorPipelineRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaLiveConnectorPipelineResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaPipelineKinesisVideoStreamPoolRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaPipelineKinesisVideoStreamPoolResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaStreamPipelineRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaStreamPipelineResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaCapturePipelineRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaCapturePipelineResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaInsightsPipelineConfigurationRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaInsightsPipelineConfigurationResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaPipelineKinesisVideoStreamPoolRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaPipelineKinesisVideoStreamPoolResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaPipelineRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaPipelineResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaCapturePipelineRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaCapturePipelineResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaInsightsPipelineConfigurationRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaInsightsPipelineConfigurationResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaPipelineKinesisVideoStreamPoolRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaPipelineKinesisVideoStreamPoolResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaPipelineRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaPipelineResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetSpeakerSearchTaskRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetSpeakerSearchTaskResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetVoiceToneAnalysisTaskRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.GetVoiceToneAnalysisTaskResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.StartSpeakerSearchTaskRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.StartSpeakerSearchTaskResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.StartVoiceToneAnalysisTaskRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.StartVoiceToneAnalysisTaskResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.StopSpeakerSearchTaskRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.StopSpeakerSearchTaskResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.StopVoiceToneAnalysisTaskRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.StopVoiceToneAnalysisTaskResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.TagResourceRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.TagResourceResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.UntagResourceRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.UntagResourceResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.UpdateMediaInsightsPipelineConfigurationRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.UpdateMediaInsightsPipelineConfigurationResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.UpdateMediaInsightsPipelineStatusRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.UpdateMediaInsightsPipelineStatusResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.UpdateMediaPipelineKinesisVideoStreamPoolRequest;
import software.amazon.awssdk.services.chimesdkmediapipelines.model.UpdateMediaPipelineKinesisVideoStreamPoolResponse;
import software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaCapturePipelinesPublisher;
import software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaInsightsPipelineConfigurationsPublisher;
import software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelineKinesisVideoStreamPoolsPublisher;
import software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelinesPublisher;
/**
* Service client for accessing Amazon Chime SDK Media Pipelines asynchronously. This can be created using the static
* {@link #builder()} method.
*
*
* The Amazon Chime SDK media pipeline APIs in this section allow software developers to create Amazon Chime SDK media
* pipelines that capture, concatenate, or stream your Amazon Chime SDK meetings. For more information about media
* pipelines, see Amazon Chime SDK media pipelines.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface ChimeSdkMediaPipelinesAsyncClient extends AwsClient {
String SERVICE_NAME = "chime";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "media-pipelines-chime";
/**
*
* Creates a media pipeline.
*
*
* @param createMediaCapturePipelineRequest
* @return A Java Future containing the result of the CreateMediaCapturePipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaCapturePipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaCapturePipeline(
CreateMediaCapturePipelineRequest createMediaCapturePipelineRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a media pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link CreateMediaCapturePipelineRequest.Builder} avoiding
* the need to create one manually via {@link CreateMediaCapturePipelineRequest#builder()}
*
*
* @param createMediaCapturePipelineRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaCapturePipelineRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the CreateMediaCapturePipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaCapturePipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaCapturePipeline(
Consumer createMediaCapturePipelineRequest) {
return createMediaCapturePipeline(CreateMediaCapturePipelineRequest.builder()
.applyMutation(createMediaCapturePipelineRequest).build());
}
/**
*
* Creates a media concatenation pipeline.
*
*
* @param createMediaConcatenationPipelineRequest
* @return A Java Future containing the result of the CreateMediaConcatenationPipeline operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaConcatenationPipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaConcatenationPipeline(
CreateMediaConcatenationPipelineRequest createMediaConcatenationPipelineRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a media concatenation pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link CreateMediaConcatenationPipelineRequest.Builder}
* avoiding the need to create one manually via {@link CreateMediaConcatenationPipelineRequest#builder()}
*
*
* @param createMediaConcatenationPipelineRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaConcatenationPipelineRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the CreateMediaConcatenationPipeline operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaConcatenationPipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaConcatenationPipeline(
Consumer createMediaConcatenationPipelineRequest) {
return createMediaConcatenationPipeline(CreateMediaConcatenationPipelineRequest.builder()
.applyMutation(createMediaConcatenationPipelineRequest).build());
}
/**
*
* Creates a media insights pipeline.
*
*
* @param createMediaInsightsPipelineRequest
* @return A Java Future containing the result of the CreateMediaInsightsPipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaInsightsPipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaInsightsPipeline(
CreateMediaInsightsPipelineRequest createMediaInsightsPipelineRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a media insights pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link CreateMediaInsightsPipelineRequest.Builder}
* avoiding the need to create one manually via {@link CreateMediaInsightsPipelineRequest#builder()}
*
*
* @param createMediaInsightsPipelineRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaInsightsPipelineRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the CreateMediaInsightsPipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaInsightsPipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaInsightsPipeline(
Consumer createMediaInsightsPipelineRequest) {
return createMediaInsightsPipeline(CreateMediaInsightsPipelineRequest.builder()
.applyMutation(createMediaInsightsPipelineRequest).build());
}
/**
*
* A structure that contains the static configurations for a media insights pipeline.
*
*
* @param createMediaInsightsPipelineConfigurationRequest
* @return A Java Future containing the result of the CreateMediaInsightsPipelineConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaInsightsPipelineConfiguration
* @see AWS API Documentation
*/
default CompletableFuture createMediaInsightsPipelineConfiguration(
CreateMediaInsightsPipelineConfigurationRequest createMediaInsightsPipelineConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* A structure that contains the static configurations for a media insights pipeline.
*
*
*
* This is a convenience which creates an instance of the
* {@link CreateMediaInsightsPipelineConfigurationRequest.Builder} avoiding the need to create one manually via
* {@link CreateMediaInsightsPipelineConfigurationRequest#builder()}
*
*
* @param createMediaInsightsPipelineConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaInsightsPipelineConfigurationRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the CreateMediaInsightsPipelineConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaInsightsPipelineConfiguration
* @see AWS API Documentation
*/
default CompletableFuture createMediaInsightsPipelineConfiguration(
Consumer createMediaInsightsPipelineConfigurationRequest) {
return createMediaInsightsPipelineConfiguration(CreateMediaInsightsPipelineConfigurationRequest.builder()
.applyMutation(createMediaInsightsPipelineConfigurationRequest).build());
}
/**
*
* Creates a media live connector pipeline in an Amazon Chime SDK meeting.
*
*
* @param createMediaLiveConnectorPipelineRequest
* @return A Java Future containing the result of the CreateMediaLiveConnectorPipeline operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaLiveConnectorPipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaLiveConnectorPipeline(
CreateMediaLiveConnectorPipelineRequest createMediaLiveConnectorPipelineRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a media live connector pipeline in an Amazon Chime SDK meeting.
*
*
*
* This is a convenience which creates an instance of the {@link CreateMediaLiveConnectorPipelineRequest.Builder}
* avoiding the need to create one manually via {@link CreateMediaLiveConnectorPipelineRequest#builder()}
*
*
* @param createMediaLiveConnectorPipelineRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaLiveConnectorPipelineRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the CreateMediaLiveConnectorPipeline operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaLiveConnectorPipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaLiveConnectorPipeline(
Consumer createMediaLiveConnectorPipelineRequest) {
return createMediaLiveConnectorPipeline(CreateMediaLiveConnectorPipelineRequest.builder()
.applyMutation(createMediaLiveConnectorPipelineRequest).build());
}
/**
*
* Creates an Kinesis video stream pool for the media pipeline.
*
*
* @param createMediaPipelineKinesisVideoStreamPoolRequest
* @return A Java Future containing the result of the CreateMediaPipelineKinesisVideoStreamPool operation returned
* by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaPipelineKinesisVideoStreamPool
* @see AWS API Documentation
*/
default CompletableFuture createMediaPipelineKinesisVideoStreamPool(
CreateMediaPipelineKinesisVideoStreamPoolRequest createMediaPipelineKinesisVideoStreamPoolRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an Kinesis video stream pool for the media pipeline.
*
*
*
* This is a convenience which creates an instance of the
* {@link CreateMediaPipelineKinesisVideoStreamPoolRequest.Builder} avoiding the need to create one manually via
* {@link CreateMediaPipelineKinesisVideoStreamPoolRequest#builder()}
*
*
* @param createMediaPipelineKinesisVideoStreamPoolRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaPipelineKinesisVideoStreamPoolRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the CreateMediaPipelineKinesisVideoStreamPool operation returned
* by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaPipelineKinesisVideoStreamPool
* @see AWS API Documentation
*/
default CompletableFuture createMediaPipelineKinesisVideoStreamPool(
Consumer createMediaPipelineKinesisVideoStreamPoolRequest) {
return createMediaPipelineKinesisVideoStreamPool(CreateMediaPipelineKinesisVideoStreamPoolRequest.builder()
.applyMutation(createMediaPipelineKinesisVideoStreamPoolRequest).build());
}
/**
*
* Creates a streaming media pipeline.
*
*
* @param createMediaStreamPipelineRequest
* @return A Java Future containing the result of the CreateMediaStreamPipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaStreamPipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaStreamPipeline(
CreateMediaStreamPipelineRequest createMediaStreamPipelineRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a streaming media pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link CreateMediaStreamPipelineRequest.Builder} avoiding
* the need to create one manually via {@link CreateMediaStreamPipelineRequest#builder()}
*
*
* @param createMediaStreamPipelineRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.CreateMediaStreamPipelineRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the CreateMediaStreamPipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.CreateMediaStreamPipeline
* @see AWS API Documentation
*/
default CompletableFuture createMediaStreamPipeline(
Consumer createMediaStreamPipelineRequest) {
return createMediaStreamPipeline(CreateMediaStreamPipelineRequest.builder()
.applyMutation(createMediaStreamPipelineRequest).build());
}
/**
*
* Deletes the media pipeline.
*
*
* @param deleteMediaCapturePipelineRequest
* @return A Java Future containing the result of the DeleteMediaCapturePipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.DeleteMediaCapturePipeline
* @see AWS API Documentation
*/
default CompletableFuture deleteMediaCapturePipeline(
DeleteMediaCapturePipelineRequest deleteMediaCapturePipelineRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the media pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteMediaCapturePipelineRequest.Builder} avoiding
* the need to create one manually via {@link DeleteMediaCapturePipelineRequest#builder()}
*
*
* @param deleteMediaCapturePipelineRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaCapturePipelineRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the DeleteMediaCapturePipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.DeleteMediaCapturePipeline
* @see AWS API Documentation
*/
default CompletableFuture deleteMediaCapturePipeline(
Consumer deleteMediaCapturePipelineRequest) {
return deleteMediaCapturePipeline(DeleteMediaCapturePipelineRequest.builder()
.applyMutation(deleteMediaCapturePipelineRequest).build());
}
/**
*
* Deletes the specified configuration settings.
*
*
* @param deleteMediaInsightsPipelineConfigurationRequest
* @return A Java Future containing the result of the DeleteMediaInsightsPipelineConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.DeleteMediaInsightsPipelineConfiguration
* @see AWS API Documentation
*/
default CompletableFuture deleteMediaInsightsPipelineConfiguration(
DeleteMediaInsightsPipelineConfigurationRequest deleteMediaInsightsPipelineConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified configuration settings.
*
*
*
* This is a convenience which creates an instance of the
* {@link DeleteMediaInsightsPipelineConfigurationRequest.Builder} avoiding the need to create one manually via
* {@link DeleteMediaInsightsPipelineConfigurationRequest#builder()}
*
*
* @param deleteMediaInsightsPipelineConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaInsightsPipelineConfigurationRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the DeleteMediaInsightsPipelineConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.DeleteMediaInsightsPipelineConfiguration
* @see AWS API Documentation
*/
default CompletableFuture deleteMediaInsightsPipelineConfiguration(
Consumer deleteMediaInsightsPipelineConfigurationRequest) {
return deleteMediaInsightsPipelineConfiguration(DeleteMediaInsightsPipelineConfigurationRequest.builder()
.applyMutation(deleteMediaInsightsPipelineConfigurationRequest).build());
}
/**
*
* Deletes the media pipeline.
*
*
* @param deleteMediaPipelineRequest
* @return A Java Future containing the result of the DeleteMediaPipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.DeleteMediaPipeline
* @see AWS API Documentation
*/
default CompletableFuture deleteMediaPipeline(
DeleteMediaPipelineRequest deleteMediaPipelineRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the media pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteMediaPipelineRequest.Builder} avoiding the
* need to create one manually via {@link DeleteMediaPipelineRequest#builder()}
*
*
* @param deleteMediaPipelineRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaPipelineRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the DeleteMediaPipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.DeleteMediaPipeline
* @see AWS API Documentation
*/
default CompletableFuture deleteMediaPipeline(
Consumer deleteMediaPipelineRequest) {
return deleteMediaPipeline(DeleteMediaPipelineRequest.builder().applyMutation(deleteMediaPipelineRequest).build());
}
/**
*
* Deletes an Kinesis video stream pool.
*
*
* @param deleteMediaPipelineKinesisVideoStreamPoolRequest
* @return A Java Future containing the result of the DeleteMediaPipelineKinesisVideoStreamPool operation returned
* by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.DeleteMediaPipelineKinesisVideoStreamPool
* @see AWS API Documentation
*/
default CompletableFuture deleteMediaPipelineKinesisVideoStreamPool(
DeleteMediaPipelineKinesisVideoStreamPoolRequest deleteMediaPipelineKinesisVideoStreamPoolRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an Kinesis video stream pool.
*
*
*
* This is a convenience which creates an instance of the
* {@link DeleteMediaPipelineKinesisVideoStreamPoolRequest.Builder} avoiding the need to create one manually via
* {@link DeleteMediaPipelineKinesisVideoStreamPoolRequest#builder()}
*
*
* @param deleteMediaPipelineKinesisVideoStreamPoolRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.DeleteMediaPipelineKinesisVideoStreamPoolRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the DeleteMediaPipelineKinesisVideoStreamPool operation returned
* by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.DeleteMediaPipelineKinesisVideoStreamPool
* @see AWS API Documentation
*/
default CompletableFuture deleteMediaPipelineKinesisVideoStreamPool(
Consumer deleteMediaPipelineKinesisVideoStreamPoolRequest) {
return deleteMediaPipelineKinesisVideoStreamPool(DeleteMediaPipelineKinesisVideoStreamPoolRequest.builder()
.applyMutation(deleteMediaPipelineKinesisVideoStreamPoolRequest).build());
}
/**
*
* Gets an existing media pipeline.
*
*
* @param getMediaCapturePipelineRequest
* @return A Java Future containing the result of the GetMediaCapturePipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetMediaCapturePipeline
* @see AWS API Documentation
*/
default CompletableFuture getMediaCapturePipeline(
GetMediaCapturePipelineRequest getMediaCapturePipelineRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets an existing media pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link GetMediaCapturePipelineRequest.Builder} avoiding
* the need to create one manually via {@link GetMediaCapturePipelineRequest#builder()}
*
*
* @param getMediaCapturePipelineRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaCapturePipelineRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the GetMediaCapturePipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetMediaCapturePipeline
* @see AWS API Documentation
*/
default CompletableFuture getMediaCapturePipeline(
Consumer getMediaCapturePipelineRequest) {
return getMediaCapturePipeline(GetMediaCapturePipelineRequest.builder().applyMutation(getMediaCapturePipelineRequest)
.build());
}
/**
*
* Gets the configuration settings for a media insights pipeline.
*
*
* @param getMediaInsightsPipelineConfigurationRequest
* @return A Java Future containing the result of the GetMediaInsightsPipelineConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetMediaInsightsPipelineConfiguration
* @see AWS API Documentation
*/
default CompletableFuture getMediaInsightsPipelineConfiguration(
GetMediaInsightsPipelineConfigurationRequest getMediaInsightsPipelineConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the configuration settings for a media insights pipeline.
*
*
*
* This is a convenience which creates an instance of the
* {@link GetMediaInsightsPipelineConfigurationRequest.Builder} avoiding the need to create one manually via
* {@link GetMediaInsightsPipelineConfigurationRequest#builder()}
*
*
* @param getMediaInsightsPipelineConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaInsightsPipelineConfigurationRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the GetMediaInsightsPipelineConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetMediaInsightsPipelineConfiguration
* @see AWS API Documentation
*/
default CompletableFuture getMediaInsightsPipelineConfiguration(
Consumer getMediaInsightsPipelineConfigurationRequest) {
return getMediaInsightsPipelineConfiguration(GetMediaInsightsPipelineConfigurationRequest.builder()
.applyMutation(getMediaInsightsPipelineConfigurationRequest).build());
}
/**
*
* Gets an existing media pipeline.
*
*
* @param getMediaPipelineRequest
* @return A Java Future containing the result of the GetMediaPipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetMediaPipeline
* @see AWS API Documentation
*/
default CompletableFuture getMediaPipeline(GetMediaPipelineRequest getMediaPipelineRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets an existing media pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link GetMediaPipelineRequest.Builder} avoiding the need
* to create one manually via {@link GetMediaPipelineRequest#builder()}
*
*
* @param getMediaPipelineRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaPipelineRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the GetMediaPipeline operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetMediaPipeline
* @see AWS API Documentation
*/
default CompletableFuture getMediaPipeline(
Consumer getMediaPipelineRequest) {
return getMediaPipeline(GetMediaPipelineRequest.builder().applyMutation(getMediaPipelineRequest).build());
}
/**
*
* Gets an Kinesis video stream pool.
*
*
* @param getMediaPipelineKinesisVideoStreamPoolRequest
* @return A Java Future containing the result of the GetMediaPipelineKinesisVideoStreamPool operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetMediaPipelineKinesisVideoStreamPool
* @see AWS API Documentation
*/
default CompletableFuture getMediaPipelineKinesisVideoStreamPool(
GetMediaPipelineKinesisVideoStreamPoolRequest getMediaPipelineKinesisVideoStreamPoolRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets an Kinesis video stream pool.
*
*
*
* This is a convenience which creates an instance of the
* {@link GetMediaPipelineKinesisVideoStreamPoolRequest.Builder} avoiding the need to create one manually via
* {@link GetMediaPipelineKinesisVideoStreamPoolRequest#builder()}
*
*
* @param getMediaPipelineKinesisVideoStreamPoolRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.GetMediaPipelineKinesisVideoStreamPoolRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the GetMediaPipelineKinesisVideoStreamPool operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetMediaPipelineKinesisVideoStreamPool
* @see AWS API Documentation
*/
default CompletableFuture getMediaPipelineKinesisVideoStreamPool(
Consumer getMediaPipelineKinesisVideoStreamPoolRequest) {
return getMediaPipelineKinesisVideoStreamPool(GetMediaPipelineKinesisVideoStreamPoolRequest.builder()
.applyMutation(getMediaPipelineKinesisVideoStreamPoolRequest).build());
}
/**
*
* Retrieves the details of the specified speaker search task.
*
*
* @param getSpeakerSearchTaskRequest
* @return A Java Future containing the result of the GetSpeakerSearchTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetSpeakerSearchTask
* @see AWS API Documentation
*/
default CompletableFuture getSpeakerSearchTask(
GetSpeakerSearchTaskRequest getSpeakerSearchTaskRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the details of the specified speaker search task.
*
*
*
* This is a convenience which creates an instance of the {@link GetSpeakerSearchTaskRequest.Builder} avoiding the
* need to create one manually via {@link GetSpeakerSearchTaskRequest#builder()}
*
*
* @param getSpeakerSearchTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.GetSpeakerSearchTaskRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the GetSpeakerSearchTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetSpeakerSearchTask
* @see AWS API Documentation
*/
default CompletableFuture getSpeakerSearchTask(
Consumer getSpeakerSearchTaskRequest) {
return getSpeakerSearchTask(GetSpeakerSearchTaskRequest.builder().applyMutation(getSpeakerSearchTaskRequest).build());
}
/**
*
* Retrieves the details of a voice tone analysis task.
*
*
* @param getVoiceToneAnalysisTaskRequest
* @return A Java Future containing the result of the GetVoiceToneAnalysisTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetVoiceToneAnalysisTask
* @see AWS API Documentation
*/
default CompletableFuture getVoiceToneAnalysisTask(
GetVoiceToneAnalysisTaskRequest getVoiceToneAnalysisTaskRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the details of a voice tone analysis task.
*
*
*
* This is a convenience which creates an instance of the {@link GetVoiceToneAnalysisTaskRequest.Builder} avoiding
* the need to create one manually via {@link GetVoiceToneAnalysisTaskRequest#builder()}
*
*
* @param getVoiceToneAnalysisTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.GetVoiceToneAnalysisTaskRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the GetVoiceToneAnalysisTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.GetVoiceToneAnalysisTask
* @see AWS API Documentation
*/
default CompletableFuture getVoiceToneAnalysisTask(
Consumer getVoiceToneAnalysisTaskRequest) {
return getVoiceToneAnalysisTask(GetVoiceToneAnalysisTaskRequest.builder().applyMutation(getVoiceToneAnalysisTaskRequest)
.build());
}
/**
*
* Returns a list of media pipelines.
*
*
* @param listMediaCapturePipelinesRequest
* @return A Java Future containing the result of the ListMediaCapturePipelines operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaCapturePipelines
* @see AWS API Documentation
*/
default CompletableFuture listMediaCapturePipelines(
ListMediaCapturePipelinesRequest listMediaCapturePipelinesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of media pipelines.
*
*
*
* This is a convenience which creates an instance of the {@link ListMediaCapturePipelinesRequest.Builder} avoiding
* the need to create one manually via {@link ListMediaCapturePipelinesRequest#builder()}
*
*
* @param listMediaCapturePipelinesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the ListMediaCapturePipelines operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaCapturePipelines
* @see AWS API Documentation
*/
default CompletableFuture listMediaCapturePipelines(
Consumer listMediaCapturePipelinesRequest) {
return listMediaCapturePipelines(ListMediaCapturePipelinesRequest.builder()
.applyMutation(listMediaCapturePipelinesRequest).build());
}
/**
*
* Returns a list of media pipelines.
*
*
*
* This is a variant of
* {@link #listMediaCapturePipelines(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesRequest)}
* 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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaCapturePipelinesPublisher publisher = client.listMediaCapturePipelinesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaCapturePipelinesPublisher publisher = client.listMediaCapturePipelinesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesResponse 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
* {@link #listMediaCapturePipelines(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesRequest)}
* operation.
*
*
* @param listMediaCapturePipelinesRequest
* @return 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.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaCapturePipelines
* @see AWS API Documentation
*/
default ListMediaCapturePipelinesPublisher listMediaCapturePipelinesPaginator(
ListMediaCapturePipelinesRequest listMediaCapturePipelinesRequest) {
return new ListMediaCapturePipelinesPublisher(this, listMediaCapturePipelinesRequest);
}
/**
*
* Returns a list of media pipelines.
*
*
*
* This is a variant of
* {@link #listMediaCapturePipelines(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesRequest)}
* 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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaCapturePipelinesPublisher publisher = client.listMediaCapturePipelinesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaCapturePipelinesPublisher publisher = client.listMediaCapturePipelinesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesResponse 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
* {@link #listMediaCapturePipelines(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListMediaCapturePipelinesRequest.Builder} avoiding
* the need to create one manually via {@link ListMediaCapturePipelinesRequest#builder()}
*
*
* @param listMediaCapturePipelinesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaCapturePipelinesRequest.Builder}
* to create a request.
* @return 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.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaCapturePipelines
* @see AWS API Documentation
*/
default ListMediaCapturePipelinesPublisher listMediaCapturePipelinesPaginator(
Consumer listMediaCapturePipelinesRequest) {
return listMediaCapturePipelinesPaginator(ListMediaCapturePipelinesRequest.builder()
.applyMutation(listMediaCapturePipelinesRequest).build());
}
/**
*
* Lists the available media insights pipeline configurations.
*
*
* @param listMediaInsightsPipelineConfigurationsRequest
* @return A Java Future containing the result of the ListMediaInsightsPipelineConfigurations operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaInsightsPipelineConfigurations
* @see AWS API Documentation
*/
default CompletableFuture listMediaInsightsPipelineConfigurations(
ListMediaInsightsPipelineConfigurationsRequest listMediaInsightsPipelineConfigurationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the available media insights pipeline configurations.
*
*
*
* This is a convenience which creates an instance of the
* {@link ListMediaInsightsPipelineConfigurationsRequest.Builder} avoiding the need to create one manually via
* {@link ListMediaInsightsPipelineConfigurationsRequest#builder()}
*
*
* @param listMediaInsightsPipelineConfigurationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the ListMediaInsightsPipelineConfigurations operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaInsightsPipelineConfigurations
* @see AWS API Documentation
*/
default CompletableFuture listMediaInsightsPipelineConfigurations(
Consumer listMediaInsightsPipelineConfigurationsRequest) {
return listMediaInsightsPipelineConfigurations(ListMediaInsightsPipelineConfigurationsRequest.builder()
.applyMutation(listMediaInsightsPipelineConfigurationsRequest).build());
}
/**
*
* Lists the available media insights pipeline configurations.
*
*
*
* This is a variant of
* {@link #listMediaInsightsPipelineConfigurations(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsRequest)}
* 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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaInsightsPipelineConfigurationsPublisher publisher = client.listMediaInsightsPipelineConfigurationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaInsightsPipelineConfigurationsPublisher publisher = client.listMediaInsightsPipelineConfigurationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsResponse 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
* {@link #listMediaInsightsPipelineConfigurations(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsRequest)}
* operation.
*
*
* @param listMediaInsightsPipelineConfigurationsRequest
* @return 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.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaInsightsPipelineConfigurations
* @see AWS API Documentation
*/
default ListMediaInsightsPipelineConfigurationsPublisher listMediaInsightsPipelineConfigurationsPaginator(
ListMediaInsightsPipelineConfigurationsRequest listMediaInsightsPipelineConfigurationsRequest) {
return new ListMediaInsightsPipelineConfigurationsPublisher(this, listMediaInsightsPipelineConfigurationsRequest);
}
/**
*
* Lists the available media insights pipeline configurations.
*
*
*
* This is a variant of
* {@link #listMediaInsightsPipelineConfigurations(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsRequest)}
* 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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaInsightsPipelineConfigurationsPublisher publisher = client.listMediaInsightsPipelineConfigurationsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaInsightsPipelineConfigurationsPublisher publisher = client.listMediaInsightsPipelineConfigurationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsResponse 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
* {@link #listMediaInsightsPipelineConfigurations(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link ListMediaInsightsPipelineConfigurationsRequest.Builder} avoiding the need to create one manually via
* {@link ListMediaInsightsPipelineConfigurationsRequest#builder()}
*
*
* @param listMediaInsightsPipelineConfigurationsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaInsightsPipelineConfigurationsRequest.Builder}
* to create a request.
* @return 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.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaInsightsPipelineConfigurations
* @see AWS API Documentation
*/
default ListMediaInsightsPipelineConfigurationsPublisher listMediaInsightsPipelineConfigurationsPaginator(
Consumer listMediaInsightsPipelineConfigurationsRequest) {
return listMediaInsightsPipelineConfigurationsPaginator(ListMediaInsightsPipelineConfigurationsRequest.builder()
.applyMutation(listMediaInsightsPipelineConfigurationsRequest).build());
}
/**
*
* Lists the video stream pools in the media pipeline.
*
*
* @param listMediaPipelineKinesisVideoStreamPoolsRequest
* @return A Java Future containing the result of the ListMediaPipelineKinesisVideoStreamPools operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaPipelineKinesisVideoStreamPools
* @see AWS API Documentation
*/
default CompletableFuture listMediaPipelineKinesisVideoStreamPools(
ListMediaPipelineKinesisVideoStreamPoolsRequest listMediaPipelineKinesisVideoStreamPoolsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the video stream pools in the media pipeline.
*
*
*
* This is a convenience which creates an instance of the
* {@link ListMediaPipelineKinesisVideoStreamPoolsRequest.Builder} avoiding the need to create one manually via
* {@link ListMediaPipelineKinesisVideoStreamPoolsRequest#builder()}
*
*
* @param listMediaPipelineKinesisVideoStreamPoolsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the ListMediaPipelineKinesisVideoStreamPools operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaPipelineKinesisVideoStreamPools
* @see AWS API Documentation
*/
default CompletableFuture listMediaPipelineKinesisVideoStreamPools(
Consumer listMediaPipelineKinesisVideoStreamPoolsRequest) {
return listMediaPipelineKinesisVideoStreamPools(ListMediaPipelineKinesisVideoStreamPoolsRequest.builder()
.applyMutation(listMediaPipelineKinesisVideoStreamPoolsRequest).build());
}
/**
*
* Lists the video stream pools in the media pipeline.
*
*
*
* This is a variant of
* {@link #listMediaPipelineKinesisVideoStreamPools(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsRequest)}
* 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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelineKinesisVideoStreamPoolsPublisher publisher = client.listMediaPipelineKinesisVideoStreamPoolsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelineKinesisVideoStreamPoolsPublisher publisher = client.listMediaPipelineKinesisVideoStreamPoolsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsResponse 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
* {@link #listMediaPipelineKinesisVideoStreamPools(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsRequest)}
* operation.
*
*
* @param listMediaPipelineKinesisVideoStreamPoolsRequest
* @return 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.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaPipelineKinesisVideoStreamPools
* @see AWS API Documentation
*/
default ListMediaPipelineKinesisVideoStreamPoolsPublisher listMediaPipelineKinesisVideoStreamPoolsPaginator(
ListMediaPipelineKinesisVideoStreamPoolsRequest listMediaPipelineKinesisVideoStreamPoolsRequest) {
return new ListMediaPipelineKinesisVideoStreamPoolsPublisher(this, listMediaPipelineKinesisVideoStreamPoolsRequest);
}
/**
*
* Lists the video stream pools in the media pipeline.
*
*
*
* This is a variant of
* {@link #listMediaPipelineKinesisVideoStreamPools(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsRequest)}
* 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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelineKinesisVideoStreamPoolsPublisher publisher = client.listMediaPipelineKinesisVideoStreamPoolsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelineKinesisVideoStreamPoolsPublisher publisher = client.listMediaPipelineKinesisVideoStreamPoolsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsResponse 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
* {@link #listMediaPipelineKinesisVideoStreamPools(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the
* {@link ListMediaPipelineKinesisVideoStreamPoolsRequest.Builder} avoiding the need to create one manually via
* {@link ListMediaPipelineKinesisVideoStreamPoolsRequest#builder()}
*
*
* @param listMediaPipelineKinesisVideoStreamPoolsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelineKinesisVideoStreamPoolsRequest.Builder}
* to create a request.
* @return 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.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaPipelineKinesisVideoStreamPools
* @see AWS API Documentation
*/
default ListMediaPipelineKinesisVideoStreamPoolsPublisher listMediaPipelineKinesisVideoStreamPoolsPaginator(
Consumer listMediaPipelineKinesisVideoStreamPoolsRequest) {
return listMediaPipelineKinesisVideoStreamPoolsPaginator(ListMediaPipelineKinesisVideoStreamPoolsRequest.builder()
.applyMutation(listMediaPipelineKinesisVideoStreamPoolsRequest).build());
}
/**
*
* Returns a list of media pipelines.
*
*
* @param listMediaPipelinesRequest
* @return A Java Future containing the result of the ListMediaPipelines operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaPipelines
* @see AWS API Documentation
*/
default CompletableFuture listMediaPipelines(ListMediaPipelinesRequest listMediaPipelinesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of media pipelines.
*
*
*
* This is a convenience which creates an instance of the {@link ListMediaPipelinesRequest.Builder} avoiding the
* need to create one manually via {@link ListMediaPipelinesRequest#builder()}
*
*
* @param listMediaPipelinesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListMediaPipelines operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaPipelines
* @see AWS API Documentation
*/
default CompletableFuture listMediaPipelines(
Consumer listMediaPipelinesRequest) {
return listMediaPipelines(ListMediaPipelinesRequest.builder().applyMutation(listMediaPipelinesRequest).build());
}
/**
*
* Returns a list of media pipelines.
*
*
*
* This is a variant of
* {@link #listMediaPipelines(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesRequest)}
* 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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelinesPublisher publisher = client.listMediaPipelinesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelinesPublisher publisher = client.listMediaPipelinesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesResponse 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
* {@link #listMediaPipelines(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesRequest)}
* operation.
*
*
* @param listMediaPipelinesRequest
* @return 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.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaPipelines
* @see AWS API Documentation
*/
default ListMediaPipelinesPublisher listMediaPipelinesPaginator(ListMediaPipelinesRequest listMediaPipelinesRequest) {
return new ListMediaPipelinesPublisher(this, listMediaPipelinesRequest);
}
/**
*
* Returns a list of media pipelines.
*
*
*
* This is a variant of
* {@link #listMediaPipelines(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesRequest)}
* 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
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.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
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelinesPublisher publisher = client.listMediaPipelinesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.chimesdkmediapipelines.paginators.ListMediaPipelinesPublisher publisher = client.listMediaPipelinesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesResponse 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
* {@link #listMediaPipelines(software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListMediaPipelinesRequest.Builder} avoiding the
* need to create one manually via {@link ListMediaPipelinesRequest#builder()}
*
*
* @param listMediaPipelinesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.ListMediaPipelinesRequest.Builder} to
* create a request.
* @return 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.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ResourceLimitExceededException The request exceeds the resource limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListMediaPipelines
* @see AWS API Documentation
*/
default ListMediaPipelinesPublisher listMediaPipelinesPaginator(
Consumer listMediaPipelinesRequest) {
return listMediaPipelinesPaginator(ListMediaPipelinesRequest.builder().applyMutation(listMediaPipelinesRequest).build());
}
/**
*
* Lists the tags available for a media pipeline.
*
*
* @param listTagsForResourceRequest
* @return 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.
*
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListTagsForResource
* @see AWS API Documentation
*/
default CompletableFuture listTagsForResource(
ListTagsForResourceRequest listTagsForResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the tags available for a media pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the
* need to create one manually via {@link ListTagsForResourceRequest#builder()}
*
*
* @param listTagsForResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.ListTagsForResourceRequest.Builder} to
* create a request.
* @return 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.
*
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.ListTagsForResource
* @see AWS API Documentation
*/
default CompletableFuture listTagsForResource(
Consumer listTagsForResourceRequest) {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Starts a speaker search task.
*
*
*
* Before starting any speaker search tasks, you must provide all notices and obtain all consents from the speaker
* as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK.
*
*
*
* @param startSpeakerSearchTaskRequest
* @return A Java Future containing the result of the StartSpeakerSearchTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.StartSpeakerSearchTask
* @see AWS API Documentation
*/
default CompletableFuture startSpeakerSearchTask(
StartSpeakerSearchTaskRequest startSpeakerSearchTaskRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Starts a speaker search task.
*
*
*
* Before starting any speaker search tasks, you must provide all notices and obtain all consents from the speaker
* as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK.
*
*
*
* This is a convenience which creates an instance of the {@link StartSpeakerSearchTaskRequest.Builder} avoiding the
* need to create one manually via {@link StartSpeakerSearchTaskRequest#builder()}
*
*
* @param startSpeakerSearchTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.StartSpeakerSearchTaskRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the StartSpeakerSearchTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.StartSpeakerSearchTask
* @see AWS API Documentation
*/
default CompletableFuture startSpeakerSearchTask(
Consumer startSpeakerSearchTaskRequest) {
return startSpeakerSearchTask(StartSpeakerSearchTaskRequest.builder().applyMutation(startSpeakerSearchTaskRequest)
.build());
}
/**
*
* Starts a voice tone analysis task. For more information about voice tone analysis, see Using Amazon Chime SDK voice
* analytics in the Amazon Chime SDK Developer Guide.
*
*
*
* Before starting any voice tone analysis tasks, you must provide all notices and obtain all consents from the
* speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK.
*
*
*
* @param startVoiceToneAnalysisTaskRequest
* @return A Java Future containing the result of the StartVoiceToneAnalysisTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.StartVoiceToneAnalysisTask
* @see AWS API Documentation
*/
default CompletableFuture startVoiceToneAnalysisTask(
StartVoiceToneAnalysisTaskRequest startVoiceToneAnalysisTaskRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Starts a voice tone analysis task. For more information about voice tone analysis, see Using Amazon Chime SDK voice
* analytics in the Amazon Chime SDK Developer Guide.
*
*
*
* Before starting any voice tone analysis tasks, you must provide all notices and obtain all consents from the
* speaker as required under applicable privacy and biometrics laws, and as required under the AWS service terms for the Amazon Chime SDK.
*
*
*
* This is a convenience which creates an instance of the {@link StartVoiceToneAnalysisTaskRequest.Builder} avoiding
* the need to create one manually via {@link StartVoiceToneAnalysisTaskRequest#builder()}
*
*
* @param startVoiceToneAnalysisTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.StartVoiceToneAnalysisTaskRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the StartVoiceToneAnalysisTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.StartVoiceToneAnalysisTask
* @see AWS API Documentation
*/
default CompletableFuture startVoiceToneAnalysisTask(
Consumer startVoiceToneAnalysisTaskRequest) {
return startVoiceToneAnalysisTask(StartVoiceToneAnalysisTaskRequest.builder()
.applyMutation(startVoiceToneAnalysisTaskRequest).build());
}
/**
*
* Stops a speaker search task.
*
*
* @param stopSpeakerSearchTaskRequest
* @return A Java Future containing the result of the StopSpeakerSearchTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.StopSpeakerSearchTask
* @see AWS API Documentation
*/
default CompletableFuture stopSpeakerSearchTask(
StopSpeakerSearchTaskRequest stopSpeakerSearchTaskRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Stops a speaker search task.
*
*
*
* This is a convenience which creates an instance of the {@link StopSpeakerSearchTaskRequest.Builder} avoiding the
* need to create one manually via {@link StopSpeakerSearchTaskRequest#builder()}
*
*
* @param stopSpeakerSearchTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.StopSpeakerSearchTaskRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the StopSpeakerSearchTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.StopSpeakerSearchTask
* @see AWS API Documentation
*/
default CompletableFuture stopSpeakerSearchTask(
Consumer stopSpeakerSearchTaskRequest) {
return stopSpeakerSearchTask(StopSpeakerSearchTaskRequest.builder().applyMutation(stopSpeakerSearchTaskRequest).build());
}
/**
*
* Stops a voice tone analysis task.
*
*
* @param stopVoiceToneAnalysisTaskRequest
* @return A Java Future containing the result of the StopVoiceToneAnalysisTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.StopVoiceToneAnalysisTask
* @see AWS API Documentation
*/
default CompletableFuture stopVoiceToneAnalysisTask(
StopVoiceToneAnalysisTaskRequest stopVoiceToneAnalysisTaskRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Stops a voice tone analysis task.
*
*
*
* This is a convenience which creates an instance of the {@link StopVoiceToneAnalysisTaskRequest.Builder} avoiding
* the need to create one manually via {@link StopVoiceToneAnalysisTaskRequest#builder()}
*
*
* @param stopVoiceToneAnalysisTaskRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.StopVoiceToneAnalysisTaskRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the StopVoiceToneAnalysisTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.StopVoiceToneAnalysisTask
* @see AWS API Documentation
*/
default CompletableFuture stopVoiceToneAnalysisTask(
Consumer stopVoiceToneAnalysisTaskRequest) {
return stopVoiceToneAnalysisTask(StopVoiceToneAnalysisTaskRequest.builder()
.applyMutation(stopVoiceToneAnalysisTaskRequest).build());
}
/**
*
* The ARN of the media pipeline that you want to tag. Consists of the pipeline's endpoint region, resource ID, and
* pipeline ID.
*
*
* @param tagResourceRequest
* @return 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.
*
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.TagResource
* @see AWS API Documentation
*/
default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* The ARN of the media pipeline that you want to tag. Consists of the pipeline's endpoint region, resource ID, and
* pipeline ID.
*
*
*
* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to
* create one manually via {@link TagResourceRequest#builder()}
*
*
* @param tagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.TagResourceRequest.Builder} to create
* a request.
* @return 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.
*
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.TagResource
* @see AWS API Documentation
*/
default CompletableFuture tagResource(Consumer tagResourceRequest) {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Removes any tags from a media pipeline.
*
*
* @param untagResourceRequest
* @return 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.
*
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.UntagResource
* @see AWS API Documentation
*/
default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Removes any tags from a media pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to
* create one manually via {@link UntagResourceRequest#builder()}
*
*
* @param untagResourceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.UntagResourceRequest.Builder} to
* create a request.
* @return 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.
*
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.UntagResource
* @see AWS API Documentation
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates the media insights pipeline's configuration settings.
*
*
* @param updateMediaInsightsPipelineConfigurationRequest
* @return A Java Future containing the result of the UpdateMediaInsightsPipelineConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.UpdateMediaInsightsPipelineConfiguration
* @see AWS API Documentation
*/
default CompletableFuture updateMediaInsightsPipelineConfiguration(
UpdateMediaInsightsPipelineConfigurationRequest updateMediaInsightsPipelineConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the media insights pipeline's configuration settings.
*
*
*
* This is a convenience which creates an instance of the
* {@link UpdateMediaInsightsPipelineConfigurationRequest.Builder} avoiding the need to create one manually via
* {@link UpdateMediaInsightsPipelineConfigurationRequest#builder()}
*
*
* @param updateMediaInsightsPipelineConfigurationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.UpdateMediaInsightsPipelineConfigurationRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the UpdateMediaInsightsPipelineConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.UpdateMediaInsightsPipelineConfiguration
* @see AWS API Documentation
*/
default CompletableFuture updateMediaInsightsPipelineConfiguration(
Consumer updateMediaInsightsPipelineConfigurationRequest) {
return updateMediaInsightsPipelineConfiguration(UpdateMediaInsightsPipelineConfigurationRequest.builder()
.applyMutation(updateMediaInsightsPipelineConfigurationRequest).build());
}
/**
*
* Updates the status of a media insights pipeline.
*
*
* @param updateMediaInsightsPipelineStatusRequest
* @return A Java Future containing the result of the UpdateMediaInsightsPipelineStatus operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.UpdateMediaInsightsPipelineStatus
* @see AWS API Documentation
*/
default CompletableFuture updateMediaInsightsPipelineStatus(
UpdateMediaInsightsPipelineStatusRequest updateMediaInsightsPipelineStatusRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the status of a media insights pipeline.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateMediaInsightsPipelineStatusRequest.Builder}
* avoiding the need to create one manually via {@link UpdateMediaInsightsPipelineStatusRequest#builder()}
*
*
* @param updateMediaInsightsPipelineStatusRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.UpdateMediaInsightsPipelineStatusRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the UpdateMediaInsightsPipelineStatus operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.UpdateMediaInsightsPipelineStatus
* @see AWS API Documentation
*/
default CompletableFuture updateMediaInsightsPipelineStatus(
Consumer updateMediaInsightsPipelineStatusRequest) {
return updateMediaInsightsPipelineStatus(UpdateMediaInsightsPipelineStatusRequest.builder()
.applyMutation(updateMediaInsightsPipelineStatusRequest).build());
}
/**
*
* Updates an Kinesis video stream pool in a media pipeline.
*
*
* @param updateMediaPipelineKinesisVideoStreamPoolRequest
* @return A Java Future containing the result of the UpdateMediaPipelineKinesisVideoStreamPool operation returned
* by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.UpdateMediaPipelineKinesisVideoStreamPool
* @see AWS API Documentation
*/
default CompletableFuture updateMediaPipelineKinesisVideoStreamPool(
UpdateMediaPipelineKinesisVideoStreamPoolRequest updateMediaPipelineKinesisVideoStreamPoolRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an Kinesis video stream pool in a media pipeline.
*
*
*
* This is a convenience which creates an instance of the
* {@link UpdateMediaPipelineKinesisVideoStreamPoolRequest.Builder} avoiding the need to create one manually via
* {@link UpdateMediaPipelineKinesisVideoStreamPoolRequest#builder()}
*
*
* @param updateMediaPipelineKinesisVideoStreamPoolRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.chimesdkmediapipelines.model.UpdateMediaPipelineKinesisVideoStreamPoolRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the UpdateMediaPipelineKinesisVideoStreamPool operation returned
* by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - BadRequestException The input parameters don't match the service's restrictions.
* - ForbiddenException The client is permanently forbidden from making the request.
* - NotFoundException One or more of the resources in the request does not exist in the system.
* - UnauthorizedClientException The client is not currently authorized to make the request.
* - ThrottledClientException The client exceeded its request rate limit.
* - ConflictException The request could not be processed because of conflict in the current state of the
* resource.
* - ServiceUnavailableException The service is currently unavailable.
* - ServiceFailureException The service encountered an unexpected 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.
* - ChimeSdkMediaPipelinesException Base class for all service exceptions. Unknown exceptions will be
* thrown as an instance of this type.
*
* @sample ChimeSdkMediaPipelinesAsyncClient.UpdateMediaPipelineKinesisVideoStreamPool
* @see AWS API Documentation
*/
default CompletableFuture updateMediaPipelineKinesisVideoStreamPool(
Consumer updateMediaPipelineKinesisVideoStreamPoolRequest) {
return updateMediaPipelineKinesisVideoStreamPool(UpdateMediaPipelineKinesisVideoStreamPoolRequest.builder()
.applyMutation(updateMediaPipelineKinesisVideoStreamPoolRequest).build());
}
@Override
default ChimeSdkMediaPipelinesServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
/**
* Create a {@link ChimeSdkMediaPipelinesAsyncClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static ChimeSdkMediaPipelinesAsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link ChimeSdkMediaPipelinesAsyncClient}.
*/
static ChimeSdkMediaPipelinesAsyncClientBuilder builder() {
return new DefaultChimeSdkMediaPipelinesAsyncClientBuilder();
}
}