software.amazon.awssdk.services.nimble.NimbleAsyncClient Maven / Gradle / Ivy
Show all versions of nimble Show documentation
/*
* 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.nimble;
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.nimble.model.AcceptEulasRequest;
import software.amazon.awssdk.services.nimble.model.AcceptEulasResponse;
import software.amazon.awssdk.services.nimble.model.CreateLaunchProfileRequest;
import software.amazon.awssdk.services.nimble.model.CreateLaunchProfileResponse;
import software.amazon.awssdk.services.nimble.model.CreateStreamingImageRequest;
import software.amazon.awssdk.services.nimble.model.CreateStreamingImageResponse;
import software.amazon.awssdk.services.nimble.model.CreateStreamingSessionRequest;
import software.amazon.awssdk.services.nimble.model.CreateStreamingSessionResponse;
import software.amazon.awssdk.services.nimble.model.CreateStreamingSessionStreamRequest;
import software.amazon.awssdk.services.nimble.model.CreateStreamingSessionStreamResponse;
import software.amazon.awssdk.services.nimble.model.CreateStudioComponentRequest;
import software.amazon.awssdk.services.nimble.model.CreateStudioComponentResponse;
import software.amazon.awssdk.services.nimble.model.CreateStudioRequest;
import software.amazon.awssdk.services.nimble.model.CreateStudioResponse;
import software.amazon.awssdk.services.nimble.model.DeleteLaunchProfileMemberRequest;
import software.amazon.awssdk.services.nimble.model.DeleteLaunchProfileMemberResponse;
import software.amazon.awssdk.services.nimble.model.DeleteLaunchProfileRequest;
import software.amazon.awssdk.services.nimble.model.DeleteLaunchProfileResponse;
import software.amazon.awssdk.services.nimble.model.DeleteStreamingImageRequest;
import software.amazon.awssdk.services.nimble.model.DeleteStreamingImageResponse;
import software.amazon.awssdk.services.nimble.model.DeleteStreamingSessionRequest;
import software.amazon.awssdk.services.nimble.model.DeleteStreamingSessionResponse;
import software.amazon.awssdk.services.nimble.model.DeleteStudioComponentRequest;
import software.amazon.awssdk.services.nimble.model.DeleteStudioComponentResponse;
import software.amazon.awssdk.services.nimble.model.DeleteStudioMemberRequest;
import software.amazon.awssdk.services.nimble.model.DeleteStudioMemberResponse;
import software.amazon.awssdk.services.nimble.model.DeleteStudioRequest;
import software.amazon.awssdk.services.nimble.model.DeleteStudioResponse;
import software.amazon.awssdk.services.nimble.model.GetEulaRequest;
import software.amazon.awssdk.services.nimble.model.GetEulaResponse;
import software.amazon.awssdk.services.nimble.model.GetLaunchProfileDetailsRequest;
import software.amazon.awssdk.services.nimble.model.GetLaunchProfileDetailsResponse;
import software.amazon.awssdk.services.nimble.model.GetLaunchProfileInitializationRequest;
import software.amazon.awssdk.services.nimble.model.GetLaunchProfileInitializationResponse;
import software.amazon.awssdk.services.nimble.model.GetLaunchProfileMemberRequest;
import software.amazon.awssdk.services.nimble.model.GetLaunchProfileMemberResponse;
import software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest;
import software.amazon.awssdk.services.nimble.model.GetLaunchProfileResponse;
import software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest;
import software.amazon.awssdk.services.nimble.model.GetStreamingImageResponse;
import software.amazon.awssdk.services.nimble.model.GetStreamingSessionBackupRequest;
import software.amazon.awssdk.services.nimble.model.GetStreamingSessionBackupResponse;
import software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest;
import software.amazon.awssdk.services.nimble.model.GetStreamingSessionResponse;
import software.amazon.awssdk.services.nimble.model.GetStreamingSessionStreamRequest;
import software.amazon.awssdk.services.nimble.model.GetStreamingSessionStreamResponse;
import software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest;
import software.amazon.awssdk.services.nimble.model.GetStudioComponentResponse;
import software.amazon.awssdk.services.nimble.model.GetStudioMemberRequest;
import software.amazon.awssdk.services.nimble.model.GetStudioMemberResponse;
import software.amazon.awssdk.services.nimble.model.GetStudioRequest;
import software.amazon.awssdk.services.nimble.model.GetStudioResponse;
import software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesRequest;
import software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesResponse;
import software.amazon.awssdk.services.nimble.model.ListEulasRequest;
import software.amazon.awssdk.services.nimble.model.ListEulasResponse;
import software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersRequest;
import software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersResponse;
import software.amazon.awssdk.services.nimble.model.ListLaunchProfilesRequest;
import software.amazon.awssdk.services.nimble.model.ListLaunchProfilesResponse;
import software.amazon.awssdk.services.nimble.model.ListStreamingImagesRequest;
import software.amazon.awssdk.services.nimble.model.ListStreamingImagesResponse;
import software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsRequest;
import software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsResponse;
import software.amazon.awssdk.services.nimble.model.ListStreamingSessionsRequest;
import software.amazon.awssdk.services.nimble.model.ListStreamingSessionsResponse;
import software.amazon.awssdk.services.nimble.model.ListStudioComponentsRequest;
import software.amazon.awssdk.services.nimble.model.ListStudioComponentsResponse;
import software.amazon.awssdk.services.nimble.model.ListStudioMembersRequest;
import software.amazon.awssdk.services.nimble.model.ListStudioMembersResponse;
import software.amazon.awssdk.services.nimble.model.ListStudiosRequest;
import software.amazon.awssdk.services.nimble.model.ListStudiosResponse;
import software.amazon.awssdk.services.nimble.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.nimble.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.nimble.model.PutLaunchProfileMembersRequest;
import software.amazon.awssdk.services.nimble.model.PutLaunchProfileMembersResponse;
import software.amazon.awssdk.services.nimble.model.PutStudioMembersRequest;
import software.amazon.awssdk.services.nimble.model.PutStudioMembersResponse;
import software.amazon.awssdk.services.nimble.model.StartStreamingSessionRequest;
import software.amazon.awssdk.services.nimble.model.StartStreamingSessionResponse;
import software.amazon.awssdk.services.nimble.model.StartStudioSsoConfigurationRepairRequest;
import software.amazon.awssdk.services.nimble.model.StartStudioSsoConfigurationRepairResponse;
import software.amazon.awssdk.services.nimble.model.StopStreamingSessionRequest;
import software.amazon.awssdk.services.nimble.model.StopStreamingSessionResponse;
import software.amazon.awssdk.services.nimble.model.TagResourceRequest;
import software.amazon.awssdk.services.nimble.model.TagResourceResponse;
import software.amazon.awssdk.services.nimble.model.UntagResourceRequest;
import software.amazon.awssdk.services.nimble.model.UntagResourceResponse;
import software.amazon.awssdk.services.nimble.model.UpdateLaunchProfileMemberRequest;
import software.amazon.awssdk.services.nimble.model.UpdateLaunchProfileMemberResponse;
import software.amazon.awssdk.services.nimble.model.UpdateLaunchProfileRequest;
import software.amazon.awssdk.services.nimble.model.UpdateLaunchProfileResponse;
import software.amazon.awssdk.services.nimble.model.UpdateStreamingImageRequest;
import software.amazon.awssdk.services.nimble.model.UpdateStreamingImageResponse;
import software.amazon.awssdk.services.nimble.model.UpdateStudioComponentRequest;
import software.amazon.awssdk.services.nimble.model.UpdateStudioComponentResponse;
import software.amazon.awssdk.services.nimble.model.UpdateStudioRequest;
import software.amazon.awssdk.services.nimble.model.UpdateStudioResponse;
import software.amazon.awssdk.services.nimble.paginators.ListEulaAcceptancesPublisher;
import software.amazon.awssdk.services.nimble.paginators.ListEulasPublisher;
import software.amazon.awssdk.services.nimble.paginators.ListLaunchProfileMembersPublisher;
import software.amazon.awssdk.services.nimble.paginators.ListLaunchProfilesPublisher;
import software.amazon.awssdk.services.nimble.paginators.ListStreamingImagesPublisher;
import software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionBackupsPublisher;
import software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionsPublisher;
import software.amazon.awssdk.services.nimble.paginators.ListStudioComponentsPublisher;
import software.amazon.awssdk.services.nimble.paginators.ListStudioMembersPublisher;
import software.amazon.awssdk.services.nimble.paginators.ListStudiosPublisher;
import software.amazon.awssdk.services.nimble.waiters.NimbleAsyncWaiter;
/**
* Service client for accessing AmazonNimbleStudio asynchronously. This can be created using the static
* {@link #builder()} method.The asynchronous client performs non-blocking I/O when configured with any
* {@code SdkAsyncHttpClient} supported in the SDK. However, full non-blocking is not guaranteed as the async client may
* perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
* call.
*
*
* Welcome to the Amazon Nimble Studio API reference. This API reference provides methods, schema, resources,
* parameters, and more to help you get the most out of Nimble Studio.
*
*
* Nimble Studio is a virtual studio that empowers visual effects, animation, and interactive content teams to create
* content securely within a scalable, private cloud service.
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface NimbleAsyncClient extends AwsClient {
String SERVICE_NAME = "nimble";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "nimble";
/**
*
* Accept EULAs.
*
*
* @param acceptEulasRequest
* @return A Java Future containing the result of the AcceptEulas operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.AcceptEulas
* @see AWS API
* Documentation
*/
default CompletableFuture acceptEulas(AcceptEulasRequest acceptEulasRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Accept EULAs.
*
*
*
* This is a convenience which creates an instance of the {@link AcceptEulasRequest.Builder} avoiding the need to
* create one manually via {@link AcceptEulasRequest#builder()}
*
*
* @param acceptEulasRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.AcceptEulasRequest.Builder} to create a request.
* @return A Java Future containing the result of the AcceptEulas operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.AcceptEulas
* @see AWS API
* Documentation
*/
default CompletableFuture acceptEulas(Consumer acceptEulasRequest) {
return acceptEulas(AcceptEulasRequest.builder().applyMutation(acceptEulasRequest).build());
}
/**
*
* Create a launch profile.
*
*
* @param createLaunchProfileRequest
* @return A Java Future containing the result of the CreateLaunchProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateLaunchProfile
* @see AWS
* API Documentation
*/
default CompletableFuture createLaunchProfile(
CreateLaunchProfileRequest createLaunchProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Create a launch profile.
*
*
*
* This is a convenience which creates an instance of the {@link CreateLaunchProfileRequest.Builder} avoiding the
* need to create one manually via {@link CreateLaunchProfileRequest#builder()}
*
*
* @param createLaunchProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.CreateLaunchProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateLaunchProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateLaunchProfile
* @see AWS
* API Documentation
*/
default CompletableFuture createLaunchProfile(
Consumer createLaunchProfileRequest) {
return createLaunchProfile(CreateLaunchProfileRequest.builder().applyMutation(createLaunchProfileRequest).build());
}
/**
*
* Creates a streaming image resource in a studio.
*
*
* @param createStreamingImageRequest
* @return A Java Future containing the result of the CreateStreamingImage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStreamingImage
* @see AWS
* API Documentation
*/
default CompletableFuture createStreamingImage(
CreateStreamingImageRequest createStreamingImageRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a streaming image resource in a studio.
*
*
*
* This is a convenience which creates an instance of the {@link CreateStreamingImageRequest.Builder} avoiding the
* need to create one manually via {@link CreateStreamingImageRequest#builder()}
*
*
* @param createStreamingImageRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.CreateStreamingImageRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateStreamingImage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStreamingImage
* @see AWS
* API Documentation
*/
default CompletableFuture createStreamingImage(
Consumer createStreamingImageRequest) {
return createStreamingImage(CreateStreamingImageRequest.builder().applyMutation(createStreamingImageRequest).build());
}
/**
*
* Creates a streaming session in a studio.
*
*
* After invoking this operation, you must poll GetStreamingSession until the streaming session is in the
* READY
state.
*
*
* @param createStreamingSessionRequest
* @return A Java Future containing the result of the CreateStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture createStreamingSession(
CreateStreamingSessionRequest createStreamingSessionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a streaming session in a studio.
*
*
* After invoking this operation, you must poll GetStreamingSession until the streaming session is in the
* READY
state.
*
*
*
* This is a convenience which creates an instance of the {@link CreateStreamingSessionRequest.Builder} avoiding the
* need to create one manually via {@link CreateStreamingSessionRequest#builder()}
*
*
* @param createStreamingSessionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.CreateStreamingSessionRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture createStreamingSession(
Consumer createStreamingSessionRequest) {
return createStreamingSession(CreateStreamingSessionRequest.builder().applyMutation(createStreamingSessionRequest)
.build());
}
/**
*
* Creates a streaming session stream for a streaming session.
*
*
* After invoking this API, invoke GetStreamingSessionStream with the returned streamId to poll the resource until
* it is in the READY
state.
*
*
* @param createStreamingSessionStreamRequest
* @return A Java Future containing the result of the CreateStreamingSessionStream operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStreamingSessionStream
* @see AWS API Documentation
*/
default CompletableFuture createStreamingSessionStream(
CreateStreamingSessionStreamRequest createStreamingSessionStreamRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a streaming session stream for a streaming session.
*
*
* After invoking this API, invoke GetStreamingSessionStream with the returned streamId to poll the resource until
* it is in the READY
state.
*
*
*
* This is a convenience which creates an instance of the {@link CreateStreamingSessionStreamRequest.Builder}
* avoiding the need to create one manually via {@link CreateStreamingSessionStreamRequest#builder()}
*
*
* @param createStreamingSessionStreamRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.CreateStreamingSessionStreamRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the CreateStreamingSessionStream operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStreamingSessionStream
* @see AWS API Documentation
*/
default CompletableFuture createStreamingSessionStream(
Consumer createStreamingSessionStreamRequest) {
return createStreamingSessionStream(CreateStreamingSessionStreamRequest.builder()
.applyMutation(createStreamingSessionStreamRequest).build());
}
/**
*
* Create a new studio.
*
*
* When creating a studio, two IAM roles must be provided: the admin role and the user role. These roles are assumed
* by your users when they log in to the Nimble Studio portal.
*
*
* The user role must have the AmazonNimbleStudio-StudioUser
managed policy attached for the portal to
* function properly.
*
*
* The admin role must have the AmazonNimbleStudio-StudioAdmin
managed policy attached for the portal
* to function properly.
*
*
* You may optionally specify a KMS key in the StudioEncryptionConfiguration
.
*
*
* In Nimble Studio, resource names, descriptions, initialization scripts, and other data you provide are always
* encrypted at rest using an KMS key. By default, this key is owned by Amazon Web Services and managed on your
* behalf. You may provide your own KMS key when calling CreateStudio
to encrypt this data using a key
* you own and manage.
*
*
* When providing an KMS key during studio creation, Nimble Studio creates KMS grants in your account to provide
* your studio user and admin roles access to these KMS keys.
*
*
* If you delete this grant, the studio will no longer be accessible to your portal users.
*
*
* If you delete the studio KMS key, your studio will no longer be accessible.
*
*
* @param createStudioRequest
* @return A Java Future containing the result of the CreateStudio operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStudio
* @see AWS API
* Documentation
*/
default CompletableFuture createStudio(CreateStudioRequest createStudioRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Create a new studio.
*
*
* When creating a studio, two IAM roles must be provided: the admin role and the user role. These roles are assumed
* by your users when they log in to the Nimble Studio portal.
*
*
* The user role must have the AmazonNimbleStudio-StudioUser
managed policy attached for the portal to
* function properly.
*
*
* The admin role must have the AmazonNimbleStudio-StudioAdmin
managed policy attached for the portal
* to function properly.
*
*
* You may optionally specify a KMS key in the StudioEncryptionConfiguration
.
*
*
* In Nimble Studio, resource names, descriptions, initialization scripts, and other data you provide are always
* encrypted at rest using an KMS key. By default, this key is owned by Amazon Web Services and managed on your
* behalf. You may provide your own KMS key when calling CreateStudio
to encrypt this data using a key
* you own and manage.
*
*
* When providing an KMS key during studio creation, Nimble Studio creates KMS grants in your account to provide
* your studio user and admin roles access to these KMS keys.
*
*
* If you delete this grant, the studio will no longer be accessible to your portal users.
*
*
* If you delete the studio KMS key, your studio will no longer be accessible.
*
*
*
* This is a convenience which creates an instance of the {@link CreateStudioRequest.Builder} avoiding the need to
* create one manually via {@link CreateStudioRequest#builder()}
*
*
* @param createStudioRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.CreateStudioRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateStudio operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStudio
* @see AWS API
* Documentation
*/
default CompletableFuture createStudio(Consumer createStudioRequest) {
return createStudio(CreateStudioRequest.builder().applyMutation(createStudioRequest).build());
}
/**
*
* Creates a studio component resource.
*
*
* @param createStudioComponentRequest
* @return A Java Future containing the result of the CreateStudioComponent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStudioComponent
* @see AWS
* API Documentation
*/
default CompletableFuture createStudioComponent(
CreateStudioComponentRequest createStudioComponentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a studio component resource.
*
*
*
* This is a convenience which creates an instance of the {@link CreateStudioComponentRequest.Builder} avoiding the
* need to create one manually via {@link CreateStudioComponentRequest#builder()}
*
*
* @param createStudioComponentRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.CreateStudioComponentRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateStudioComponent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.CreateStudioComponent
* @see AWS
* API Documentation
*/
default CompletableFuture createStudioComponent(
Consumer createStudioComponentRequest) {
return createStudioComponent(CreateStudioComponentRequest.builder().applyMutation(createStudioComponentRequest).build());
}
/**
*
* Permanently delete a launch profile.
*
*
* @param deleteLaunchProfileRequest
* @return A Java Future containing the result of the DeleteLaunchProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteLaunchProfile
* @see AWS
* API Documentation
*/
default CompletableFuture deleteLaunchProfile(
DeleteLaunchProfileRequest deleteLaunchProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Permanently delete a launch profile.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteLaunchProfileRequest.Builder} avoiding the
* need to create one manually via {@link DeleteLaunchProfileRequest#builder()}
*
*
* @param deleteLaunchProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.DeleteLaunchProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteLaunchProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteLaunchProfile
* @see AWS
* API Documentation
*/
default CompletableFuture deleteLaunchProfile(
Consumer deleteLaunchProfileRequest) {
return deleteLaunchProfile(DeleteLaunchProfileRequest.builder().applyMutation(deleteLaunchProfileRequest).build());
}
/**
*
* Delete a user from launch profile membership.
*
*
* @param deleteLaunchProfileMemberRequest
* @return A Java Future containing the result of the DeleteLaunchProfileMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteLaunchProfileMember
* @see AWS API Documentation
*/
default CompletableFuture deleteLaunchProfileMember(
DeleteLaunchProfileMemberRequest deleteLaunchProfileMemberRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Delete a user from launch profile membership.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteLaunchProfileMemberRequest.Builder} avoiding
* the need to create one manually via {@link DeleteLaunchProfileMemberRequest#builder()}
*
*
* @param deleteLaunchProfileMemberRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.DeleteLaunchProfileMemberRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteLaunchProfileMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteLaunchProfileMember
* @see AWS API Documentation
*/
default CompletableFuture deleteLaunchProfileMember(
Consumer deleteLaunchProfileMemberRequest) {
return deleteLaunchProfileMember(DeleteLaunchProfileMemberRequest.builder()
.applyMutation(deleteLaunchProfileMemberRequest).build());
}
/**
*
* Delete streaming image.
*
*
* @param deleteStreamingImageRequest
* @return A Java Future containing the result of the DeleteStreamingImage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStreamingImage
* @see AWS
* API Documentation
*/
default CompletableFuture deleteStreamingImage(
DeleteStreamingImageRequest deleteStreamingImageRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Delete streaming image.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteStreamingImageRequest.Builder} avoiding the
* need to create one manually via {@link DeleteStreamingImageRequest#builder()}
*
*
* @param deleteStreamingImageRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.DeleteStreamingImageRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteStreamingImage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStreamingImage
* @see AWS
* API Documentation
*/
default CompletableFuture deleteStreamingImage(
Consumer deleteStreamingImageRequest) {
return deleteStreamingImage(DeleteStreamingImageRequest.builder().applyMutation(deleteStreamingImageRequest).build());
}
/**
*
* Deletes streaming session resource.
*
*
* After invoking this operation, use GetStreamingSession to poll the resource until it transitions to a
* DELETED
state.
*
*
* A streaming session will count against your streaming session quota until it is marked DELETED
.
*
*
* @param deleteStreamingSessionRequest
* @return A Java Future containing the result of the DeleteStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture deleteStreamingSession(
DeleteStreamingSessionRequest deleteStreamingSessionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes streaming session resource.
*
*
* After invoking this operation, use GetStreamingSession to poll the resource until it transitions to a
* DELETED
state.
*
*
* A streaming session will count against your streaming session quota until it is marked DELETED
.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteStreamingSessionRequest.Builder} avoiding the
* need to create one manually via {@link DeleteStreamingSessionRequest#builder()}
*
*
* @param deleteStreamingSessionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.DeleteStreamingSessionRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture deleteStreamingSession(
Consumer deleteStreamingSessionRequest) {
return deleteStreamingSession(DeleteStreamingSessionRequest.builder().applyMutation(deleteStreamingSessionRequest)
.build());
}
/**
*
* Delete a studio resource.
*
*
* @param deleteStudioRequest
* @return A Java Future containing the result of the DeleteStudio operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStudio
* @see AWS API
* Documentation
*/
default CompletableFuture deleteStudio(DeleteStudioRequest deleteStudioRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Delete a studio resource.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteStudioRequest.Builder} avoiding the need to
* create one manually via {@link DeleteStudioRequest#builder()}
*
*
* @param deleteStudioRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.DeleteStudioRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteStudio operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStudio
* @see AWS API
* Documentation
*/
default CompletableFuture deleteStudio(Consumer deleteStudioRequest) {
return deleteStudio(DeleteStudioRequest.builder().applyMutation(deleteStudioRequest).build());
}
/**
*
* Deletes a studio component resource.
*
*
* @param deleteStudioComponentRequest
* @return A Java Future containing the result of the DeleteStudioComponent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStudioComponent
* @see AWS
* API Documentation
*/
default CompletableFuture deleteStudioComponent(
DeleteStudioComponentRequest deleteStudioComponentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a studio component resource.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteStudioComponentRequest.Builder} avoiding the
* need to create one manually via {@link DeleteStudioComponentRequest#builder()}
*
*
* @param deleteStudioComponentRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.DeleteStudioComponentRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteStudioComponent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStudioComponent
* @see AWS
* API Documentation
*/
default CompletableFuture deleteStudioComponent(
Consumer deleteStudioComponentRequest) {
return deleteStudioComponent(DeleteStudioComponentRequest.builder().applyMutation(deleteStudioComponentRequest).build());
}
/**
*
* Delete a user from studio membership.
*
*
* @param deleteStudioMemberRequest
* @return A Java Future containing the result of the DeleteStudioMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStudioMember
* @see AWS API
* Documentation
*/
default CompletableFuture deleteStudioMember(DeleteStudioMemberRequest deleteStudioMemberRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Delete a user from studio membership.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteStudioMemberRequest.Builder} avoiding the
* need to create one manually via {@link DeleteStudioMemberRequest#builder()}
*
*
* @param deleteStudioMemberRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.DeleteStudioMemberRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteStudioMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.DeleteStudioMember
* @see AWS API
* Documentation
*/
default CompletableFuture deleteStudioMember(
Consumer deleteStudioMemberRequest) {
return deleteStudioMember(DeleteStudioMemberRequest.builder().applyMutation(deleteStudioMemberRequest).build());
}
/**
*
* Get EULA.
*
*
* @param getEulaRequest
* @return A Java Future containing the result of the GetEula operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetEula
* @see AWS API
* Documentation
*/
default CompletableFuture getEula(GetEulaRequest getEulaRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get EULA.
*
*
*
* This is a convenience which creates an instance of the {@link GetEulaRequest.Builder} avoiding the need to create
* one manually via {@link GetEulaRequest#builder()}
*
*
* @param getEulaRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetEulaRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetEula operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetEula
* @see AWS API
* Documentation
*/
default CompletableFuture getEula(Consumer getEulaRequest) {
return getEula(GetEulaRequest.builder().applyMutation(getEulaRequest).build());
}
/**
*
* Get a launch profile.
*
*
* @param getLaunchProfileRequest
* @return A Java Future containing the result of the GetLaunchProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetLaunchProfile
* @see AWS API
* Documentation
*/
default CompletableFuture getLaunchProfile(GetLaunchProfileRequest getLaunchProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get a launch profile.
*
*
*
* This is a convenience which creates an instance of the {@link GetLaunchProfileRequest.Builder} avoiding the need
* to create one manually via {@link GetLaunchProfileRequest#builder()}
*
*
* @param getLaunchProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetLaunchProfileRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetLaunchProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetLaunchProfile
* @see AWS API
* Documentation
*/
default CompletableFuture getLaunchProfile(
Consumer getLaunchProfileRequest) {
return getLaunchProfile(GetLaunchProfileRequest.builder().applyMutation(getLaunchProfileRequest).build());
}
/**
*
* Launch profile details include the launch profile resource and summary information of resources that are used by,
* or available to, the launch profile. This includes the name and description of all studio components used by the
* launch profiles, and the name and description of streaming images that can be used with this launch profile.
*
*
* @param getLaunchProfileDetailsRequest
* @return A Java Future containing the result of the GetLaunchProfileDetails operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetLaunchProfileDetails
* @see AWS API Documentation
*/
default CompletableFuture getLaunchProfileDetails(
GetLaunchProfileDetailsRequest getLaunchProfileDetailsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Launch profile details include the launch profile resource and summary information of resources that are used by,
* or available to, the launch profile. This includes the name and description of all studio components used by the
* launch profiles, and the name and description of streaming images that can be used with this launch profile.
*
*
*
* This is a convenience which creates an instance of the {@link GetLaunchProfileDetailsRequest.Builder} avoiding
* the need to create one manually via {@link GetLaunchProfileDetailsRequest#builder()}
*
*
* @param getLaunchProfileDetailsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetLaunchProfileDetailsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetLaunchProfileDetails operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetLaunchProfileDetails
* @see AWS API Documentation
*/
default CompletableFuture getLaunchProfileDetails(
Consumer getLaunchProfileDetailsRequest) {
return getLaunchProfileDetails(GetLaunchProfileDetailsRequest.builder().applyMutation(getLaunchProfileDetailsRequest)
.build());
}
/**
*
* Get a launch profile initialization.
*
*
* @param getLaunchProfileInitializationRequest
* @return A Java Future containing the result of the GetLaunchProfileInitialization operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetLaunchProfileInitialization
* @see AWS API Documentation
*/
default CompletableFuture getLaunchProfileInitialization(
GetLaunchProfileInitializationRequest getLaunchProfileInitializationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get a launch profile initialization.
*
*
*
* This is a convenience which creates an instance of the {@link GetLaunchProfileInitializationRequest.Builder}
* avoiding the need to create one manually via {@link GetLaunchProfileInitializationRequest#builder()}
*
*
* @param getLaunchProfileInitializationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetLaunchProfileInitializationRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the GetLaunchProfileInitialization operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetLaunchProfileInitialization
* @see AWS API Documentation
*/
default CompletableFuture getLaunchProfileInitialization(
Consumer getLaunchProfileInitializationRequest) {
return getLaunchProfileInitialization(GetLaunchProfileInitializationRequest.builder()
.applyMutation(getLaunchProfileInitializationRequest).build());
}
/**
*
* Get a user persona in launch profile membership.
*
*
* @param getLaunchProfileMemberRequest
* @return A Java Future containing the result of the GetLaunchProfileMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetLaunchProfileMember
* @see AWS
* API Documentation
*/
default CompletableFuture getLaunchProfileMember(
GetLaunchProfileMemberRequest getLaunchProfileMemberRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get a user persona in launch profile membership.
*
*
*
* This is a convenience which creates an instance of the {@link GetLaunchProfileMemberRequest.Builder} avoiding the
* need to create one manually via {@link GetLaunchProfileMemberRequest#builder()}
*
*
* @param getLaunchProfileMemberRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetLaunchProfileMemberRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetLaunchProfileMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetLaunchProfileMember
* @see AWS
* API Documentation
*/
default CompletableFuture getLaunchProfileMember(
Consumer getLaunchProfileMemberRequest) {
return getLaunchProfileMember(GetLaunchProfileMemberRequest.builder().applyMutation(getLaunchProfileMemberRequest)
.build());
}
/**
*
* Get streaming image.
*
*
* @param getStreamingImageRequest
* @return A Java Future containing the result of the GetStreamingImage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStreamingImage
* @see AWS API
* Documentation
*/
default CompletableFuture getStreamingImage(GetStreamingImageRequest getStreamingImageRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get streaming image.
*
*
*
* This is a convenience which creates an instance of the {@link GetStreamingImageRequest.Builder} avoiding the need
* to create one manually via {@link GetStreamingImageRequest#builder()}
*
*
* @param getStreamingImageRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetStreamingImageRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetStreamingImage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStreamingImage
* @see AWS API
* Documentation
*/
default CompletableFuture getStreamingImage(
Consumer getStreamingImageRequest) {
return getStreamingImage(GetStreamingImageRequest.builder().applyMutation(getStreamingImageRequest).build());
}
/**
*
* Gets StreamingSession resource.
*
*
* Invoke this operation to poll for a streaming session state while creating or deleting a session.
*
*
* @param getStreamingSessionRequest
* @return A Java Future containing the result of the GetStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture getStreamingSession(
GetStreamingSessionRequest getStreamingSessionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets StreamingSession resource.
*
*
* Invoke this operation to poll for a streaming session state while creating or deleting a session.
*
*
*
* This is a convenience which creates an instance of the {@link GetStreamingSessionRequest.Builder} avoiding the
* need to create one manually via {@link GetStreamingSessionRequest#builder()}
*
*
* @param getStreamingSessionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetStreamingSessionRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture getStreamingSession(
Consumer getStreamingSessionRequest) {
return getStreamingSession(GetStreamingSessionRequest.builder().applyMutation(getStreamingSessionRequest).build());
}
/**
*
* Gets StreamingSessionBackup
resource.
*
*
* Invoke this operation to poll for a streaming session backup while stopping a streaming session.
*
*
* @param getStreamingSessionBackupRequest
* @return A Java Future containing the result of the GetStreamingSessionBackup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStreamingSessionBackup
* @see AWS API Documentation
*/
default CompletableFuture getStreamingSessionBackup(
GetStreamingSessionBackupRequest getStreamingSessionBackupRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets StreamingSessionBackup
resource.
*
*
* Invoke this operation to poll for a streaming session backup while stopping a streaming session.
*
*
*
* This is a convenience which creates an instance of the {@link GetStreamingSessionBackupRequest.Builder} avoiding
* the need to create one manually via {@link GetStreamingSessionBackupRequest#builder()}
*
*
* @param getStreamingSessionBackupRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetStreamingSessionBackupRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetStreamingSessionBackup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStreamingSessionBackup
* @see AWS API Documentation
*/
default CompletableFuture getStreamingSessionBackup(
Consumer getStreamingSessionBackupRequest) {
return getStreamingSessionBackup(GetStreamingSessionBackupRequest.builder()
.applyMutation(getStreamingSessionBackupRequest).build());
}
/**
*
* Gets a StreamingSessionStream for a streaming session.
*
*
* Invoke this operation to poll the resource after invoking CreateStreamingSessionStream
.
*
*
* After the StreamingSessionStream
changes to the READY
state, the url property will
* contain a stream to be used with the DCV streaming client.
*
*
* @param getStreamingSessionStreamRequest
* @return A Java Future containing the result of the GetStreamingSessionStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStreamingSessionStream
* @see AWS API Documentation
*/
default CompletableFuture getStreamingSessionStream(
GetStreamingSessionStreamRequest getStreamingSessionStreamRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a StreamingSessionStream for a streaming session.
*
*
* Invoke this operation to poll the resource after invoking CreateStreamingSessionStream
.
*
*
* After the StreamingSessionStream
changes to the READY
state, the url property will
* contain a stream to be used with the DCV streaming client.
*
*
*
* This is a convenience which creates an instance of the {@link GetStreamingSessionStreamRequest.Builder} avoiding
* the need to create one manually via {@link GetStreamingSessionStreamRequest#builder()}
*
*
* @param getStreamingSessionStreamRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetStreamingSessionStreamRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetStreamingSessionStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStreamingSessionStream
* @see AWS API Documentation
*/
default CompletableFuture getStreamingSessionStream(
Consumer getStreamingSessionStreamRequest) {
return getStreamingSessionStream(GetStreamingSessionStreamRequest.builder()
.applyMutation(getStreamingSessionStreamRequest).build());
}
/**
*
* Get a studio resource.
*
*
* @param getStudioRequest
* @return A Java Future containing the result of the GetStudio operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStudio
* @see AWS API
* Documentation
*/
default CompletableFuture getStudio(GetStudioRequest getStudioRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get a studio resource.
*
*
*
* This is a convenience which creates an instance of the {@link GetStudioRequest.Builder} avoiding the need to
* create one manually via {@link GetStudioRequest#builder()}
*
*
* @param getStudioRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetStudioRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetStudio operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStudio
* @see AWS API
* Documentation
*/
default CompletableFuture getStudio(Consumer getStudioRequest) {
return getStudio(GetStudioRequest.builder().applyMutation(getStudioRequest).build());
}
/**
*
* Gets a studio component resource.
*
*
* @param getStudioComponentRequest
* @return A Java Future containing the result of the GetStudioComponent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStudioComponent
* @see AWS API
* Documentation
*/
default CompletableFuture getStudioComponent(GetStudioComponentRequest getStudioComponentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets a studio component resource.
*
*
*
* This is a convenience which creates an instance of the {@link GetStudioComponentRequest.Builder} avoiding the
* need to create one manually via {@link GetStudioComponentRequest#builder()}
*
*
* @param getStudioComponentRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetStudioComponentRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetStudioComponent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStudioComponent
* @see AWS API
* Documentation
*/
default CompletableFuture getStudioComponent(
Consumer getStudioComponentRequest) {
return getStudioComponent(GetStudioComponentRequest.builder().applyMutation(getStudioComponentRequest).build());
}
/**
*
* Get a user's membership in a studio.
*
*
* @param getStudioMemberRequest
* @return A Java Future containing the result of the GetStudioMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStudioMember
* @see AWS API
* Documentation
*/
default CompletableFuture getStudioMember(GetStudioMemberRequest getStudioMemberRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get a user's membership in a studio.
*
*
*
* This is a convenience which creates an instance of the {@link GetStudioMemberRequest.Builder} avoiding the need
* to create one manually via {@link GetStudioMemberRequest#builder()}
*
*
* @param getStudioMemberRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.GetStudioMemberRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetStudioMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.GetStudioMember
* @see AWS API
* Documentation
*/
default CompletableFuture getStudioMember(
Consumer getStudioMemberRequest) {
return getStudioMember(GetStudioMemberRequest.builder().applyMutation(getStudioMemberRequest).build());
}
/**
*
* List EULA acceptances.
*
*
* @param listEulaAcceptancesRequest
* @return A Java Future containing the result of the ListEulaAcceptances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListEulaAcceptances
* @see AWS
* API Documentation
*/
default CompletableFuture listEulaAcceptances(
ListEulaAcceptancesRequest listEulaAcceptancesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List EULA acceptances.
*
*
*
* This is a convenience which creates an instance of the {@link ListEulaAcceptancesRequest.Builder} avoiding the
* need to create one manually via {@link ListEulaAcceptancesRequest#builder()}
*
*
* @param listEulaAcceptancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListEulaAcceptances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListEulaAcceptances
* @see AWS
* API Documentation
*/
default CompletableFuture listEulaAcceptances(
Consumer listEulaAcceptancesRequest) {
return listEulaAcceptances(ListEulaAcceptancesRequest.builder().applyMutation(listEulaAcceptancesRequest).build());
}
/**
*
* This is a variant of
* {@link #listEulaAcceptances(software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesRequest)} 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.nimble.paginators.ListEulaAcceptancesPublisher publisher = client.listEulaAcceptancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListEulaAcceptancesPublisher publisher = client.listEulaAcceptancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesResponse 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 null 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 #listEulaAcceptances(software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesRequest)}
* operation.
*
*
* @param listEulaAcceptancesRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListEulaAcceptances
* @see AWS
* API Documentation
*/
default ListEulaAcceptancesPublisher listEulaAcceptancesPaginator(ListEulaAcceptancesRequest listEulaAcceptancesRequest) {
return new ListEulaAcceptancesPublisher(this, listEulaAcceptancesRequest);
}
/**
*
* This is a variant of
* {@link #listEulaAcceptances(software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesRequest)} 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.nimble.paginators.ListEulaAcceptancesPublisher publisher = client.listEulaAcceptancesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListEulaAcceptancesPublisher publisher = client.listEulaAcceptancesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesResponse 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 null 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 #listEulaAcceptances(software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListEulaAcceptancesRequest.Builder} avoiding the
* need to create one manually via {@link ListEulaAcceptancesRequest#builder()}
*
*
* @param listEulaAcceptancesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListEulaAcceptances
* @see AWS
* API Documentation
*/
default ListEulaAcceptancesPublisher listEulaAcceptancesPaginator(
Consumer listEulaAcceptancesRequest) {
return listEulaAcceptancesPaginator(ListEulaAcceptancesRequest.builder().applyMutation(listEulaAcceptancesRequest)
.build());
}
/**
*
* List EULAs.
*
*
* @param listEulasRequest
* @return A Java Future containing the result of the ListEulas operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListEulas
* @see AWS API
* Documentation
*/
default CompletableFuture listEulas(ListEulasRequest listEulasRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List EULAs.
*
*
*
* This is a convenience which creates an instance of the {@link ListEulasRequest.Builder} avoiding the need to
* create one manually via {@link ListEulasRequest#builder()}
*
*
* @param listEulasRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListEulasRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListEulas operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListEulas
* @see AWS API
* Documentation
*/
default CompletableFuture listEulas(Consumer listEulasRequest) {
return listEulas(ListEulasRequest.builder().applyMutation(listEulasRequest).build());
}
/**
*
* This is a variant of {@link #listEulas(software.amazon.awssdk.services.nimble.model.ListEulasRequest)} 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.nimble.paginators.ListEulasPublisher publisher = client.listEulasPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListEulasPublisher publisher = client.listEulasPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListEulasResponse 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 null 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 #listEulas(software.amazon.awssdk.services.nimble.model.ListEulasRequest)} operation.
*
*
* @param listEulasRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListEulas
* @see AWS API
* Documentation
*/
default ListEulasPublisher listEulasPaginator(ListEulasRequest listEulasRequest) {
return new ListEulasPublisher(this, listEulasRequest);
}
/**
*
* This is a variant of {@link #listEulas(software.amazon.awssdk.services.nimble.model.ListEulasRequest)} 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.nimble.paginators.ListEulasPublisher publisher = client.listEulasPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListEulasPublisher publisher = client.listEulasPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListEulasResponse 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 null 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 #listEulas(software.amazon.awssdk.services.nimble.model.ListEulasRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListEulasRequest.Builder} avoiding the need to
* create one manually via {@link ListEulasRequest#builder()}
*
*
* @param listEulasRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListEulasRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListEulas
* @see AWS API
* Documentation
*/
default ListEulasPublisher listEulasPaginator(Consumer listEulasRequest) {
return listEulasPaginator(ListEulasRequest.builder().applyMutation(listEulasRequest).build());
}
/**
*
* Get all users in a given launch profile membership.
*
*
* @param listLaunchProfileMembersRequest
* @return A Java Future containing the result of the ListLaunchProfileMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListLaunchProfileMembers
* @see AWS API Documentation
*/
default CompletableFuture listLaunchProfileMembers(
ListLaunchProfileMembersRequest listLaunchProfileMembersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get all users in a given launch profile membership.
*
*
*
* This is a convenience which creates an instance of the {@link ListLaunchProfileMembersRequest.Builder} avoiding
* the need to create one manually via {@link ListLaunchProfileMembersRequest#builder()}
*
*
* @param listLaunchProfileMembersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListLaunchProfileMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListLaunchProfileMembers
* @see AWS API Documentation
*/
default CompletableFuture listLaunchProfileMembers(
Consumer listLaunchProfileMembersRequest) {
return listLaunchProfileMembers(ListLaunchProfileMembersRequest.builder().applyMutation(listLaunchProfileMembersRequest)
.build());
}
/**
*
* This is a variant of
* {@link #listLaunchProfileMembers(software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersRequest)}
* 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.nimble.paginators.ListLaunchProfileMembersPublisher publisher = client.listLaunchProfileMembersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListLaunchProfileMembersPublisher publisher = client.listLaunchProfileMembersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersResponse 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 #listLaunchProfileMembers(software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersRequest)}
* operation.
*
*
* @param listLaunchProfileMembersRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListLaunchProfileMembers
* @see AWS API Documentation
*/
default ListLaunchProfileMembersPublisher listLaunchProfileMembersPaginator(
ListLaunchProfileMembersRequest listLaunchProfileMembersRequest) {
return new ListLaunchProfileMembersPublisher(this, listLaunchProfileMembersRequest);
}
/**
*
* This is a variant of
* {@link #listLaunchProfileMembers(software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersRequest)}
* 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.nimble.paginators.ListLaunchProfileMembersPublisher publisher = client.listLaunchProfileMembersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListLaunchProfileMembersPublisher publisher = client.listLaunchProfileMembersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersResponse 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 #listLaunchProfileMembers(software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListLaunchProfileMembersRequest.Builder} avoiding
* the need to create one manually via {@link ListLaunchProfileMembersRequest#builder()}
*
*
* @param listLaunchProfileMembersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListLaunchProfileMembers
* @see AWS API Documentation
*/
default ListLaunchProfileMembersPublisher listLaunchProfileMembersPaginator(
Consumer listLaunchProfileMembersRequest) {
return listLaunchProfileMembersPaginator(ListLaunchProfileMembersRequest.builder()
.applyMutation(listLaunchProfileMembersRequest).build());
}
/**
*
* List all the launch profiles a studio.
*
*
* @param listLaunchProfilesRequest
* @return A Java Future containing the result of the ListLaunchProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListLaunchProfiles
* @see AWS API
* Documentation
*/
default CompletableFuture listLaunchProfiles(ListLaunchProfilesRequest listLaunchProfilesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List all the launch profiles a studio.
*
*
*
* This is a convenience which creates an instance of the {@link ListLaunchProfilesRequest.Builder} avoiding the
* need to create one manually via {@link ListLaunchProfilesRequest#builder()}
*
*
* @param listLaunchProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListLaunchProfilesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListLaunchProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListLaunchProfiles
* @see AWS API
* Documentation
*/
default CompletableFuture listLaunchProfiles(
Consumer listLaunchProfilesRequest) {
return listLaunchProfiles(ListLaunchProfilesRequest.builder().applyMutation(listLaunchProfilesRequest).build());
}
/**
*
* This is a variant of
* {@link #listLaunchProfiles(software.amazon.awssdk.services.nimble.model.ListLaunchProfilesRequest)} 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.nimble.paginators.ListLaunchProfilesPublisher publisher = client.listLaunchProfilesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListLaunchProfilesPublisher publisher = client.listLaunchProfilesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListLaunchProfilesResponse 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 #listLaunchProfiles(software.amazon.awssdk.services.nimble.model.ListLaunchProfilesRequest)}
* operation.
*
*
* @param listLaunchProfilesRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListLaunchProfiles
* @see AWS API
* Documentation
*/
default ListLaunchProfilesPublisher listLaunchProfilesPaginator(ListLaunchProfilesRequest listLaunchProfilesRequest) {
return new ListLaunchProfilesPublisher(this, listLaunchProfilesRequest);
}
/**
*
* This is a variant of
* {@link #listLaunchProfiles(software.amazon.awssdk.services.nimble.model.ListLaunchProfilesRequest)} 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.nimble.paginators.ListLaunchProfilesPublisher publisher = client.listLaunchProfilesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListLaunchProfilesPublisher publisher = client.listLaunchProfilesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListLaunchProfilesResponse 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 #listLaunchProfiles(software.amazon.awssdk.services.nimble.model.ListLaunchProfilesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListLaunchProfilesRequest.Builder} avoiding the
* need to create one manually via {@link ListLaunchProfilesRequest#builder()}
*
*
* @param listLaunchProfilesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListLaunchProfilesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListLaunchProfiles
* @see AWS API
* Documentation
*/
default ListLaunchProfilesPublisher listLaunchProfilesPaginator(
Consumer listLaunchProfilesRequest) {
return listLaunchProfilesPaginator(ListLaunchProfilesRequest.builder().applyMutation(listLaunchProfilesRequest).build());
}
/**
*
* List the streaming image resources available to this studio.
*
*
* This list will contain both images provided by Amazon Web Services, as well as streaming images that you have
* created in your studio.
*
*
* @param listStreamingImagesRequest
* @return A Java Future containing the result of the ListStreamingImages operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingImages
* @see AWS
* API Documentation
*/
default CompletableFuture listStreamingImages(
ListStreamingImagesRequest listStreamingImagesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List the streaming image resources available to this studio.
*
*
* This list will contain both images provided by Amazon Web Services, as well as streaming images that you have
* created in your studio.
*
*
*
* This is a convenience which creates an instance of the {@link ListStreamingImagesRequest.Builder} avoiding the
* need to create one manually via {@link ListStreamingImagesRequest#builder()}
*
*
* @param listStreamingImagesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStreamingImagesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListStreamingImages operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingImages
* @see AWS
* API Documentation
*/
default CompletableFuture listStreamingImages(
Consumer listStreamingImagesRequest) {
return listStreamingImages(ListStreamingImagesRequest.builder().applyMutation(listStreamingImagesRequest).build());
}
/**
*
* This is a variant of
* {@link #listStreamingImages(software.amazon.awssdk.services.nimble.model.ListStreamingImagesRequest)} 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.nimble.paginators.ListStreamingImagesPublisher publisher = client.listStreamingImagesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStreamingImagesPublisher publisher = client.listStreamingImagesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStreamingImagesResponse 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 null 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 #listStreamingImages(software.amazon.awssdk.services.nimble.model.ListStreamingImagesRequest)}
* operation.
*
*
* @param listStreamingImagesRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingImages
* @see AWS
* API Documentation
*/
default ListStreamingImagesPublisher listStreamingImagesPaginator(ListStreamingImagesRequest listStreamingImagesRequest) {
return new ListStreamingImagesPublisher(this, listStreamingImagesRequest);
}
/**
*
* This is a variant of
* {@link #listStreamingImages(software.amazon.awssdk.services.nimble.model.ListStreamingImagesRequest)} 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.nimble.paginators.ListStreamingImagesPublisher publisher = client.listStreamingImagesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStreamingImagesPublisher publisher = client.listStreamingImagesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStreamingImagesResponse 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 null 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 #listStreamingImages(software.amazon.awssdk.services.nimble.model.ListStreamingImagesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListStreamingImagesRequest.Builder} avoiding the
* need to create one manually via {@link ListStreamingImagesRequest#builder()}
*
*
* @param listStreamingImagesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStreamingImagesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingImages
* @see AWS
* API Documentation
*/
default ListStreamingImagesPublisher listStreamingImagesPaginator(
Consumer listStreamingImagesRequest) {
return listStreamingImagesPaginator(ListStreamingImagesRequest.builder().applyMutation(listStreamingImagesRequest)
.build());
}
/**
*
* Lists the backups of a streaming session in a studio.
*
*
* @param listStreamingSessionBackupsRequest
* @return A Java Future containing the result of the ListStreamingSessionBackups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingSessionBackups
* @see AWS API Documentation
*/
default CompletableFuture listStreamingSessionBackups(
ListStreamingSessionBackupsRequest listStreamingSessionBackupsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the backups of a streaming session in a studio.
*
*
*
* This is a convenience which creates an instance of the {@link ListStreamingSessionBackupsRequest.Builder}
* avoiding the need to create one manually via {@link ListStreamingSessionBackupsRequest#builder()}
*
*
* @param listStreamingSessionBackupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the ListStreamingSessionBackups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingSessionBackups
* @see AWS API Documentation
*/
default CompletableFuture listStreamingSessionBackups(
Consumer listStreamingSessionBackupsRequest) {
return listStreamingSessionBackups(ListStreamingSessionBackupsRequest.builder()
.applyMutation(listStreamingSessionBackupsRequest).build());
}
/**
*
* This is a variant of
* {@link #listStreamingSessionBackups(software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsRequest)}
* 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.nimble.paginators.ListStreamingSessionBackupsPublisher publisher = client.listStreamingSessionBackupsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionBackupsPublisher publisher = client.listStreamingSessionBackupsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsResponse 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 null 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 #listStreamingSessionBackups(software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsRequest)}
* operation.
*
*
* @param listStreamingSessionBackupsRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingSessionBackups
* @see AWS API Documentation
*/
default ListStreamingSessionBackupsPublisher listStreamingSessionBackupsPaginator(
ListStreamingSessionBackupsRequest listStreamingSessionBackupsRequest) {
return new ListStreamingSessionBackupsPublisher(this, listStreamingSessionBackupsRequest);
}
/**
*
* This is a variant of
* {@link #listStreamingSessionBackups(software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsRequest)}
* 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.nimble.paginators.ListStreamingSessionBackupsPublisher publisher = client.listStreamingSessionBackupsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionBackupsPublisher publisher = client.listStreamingSessionBackupsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsResponse 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 null 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 #listStreamingSessionBackups(software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListStreamingSessionBackupsRequest.Builder}
* avoiding the need to create one manually via {@link ListStreamingSessionBackupsRequest#builder()}
*
*
* @param listStreamingSessionBackupsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStreamingSessionBackupsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingSessionBackups
* @see AWS API Documentation
*/
default ListStreamingSessionBackupsPublisher listStreamingSessionBackupsPaginator(
Consumer listStreamingSessionBackupsRequest) {
return listStreamingSessionBackupsPaginator(ListStreamingSessionBackupsRequest.builder()
.applyMutation(listStreamingSessionBackupsRequest).build());
}
/**
*
* Lists the streaming sessions in a studio.
*
*
* @param listStreamingSessionsRequest
* @return A Java Future containing the result of the ListStreamingSessions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingSessions
* @see AWS
* API Documentation
*/
default CompletableFuture listStreamingSessions(
ListStreamingSessionsRequest listStreamingSessionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the streaming sessions in a studio.
*
*
*
* This is a convenience which creates an instance of the {@link ListStreamingSessionsRequest.Builder} avoiding the
* need to create one manually via {@link ListStreamingSessionsRequest#builder()}
*
*
* @param listStreamingSessionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStreamingSessionsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListStreamingSessions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingSessions
* @see AWS
* API Documentation
*/
default CompletableFuture listStreamingSessions(
Consumer listStreamingSessionsRequest) {
return listStreamingSessions(ListStreamingSessionsRequest.builder().applyMutation(listStreamingSessionsRequest).build());
}
/**
*
* This is a variant of
* {@link #listStreamingSessions(software.amazon.awssdk.services.nimble.model.ListStreamingSessionsRequest)}
* 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.nimble.paginators.ListStreamingSessionsPublisher publisher = client.listStreamingSessionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionsPublisher publisher = client.listStreamingSessionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStreamingSessionsResponse 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 null 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 #listStreamingSessions(software.amazon.awssdk.services.nimble.model.ListStreamingSessionsRequest)}
* operation.
*
*
* @param listStreamingSessionsRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingSessions
* @see AWS
* API Documentation
*/
default ListStreamingSessionsPublisher listStreamingSessionsPaginator(
ListStreamingSessionsRequest listStreamingSessionsRequest) {
return new ListStreamingSessionsPublisher(this, listStreamingSessionsRequest);
}
/**
*
* This is a variant of
* {@link #listStreamingSessions(software.amazon.awssdk.services.nimble.model.ListStreamingSessionsRequest)}
* 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.nimble.paginators.ListStreamingSessionsPublisher publisher = client.listStreamingSessionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionsPublisher publisher = client.listStreamingSessionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStreamingSessionsResponse 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 null 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 #listStreamingSessions(software.amazon.awssdk.services.nimble.model.ListStreamingSessionsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListStreamingSessionsRequest.Builder} avoiding the
* need to create one manually via {@link ListStreamingSessionsRequest#builder()}
*
*
* @param listStreamingSessionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStreamingSessionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStreamingSessions
* @see AWS
* API Documentation
*/
default ListStreamingSessionsPublisher listStreamingSessionsPaginator(
Consumer listStreamingSessionsRequest) {
return listStreamingSessionsPaginator(ListStreamingSessionsRequest.builder().applyMutation(listStreamingSessionsRequest)
.build());
}
/**
*
* Lists the StudioComponents
in a studio.
*
*
* @param listStudioComponentsRequest
* @return A Java Future containing the result of the ListStudioComponents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudioComponents
* @see AWS
* API Documentation
*/
default CompletableFuture listStudioComponents(
ListStudioComponentsRequest listStudioComponentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the StudioComponents
in a studio.
*
*
*
* This is a convenience which creates an instance of the {@link ListStudioComponentsRequest.Builder} avoiding the
* need to create one manually via {@link ListStudioComponentsRequest#builder()}
*
*
* @param listStudioComponentsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStudioComponentsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListStudioComponents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudioComponents
* @see AWS
* API Documentation
*/
default CompletableFuture listStudioComponents(
Consumer listStudioComponentsRequest) {
return listStudioComponents(ListStudioComponentsRequest.builder().applyMutation(listStudioComponentsRequest).build());
}
/**
*
* This is a variant of
* {@link #listStudioComponents(software.amazon.awssdk.services.nimble.model.ListStudioComponentsRequest)}
* 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.nimble.paginators.ListStudioComponentsPublisher publisher = client.listStudioComponentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStudioComponentsPublisher publisher = client.listStudioComponentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStudioComponentsResponse 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 #listStudioComponents(software.amazon.awssdk.services.nimble.model.ListStudioComponentsRequest)}
* operation.
*
*
* @param listStudioComponentsRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudioComponents
* @see AWS
* API Documentation
*/
default ListStudioComponentsPublisher listStudioComponentsPaginator(ListStudioComponentsRequest listStudioComponentsRequest) {
return new ListStudioComponentsPublisher(this, listStudioComponentsRequest);
}
/**
*
* This is a variant of
* {@link #listStudioComponents(software.amazon.awssdk.services.nimble.model.ListStudioComponentsRequest)}
* 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.nimble.paginators.ListStudioComponentsPublisher publisher = client.listStudioComponentsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStudioComponentsPublisher publisher = client.listStudioComponentsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStudioComponentsResponse 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 #listStudioComponents(software.amazon.awssdk.services.nimble.model.ListStudioComponentsRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListStudioComponentsRequest.Builder} avoiding the
* need to create one manually via {@link ListStudioComponentsRequest#builder()}
*
*
* @param listStudioComponentsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStudioComponentsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudioComponents
* @see AWS
* API Documentation
*/
default ListStudioComponentsPublisher listStudioComponentsPaginator(
Consumer listStudioComponentsRequest) {
return listStudioComponentsPaginator(ListStudioComponentsRequest.builder().applyMutation(listStudioComponentsRequest)
.build());
}
/**
*
* Get all users in a given studio membership.
*
*
*
* ListStudioMembers
only returns admin members.
*
*
*
* @param listStudioMembersRequest
* @return A Java Future containing the result of the ListStudioMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudioMembers
* @see AWS API
* Documentation
*/
default CompletableFuture listStudioMembers(ListStudioMembersRequest listStudioMembersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get all users in a given studio membership.
*
*
*
* ListStudioMembers
only returns admin members.
*
*
*
* This is a convenience which creates an instance of the {@link ListStudioMembersRequest.Builder} avoiding the need
* to create one manually via {@link ListStudioMembersRequest#builder()}
*
*
* @param listStudioMembersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStudioMembersRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListStudioMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudioMembers
* @see AWS API
* Documentation
*/
default CompletableFuture listStudioMembers(
Consumer listStudioMembersRequest) {
return listStudioMembers(ListStudioMembersRequest.builder().applyMutation(listStudioMembersRequest).build());
}
/**
*
* This is a variant of
* {@link #listStudioMembers(software.amazon.awssdk.services.nimble.model.ListStudioMembersRequest)} 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.nimble.paginators.ListStudioMembersPublisher publisher = client.listStudioMembersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStudioMembersPublisher publisher = client.listStudioMembersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStudioMembersResponse 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 #listStudioMembers(software.amazon.awssdk.services.nimble.model.ListStudioMembersRequest)} operation.
*
*
* @param listStudioMembersRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudioMembers
* @see AWS API
* Documentation
*/
default ListStudioMembersPublisher listStudioMembersPaginator(ListStudioMembersRequest listStudioMembersRequest) {
return new ListStudioMembersPublisher(this, listStudioMembersRequest);
}
/**
*
* This is a variant of
* {@link #listStudioMembers(software.amazon.awssdk.services.nimble.model.ListStudioMembersRequest)} 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.nimble.paginators.ListStudioMembersPublisher publisher = client.listStudioMembersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStudioMembersPublisher publisher = client.listStudioMembersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStudioMembersResponse 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 #listStudioMembers(software.amazon.awssdk.services.nimble.model.ListStudioMembersRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListStudioMembersRequest.Builder} avoiding the need
* to create one manually via {@link ListStudioMembersRequest#builder()}
*
*
* @param listStudioMembersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStudioMembersRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudioMembers
* @see AWS API
* Documentation
*/
default ListStudioMembersPublisher listStudioMembersPaginator(
Consumer listStudioMembersRequest) {
return listStudioMembersPaginator(ListStudioMembersRequest.builder().applyMutation(listStudioMembersRequest).build());
}
/**
*
* List studios in your Amazon Web Services accounts in the requested Amazon Web Services Region.
*
*
* @param listStudiosRequest
* @return A Java Future containing the result of the ListStudios operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudios
* @see AWS API
* Documentation
*/
default CompletableFuture listStudios(ListStudiosRequest listStudiosRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List studios in your Amazon Web Services accounts in the requested Amazon Web Services Region.
*
*
*
* This is a convenience which creates an instance of the {@link ListStudiosRequest.Builder} avoiding the need to
* create one manually via {@link ListStudiosRequest#builder()}
*
*
* @param listStudiosRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStudiosRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListStudios operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudios
* @see AWS API
* Documentation
*/
default CompletableFuture listStudios(Consumer listStudiosRequest) {
return listStudios(ListStudiosRequest.builder().applyMutation(listStudiosRequest).build());
}
/**
*
* This is a variant of {@link #listStudios(software.amazon.awssdk.services.nimble.model.ListStudiosRequest)}
* 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.nimble.paginators.ListStudiosPublisher publisher = client.listStudiosPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStudiosPublisher publisher = client.listStudiosPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStudiosResponse 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 null 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 #listStudios(software.amazon.awssdk.services.nimble.model.ListStudiosRequest)} operation.
*
*
* @param listStudiosRequest
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudios
* @see AWS API
* Documentation
*/
default ListStudiosPublisher listStudiosPaginator(ListStudiosRequest listStudiosRequest) {
return new ListStudiosPublisher(this, listStudiosRequest);
}
/**
*
* This is a variant of {@link #listStudios(software.amazon.awssdk.services.nimble.model.ListStudiosRequest)}
* 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.nimble.paginators.ListStudiosPublisher publisher = client.listStudiosPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.nimble.paginators.ListStudiosPublisher publisher = client.listStudiosPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.nimble.model.ListStudiosResponse 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 null 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 #listStudios(software.amazon.awssdk.services.nimble.model.ListStudiosRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListStudiosRequest.Builder} avoiding the need to
* create one manually via {@link ListStudiosRequest#builder()}
*
*
* @param listStudiosRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.ListStudiosRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListStudios
* @see AWS API
* Documentation
*/
default ListStudiosPublisher listStudiosPaginator(Consumer listStudiosRequest) {
return listStudiosPaginator(ListStudiosRequest.builder().applyMutation(listStudiosRequest).build());
}
/**
*
* Gets the tags for a resource, given its Amazon Resource Names (ARN).
*
*
* This operation supports ARNs for all resource types in Nimble Studio that support tags, including studio, studio
* component, launch profile, streaming image, and streaming session. All resources that can be tagged will contain
* an ARN property, so you do not have to create this ARN yourself.
*
*
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default CompletableFuture listTagsForResource(
ListTagsForResourceRequest listTagsForResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Gets the tags for a resource, given its Amazon Resource Names (ARN).
*
*
* This operation supports ARNs for all resource types in Nimble Studio that support tags, including studio, studio
* component, launch profile, streaming image, and streaming session. All resources that can be tagged will contain
* an ARN property, so you do not have to create this ARN yourself.
*
*
*
* 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.nimble.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default CompletableFuture listTagsForResource(
Consumer listTagsForResourceRequest) {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Add/update users with given persona to launch profile membership.
*
*
* @param putLaunchProfileMembersRequest
* @return A Java Future containing the result of the PutLaunchProfileMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.PutLaunchProfileMembers
* @see AWS API Documentation
*/
default CompletableFuture putLaunchProfileMembers(
PutLaunchProfileMembersRequest putLaunchProfileMembersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Add/update users with given persona to launch profile membership.
*
*
*
* This is a convenience which creates an instance of the {@link PutLaunchProfileMembersRequest.Builder} avoiding
* the need to create one manually via {@link PutLaunchProfileMembersRequest#builder()}
*
*
* @param putLaunchProfileMembersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.PutLaunchProfileMembersRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the PutLaunchProfileMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.PutLaunchProfileMembers
* @see AWS API Documentation
*/
default CompletableFuture putLaunchProfileMembers(
Consumer putLaunchProfileMembersRequest) {
return putLaunchProfileMembers(PutLaunchProfileMembersRequest.builder().applyMutation(putLaunchProfileMembersRequest)
.build());
}
/**
*
* Add/update users with given persona to studio membership.
*
*
* @param putStudioMembersRequest
* @return A Java Future containing the result of the PutStudioMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.PutStudioMembers
* @see AWS API
* Documentation
*/
default CompletableFuture putStudioMembers(PutStudioMembersRequest putStudioMembersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Add/update users with given persona to studio membership.
*
*
*
* This is a convenience which creates an instance of the {@link PutStudioMembersRequest.Builder} avoiding the need
* to create one manually via {@link PutStudioMembersRequest#builder()}
*
*
* @param putStudioMembersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.PutStudioMembersRequest.Builder} to create a request.
* @return A Java Future containing the result of the PutStudioMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.PutStudioMembers
* @see AWS API
* Documentation
*/
default CompletableFuture putStudioMembers(
Consumer putStudioMembersRequest) {
return putStudioMembers(PutStudioMembersRequest.builder().applyMutation(putStudioMembersRequest).build());
}
/**
*
* Transitions sessions from the STOPPED
state into the READY
state. The
* START_IN_PROGRESS
state is the intermediate state between the STOPPED
and
* READY
states.
*
*
* @param startStreamingSessionRequest
* @return A Java Future containing the result of the StartStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.StartStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture startStreamingSession(
StartStreamingSessionRequest startStreamingSessionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Transitions sessions from the STOPPED
state into the READY
state. The
* START_IN_PROGRESS
state is the intermediate state between the STOPPED
and
* READY
states.
*
*
*
* This is a convenience which creates an instance of the {@link StartStreamingSessionRequest.Builder} avoiding the
* need to create one manually via {@link StartStreamingSessionRequest#builder()}
*
*
* @param startStreamingSessionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.StartStreamingSessionRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the StartStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.StartStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture startStreamingSession(
Consumer startStreamingSessionRequest) {
return startStreamingSession(StartStreamingSessionRequest.builder().applyMutation(startStreamingSessionRequest).build());
}
/**
*
* Repairs the IAM Identity Center configuration for a given studio.
*
*
* If the studio has a valid IAM Identity Center configuration currently associated with it, this operation will
* fail with a validation error.
*
*
* If the studio does not have a valid IAM Identity Center configuration currently associated with it, then a new
* IAM Identity Center application is created for the studio and the studio is changed to the READY
* state.
*
*
* After the IAM Identity Center application is repaired, you must use the Amazon Nimble Studio console to add
* administrators and users to your studio.
*
*
* @param startStudioSsoConfigurationRepairRequest
* @return A Java Future containing the result of the StartStudioSSOConfigurationRepair operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.StartStudioSSOConfigurationRepair
* @see AWS API Documentation
*/
default CompletableFuture startStudioSSOConfigurationRepair(
StartStudioSsoConfigurationRepairRequest startStudioSsoConfigurationRepairRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Repairs the IAM Identity Center configuration for a given studio.
*
*
* If the studio has a valid IAM Identity Center configuration currently associated with it, this operation will
* fail with a validation error.
*
*
* If the studio does not have a valid IAM Identity Center configuration currently associated with it, then a new
* IAM Identity Center application is created for the studio and the studio is changed to the READY
* state.
*
*
* After the IAM Identity Center application is repaired, you must use the Amazon Nimble Studio console to add
* administrators and users to your studio.
*
*
*
* This is a convenience which creates an instance of the {@link StartStudioSsoConfigurationRepairRequest.Builder}
* avoiding the need to create one manually via {@link StartStudioSsoConfigurationRepairRequest#builder()}
*
*
* @param startStudioSsoConfigurationRepairRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.StartStudioSsoConfigurationRepairRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the StartStudioSSOConfigurationRepair operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.StartStudioSSOConfigurationRepair
* @see AWS API Documentation
*/
default CompletableFuture startStudioSSOConfigurationRepair(
Consumer startStudioSsoConfigurationRepairRequest) {
return startStudioSSOConfigurationRepair(StartStudioSsoConfigurationRepairRequest.builder()
.applyMutation(startStudioSsoConfigurationRepairRequest).build());
}
/**
*
* Transitions sessions from the READY
state into the STOPPED
state. The
* STOP_IN_PROGRESS
state is the intermediate state between the READY
and
* STOPPED
states.
*
*
* @param stopStreamingSessionRequest
* @return A Java Future containing the result of the StopStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.StopStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture stopStreamingSession(
StopStreamingSessionRequest stopStreamingSessionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Transitions sessions from the READY
state into the STOPPED
state. The
* STOP_IN_PROGRESS
state is the intermediate state between the READY
and
* STOPPED
states.
*
*
*
* This is a convenience which creates an instance of the {@link StopStreamingSessionRequest.Builder} avoiding the
* need to create one manually via {@link StopStreamingSessionRequest#builder()}
*
*
* @param stopStreamingSessionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.StopStreamingSessionRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the StopStreamingSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.StopStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture stopStreamingSession(
Consumer stopStreamingSessionRequest) {
return stopStreamingSession(StopStreamingSessionRequest.builder().applyMutation(stopStreamingSessionRequest).build());
}
/**
*
* Creates tags for a resource, given its ARN.
*
*
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.TagResource
* @see AWS API
* Documentation
*/
default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates tags for a resource, given its ARN.
*
*
*
* 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.nimble.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.TagResource
* @see AWS API
* Documentation
*/
default CompletableFuture tagResource(Consumer tagResourceRequest) {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Deletes the tags for a resource.
*
*
* @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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UntagResource
* @see AWS API
* Documentation
*/
default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the tags for a resource.
*
*
*
* 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.nimble.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. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UntagResource
* @see AWS API
* Documentation
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Update a launch profile.
*
*
* @param updateLaunchProfileRequest
* @return A Java Future containing the result of the UpdateLaunchProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateLaunchProfile
* @see AWS
* API Documentation
*/
default CompletableFuture updateLaunchProfile(
UpdateLaunchProfileRequest updateLaunchProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Update a launch profile.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateLaunchProfileRequest.Builder} avoiding the
* need to create one manually via {@link UpdateLaunchProfileRequest#builder()}
*
*
* @param updateLaunchProfileRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.UpdateLaunchProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateLaunchProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateLaunchProfile
* @see AWS
* API Documentation
*/
default CompletableFuture updateLaunchProfile(
Consumer updateLaunchProfileRequest) {
return updateLaunchProfile(UpdateLaunchProfileRequest.builder().applyMutation(updateLaunchProfileRequest).build());
}
/**
*
* Update a user persona in launch profile membership.
*
*
* @param updateLaunchProfileMemberRequest
* @return A Java Future containing the result of the UpdateLaunchProfileMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateLaunchProfileMember
* @see AWS API Documentation
*/
default CompletableFuture updateLaunchProfileMember(
UpdateLaunchProfileMemberRequest updateLaunchProfileMemberRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Update a user persona in launch profile membership.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateLaunchProfileMemberRequest.Builder} avoiding
* the need to create one manually via {@link UpdateLaunchProfileMemberRequest#builder()}
*
*
* @param updateLaunchProfileMemberRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.UpdateLaunchProfileMemberRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateLaunchProfileMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateLaunchProfileMember
* @see AWS API Documentation
*/
default CompletableFuture updateLaunchProfileMember(
Consumer updateLaunchProfileMemberRequest) {
return updateLaunchProfileMember(UpdateLaunchProfileMemberRequest.builder()
.applyMutation(updateLaunchProfileMemberRequest).build());
}
/**
*
* Update streaming image.
*
*
* @param updateStreamingImageRequest
* @return A Java Future containing the result of the UpdateStreamingImage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateStreamingImage
* @see AWS
* API Documentation
*/
default CompletableFuture updateStreamingImage(
UpdateStreamingImageRequest updateStreamingImageRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Update streaming image.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateStreamingImageRequest.Builder} avoiding the
* need to create one manually via {@link UpdateStreamingImageRequest#builder()}
*
*
* @param updateStreamingImageRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.UpdateStreamingImageRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateStreamingImage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateStreamingImage
* @see AWS
* API Documentation
*/
default CompletableFuture updateStreamingImage(
Consumer updateStreamingImageRequest) {
return updateStreamingImage(UpdateStreamingImageRequest.builder().applyMutation(updateStreamingImageRequest).build());
}
/**
*
* Update a Studio resource.
*
*
* Currently, this operation only supports updating the displayName of your studio.
*
*
* @param updateStudioRequest
* @return A Java Future containing the result of the UpdateStudio operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateStudio
* @see AWS API
* Documentation
*/
default CompletableFuture updateStudio(UpdateStudioRequest updateStudioRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Update a Studio resource.
*
*
* Currently, this operation only supports updating the displayName of your studio.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateStudioRequest.Builder} avoiding the need to
* create one manually via {@link UpdateStudioRequest#builder()}
*
*
* @param updateStudioRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.UpdateStudioRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateStudio operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateStudio
* @see AWS API
* Documentation
*/
default CompletableFuture updateStudio(Consumer updateStudioRequest) {
return updateStudio(UpdateStudioRequest.builder().applyMutation(updateStudioRequest).build());
}
/**
*
* Updates a studio component resource.
*
*
* @param updateStudioComponentRequest
* @return A Java Future containing the result of the UpdateStudioComponent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateStudioComponent
* @see AWS
* API Documentation
*/
default CompletableFuture updateStudioComponent(
UpdateStudioComponentRequest updateStudioComponentRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a studio component resource.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateStudioComponentRequest.Builder} avoiding the
* need to create one manually via {@link UpdateStudioComponentRequest#builder()}
*
*
* @param updateStudioComponentRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.nimble.model.UpdateStudioComponentRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateStudioComponent operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ResourceNotFoundException The specified resource could not be found.
* - ConflictException Another operation is in progress.
* - ThrottlingException The request throughput limit was exceeded.
* - ValidationException One of the parameters in the request is invalid.
* - AccessDeniedException You are not authorized to perform this operation. Check your IAM policies, and
* ensure that you are using the correct access keys.
* - InternalServerErrorException An internal error has occurred. Please retry your request.
* - ServiceQuotaExceededException Your current quota does not allow you to perform the request action.
* You can request increases for some quotas, and other quotas cannot be increased.
*
* Please use Amazon Web Services Service Quotas to request an increase.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - NimbleException Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample NimbleAsyncClient.UpdateStudioComponent
* @see AWS
* API Documentation
*/
default CompletableFuture updateStudioComponent(
Consumer updateStudioComponentRequest) {
return updateStudioComponent(UpdateStudioComponentRequest.builder().applyMutation(updateStudioComponentRequest).build());
}
/**
* Create an instance of {@link NimbleAsyncWaiter} using this client.
*
* Waiters created via this method are managed by the SDK and resources will be released when the service client is
* closed.
*
* @return an instance of {@link NimbleAsyncWaiter}
*/
default NimbleAsyncWaiter waiter() {
throw new UnsupportedOperationException();
}
@Override
default NimbleServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
/**
* Create a {@link NimbleAsyncClient} 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 NimbleAsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link NimbleAsyncClient}.
*/
static NimbleAsyncClientBuilder builder() {
return new DefaultNimbleAsyncClientBuilder();
}
}