@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface CodeCatalystAsyncClient extends SdkClient
builder() method.
Amazon CodeCatalyst is in preview release and subject to change.
Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst API to work with the following objects.
Dev Environments and the Amazon Web Services Toolkits, by calling the following:
CreateAccessToken, which creates a personal access token (PAT) for the current user.
CreateDevEnvironment, which creates a Dev Environment, where you can quickly work on the code stored in the source repositories of your project.
CreateProject which creates a project in a specified space.
CreateSourceRepositoryBranch, which creates a branch in a specified repository where you can work on code.
DeleteDevEnvironment, which deletes a Dev Environment.
GetDevEnvironment, which returns information about a Dev Environment.
GetProject, which returns information about a project.
GetSourceRepositoryCloneUrls, which returns information about the URLs that can be used with a Git client to clone a source repository.
GetSubscription, which returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.
GetUserDetails, which returns information about a user in Amazon CodeCatalyst.
ListDevEnvironments, which retrives a list of Dev Environments in a project.
ListProjects, which retrieves a list of projects in a space.
ListSourceRepositories, which retrieves a list of source repositories in a project.
ListSourceRepositoryBranches, which retrieves a list of branches in a source repository.
ListSpaces, which retrieves a list of spaces.
StartDevEnvironment, which starts a specified Dev Environment and puts it into an active state.
StartDevEnvironmentSession, which starts a session to a specified Dev Environment.
StopDevEnvironment, which stops a specified Dev Environment and puts it into an stopped state.
UpdateDevEnvironment, which changes one or more values for a Dev Environment.
VerifySession, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.
Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:
DeleteAccessToken, which deletes a specified personal access token (PAT).
ListAccessTokens, which lists all personal access tokens (PATs) associated with a user.
ListEventLogs, which retrieves a list of events that occurred during a specified time period in a space.
| 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 |
| Modifier and Type | Method and Description |
|---|---|
static CodeCatalystAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
CodeCatalystAsyncClient. |
static CodeCatalystAsyncClient |
create()
Create a
CodeCatalystAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateAccessTokenResponse> |
createAccessToken(Consumer<CreateAccessTokenRequest.Builder> createAccessTokenRequest)
Creates a personal access token (PAT) for the current user.
|
default CompletableFuture<CreateAccessTokenResponse> |
createAccessToken(CreateAccessTokenRequest createAccessTokenRequest)
Creates a personal access token (PAT) for the current user.
|
default CompletableFuture<CreateDevEnvironmentResponse> |
createDevEnvironment(Consumer<CreateDevEnvironmentRequest.Builder> createDevEnvironmentRequest)
Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to
quickly work on the code stored in the source repositories of your project.
|
default CompletableFuture<CreateDevEnvironmentResponse> |
createDevEnvironment(CreateDevEnvironmentRequest createDevEnvironmentRequest)
Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to
quickly work on the code stored in the source repositories of your project.
|
default CompletableFuture<CreateProjectResponse> |
createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates a project in a specified space.
|
default CompletableFuture<CreateProjectResponse> |
createProject(CreateProjectRequest createProjectRequest)
Creates a project in a specified space.
|
default CompletableFuture<CreateSourceRepositoryBranchResponse> |
createSourceRepositoryBranch(Consumer<CreateSourceRepositoryBranchRequest.Builder> createSourceRepositoryBranchRequest)
Creates a branch in a specified source repository in Amazon CodeCatalyst.
|
default CompletableFuture<CreateSourceRepositoryBranchResponse> |
createSourceRepositoryBranch(CreateSourceRepositoryBranchRequest createSourceRepositoryBranchRequest)
Creates a branch in a specified source repository in Amazon CodeCatalyst.
|
default CompletableFuture<DeleteAccessTokenResponse> |
deleteAccessToken(Consumer<DeleteAccessTokenRequest.Builder> deleteAccessTokenRequest)
Deletes a specified personal access token (PAT).
|
default CompletableFuture<DeleteAccessTokenResponse> |
deleteAccessToken(DeleteAccessTokenRequest deleteAccessTokenRequest)
Deletes a specified personal access token (PAT).
|
default CompletableFuture<DeleteDevEnvironmentResponse> |
deleteDevEnvironment(Consumer<DeleteDevEnvironmentRequest.Builder> deleteDevEnvironmentRequest)
Deletes a Dev Environment.
|
default CompletableFuture<DeleteDevEnvironmentResponse> |
deleteDevEnvironment(DeleteDevEnvironmentRequest deleteDevEnvironmentRequest)
Deletes a Dev Environment.
|
default CompletableFuture<GetDevEnvironmentResponse> |
getDevEnvironment(Consumer<GetDevEnvironmentRequest.Builder> getDevEnvironmentRequest)
Returns information about a Dev Environment for a source repository in a project.
|
default CompletableFuture<GetDevEnvironmentResponse> |
getDevEnvironment(GetDevEnvironmentRequest getDevEnvironmentRequest)
Returns information about a Dev Environment for a source repository in a project.
|
default CompletableFuture<GetProjectResponse> |
getProject(Consumer<GetProjectRequest.Builder> getProjectRequest)
Returns information about a project.
|
default CompletableFuture<GetProjectResponse> |
getProject(GetProjectRequest getProjectRequest)
Returns information about a project.
|
default CompletableFuture<GetSourceRepositoryCloneUrlsResponse> |
getSourceRepositoryCloneUrls(Consumer<GetSourceRepositoryCloneUrlsRequest.Builder> getSourceRepositoryCloneUrlsRequest)
Returns information about the URLs that can be used with a Git client to clone a source repository.
|
default CompletableFuture<GetSourceRepositoryCloneUrlsResponse> |
getSourceRepositoryCloneUrls(GetSourceRepositoryCloneUrlsRequest getSourceRepositoryCloneUrlsRequest)
Returns information about the URLs that can be used with a Git client to clone a source repository.
|
default CompletableFuture<GetSpaceResponse> |
getSpace(Consumer<GetSpaceRequest.Builder> getSpaceRequest)
Returns information about an space.
|
default CompletableFuture<GetSpaceResponse> |
getSpace(GetSpaceRequest getSpaceRequest)
Returns information about an space.
|
default CompletableFuture<GetSubscriptionResponse> |
getSubscription(Consumer<GetSubscriptionRequest.Builder> getSubscriptionRequest)
Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the
space.
|
default CompletableFuture<GetSubscriptionResponse> |
getSubscription(GetSubscriptionRequest getSubscriptionRequest)
Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the
space.
|
default CompletableFuture<GetUserDetailsResponse> |
getUserDetails(Consumer<GetUserDetailsRequest.Builder> getUserDetailsRequest)
Returns information about a user.
|
default CompletableFuture<GetUserDetailsResponse> |
getUserDetails(GetUserDetailsRequest getUserDetailsRequest)
Returns information about a user.
|
default CompletableFuture<ListAccessTokensResponse> |
listAccessTokens(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest)
Lists all personal access tokens (PATs) associated with the user who calls the API.
|
default CompletableFuture<ListAccessTokensResponse> |
listAccessTokens(ListAccessTokensRequest listAccessTokensRequest)
Lists all personal access tokens (PATs) associated with the user who calls the API.
|
default ListAccessTokensPublisher |
listAccessTokensPaginator(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest)
Lists all personal access tokens (PATs) associated with the user who calls the API.
|
default ListAccessTokensPublisher |
listAccessTokensPaginator(ListAccessTokensRequest listAccessTokensRequest)
Lists all personal access tokens (PATs) associated with the user who calls the API.
|
default CompletableFuture<ListDevEnvironmentsResponse> |
listDevEnvironments(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest)
Retrives a list of Dev Environments in a project.
|
default CompletableFuture<ListDevEnvironmentsResponse> |
listDevEnvironments(ListDevEnvironmentsRequest listDevEnvironmentsRequest)
Retrives a list of Dev Environments in a project.
|
default ListDevEnvironmentsPublisher |
listDevEnvironmentsPaginator(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest)
Retrives a list of Dev Environments in a project.
|
default ListDevEnvironmentsPublisher |
listDevEnvironmentsPaginator(ListDevEnvironmentsRequest listDevEnvironmentsRequest)
Retrives a list of Dev Environments in a project.
|
default CompletableFuture<ListEventLogsResponse> |
listEventLogs(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest)
Retrieves a list of events that occurred during a specified time period in a space.
|
default CompletableFuture<ListEventLogsResponse> |
listEventLogs(ListEventLogsRequest listEventLogsRequest)
Retrieves a list of events that occurred during a specified time period in a space.
|
default ListEventLogsPublisher |
listEventLogsPaginator(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest)
Retrieves a list of events that occurred during a specified time period in a space.
|
default ListEventLogsPublisher |
listEventLogsPaginator(ListEventLogsRequest listEventLogsRequest)
Retrieves a list of events that occurred during a specified time period in a space.
|
default CompletableFuture<ListProjectsResponse> |
listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Retrieves a list of projects.
|
default CompletableFuture<ListProjectsResponse> |
listProjects(ListProjectsRequest listProjectsRequest)
Retrieves a list of projects.
|
default ListProjectsPublisher |
listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Retrieves a list of projects.
|
default ListProjectsPublisher |
listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Retrieves a list of projects.
|
default CompletableFuture<ListSourceRepositoriesResponse> |
listSourceRepositories(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest)
Retrieves a list of source repositories in a project.
|
default CompletableFuture<ListSourceRepositoriesResponse> |
listSourceRepositories(ListSourceRepositoriesRequest listSourceRepositoriesRequest)
Retrieves a list of source repositories in a project.
|
default ListSourceRepositoriesPublisher |
listSourceRepositoriesPaginator(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest)
Retrieves a list of source repositories in a project.
|
default ListSourceRepositoriesPublisher |
listSourceRepositoriesPaginator(ListSourceRepositoriesRequest listSourceRepositoriesRequest)
Retrieves a list of source repositories in a project.
|
default CompletableFuture<ListSourceRepositoryBranchesResponse> |
listSourceRepositoryBranches(Consumer<ListSourceRepositoryBranchesRequest.Builder> listSourceRepositoryBranchesRequest)
Retrieves a list of branches in a specified source repository.
|
default CompletableFuture<ListSourceRepositoryBranchesResponse> |
listSourceRepositoryBranches(ListSourceRepositoryBranchesRequest listSourceRepositoryBranchesRequest)
Retrieves a list of branches in a specified source repository.
|
default ListSourceRepositoryBranchesPublisher |
listSourceRepositoryBranchesPaginator(Consumer<ListSourceRepositoryBranchesRequest.Builder> listSourceRepositoryBranchesRequest)
Retrieves a list of branches in a specified source repository.
|
default ListSourceRepositoryBranchesPublisher |
listSourceRepositoryBranchesPaginator(ListSourceRepositoryBranchesRequest listSourceRepositoryBranchesRequest)
Retrieves a list of branches in a specified source repository.
|
default CompletableFuture<ListSpacesResponse> |
listSpaces(Consumer<ListSpacesRequest.Builder> listSpacesRequest)
Retrieves a list of spaces.
|
default CompletableFuture<ListSpacesResponse> |
listSpaces(ListSpacesRequest listSpacesRequest)
Retrieves a list of spaces.
|
default ListSpacesPublisher |
listSpacesPaginator(Consumer<ListSpacesRequest.Builder> listSpacesRequest)
Retrieves a list of spaces.
|
default ListSpacesPublisher |
listSpacesPaginator(ListSpacesRequest listSpacesRequest)
Retrieves a list of spaces.
|
default CompletableFuture<StartDevEnvironmentResponse> |
startDevEnvironment(Consumer<StartDevEnvironmentRequest.Builder> startDevEnvironmentRequest)
Starts a specified Dev Environment and puts it into an active state.
|
default CompletableFuture<StartDevEnvironmentResponse> |
startDevEnvironment(StartDevEnvironmentRequest startDevEnvironmentRequest)
Starts a specified Dev Environment and puts it into an active state.
|
default CompletableFuture<StartDevEnvironmentSessionResponse> |
startDevEnvironmentSession(Consumer<StartDevEnvironmentSessionRequest.Builder> startDevEnvironmentSessionRequest)
Starts a session for a specified Dev Environment.
|
default CompletableFuture<StartDevEnvironmentSessionResponse> |
startDevEnvironmentSession(StartDevEnvironmentSessionRequest startDevEnvironmentSessionRequest)
Starts a session for a specified Dev Environment.
|
default CompletableFuture<StopDevEnvironmentResponse> |
stopDevEnvironment(Consumer<StopDevEnvironmentRequest.Builder> stopDevEnvironmentRequest)
Pauses a specified Dev Environment and places it in a non-running state.
|
default CompletableFuture<StopDevEnvironmentResponse> |
stopDevEnvironment(StopDevEnvironmentRequest stopDevEnvironmentRequest)
Pauses a specified Dev Environment and places it in a non-running state.
|
default CompletableFuture<UpdateDevEnvironmentResponse> |
updateDevEnvironment(Consumer<UpdateDevEnvironmentRequest.Builder> updateDevEnvironmentRequest)
Changes one or more values for a Dev Environment.
|
default CompletableFuture<UpdateDevEnvironmentResponse> |
updateDevEnvironment(UpdateDevEnvironmentRequest updateDevEnvironmentRequest)
Changes one or more values for a Dev Environment.
|
default CompletableFuture<VerifySessionResponse> |
verifySession(Consumer<VerifySessionRequest.Builder> verifySessionRequest)
Verifies whether the calling user has a valid Amazon CodeCatalyst login and session.
|
default CompletableFuture<VerifySessionResponse> |
verifySession(VerifySessionRequest verifySessionRequest)
Verifies whether the calling user has a valid Amazon CodeCatalyst login and session.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static CodeCatalystAsyncClient create()
CodeCatalystAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static CodeCatalystAsyncClientBuilder builder()
CodeCatalystAsyncClient.default CompletableFuture<CreateAccessTokenResponse> createAccessToken(CreateAccessTokenRequest createAccessTokenRequest)
Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to a password. It is associated with your user account. You use PATs to access Amazon CodeCatalyst resources such as source repositories from third-party applications like Git and integrated development environments (IDEs). For more information, see Managing personal access tokens in Amazon CodeCatalyst.
createAccessTokenRequest - default CompletableFuture<CreateAccessTokenResponse> createAccessToken(Consumer<CreateAccessTokenRequest.Builder> createAccessTokenRequest)
Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to a password. It is associated with your user account. You use PATs to access Amazon CodeCatalyst resources such as source repositories from third-party applications like Git and integrated development environments (IDEs). For more information, see Managing personal access tokens in Amazon CodeCatalyst.
This is a convenience which creates an instance of the CreateAccessTokenRequest.Builder avoiding the need
to create one manually via CreateAccessTokenRequest.builder()
createAccessTokenRequest - A Consumer that will call methods on CreateAccessTokenRequest.Builder to create a request.default CompletableFuture<CreateDevEnvironmentResponse> createDevEnvironment(CreateDevEnvironmentRequest createDevEnvironmentRequest)
Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project. By default, a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage.
createDevEnvironmentRequest - default CompletableFuture<CreateDevEnvironmentResponse> createDevEnvironment(Consumer<CreateDevEnvironmentRequest.Builder> createDevEnvironmentRequest)
Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project. By default, a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage.
This is a convenience which creates an instance of the CreateDevEnvironmentRequest.Builder avoiding the
need to create one manually via CreateDevEnvironmentRequest.builder()
createDevEnvironmentRequest - A Consumer that will call methods on CreateDevEnvironmentRequest.Builder to create a
request.default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest)
Creates a project in a specified space.
createProjectRequest - default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates a project in a specified space.
This is a convenience which creates an instance of the CreateProjectRequest.Builder avoiding the need to
create one manually via CreateProjectRequest.builder()
createProjectRequest - A Consumer that will call methods on CreateProjectRequest.Builder to create a request.default CompletableFuture<CreateSourceRepositoryBranchResponse> createSourceRepositoryBranch(CreateSourceRepositoryBranchRequest createSourceRepositoryBranchRequest)
Creates a branch in a specified source repository in Amazon CodeCatalyst.
This API only creates a branch in a source repository hosted in Amazon CodeCatalyst. You cannot use this API to create a branch in a linked repository.
createSourceRepositoryBranchRequest - default CompletableFuture<CreateSourceRepositoryBranchResponse> createSourceRepositoryBranch(Consumer<CreateSourceRepositoryBranchRequest.Builder> createSourceRepositoryBranchRequest)
Creates a branch in a specified source repository in Amazon CodeCatalyst.
This API only creates a branch in a source repository hosted in Amazon CodeCatalyst. You cannot use this API to create a branch in a linked repository.
This is a convenience which creates an instance of the CreateSourceRepositoryBranchRequest.Builder
avoiding the need to create one manually via CreateSourceRepositoryBranchRequest.builder()
createSourceRepositoryBranchRequest - A Consumer that will call methods on CreateSourceRepositoryBranchRequest.Builder to create
a request.default CompletableFuture<DeleteAccessTokenResponse> deleteAccessToken(DeleteAccessTokenRequest deleteAccessTokenRequest)
Deletes a specified personal access token (PAT). A personal access token can only be deleted by the user who created it.
deleteAccessTokenRequest - default CompletableFuture<DeleteAccessTokenResponse> deleteAccessToken(Consumer<DeleteAccessTokenRequest.Builder> deleteAccessTokenRequest)
Deletes a specified personal access token (PAT). A personal access token can only be deleted by the user who created it.
This is a convenience which creates an instance of the DeleteAccessTokenRequest.Builder avoiding the need
to create one manually via DeleteAccessTokenRequest.builder()
deleteAccessTokenRequest - A Consumer that will call methods on DeleteAccessTokenRequest.Builder to create a request.default CompletableFuture<DeleteDevEnvironmentResponse> deleteDevEnvironment(DeleteDevEnvironmentRequest deleteDevEnvironmentRequest)
Deletes a Dev Environment.
deleteDevEnvironmentRequest - default CompletableFuture<DeleteDevEnvironmentResponse> deleteDevEnvironment(Consumer<DeleteDevEnvironmentRequest.Builder> deleteDevEnvironmentRequest)
Deletes a Dev Environment.
This is a convenience which creates an instance of the DeleteDevEnvironmentRequest.Builder avoiding the
need to create one manually via DeleteDevEnvironmentRequest.builder()
deleteDevEnvironmentRequest - A Consumer that will call methods on DeleteDevEnvironmentRequest.Builder to create a
request.default CompletableFuture<GetDevEnvironmentResponse> getDevEnvironment(GetDevEnvironmentRequest getDevEnvironmentRequest)
Returns information about a Dev Environment for a source repository in a project. Dev Environments are specific to the user who creates them.
getDevEnvironmentRequest - default CompletableFuture<GetDevEnvironmentResponse> getDevEnvironment(Consumer<GetDevEnvironmentRequest.Builder> getDevEnvironmentRequest)
Returns information about a Dev Environment for a source repository in a project. Dev Environments are specific to the user who creates them.
This is a convenience which creates an instance of the GetDevEnvironmentRequest.Builder avoiding the need
to create one manually via GetDevEnvironmentRequest.builder()
getDevEnvironmentRequest - A Consumer that will call methods on GetDevEnvironmentRequest.Builder to create a request.default CompletableFuture<GetProjectResponse> getProject(GetProjectRequest getProjectRequest)
Returns information about a project.
getProjectRequest - default CompletableFuture<GetProjectResponse> getProject(Consumer<GetProjectRequest.Builder> getProjectRequest)
Returns information about a project.
This is a convenience which creates an instance of the GetProjectRequest.Builder avoiding the need to
create one manually via GetProjectRequest.builder()
getProjectRequest - A Consumer that will call methods on GetProjectRequest.Builder to create a request.default CompletableFuture<GetSourceRepositoryCloneUrlsResponse> getSourceRepositoryCloneUrls(GetSourceRepositoryCloneUrlsRequest getSourceRepositoryCloneUrlsRequest)
Returns information about the URLs that can be used with a Git client to clone a source repository.
getSourceRepositoryCloneUrlsRequest - default CompletableFuture<GetSourceRepositoryCloneUrlsResponse> getSourceRepositoryCloneUrls(Consumer<GetSourceRepositoryCloneUrlsRequest.Builder> getSourceRepositoryCloneUrlsRequest)
Returns information about the URLs that can be used with a Git client to clone a source repository.
This is a convenience which creates an instance of the GetSourceRepositoryCloneUrlsRequest.Builder
avoiding the need to create one manually via GetSourceRepositoryCloneUrlsRequest.builder()
getSourceRepositoryCloneUrlsRequest - A Consumer that will call methods on GetSourceRepositoryCloneUrlsRequest.Builder to create
a request.default CompletableFuture<GetSpaceResponse> getSpace(GetSpaceRequest getSpaceRequest)
Returns information about an space.
getSpaceRequest - default CompletableFuture<GetSpaceResponse> getSpace(Consumer<GetSpaceRequest.Builder> getSpaceRequest)
Returns information about an space.
This is a convenience which creates an instance of the GetSpaceRequest.Builder avoiding the need to
create one manually via GetSpaceRequest.builder()
getSpaceRequest - A Consumer that will call methods on GetSpaceRequest.Builder to create a request.default CompletableFuture<GetSubscriptionResponse> getSubscription(GetSubscriptionRequest getSubscriptionRequest)
Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.
getSubscriptionRequest - default CompletableFuture<GetSubscriptionResponse> getSubscription(Consumer<GetSubscriptionRequest.Builder> getSubscriptionRequest)
Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.
This is a convenience which creates an instance of the GetSubscriptionRequest.Builder avoiding the need
to create one manually via GetSubscriptionRequest.builder()
getSubscriptionRequest - A Consumer that will call methods on GetSubscriptionRequest.Builder to create a request.default CompletableFuture<GetUserDetailsResponse> getUserDetails(GetUserDetailsRequest getUserDetailsRequest)
Returns information about a user.
getUserDetailsRequest - default CompletableFuture<GetUserDetailsResponse> getUserDetails(Consumer<GetUserDetailsRequest.Builder> getUserDetailsRequest)
Returns information about a user.
This is a convenience which creates an instance of the GetUserDetailsRequest.Builder avoiding the need to
create one manually via GetUserDetailsRequest.builder()
getUserDetailsRequest - A Consumer that will call methods on GetUserDetailsRequest.Builder to create a request.default CompletableFuture<ListAccessTokensResponse> listAccessTokens(ListAccessTokensRequest listAccessTokensRequest)
Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your user account.
listAccessTokensRequest - default CompletableFuture<ListAccessTokensResponse> listAccessTokens(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest)
Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your user account.
This is a convenience which creates an instance of the ListAccessTokensRequest.Builder avoiding the need
to create one manually via ListAccessTokensRequest.builder()
listAccessTokensRequest - A Consumer that will call methods on ListAccessTokensRequest.Builder to create a request.default ListAccessTokensPublisher listAccessTokensPaginator(ListAccessTokensRequest listAccessTokensRequest)
Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your user account.
This is a variant of
listAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest) 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.codecatalyst.paginators.ListAccessTokensPublisher publisher = client.listAccessTokensPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListAccessTokensPublisher publisher = client.listAccessTokensPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensResponse 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
listAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest)
operation.
listAccessTokensRequest - default ListAccessTokensPublisher listAccessTokensPaginator(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest)
Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your user account.
This is a variant of
listAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest) 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.codecatalyst.paginators.ListAccessTokensPublisher publisher = client.listAccessTokensPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListAccessTokensPublisher publisher = client.listAccessTokensPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensResponse 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
listAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest)
operation.
This is a convenience which creates an instance of the ListAccessTokensRequest.Builder avoiding the need
to create one manually via ListAccessTokensRequest.builder()
listAccessTokensRequest - A Consumer that will call methods on ListAccessTokensRequest.Builder to create a request.default CompletableFuture<ListDevEnvironmentsResponse> listDevEnvironments(ListDevEnvironmentsRequest listDevEnvironmentsRequest)
Retrives a list of Dev Environments in a project.
listDevEnvironmentsRequest - default CompletableFuture<ListDevEnvironmentsResponse> listDevEnvironments(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest)
Retrives a list of Dev Environments in a project.
This is a convenience which creates an instance of the ListDevEnvironmentsRequest.Builder avoiding the
need to create one manually via ListDevEnvironmentsRequest.builder()
listDevEnvironmentsRequest - A Consumer that will call methods on ListDevEnvironmentsRequest.Builder to create a
request.default ListDevEnvironmentsPublisher listDevEnvironmentsPaginator(ListDevEnvironmentsRequest listDevEnvironmentsRequest)
Retrives a list of Dev Environments in a project.
This is a variant of
listDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)
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.codecatalyst.paginators.ListDevEnvironmentsPublisher publisher = client.listDevEnvironmentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentsPublisher publisher = client.listDevEnvironmentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsResponse 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
listDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)
operation.
listDevEnvironmentsRequest - default ListDevEnvironmentsPublisher listDevEnvironmentsPaginator(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest)
Retrives a list of Dev Environments in a project.
This is a variant of
listDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)
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.codecatalyst.paginators.ListDevEnvironmentsPublisher publisher = client.listDevEnvironmentsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentsPublisher publisher = client.listDevEnvironmentsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsResponse 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
listDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)
operation.
This is a convenience which creates an instance of the ListDevEnvironmentsRequest.Builder avoiding the
need to create one manually via ListDevEnvironmentsRequest.builder()
listDevEnvironmentsRequest - A Consumer that will call methods on ListDevEnvironmentsRequest.Builder to create a
request.default CompletableFuture<ListEventLogsResponse> listEventLogs(ListEventLogsRequest listEventLogsRequest)
Retrieves a list of events that occurred during a specified time period in a space. You can use these events to audit user and system activity in a space.
listEventLogsRequest - default CompletableFuture<ListEventLogsResponse> listEventLogs(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest)
Retrieves a list of events that occurred during a specified time period in a space. You can use these events to audit user and system activity in a space.
This is a convenience which creates an instance of the ListEventLogsRequest.Builder avoiding the need to
create one manually via ListEventLogsRequest.builder()
listEventLogsRequest - A Consumer that will call methods on ListEventLogsRequest.Builder to create a request.default ListEventLogsPublisher listEventLogsPaginator(ListEventLogsRequest listEventLogsRequest)
Retrieves a list of events that occurred during a specified time period in a space. You can use these events to audit user and system activity in a space.
This is a variant of
listEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest) 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.codecatalyst.paginators.ListEventLogsPublisher publisher = client.listEventLogsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListEventLogsPublisher publisher = client.listEventLogsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListEventLogsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsResponse 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
listEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest) operation.
listEventLogsRequest - default ListEventLogsPublisher listEventLogsPaginator(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest)
Retrieves a list of events that occurred during a specified time period in a space. You can use these events to audit user and system activity in a space.
This is a variant of
listEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest) 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.codecatalyst.paginators.ListEventLogsPublisher publisher = client.listEventLogsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListEventLogsPublisher publisher = client.listEventLogsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListEventLogsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsResponse 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
listEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest) operation.
This is a convenience which creates an instance of the ListEventLogsRequest.Builder avoiding the need to
create one manually via ListEventLogsRequest.builder()
listEventLogsRequest - A Consumer that will call methods on ListEventLogsRequest.Builder to create a request.default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest)
Retrieves a list of projects.
listProjectsRequest - default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Retrieves a list of projects.
This is a convenience which creates an instance of the ListProjectsRequest.Builder avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest - A Consumer that will call methods on ListProjectsRequest.Builder to create a request.default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Retrieves a list of projects.
This is a variant of
listProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest) 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.codecatalyst.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListProjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListProjectsResponse 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
listProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest) operation.
listProjectsRequest - default ListProjectsPublisher listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Retrieves a list of projects.
This is a variant of
listProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest) 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.codecatalyst.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListProjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListProjectsResponse 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
listProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest) operation.
This is a convenience which creates an instance of the ListProjectsRequest.Builder avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest - A Consumer that will call methods on ListProjectsRequest.Builder to create a request.default CompletableFuture<ListSourceRepositoriesResponse> listSourceRepositories(ListSourceRepositoriesRequest listSourceRepositoriesRequest)
Retrieves a list of source repositories in a project.
listSourceRepositoriesRequest - default CompletableFuture<ListSourceRepositoriesResponse> listSourceRepositories(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest)
Retrieves a list of source repositories in a project.
This is a convenience which creates an instance of the ListSourceRepositoriesRequest.Builder avoiding the
need to create one manually via ListSourceRepositoriesRequest.builder()
listSourceRepositoriesRequest - A Consumer that will call methods on ListSourceRepositoriesRequest.Builder to create a
request.default ListSourceRepositoriesPublisher listSourceRepositoriesPaginator(ListSourceRepositoriesRequest listSourceRepositoriesRequest)
Retrieves a list of source repositories in a project.
This is a variant of
listSourceRepositories(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesRequest)
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.codecatalyst.paginators.ListSourceRepositoriesPublisher publisher = client.listSourceRepositoriesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoriesPublisher publisher = client.listSourceRepositoriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesResponse 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
listSourceRepositories(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesRequest)
operation.
listSourceRepositoriesRequest - default ListSourceRepositoriesPublisher listSourceRepositoriesPaginator(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest)
Retrieves a list of source repositories in a project.
This is a variant of
listSourceRepositories(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesRequest)
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.codecatalyst.paginators.ListSourceRepositoriesPublisher publisher = client.listSourceRepositoriesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoriesPublisher publisher = client.listSourceRepositoriesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesResponse 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
listSourceRepositories(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesRequest)
operation.
This is a convenience which creates an instance of the ListSourceRepositoriesRequest.Builder avoiding the
need to create one manually via ListSourceRepositoriesRequest.builder()
listSourceRepositoriesRequest - A Consumer that will call methods on ListSourceRepositoriesRequest.Builder to create a
request.default CompletableFuture<ListSourceRepositoryBranchesResponse> listSourceRepositoryBranches(ListSourceRepositoryBranchesRequest listSourceRepositoryBranchesRequest)
Retrieves a list of branches in a specified source repository.
listSourceRepositoryBranchesRequest - default CompletableFuture<ListSourceRepositoryBranchesResponse> listSourceRepositoryBranches(Consumer<ListSourceRepositoryBranchesRequest.Builder> listSourceRepositoryBranchesRequest)
Retrieves a list of branches in a specified source repository.
This is a convenience which creates an instance of the ListSourceRepositoryBranchesRequest.Builder
avoiding the need to create one manually via ListSourceRepositoryBranchesRequest.builder()
listSourceRepositoryBranchesRequest - A Consumer that will call methods on ListSourceRepositoryBranchesRequest.Builder to create
a request.default ListSourceRepositoryBranchesPublisher listSourceRepositoryBranchesPaginator(ListSourceRepositoryBranchesRequest listSourceRepositoryBranchesRequest)
Retrieves a list of branches in a specified source repository.
This is a variant of
listSourceRepositoryBranches(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesRequest)
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.codecatalyst.paginators.ListSourceRepositoryBranchesPublisher publisher = client.listSourceRepositoryBranchesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoryBranchesPublisher publisher = client.listSourceRepositoryBranchesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesResponse 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
listSourceRepositoryBranches(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesRequest)
operation.
listSourceRepositoryBranchesRequest - default ListSourceRepositoryBranchesPublisher listSourceRepositoryBranchesPaginator(Consumer<ListSourceRepositoryBranchesRequest.Builder> listSourceRepositoryBranchesRequest)
Retrieves a list of branches in a specified source repository.
This is a variant of
listSourceRepositoryBranches(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesRequest)
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.codecatalyst.paginators.ListSourceRepositoryBranchesPublisher publisher = client.listSourceRepositoryBranchesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoryBranchesPublisher publisher = client.listSourceRepositoryBranchesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesResponse 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
listSourceRepositoryBranches(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesRequest)
operation.
This is a convenience which creates an instance of the ListSourceRepositoryBranchesRequest.Builder
avoiding the need to create one manually via ListSourceRepositoryBranchesRequest.builder()
listSourceRepositoryBranchesRequest - A Consumer that will call methods on ListSourceRepositoryBranchesRequest.Builder to create
a request.default CompletableFuture<ListSpacesResponse> listSpaces(ListSpacesRequest listSpacesRequest)
Retrieves a list of spaces.
listSpacesRequest - default CompletableFuture<ListSpacesResponse> listSpaces(Consumer<ListSpacesRequest.Builder> listSpacesRequest)
Retrieves a list of spaces.
This is a convenience which creates an instance of the ListSpacesRequest.Builder avoiding the need to
create one manually via ListSpacesRequest.builder()
listSpacesRequest - A Consumer that will call methods on ListSpacesRequest.Builder to create a request.default ListSpacesPublisher listSpacesPaginator(ListSpacesRequest listSpacesRequest)
Retrieves a list of spaces.
This is a variant of listSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest)
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.codecatalyst.paginators.ListSpacesPublisher publisher = client.listSpacesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListSpacesPublisher publisher = client.listSpacesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListSpacesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListSpacesResponse 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
listSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest) operation.
listSpacesRequest - default ListSpacesPublisher listSpacesPaginator(Consumer<ListSpacesRequest.Builder> listSpacesRequest)
Retrieves a list of spaces.
This is a variant of listSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest)
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.codecatalyst.paginators.ListSpacesPublisher publisher = client.listSpacesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.codecatalyst.paginators.ListSpacesPublisher publisher = client.listSpacesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.codecatalyst.model.ListSpacesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.codecatalyst.model.ListSpacesResponse 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
listSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest) operation.
This is a convenience which creates an instance of the ListSpacesRequest.Builder avoiding the need to
create one manually via ListSpacesRequest.builder()
listSpacesRequest - A Consumer that will call methods on ListSpacesRequest.Builder to create a request.default CompletableFuture<StartDevEnvironmentResponse> startDevEnvironment(StartDevEnvironmentRequest startDevEnvironmentRequest)
Starts a specified Dev Environment and puts it into an active state.
startDevEnvironmentRequest - default CompletableFuture<StartDevEnvironmentResponse> startDevEnvironment(Consumer<StartDevEnvironmentRequest.Builder> startDevEnvironmentRequest)
Starts a specified Dev Environment and puts it into an active state.
This is a convenience which creates an instance of the StartDevEnvironmentRequest.Builder avoiding the
need to create one manually via StartDevEnvironmentRequest.builder()
startDevEnvironmentRequest - A Consumer that will call methods on StartDevEnvironmentRequest.Builder to create a
request.default CompletableFuture<StartDevEnvironmentSessionResponse> startDevEnvironmentSession(StartDevEnvironmentSessionRequest startDevEnvironmentSessionRequest)
Starts a session for a specified Dev Environment.
startDevEnvironmentSessionRequest - default CompletableFuture<StartDevEnvironmentSessionResponse> startDevEnvironmentSession(Consumer<StartDevEnvironmentSessionRequest.Builder> startDevEnvironmentSessionRequest)
Starts a session for a specified Dev Environment.
This is a convenience which creates an instance of the StartDevEnvironmentSessionRequest.Builder avoiding
the need to create one manually via StartDevEnvironmentSessionRequest.builder()
startDevEnvironmentSessionRequest - A Consumer that will call methods on StartDevEnvironmentSessionRequest.Builder to create a
request.default CompletableFuture<StopDevEnvironmentResponse> stopDevEnvironment(StopDevEnvironmentRequest stopDevEnvironmentRequest)
Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes.
stopDevEnvironmentRequest - default CompletableFuture<StopDevEnvironmentResponse> stopDevEnvironment(Consumer<StopDevEnvironmentRequest.Builder> stopDevEnvironmentRequest)
Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes.
This is a convenience which creates an instance of the StopDevEnvironmentRequest.Builder avoiding the
need to create one manually via StopDevEnvironmentRequest.builder()
stopDevEnvironmentRequest - A Consumer that will call methods on StopDevEnvironmentRequest.Builder to create a
request.default CompletableFuture<UpdateDevEnvironmentResponse> updateDevEnvironment(UpdateDevEnvironmentRequest updateDevEnvironmentRequest)
Changes one or more values for a Dev Environment. Updating certain values of the Dev Environment will cause a restart.
updateDevEnvironmentRequest - default CompletableFuture<UpdateDevEnvironmentResponse> updateDevEnvironment(Consumer<UpdateDevEnvironmentRequest.Builder> updateDevEnvironmentRequest)
Changes one or more values for a Dev Environment. Updating certain values of the Dev Environment will cause a restart.
This is a convenience which creates an instance of the UpdateDevEnvironmentRequest.Builder avoiding the
need to create one manually via UpdateDevEnvironmentRequest.builder()
updateDevEnvironmentRequest - A Consumer that will call methods on UpdateDevEnvironmentRequest.Builder to create a
request.default CompletableFuture<VerifySessionResponse> verifySession(VerifySessionRequest verifySessionRequest)
Verifies whether the calling user has a valid Amazon CodeCatalyst login and session. If successful, this returns the ID of the user in Amazon CodeCatalyst.
verifySessionRequest - default CompletableFuture<VerifySessionResponse> verifySession(Consumer<VerifySessionRequest.Builder> verifySessionRequest)
Verifies whether the calling user has a valid Amazon CodeCatalyst login and session. If successful, this returns the ID of the user in Amazon CodeCatalyst.
This is a convenience which creates an instance of the VerifySessionRequest.Builder avoiding the need to
create one manually via VerifySessionRequest.builder()
verifySessionRequest - A Consumer that will call methods on VerifySessionRequest.Builder to create a request.Copyright © 2023. All rights reserved.