@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface NimbleAsyncClient extends SdkClient
builder() method.
null| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static NimbleAsyncClient create()
NimbleAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static NimbleAsyncClientBuilder builder()
NimbleAsyncClient.default CompletableFuture<AcceptEulasResponse> acceptEulas(AcceptEulasRequest acceptEulasRequest)
Accept EULAs.
acceptEulasRequest - A collection of EULA acceptances.default CompletableFuture<AcceptEulasResponse> acceptEulas(Consumer<AcceptEulasRequest.Builder> acceptEulasRequest)
Accept EULAs.
This is a convenience which creates an instance of the AcceptEulasRequest.Builder avoiding the need to
create one manually via AcceptEulasRequest.builder()
acceptEulasRequest - A Consumer that will call methods on AcceptEulasRequest.Builder to create a request. A
collection of EULA acceptances.default CompletableFuture<CreateLaunchProfileResponse> createLaunchProfile(CreateLaunchProfileRequest createLaunchProfileRequest)
Create a launch profile.
createLaunchProfileRequest - A collection of launch profiles.default CompletableFuture<CreateLaunchProfileResponse> createLaunchProfile(Consumer<CreateLaunchProfileRequest.Builder> createLaunchProfileRequest)
Create a launch profile.
This is a convenience which creates an instance of the CreateLaunchProfileRequest.Builder avoiding the
need to create one manually via CreateLaunchProfileRequest.builder()
createLaunchProfileRequest - A Consumer that will call methods on CreateLaunchProfileRequest.Builder to create a
request. A collection of launch profiles.default CompletableFuture<CreateStreamingImageResponse> createStreamingImage(CreateStreamingImageRequest createStreamingImageRequest)
Creates a streaming image resource in a studio.
createStreamingImageRequest - A collection of streaming images.default CompletableFuture<CreateStreamingImageResponse> createStreamingImage(Consumer<CreateStreamingImageRequest.Builder> createStreamingImageRequest)
Creates a streaming image resource in a studio.
This is a convenience which creates an instance of the CreateStreamingImageRequest.Builder avoiding the
need to create one manually via CreateStreamingImageRequest.builder()
createStreamingImageRequest - A Consumer that will call methods on CreateStreamingImageRequest.Builder to create a
request. A collection of streaming images.default CompletableFuture<CreateStreamingSessionResponse> createStreamingSession(CreateStreamingSessionRequest createStreamingSessionRequest)
Creates a streaming session in a studio.
After invoking this operation, you must poll GetStreamingSession until the streaming session is in state READY.
createStreamingSessionRequest - A collection of streaming sessions.default CompletableFuture<CreateStreamingSessionResponse> createStreamingSession(Consumer<CreateStreamingSessionRequest.Builder> createStreamingSessionRequest)
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 CreateStreamingSessionRequest.Builder avoiding the
need to create one manually via CreateStreamingSessionRequest.builder()
createStreamingSessionRequest - A Consumer that will call methods on CreateStreamingSessionRequest.Builder to create a
request. A collection of streaming sessions.default CompletableFuture<CreateStreamingSessionStreamResponse> createStreamingSessionStream(CreateStreamingSessionStreamRequest createStreamingSessionStreamRequest)
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.
createStreamingSessionStreamRequest - A list collection streams.default CompletableFuture<CreateStreamingSessionStreamResponse> createStreamingSessionStream(Consumer<CreateStreamingSessionStreamRequest.Builder> createStreamingSessionStreamRequest)
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 CreateStreamingSessionStreamRequest.Builder
avoiding the need to create one manually via CreateStreamingSessionStreamRequest.builder()
createStreamingSessionStreamRequest - A Consumer that will call methods on CreateStreamingSessionStreamRequest.Builder to create
a request. A list collection streams.default CompletableFuture<CreateStudioResponse> createStudio(CreateStudioRequest createStudioRequest)
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.
createStudioRequest - A collection of studio resources.default CompletableFuture<CreateStudioResponse> createStudio(Consumer<CreateStudioRequest.Builder> createStudioRequest)
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 CreateStudioRequest.Builder avoiding the need to
create one manually via CreateStudioRequest.builder()
createStudioRequest - A Consumer that will call methods on CreateStudioRequest.Builder to create a request. A
collection of studio resources.default CompletableFuture<CreateStudioComponentResponse> createStudioComponent(CreateStudioComponentRequest createStudioComponentRequest)
Creates a studio component resource.
createStudioComponentRequest - The studio components.default CompletableFuture<CreateStudioComponentResponse> createStudioComponent(Consumer<CreateStudioComponentRequest.Builder> createStudioComponentRequest)
Creates a studio component resource.
This is a convenience which creates an instance of the CreateStudioComponentRequest.Builder avoiding the
need to create one manually via CreateStudioComponentRequest.builder()
createStudioComponentRequest - A Consumer that will call methods on CreateStudioComponentRequest.Builder to create a
request. The studio components.default CompletableFuture<DeleteLaunchProfileResponse> deleteLaunchProfile(DeleteLaunchProfileRequest deleteLaunchProfileRequest)
Permanently delete a launch profile.
deleteLaunchProfileRequest - default CompletableFuture<DeleteLaunchProfileResponse> deleteLaunchProfile(Consumer<DeleteLaunchProfileRequest.Builder> deleteLaunchProfileRequest)
Permanently delete a launch profile.
This is a convenience which creates an instance of the DeleteLaunchProfileRequest.Builder avoiding the
need to create one manually via DeleteLaunchProfileRequest.builder()
deleteLaunchProfileRequest - A Consumer that will call methods on DeleteLaunchProfileRequest.Builder to create a
request.default CompletableFuture<DeleteLaunchProfileMemberResponse> deleteLaunchProfileMember(DeleteLaunchProfileMemberRequest deleteLaunchProfileMemberRequest)
Delete a user from launch profile membership.
deleteLaunchProfileMemberRequest - default CompletableFuture<DeleteLaunchProfileMemberResponse> deleteLaunchProfileMember(Consumer<DeleteLaunchProfileMemberRequest.Builder> deleteLaunchProfileMemberRequest)
Delete a user from launch profile membership.
This is a convenience which creates an instance of the DeleteLaunchProfileMemberRequest.Builder avoiding
the need to create one manually via DeleteLaunchProfileMemberRequest.builder()
deleteLaunchProfileMemberRequest - A Consumer that will call methods on DeleteLaunchProfileMemberRequest.Builder to create a
request.default CompletableFuture<DeleteStreamingImageResponse> deleteStreamingImage(DeleteStreamingImageRequest deleteStreamingImageRequest)
Delete streaming image.
deleteStreamingImageRequest - default CompletableFuture<DeleteStreamingImageResponse> deleteStreamingImage(Consumer<DeleteStreamingImageRequest.Builder> deleteStreamingImageRequest)
Delete streaming image.
This is a convenience which creates an instance of the DeleteStreamingImageRequest.Builder avoiding the
need to create one manually via DeleteStreamingImageRequest.builder()
deleteStreamingImageRequest - A Consumer that will call methods on DeleteStreamingImageRequest.Builder to create a
request.default CompletableFuture<DeleteStreamingSessionResponse> deleteStreamingSession(DeleteStreamingSessionRequest deleteStreamingSessionRequest)
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.
deleteStreamingSessionRequest - default CompletableFuture<DeleteStreamingSessionResponse> deleteStreamingSession(Consumer<DeleteStreamingSessionRequest.Builder> deleteStreamingSessionRequest)
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 DeleteStreamingSessionRequest.Builder avoiding the
need to create one manually via DeleteStreamingSessionRequest.builder()
deleteStreamingSessionRequest - A Consumer that will call methods on DeleteStreamingSessionRequest.Builder to create a
request.default CompletableFuture<DeleteStudioResponse> deleteStudio(DeleteStudioRequest deleteStudioRequest)
Delete a studio resource.
deleteStudioRequest - default CompletableFuture<DeleteStudioResponse> deleteStudio(Consumer<DeleteStudioRequest.Builder> deleteStudioRequest)
Delete a studio resource.
This is a convenience which creates an instance of the DeleteStudioRequest.Builder avoiding the need to
create one manually via DeleteStudioRequest.builder()
deleteStudioRequest - A Consumer that will call methods on DeleteStudioRequest.Builder to create a request.default CompletableFuture<DeleteStudioComponentResponse> deleteStudioComponent(DeleteStudioComponentRequest deleteStudioComponentRequest)
Deletes a studio component resource.
deleteStudioComponentRequest - default CompletableFuture<DeleteStudioComponentResponse> deleteStudioComponent(Consumer<DeleteStudioComponentRequest.Builder> deleteStudioComponentRequest)
Deletes a studio component resource.
This is a convenience which creates an instance of the DeleteStudioComponentRequest.Builder avoiding the
need to create one manually via DeleteStudioComponentRequest.builder()
deleteStudioComponentRequest - A Consumer that will call methods on DeleteStudioComponentRequest.Builder to create a
request.default CompletableFuture<DeleteStudioMemberResponse> deleteStudioMember(DeleteStudioMemberRequest deleteStudioMemberRequest)
Delete a user from studio membership.
deleteStudioMemberRequest - default CompletableFuture<DeleteStudioMemberResponse> deleteStudioMember(Consumer<DeleteStudioMemberRequest.Builder> deleteStudioMemberRequest)
Delete a user from studio membership.
This is a convenience which creates an instance of the DeleteStudioMemberRequest.Builder avoiding the
need to create one manually via DeleteStudioMemberRequest.builder()
deleteStudioMemberRequest - A Consumer that will call methods on DeleteStudioMemberRequest.Builder to create a
request.default CompletableFuture<GetEulaResponse> getEula(GetEulaRequest getEulaRequest)
Get Eula.
getEulaRequest - default CompletableFuture<GetEulaResponse> getEula(Consumer<GetEulaRequest.Builder> getEulaRequest)
Get Eula.
This is a convenience which creates an instance of the GetEulaRequest.Builder avoiding the need to create
one manually via GetEulaRequest.builder()
getEulaRequest - A Consumer that will call methods on GetEulaRequest.Builder to create a request.default CompletableFuture<GetLaunchProfileResponse> getLaunchProfile(GetLaunchProfileRequest getLaunchProfileRequest)
Get a launch profile.
getLaunchProfileRequest - default CompletableFuture<GetLaunchProfileResponse> getLaunchProfile(Consumer<GetLaunchProfileRequest.Builder> getLaunchProfileRequest)
Get a launch profile.
This is a convenience which creates an instance of the GetLaunchProfileRequest.Builder avoiding the need
to create one manually via GetLaunchProfileRequest.builder()
getLaunchProfileRequest - A Consumer that will call methods on GetLaunchProfileRequest.Builder to create a request.default CompletableFuture<GetLaunchProfileDetailsResponse> getLaunchProfileDetails(GetLaunchProfileDetailsRequest getLaunchProfileDetailsRequest)
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.
getLaunchProfileDetailsRequest - default CompletableFuture<GetLaunchProfileDetailsResponse> getLaunchProfileDetails(Consumer<GetLaunchProfileDetailsRequest.Builder> getLaunchProfileDetailsRequest)
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 GetLaunchProfileDetailsRequest.Builder avoiding
the need to create one manually via GetLaunchProfileDetailsRequest.builder()
getLaunchProfileDetailsRequest - A Consumer that will call methods on GetLaunchProfileDetailsRequest.Builder to create a
request.default CompletableFuture<GetLaunchProfileInitializationResponse> getLaunchProfileInitialization(GetLaunchProfileInitializationRequest getLaunchProfileInitializationRequest)
Get a launch profile initialization.
getLaunchProfileInitializationRequest - default CompletableFuture<GetLaunchProfileInitializationResponse> getLaunchProfileInitialization(Consumer<GetLaunchProfileInitializationRequest.Builder> getLaunchProfileInitializationRequest)
Get a launch profile initialization.
This is a convenience which creates an instance of the GetLaunchProfileInitializationRequest.Builder
avoiding the need to create one manually via GetLaunchProfileInitializationRequest.builder()
getLaunchProfileInitializationRequest - A Consumer that will call methods on GetLaunchProfileInitializationRequest.Builder to
create a request.default CompletableFuture<GetLaunchProfileMemberResponse> getLaunchProfileMember(GetLaunchProfileMemberRequest getLaunchProfileMemberRequest)
Get a user persona in launch profile membership.
getLaunchProfileMemberRequest - default CompletableFuture<GetLaunchProfileMemberResponse> getLaunchProfileMember(Consumer<GetLaunchProfileMemberRequest.Builder> getLaunchProfileMemberRequest)
Get a user persona in launch profile membership.
This is a convenience which creates an instance of the GetLaunchProfileMemberRequest.Builder avoiding the
need to create one manually via GetLaunchProfileMemberRequest.builder()
getLaunchProfileMemberRequest - A Consumer that will call methods on GetLaunchProfileMemberRequest.Builder to create a
request.default CompletableFuture<GetStreamingImageResponse> getStreamingImage(GetStreamingImageRequest getStreamingImageRequest)
Get streaming image.
getStreamingImageRequest - default CompletableFuture<GetStreamingImageResponse> getStreamingImage(Consumer<GetStreamingImageRequest.Builder> getStreamingImageRequest)
Get streaming image.
This is a convenience which creates an instance of the GetStreamingImageRequest.Builder avoiding the need
to create one manually via GetStreamingImageRequest.builder()
getStreamingImageRequest - A Consumer that will call methods on GetStreamingImageRequest.Builder to create a request.default CompletableFuture<GetStreamingSessionResponse> getStreamingSession(GetStreamingSessionRequest getStreamingSessionRequest)
Gets StreamingSession resource.
Invoke this operation to poll for a streaming session state while creating or deleting a session.
getStreamingSessionRequest - default CompletableFuture<GetStreamingSessionResponse> getStreamingSession(Consumer<GetStreamingSessionRequest.Builder> getStreamingSessionRequest)
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 GetStreamingSessionRequest.Builder avoiding the
need to create one manually via GetStreamingSessionRequest.builder()
getStreamingSessionRequest - A Consumer that will call methods on GetStreamingSessionRequest.Builder to create a
request.default CompletableFuture<GetStreamingSessionStreamResponse> getStreamingSessionStream(GetStreamingSessionStreamRequest getStreamingSessionStreamRequest)
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.
getStreamingSessionStreamRequest - default CompletableFuture<GetStreamingSessionStreamResponse> getStreamingSessionStream(Consumer<GetStreamingSessionStreamRequest.Builder> getStreamingSessionStreamRequest)
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 GetStreamingSessionStreamRequest.Builder avoiding
the need to create one manually via GetStreamingSessionStreamRequest.builder()
getStreamingSessionStreamRequest - A Consumer that will call methods on GetStreamingSessionStreamRequest.Builder to create a
request.default CompletableFuture<GetStudioResponse> getStudio(GetStudioRequest getStudioRequest)
Get a Studio resource.
getStudioRequest - default CompletableFuture<GetStudioResponse> getStudio(Consumer<GetStudioRequest.Builder> getStudioRequest)
Get a Studio resource.
This is a convenience which creates an instance of the GetStudioRequest.Builder avoiding the need to
create one manually via GetStudioRequest.builder()
getStudioRequest - A Consumer that will call methods on GetStudioRequest.Builder to create a request.default CompletableFuture<GetStudioComponentResponse> getStudioComponent(GetStudioComponentRequest getStudioComponentRequest)
Gets a studio component resource.
getStudioComponentRequest - default CompletableFuture<GetStudioComponentResponse> getStudioComponent(Consumer<GetStudioComponentRequest.Builder> getStudioComponentRequest)
Gets a studio component resource.
This is a convenience which creates an instance of the GetStudioComponentRequest.Builder avoiding the
need to create one manually via GetStudioComponentRequest.builder()
getStudioComponentRequest - A Consumer that will call methods on GetStudioComponentRequest.Builder to create a
request.default CompletableFuture<GetStudioMemberResponse> getStudioMember(GetStudioMemberRequest getStudioMemberRequest)
Get a user's membership in a studio.
getStudioMemberRequest - default CompletableFuture<GetStudioMemberResponse> getStudioMember(Consumer<GetStudioMemberRequest.Builder> getStudioMemberRequest)
Get a user's membership in a studio.
This is a convenience which creates an instance of the GetStudioMemberRequest.Builder avoiding the need
to create one manually via GetStudioMemberRequest.builder()
getStudioMemberRequest - A Consumer that will call methods on GetStudioMemberRequest.Builder to create a request.default CompletableFuture<ListEulaAcceptancesResponse> listEulaAcceptances(ListEulaAcceptancesRequest listEulaAcceptancesRequest)
List Eula Acceptances.
listEulaAcceptancesRequest - default CompletableFuture<ListEulaAcceptancesResponse> listEulaAcceptances(Consumer<ListEulaAcceptancesRequest.Builder> listEulaAcceptancesRequest)
List Eula Acceptances.
This is a convenience which creates an instance of the ListEulaAcceptancesRequest.Builder avoiding the
need to create one manually via ListEulaAcceptancesRequest.builder()
listEulaAcceptancesRequest - A Consumer that will call methods on ListEulaAcceptancesRequest.Builder to create a
request.default ListEulaAcceptancesPublisher listEulaAcceptancesPaginator(ListEulaAcceptancesRequest listEulaAcceptancesRequest)
List Eula Acceptances.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListEulaAcceptancesPublisher publisher = client.listEulaAcceptancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListEulaAcceptancesPublisher publisher = client.listEulaAcceptancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesResponse>() {
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
listEulaAcceptances(software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesRequest)
operation.
listEulaAcceptancesRequest - default ListEulaAcceptancesPublisher listEulaAcceptancesPaginator(Consumer<ListEulaAcceptancesRequest.Builder> listEulaAcceptancesRequest)
List Eula Acceptances.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListEulaAcceptancesPublisher publisher = client.listEulaAcceptancesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListEulaAcceptancesPublisher publisher = client.listEulaAcceptancesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesResponse>() {
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
listEulaAcceptances(software.amazon.awssdk.services.nimble.model.ListEulaAcceptancesRequest)
operation.
This is a convenience which creates an instance of the ListEulaAcceptancesRequest.Builder avoiding the
need to create one manually via ListEulaAcceptancesRequest.builder()
listEulaAcceptancesRequest - A Consumer that will call methods on ListEulaAcceptancesRequest.Builder to create a
request.default CompletableFuture<ListEulasResponse> listEulas(ListEulasRequest listEulasRequest)
List Eulas.
listEulasRequest - default CompletableFuture<ListEulasResponse> listEulas(Consumer<ListEulasRequest.Builder> listEulasRequest)
List Eulas.
This is a convenience which creates an instance of the ListEulasRequest.Builder avoiding the need to
create one manually via ListEulasRequest.builder()
listEulasRequest - A Consumer that will call methods on ListEulasRequest.Builder to create a request.default ListEulasPublisher listEulasPaginator(ListEulasRequest listEulasRequest)
List Eulas.
This is a variant of 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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListEulasPublisher publisher = client.listEulasPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListEulasPublisher publisher = client.listEulasPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListEulasResponse>() {
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
listEulas(software.amazon.awssdk.services.nimble.model.ListEulasRequest) operation.
listEulasRequest - default ListEulasPublisher listEulasPaginator(Consumer<ListEulasRequest.Builder> listEulasRequest)
List Eulas.
This is a variant of 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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListEulasPublisher publisher = client.listEulasPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListEulasPublisher publisher = client.listEulasPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListEulasResponse>() {
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
listEulas(software.amazon.awssdk.services.nimble.model.ListEulasRequest) operation.
This is a convenience which creates an instance of the ListEulasRequest.Builder avoiding the need to
create one manually via ListEulasRequest.builder()
listEulasRequest - A Consumer that will call methods on ListEulasRequest.Builder to create a request.default CompletableFuture<ListLaunchProfileMembersResponse> listLaunchProfileMembers(ListLaunchProfileMembersRequest listLaunchProfileMembersRequest)
Get all users in a given launch profile membership.
listLaunchProfileMembersRequest - default CompletableFuture<ListLaunchProfileMembersResponse> listLaunchProfileMembers(Consumer<ListLaunchProfileMembersRequest.Builder> listLaunchProfileMembersRequest)
Get all users in a given launch profile membership.
This is a convenience which creates an instance of the ListLaunchProfileMembersRequest.Builder avoiding
the need to create one manually via ListLaunchProfileMembersRequest.builder()
listLaunchProfileMembersRequest - A Consumer that will call methods on ListLaunchProfileMembersRequest.Builder to create a
request.default ListLaunchProfileMembersPublisher listLaunchProfileMembersPaginator(ListLaunchProfileMembersRequest listLaunchProfileMembersRequest)
Get all users in a given launch profile membership.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListLaunchProfileMembersPublisher publisher = client.listLaunchProfileMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListLaunchProfileMembersPublisher publisher = client.listLaunchProfileMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersResponse>() {
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
listLaunchProfileMembers(software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersRequest)
operation.
listLaunchProfileMembersRequest - default ListLaunchProfileMembersPublisher listLaunchProfileMembersPaginator(Consumer<ListLaunchProfileMembersRequest.Builder> listLaunchProfileMembersRequest)
Get all users in a given launch profile membership.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListLaunchProfileMembersPublisher publisher = client.listLaunchProfileMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListLaunchProfileMembersPublisher publisher = client.listLaunchProfileMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersResponse>() {
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
listLaunchProfileMembers(software.amazon.awssdk.services.nimble.model.ListLaunchProfileMembersRequest)
operation.
This is a convenience which creates an instance of the ListLaunchProfileMembersRequest.Builder avoiding
the need to create one manually via ListLaunchProfileMembersRequest.builder()
listLaunchProfileMembersRequest - A Consumer that will call methods on ListLaunchProfileMembersRequest.Builder to create a
request.default CompletableFuture<ListLaunchProfilesResponse> listLaunchProfiles(ListLaunchProfilesRequest listLaunchProfilesRequest)
List all the launch profiles a studio.
listLaunchProfilesRequest - default CompletableFuture<ListLaunchProfilesResponse> listLaunchProfiles(Consumer<ListLaunchProfilesRequest.Builder> listLaunchProfilesRequest)
List all the launch profiles a studio.
This is a convenience which creates an instance of the ListLaunchProfilesRequest.Builder avoiding the
need to create one manually via ListLaunchProfilesRequest.builder()
listLaunchProfilesRequest - A Consumer that will call methods on ListLaunchProfilesRequest.Builder to create a
request.default ListLaunchProfilesPublisher listLaunchProfilesPaginator(ListLaunchProfilesRequest listLaunchProfilesRequest)
List all the launch profiles a studio.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListLaunchProfilesPublisher publisher = client.listLaunchProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListLaunchProfilesPublisher publisher = client.listLaunchProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListLaunchProfilesResponse>() {
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
listLaunchProfiles(software.amazon.awssdk.services.nimble.model.ListLaunchProfilesRequest)
operation.
listLaunchProfilesRequest - default ListLaunchProfilesPublisher listLaunchProfilesPaginator(Consumer<ListLaunchProfilesRequest.Builder> listLaunchProfilesRequest)
List all the launch profiles a studio.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListLaunchProfilesPublisher publisher = client.listLaunchProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListLaunchProfilesPublisher publisher = client.listLaunchProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListLaunchProfilesResponse>() {
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
listLaunchProfiles(software.amazon.awssdk.services.nimble.model.ListLaunchProfilesRequest)
operation.
This is a convenience which creates an instance of the ListLaunchProfilesRequest.Builder avoiding the
need to create one manually via ListLaunchProfilesRequest.builder()
listLaunchProfilesRequest - A Consumer that will call methods on ListLaunchProfilesRequest.Builder to create a
request.default CompletableFuture<ListStreamingImagesResponse> listStreamingImages(ListStreamingImagesRequest listStreamingImagesRequest)
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.
listStreamingImagesRequest - default CompletableFuture<ListStreamingImagesResponse> listStreamingImages(Consumer<ListStreamingImagesRequest.Builder> listStreamingImagesRequest)
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 ListStreamingImagesRequest.Builder avoiding the
need to create one manually via ListStreamingImagesRequest.builder()
listStreamingImagesRequest - A Consumer that will call methods on ListStreamingImagesRequest.Builder to create a
request.default ListStreamingImagesPublisher listStreamingImagesPaginator(ListStreamingImagesRequest listStreamingImagesRequest)
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
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStreamingImagesPublisher publisher = client.listStreamingImagesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStreamingImagesPublisher publisher = client.listStreamingImagesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStreamingImagesResponse>() {
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
listStreamingImages(software.amazon.awssdk.services.nimble.model.ListStreamingImagesRequest)
operation.
listStreamingImagesRequest - default ListStreamingImagesPublisher listStreamingImagesPaginator(Consumer<ListStreamingImagesRequest.Builder> listStreamingImagesRequest)
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
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStreamingImagesPublisher publisher = client.listStreamingImagesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStreamingImagesPublisher publisher = client.listStreamingImagesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStreamingImagesResponse>() {
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
listStreamingImages(software.amazon.awssdk.services.nimble.model.ListStreamingImagesRequest)
operation.
This is a convenience which creates an instance of the ListStreamingImagesRequest.Builder avoiding the
need to create one manually via ListStreamingImagesRequest.builder()
listStreamingImagesRequest - A Consumer that will call methods on ListStreamingImagesRequest.Builder to create a
request.default CompletableFuture<ListStreamingSessionsResponse> listStreamingSessions(ListStreamingSessionsRequest listStreamingSessionsRequest)
Lists the streaming image resources in a studio.
listStreamingSessionsRequest - default CompletableFuture<ListStreamingSessionsResponse> listStreamingSessions(Consumer<ListStreamingSessionsRequest.Builder> listStreamingSessionsRequest)
Lists the streaming image resources in a studio.
This is a convenience which creates an instance of the ListStreamingSessionsRequest.Builder avoiding the
need to create one manually via ListStreamingSessionsRequest.builder()
listStreamingSessionsRequest - A Consumer that will call methods on ListStreamingSessionsRequest.Builder to create a
request.default ListStreamingSessionsPublisher listStreamingSessionsPaginator(ListStreamingSessionsRequest listStreamingSessionsRequest)
Lists the streaming image resources in a studio.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionsPublisher publisher = client.listStreamingSessionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionsPublisher publisher = client.listStreamingSessionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStreamingSessionsResponse>() {
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
listStreamingSessions(software.amazon.awssdk.services.nimble.model.ListStreamingSessionsRequest)
operation.
listStreamingSessionsRequest - default ListStreamingSessionsPublisher listStreamingSessionsPaginator(Consumer<ListStreamingSessionsRequest.Builder> listStreamingSessionsRequest)
Lists the streaming image resources in a studio.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionsPublisher publisher = client.listStreamingSessionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStreamingSessionsPublisher publisher = client.listStreamingSessionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStreamingSessionsResponse>() {
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
listStreamingSessions(software.amazon.awssdk.services.nimble.model.ListStreamingSessionsRequest)
operation.
This is a convenience which creates an instance of the ListStreamingSessionsRequest.Builder avoiding the
need to create one manually via ListStreamingSessionsRequest.builder()
listStreamingSessionsRequest - A Consumer that will call methods on ListStreamingSessionsRequest.Builder to create a
request.default CompletableFuture<ListStudioComponentsResponse> listStudioComponents(ListStudioComponentsRequest listStudioComponentsRequest)
Lists the StudioComponents in a studio.
listStudioComponentsRequest - default CompletableFuture<ListStudioComponentsResponse> listStudioComponents(Consumer<ListStudioComponentsRequest.Builder> listStudioComponentsRequest)
Lists the StudioComponents in a studio.
This is a convenience which creates an instance of the ListStudioComponentsRequest.Builder avoiding the
need to create one manually via ListStudioComponentsRequest.builder()
listStudioComponentsRequest - A Consumer that will call methods on ListStudioComponentsRequest.Builder to create a
request.default ListStudioComponentsPublisher listStudioComponentsPaginator(ListStudioComponentsRequest listStudioComponentsRequest)
Lists the StudioComponents in a studio.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStudioComponentsPublisher publisher = client.listStudioComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStudioComponentsPublisher publisher = client.listStudioComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStudioComponentsResponse>() {
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
listStudioComponents(software.amazon.awssdk.services.nimble.model.ListStudioComponentsRequest)
operation.
listStudioComponentsRequest - default ListStudioComponentsPublisher listStudioComponentsPaginator(Consumer<ListStudioComponentsRequest.Builder> listStudioComponentsRequest)
Lists the StudioComponents in a studio.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStudioComponentsPublisher publisher = client.listStudioComponentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStudioComponentsPublisher publisher = client.listStudioComponentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStudioComponentsResponse>() {
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
listStudioComponents(software.amazon.awssdk.services.nimble.model.ListStudioComponentsRequest)
operation.
This is a convenience which creates an instance of the ListStudioComponentsRequest.Builder avoiding the
need to create one manually via ListStudioComponentsRequest.builder()
listStudioComponentsRequest - A Consumer that will call methods on ListStudioComponentsRequest.Builder to create a
request.default CompletableFuture<ListStudioMembersResponse> listStudioMembers(ListStudioMembersRequest listStudioMembersRequest)
Get all users in a given studio membership.
listStudioMembersRequest - default CompletableFuture<ListStudioMembersResponse> listStudioMembers(Consumer<ListStudioMembersRequest.Builder> listStudioMembersRequest)
Get all users in a given studio membership.
This is a convenience which creates an instance of the ListStudioMembersRequest.Builder avoiding the need
to create one manually via ListStudioMembersRequest.builder()
listStudioMembersRequest - A Consumer that will call methods on ListStudioMembersRequest.Builder to create a request.default ListStudioMembersPublisher listStudioMembersPaginator(ListStudioMembersRequest listStudioMembersRequest)
Get all users in a given studio membership.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStudioMembersPublisher publisher = client.listStudioMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStudioMembersPublisher publisher = client.listStudioMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStudioMembersResponse>() {
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
listStudioMembers(software.amazon.awssdk.services.nimble.model.ListStudioMembersRequest) operation.
listStudioMembersRequest - default ListStudioMembersPublisher listStudioMembersPaginator(Consumer<ListStudioMembersRequest.Builder> listStudioMembersRequest)
Get all users in a given studio membership.
This is a variant of
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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStudioMembersPublisher publisher = client.listStudioMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStudioMembersPublisher publisher = client.listStudioMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStudioMembersResponse>() {
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
listStudioMembers(software.amazon.awssdk.services.nimble.model.ListStudioMembersRequest) operation.
This is a convenience which creates an instance of the ListStudioMembersRequest.Builder avoiding the need
to create one manually via ListStudioMembersRequest.builder()
listStudioMembersRequest - A Consumer that will call methods on ListStudioMembersRequest.Builder to create a request.default CompletableFuture<ListStudiosResponse> listStudios(ListStudiosRequest listStudiosRequest)
List studios in your Amazon Web Services account in the requested Amazon Web Services Region.
listStudiosRequest - default CompletableFuture<ListStudiosResponse> listStudios(Consumer<ListStudiosRequest.Builder> listStudiosRequest)
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 ListStudiosRequest.Builder avoiding the need to
create one manually via ListStudiosRequest.builder()
listStudiosRequest - A Consumer that will call methods on ListStudiosRequest.Builder to create a request.default ListStudiosPublisher listStudiosPaginator(ListStudiosRequest listStudiosRequest)
List studios in your Amazon Web Services account in the requested Amazon Web Services Region.
This is a variant of 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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStudiosPublisher publisher = client.listStudiosPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStudiosPublisher publisher = client.listStudiosPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStudiosResponse>() {
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
listStudios(software.amazon.awssdk.services.nimble.model.ListStudiosRequest) operation.
listStudiosRequest - default ListStudiosPublisher listStudiosPaginator(Consumer<ListStudiosRequest.Builder> listStudiosRequest)
List studios in your Amazon Web Services account in the requested Amazon Web Services Region.
This is a variant of 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
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.nimble.paginators.ListStudiosPublisher publisher = client.listStudiosPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.nimble.paginators.ListStudiosPublisher publisher = client.listStudiosPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.nimble.model.ListStudiosResponse>() {
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
listStudios(software.amazon.awssdk.services.nimble.model.ListStudiosRequest) operation.
This is a convenience which creates an instance of the ListStudiosRequest.Builder avoiding the need to
create one manually via ListStudiosRequest.builder()
listStudiosRequest - A Consumer that will call methods on ListStudiosRequest.Builder to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
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.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
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 ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.default CompletableFuture<PutLaunchProfileMembersResponse> putLaunchProfileMembers(PutLaunchProfileMembersRequest putLaunchProfileMembersRequest)
Add/update users with given persona to launch profile membership.
putLaunchProfileMembersRequest - Information about a launch profile membership.default CompletableFuture<PutLaunchProfileMembersResponse> putLaunchProfileMembers(Consumer<PutLaunchProfileMembersRequest.Builder> putLaunchProfileMembersRequest)
Add/update users with given persona to launch profile membership.
This is a convenience which creates an instance of the PutLaunchProfileMembersRequest.Builder avoiding
the need to create one manually via PutLaunchProfileMembersRequest.builder()
putLaunchProfileMembersRequest - A Consumer that will call methods on PutLaunchProfileMembersRequest.Builder to create a
request. Information about a launch profile membership.default CompletableFuture<PutStudioMembersResponse> putStudioMembers(PutStudioMembersRequest putStudioMembersRequest)
Add/update users with given persona to studio membership.
putStudioMembersRequest - A launch profile membership collection.default CompletableFuture<PutStudioMembersResponse> putStudioMembers(Consumer<PutStudioMembersRequest.Builder> putStudioMembersRequest)
Add/update users with given persona to studio membership.
This is a convenience which creates an instance of the PutStudioMembersRequest.Builder avoiding the need
to create one manually via PutStudioMembersRequest.builder()
putStudioMembersRequest - A Consumer that will call methods on PutStudioMembersRequest.Builder to create a request.
A launch profile membership collection.default CompletableFuture<StartStudioSsoConfigurationRepairResponse> startStudioSSOConfigurationRepair(StartStudioSsoConfigurationRepairRequest startStudioSsoConfigurationRepairRequest)
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.
startStudioSsoConfigurationRepairRequest - default CompletableFuture<StartStudioSsoConfigurationRepairResponse> startStudioSSOConfigurationRepair(Consumer<StartStudioSsoConfigurationRepairRequest.Builder> startStudioSsoConfigurationRepairRequest)
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 StartStudioSsoConfigurationRepairRequest.Builder
avoiding the need to create one manually via StartStudioSsoConfigurationRepairRequest.builder()
startStudioSsoConfigurationRepairRequest - A Consumer that will call methods on StartStudioSSOConfigurationRepairRequest.Builder to
create a request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Creates tags for a resource, given its ARN.
tagResourceRequest - The ARN for the role that manages access.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Creates tags for a resource, given its ARN.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request. The
ARN for the role that manages access.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Deletes the tags for a resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Deletes the tags for a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateLaunchProfileResponse> updateLaunchProfile(UpdateLaunchProfileRequest updateLaunchProfileRequest)
Update a launch profile.
updateLaunchProfileRequest - The launch profile ID.default CompletableFuture<UpdateLaunchProfileResponse> updateLaunchProfile(Consumer<UpdateLaunchProfileRequest.Builder> updateLaunchProfileRequest)
Update a launch profile.
This is a convenience which creates an instance of the UpdateLaunchProfileRequest.Builder avoiding the
need to create one manually via UpdateLaunchProfileRequest.builder()
updateLaunchProfileRequest - A Consumer that will call methods on UpdateLaunchProfileRequest.Builder to create a
request. The launch profile ID.default CompletableFuture<UpdateLaunchProfileMemberResponse> updateLaunchProfileMember(UpdateLaunchProfileMemberRequest updateLaunchProfileMemberRequest)
Update a user persona in launch profile membership.
updateLaunchProfileMemberRequest - The principal ID.default CompletableFuture<UpdateLaunchProfileMemberResponse> updateLaunchProfileMember(Consumer<UpdateLaunchProfileMemberRequest.Builder> updateLaunchProfileMemberRequest)
Update a user persona in launch profile membership.
This is a convenience which creates an instance of the UpdateLaunchProfileMemberRequest.Builder avoiding
the need to create one manually via UpdateLaunchProfileMemberRequest.builder()
updateLaunchProfileMemberRequest - A Consumer that will call methods on UpdateLaunchProfileMemberRequest.Builder to create a
request. The principal ID.default CompletableFuture<UpdateStreamingImageResponse> updateStreamingImage(UpdateStreamingImageRequest updateStreamingImageRequest)
Update streaming image.
updateStreamingImageRequest - The streaming image ID.default CompletableFuture<UpdateStreamingImageResponse> updateStreamingImage(Consumer<UpdateStreamingImageRequest.Builder> updateStreamingImageRequest)
Update streaming image.
This is a convenience which creates an instance of the UpdateStreamingImageRequest.Builder avoiding the
need to create one manually via UpdateStreamingImageRequest.builder()
updateStreamingImageRequest - A Consumer that will call methods on UpdateStreamingImageRequest.Builder to create a
request. The streaming image ID.default CompletableFuture<UpdateStudioResponse> updateStudio(UpdateStudioRequest updateStudioRequest)
Update a Studio resource.
Currently, this operation only supports updating the displayName of your studio.
updateStudioRequest - The studio ID.default CompletableFuture<UpdateStudioResponse> updateStudio(Consumer<UpdateStudioRequest.Builder> updateStudioRequest)
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 UpdateStudioRequest.Builder avoiding the need to
create one manually via UpdateStudioRequest.builder()
updateStudioRequest - A Consumer that will call methods on UpdateStudioRequest.Builder to create a request. The
studio ID.default CompletableFuture<UpdateStudioComponentResponse> updateStudioComponent(UpdateStudioComponentRequest updateStudioComponentRequest)
Updates a studio component resource.
updateStudioComponentRequest - The studio component ID.default CompletableFuture<UpdateStudioComponentResponse> updateStudioComponent(Consumer<UpdateStudioComponentRequest.Builder> updateStudioComponentRequest)
Updates a studio component resource.
This is a convenience which creates an instance of the UpdateStudioComponentRequest.Builder avoiding the
need to create one manually via UpdateStudioComponentRequest.builder()
updateStudioComponentRequest - A Consumer that will call methods on UpdateStudioComponentRequest.Builder to create a
request. The studio component ID.Copyright © 2021. All rights reserved.