
software.amazon.awssdk.services.nimble.NimbleAsyncClient Maven / Gradle / Ivy
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.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.core.SdkClient;
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.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.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.StartStudioSsoConfigurationRepairRequest;
import software.amazon.awssdk.services.nimble.model.StartStudioSsoConfigurationRepairResponse;
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.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;
/**
* Service client for accessing AmazonNimbleStudio asynchronously. This can be created using the static
* {@link #builder()} method.
*
* null
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface NimbleAsyncClient extends SdkClient {
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";
/**
* 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();
}
/**
*
* Accept EULAs.
*
*
* @param acceptEulasRequest
* A collection of EULA acceptances.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 AcceptEulasRequest.Builder} to create a request. A
* collection of EULA acceptances.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.AcceptEulas
* @see AWS API
* Documentation
*/
default CompletableFuture acceptEulas(Consumer acceptEulasRequest) {
return acceptEulas(AcceptEulasRequest.builder().applyMutation(acceptEulasRequest).build());
}
/**
*
* Create a launch profile.
*
*
* @param createLaunchProfileRequest
* A collection of launch profiles.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 CreateLaunchProfileRequest.Builder} to create a
* request. A collection of launch profiles.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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
* A collection of streaming images.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 CreateStreamingImageRequest.Builder} to create a
* request. A collection of streaming images.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 state READY.
*
*
* @param createStreamingSessionRequest
* A collection of streaming sessions.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 state READY.
*
*
*
* 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 CreateStreamingSessionRequest.Builder} to create a
* request. A collection of streaming sessions.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 state READY.
*
*
* @param createStreamingSessionStreamRequest
* A list collection streams.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 state READY.
*
*
*
* 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 CreateStreamingSessionStreamRequest.Builder} to create
* a request. A list collection streams.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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
* A collection of studio resources.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 CreateStudioRequest.Builder} to create a request. A
* collection of studio resources.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.CreateStudio
* @see AWS API
* Documentation
*/
default CompletableFuture createStudio(Consumer createStudioRequest) {
return createStudio(CreateStudioRequest.builder().applyMutation(createStudioRequest).build());
}
/**
*
* Creates a studio component resource.
*
*
* @param createStudioComponentRequest
* The studio components.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 CreateStudioComponentRequest.Builder} to create a
* request. The studio components.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.GetStreamingSession
* @see AWS
* API Documentation
*/
default CompletableFuture getStreamingSession(
Consumer getStreamingSessionRequest) {
return getStreamingSession(GetStreamingSessionRequest.builder().applyMutation(getStreamingSessionRequest).build());
}
/**
*
* Gets a StreamingSessionStream for a streaming session.
*
*
* Invoke this operation to poll the resource after invoking CreateStreamingSessionStream.
*
*
* After the StreamingSessionStream changes to the state READY, 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 state READY, 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListEulaAcceptances
* @see AWS
* API Documentation
*/
default CompletableFuture listEulaAcceptances(
Consumer listEulaAcceptancesRequest) {
return listEulaAcceptances(ListEulaAcceptancesRequest.builder().applyMutation(listEulaAcceptancesRequest).build());
}
/**
*
* List Eula Acceptances.
*
*
*
* 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListEulaAcceptances
* @see AWS
* API Documentation
*/
default ListEulaAcceptancesPublisher listEulaAcceptancesPaginator(ListEulaAcceptancesRequest listEulaAcceptancesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List Eula Acceptances.
*
*
*
* 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListEulas
* @see AWS API
* Documentation
*/
default CompletableFuture listEulas(Consumer listEulasRequest) {
return listEulas(ListEulasRequest.builder().applyMutation(listEulasRequest).build());
}
/**
*
* List Eulas.
*
*
*
* 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListEulas
* @see AWS API
* Documentation
*/
default ListEulasPublisher listEulasPaginator(ListEulasRequest listEulasRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List Eulas.
*
*
*
* 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListLaunchProfileMembers
* @see AWS API Documentation
*/
default CompletableFuture listLaunchProfileMembers(
Consumer listLaunchProfileMembersRequest) {
return listLaunchProfileMembers(ListLaunchProfileMembersRequest.builder().applyMutation(listLaunchProfileMembersRequest)
.build());
}
/**
*
* Get all users in a given launch profile membership.
*
*
*
* 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListLaunchProfileMembers
* @see AWS API Documentation
*/
default ListLaunchProfileMembersPublisher listLaunchProfileMembersPaginator(
ListLaunchProfileMembersRequest listLaunchProfileMembersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get all users in a given launch profile membership.
*
*
*
* 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListLaunchProfiles
* @see AWS API
* Documentation
*/
default CompletableFuture listLaunchProfiles(
Consumer listLaunchProfilesRequest) {
return listLaunchProfiles(ListLaunchProfilesRequest.builder().applyMutation(listLaunchProfilesRequest).build());
}
/**
*
* List all the launch profiles a studio.
*
*
*
* 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListLaunchProfiles
* @see AWS API
* Documentation
*/
default ListLaunchProfilesPublisher listLaunchProfilesPaginator(ListLaunchProfilesRequest listLaunchProfilesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List all the launch profiles a studio.
*
*
*
* 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStreamingImages
* @see AWS
* API Documentation
*/
default CompletableFuture listStreamingImages(
Consumer listStreamingImagesRequest) {
return listStreamingImages(ListStreamingImagesRequest.builder().applyMutation(listStreamingImagesRequest).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.
*
*
*
* 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStreamingImages
* @see AWS
* API Documentation
*/
default ListStreamingImagesPublisher listStreamingImagesPaginator(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 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStreamingImages
* @see AWS
* API Documentation
*/
default ListStreamingImagesPublisher listStreamingImagesPaginator(
Consumer listStreamingImagesRequest) {
return listStreamingImagesPaginator(ListStreamingImagesRequest.builder().applyMutation(listStreamingImagesRequest)
.build());
}
/**
*
* Lists the streaming image resources 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStreamingSessions
* @see AWS
* API Documentation
*/
default CompletableFuture listStreamingSessions(
ListStreamingSessionsRequest listStreamingSessionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the streaming image resources 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStreamingSessions
* @see AWS
* API Documentation
*/
default CompletableFuture listStreamingSessions(
Consumer listStreamingSessionsRequest) {
return listStreamingSessions(ListStreamingSessionsRequest.builder().applyMutation(listStreamingSessionsRequest).build());
}
/**
*
* Lists the streaming image resources in a studio.
*
*
*
* 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStreamingSessions
* @see AWS
* API Documentation
*/
default ListStreamingSessionsPublisher listStreamingSessionsPaginator(
ListStreamingSessionsRequest listStreamingSessionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the streaming image resources in a studio.
*
*
*
* 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStudioComponents
* @see AWS
* API Documentation
*/
default CompletableFuture listStudioComponents(
Consumer listStudioComponentsRequest) {
return listStudioComponents(ListStudioComponentsRequest.builder().applyMutation(listStudioComponentsRequest).build());
}
/**
*
* Lists the StudioComponents in a studio.
*
*
*
* 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStudioComponents
* @see AWS
* API Documentation
*/
default ListStudioComponentsPublisher listStudioComponentsPaginator(ListStudioComponentsRequest listStudioComponentsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the StudioComponents in a studio.
*
*
*
* 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
*
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStudioMembers
* @see AWS API
* Documentation
*/
default CompletableFuture listStudioMembers(ListStudioMembersRequest listStudioMembersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get all users in a given studio membership.
*
*
*
* 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStudioMembers
* @see AWS API
* Documentation
*/
default CompletableFuture listStudioMembers(
Consumer listStudioMembersRequest) {
return listStudioMembers(ListStudioMembersRequest.builder().applyMutation(listStudioMembersRequest).build());
}
/**
*
* Get all users in a given studio membership.
*
*
*
* 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStudioMembers
* @see AWS API
* Documentation
*/
default ListStudioMembersPublisher listStudioMembersPaginator(ListStudioMembersRequest listStudioMembersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Get all users in a given studio membership.
*
*
*
* 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStudioMembers
* @see AWS API
* Documentation
*/
default ListStudioMembersPublisher listStudioMembersPaginator(
Consumer listStudioMembersRequest) {
return listStudioMembersPaginator(ListStudioMembersRequest.builder().applyMutation(listStudioMembersRequest).build());
}
/**
*
* List studios in your Amazon Web Services account 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStudios
* @see AWS API
* Documentation
*/
default CompletableFuture listStudios(ListStudiosRequest listStudiosRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List studios in your Amazon Web Services account 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStudios
* @see AWS API
* Documentation
*/
default CompletableFuture listStudios(Consumer listStudiosRequest) {
return listStudios(ListStudiosRequest.builder().applyMutation(listStudiosRequest).build());
}
/**
*
* List studios in your Amazon Web Services account in the requested Amazon Web Services Region.
*
*
*
* 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.ListStudios
* @see AWS API
* Documentation
*/
default ListStudiosPublisher listStudiosPaginator(ListStudiosRequest listStudiosRequest) {
throw new UnsupportedOperationException();
}
/**
*
* List studios in your Amazon Web Services account in the requested Amazon Web Services Region.
*
*
*
* 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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
* Information about a launch profile membership.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 PutLaunchProfileMembersRequest.Builder} to create a
* request. Information about a launch profile membership.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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
* A launch profile membership collection.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 PutStudioMembersRequest.Builder} to create a request.
* A launch profile membership collection.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.PutStudioMembers
* @see AWS API
* Documentation
*/
default CompletableFuture putStudioMembers(
Consumer putStudioMembersRequest) {
return putStudioMembers(PutStudioMembersRequest.builder().applyMutation(putStudioMembersRequest).build());
}
/**
*
* Repairs the SSO configuration for a given studio.
*
*
* If the studio has a valid Amazon Web Services SSO configuration currently associated with it, this operation will
* fail with a validation error.
*
*
* If the studio does not have a valid Amazon Web Services SSO configuration currently associated with it, then a
* new Amazon Web Services SSO application is created for the studio and the studio is changed to the READY state.
*
*
* After the Amazon Web Services SSO 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.StartStudioSSOConfigurationRepair
* @see AWS API Documentation
*/
default CompletableFuture startStudioSSOConfigurationRepair(
StartStudioSsoConfigurationRepairRequest startStudioSsoConfigurationRepairRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Repairs the SSO configuration for a given studio.
*
*
* If the studio has a valid Amazon Web Services SSO configuration currently associated with it, this operation will
* fail with a validation error.
*
*
* If the studio does not have a valid Amazon Web Services SSO configuration currently associated with it, then a
* new Amazon Web Services SSO application is created for the studio and the studio is changed to the READY state.
*
*
* After the Amazon Web Services SSO 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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.StartStudioSSOConfigurationRepair
* @see AWS API Documentation
*/
default CompletableFuture startStudioSSOConfigurationRepair(
Consumer startStudioSsoConfigurationRepairRequest) {
return startStudioSSOConfigurationRepair(StartStudioSsoConfigurationRepairRequest.builder()
.applyMutation(startStudioSsoConfigurationRepairRequest).build());
}
/**
*
* Creates tags for a resource, given its ARN.
*
*
* @param tagResourceRequest
* The ARN for the role that manages access.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 TagResourceRequest.Builder} to create a request. The
* ARN for the role that manages access.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.UntagResource
* @see AWS API
* Documentation
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Update a launch profile.
*
*
* @param updateLaunchProfileRequest
* The launch profile ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 UpdateLaunchProfileRequest.Builder} to create a
* request. The launch profile ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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
* The principal ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 UpdateLaunchProfileMemberRequest.Builder} to create a
* request. The principal ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.UpdateLaunchProfileMember
* @see AWS API Documentation
*/
default CompletableFuture updateLaunchProfileMember(
Consumer updateLaunchProfileMemberRequest) {
return updateLaunchProfileMember(UpdateLaunchProfileMemberRequest.builder()
.applyMutation(updateLaunchProfileMemberRequest).build());
}
/**
*
* Update streaming image.
*
*
* @param updateStreamingImageRequest
* The streaming image ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 UpdateStreamingImageRequest.Builder} to create a
* request. The streaming image ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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
* The studio ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 UpdateStudioRequest.Builder} to create a request. The
* studio ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.UpdateStudio
* @see AWS API
* Documentation
*/
default CompletableFuture updateStudio(Consumer updateStudioRequest) {
return updateStudio(UpdateStudioRequest.builder().applyMutation(updateStudioRequest).build());
}
/**
*
* Updates a studio component resource.
*
*
* @param updateStudioComponentRequest
* The studio component ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.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 UpdateStudioComponentRequest.Builder} to create a
* request. The studio component ID.
* @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.
*
* - ValidationException One of the parameters in the request is invalid.
* - InternalServerErrorException A service fault has occurred. Please retry your request and contact
* Amazon Web Services Support if this error continues.
* - ServiceQuotaExceededException This request would cause a service quota to be exceeded. Please use the
* Amazon Web Services Service Quotas console to request an increase.
* - AccessDeniedException You do not have permission to perform this action.
* - ResourceNotFoundException A requested resource was not found.
* - ThrottlingException The request was denied due to request throttling. Please retry your request.
* - ConflictException This request conflicts with another concurrent request. 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.UpdateStudioComponent
* @see AWS
* API Documentation
*/
default CompletableFuture updateStudioComponent(
Consumer updateStudioComponentRequest) {
return updateStudioComponent(UpdateStudioComponentRequest.builder().applyMutation(updateStudioComponentRequest).build());
}
}