Interface CodeCatalystClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
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.
Spaces, by calling the following:
-
DeleteSpace, which deletes a space.
-
GetSpace, which returns information about a space.
-
GetSubscription, which returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.
-
ListSpaces, which retrieves a list of spaces.
-
UpdateSpace, which changes one or more values for a space.
Projects, by calling the following:
-
CreateProject which creates a project in a specified space.
-
GetProject, which returns information about a project.
-
ListProjects, which retrieves a list of projects in a space.
Users, by calling the following:
-
GetUserDetails, which returns information about a user in Amazon CodeCatalyst.
Source repositories, by calling the following:
-
CreateSourceRepository, which creates an empty Git-based source repository in a specified project.
-
CreateSourceRepositoryBranch, which creates a branch in a specified repository where you can work on code.
-
DeleteSourceRepository, which deletes a source repository.
-
GetSourceRepository, which returns information about a source repository.
-
GetSourceRepositoryCloneUrls, which returns information about the URLs that can be used with a Git client to clone a source repository.
-
ListSourceRepositories, which retrieves a list of source repositories in a project.
-
ListSourceRepositoryBranches, which retrieves a list of branches in a source repository.
Dev Environments and the Amazon Web Services Toolkits, by calling the following:
-
CreateDevEnvironment, which creates a Dev Environment, where you can quickly work on the code stored in the source repositories of your project.
-
DeleteDevEnvironment, which deletes a Dev Environment.
-
GetDevEnvironment, which returns information about a Dev Environment.
-
ListDevEnvironments, which retrieves a list of Dev Environments in a project.
-
ListDevEnvironmentSessions, which retrieves a list of active Dev Environment sessions in a project.
-
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.
-
StopDevEnvironmentSession, which stops a session for a specified Dev Environment.
-
UpdateDevEnvironment, which changes one or more values for a Dev Environment.
Workflows, by calling the following:
-
GetWorkflow, which returns information about a workflow.
-
GetWorkflowRun, which returns information about a specified run of a workflow.
-
ListWorkflowRuns, which retrieves a list of runs of a specified workflow.
-
ListWorkflows, which retrieves a list of workflows in a specified project.
-
StartWorkflowRun, which starts a run of a specified workflow.
Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:
-
CreateAccessToken, which creates a personal access token (PAT) for the current user.
-
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.
-
VerifySession, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.
If you are using the Amazon CodeCatalyst APIs with an SDK or the CLI, you must configure your computer to work with Amazon CodeCatalyst and single sign-on (SSO). For more information, see Setting up to use the CLI with Amazon CodeCatalyst and the SSO documentation for your SDK.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodeCatalystClientBuilder
builder()
Create a builder that can be used to configure and create aCodeCatalystClient
.static CodeCatalystClient
create()
Create aCodeCatalystClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAccessTokenResponse
createAccessToken
(Consumer<CreateAccessTokenRequest.Builder> createAccessTokenRequest) Creates a personal access token (PAT) for the current user.default CreateAccessTokenResponse
createAccessToken
(CreateAccessTokenRequest createAccessTokenRequest) Creates a personal access token (PAT) for the current user.default CreateDevEnvironmentResponse
createDevEnvironment
(Consumer<CreateDevEnvironmentRequest.Builder> createDevEnvironmentRequest) Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use to quickly work on the code stored in the source repositories of your project.default CreateDevEnvironmentResponse
createDevEnvironment
(CreateDevEnvironmentRequest createDevEnvironmentRequest) Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use to quickly work on the code stored in the source repositories of your project.default CreateProjectResponse
createProject
(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a project in a specified space.default CreateProjectResponse
createProject
(CreateProjectRequest createProjectRequest) Creates a project in a specified space.default CreateSourceRepositoryResponse
createSourceRepository
(Consumer<CreateSourceRepositoryRequest.Builder> createSourceRepositoryRequest) Creates an empty Git-based source repository in a specified project.default CreateSourceRepositoryResponse
createSourceRepository
(CreateSourceRepositoryRequest createSourceRepositoryRequest) Creates an empty Git-based source repository in a specified project.createSourceRepositoryBranch
(Consumer<CreateSourceRepositoryBranchRequest.Builder> createSourceRepositoryBranchRequest) Creates a branch in a specified source repository in Amazon CodeCatalyst.createSourceRepositoryBranch
(CreateSourceRepositoryBranchRequest createSourceRepositoryBranchRequest) Creates a branch in a specified source repository in Amazon CodeCatalyst.default DeleteAccessTokenResponse
deleteAccessToken
(Consumer<DeleteAccessTokenRequest.Builder> deleteAccessTokenRequest) Deletes a specified personal access token (PAT).default DeleteAccessTokenResponse
deleteAccessToken
(DeleteAccessTokenRequest deleteAccessTokenRequest) Deletes a specified personal access token (PAT).default DeleteDevEnvironmentResponse
deleteDevEnvironment
(Consumer<DeleteDevEnvironmentRequest.Builder> deleteDevEnvironmentRequest) Deletes a Dev Environment.default DeleteDevEnvironmentResponse
deleteDevEnvironment
(DeleteDevEnvironmentRequest deleteDevEnvironmentRequest) Deletes a Dev Environment.default DeleteProjectResponse
deleteProject
(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes a project in a space.default DeleteProjectResponse
deleteProject
(DeleteProjectRequest deleteProjectRequest) Deletes a project in a space.default DeleteSourceRepositoryResponse
deleteSourceRepository
(Consumer<DeleteSourceRepositoryRequest.Builder> deleteSourceRepositoryRequest) Deletes a source repository in Amazon CodeCatalyst.default DeleteSourceRepositoryResponse
deleteSourceRepository
(DeleteSourceRepositoryRequest deleteSourceRepositoryRequest) Deletes a source repository in Amazon CodeCatalyst.default DeleteSpaceResponse
deleteSpace
(Consumer<DeleteSpaceRequest.Builder> deleteSpaceRequest) Deletes a space.default DeleteSpaceResponse
deleteSpace
(DeleteSpaceRequest deleteSpaceRequest) Deletes a space.default GetDevEnvironmentResponse
getDevEnvironment
(Consumer<GetDevEnvironmentRequest.Builder> getDevEnvironmentRequest) Returns information about a Dev Environment for a source repository in a project.default GetDevEnvironmentResponse
getDevEnvironment
(GetDevEnvironmentRequest getDevEnvironmentRequest) Returns information about a Dev Environment for a source repository in a project.default GetProjectResponse
getProject
(Consumer<GetProjectRequest.Builder> getProjectRequest) Returns information about a project.default GetProjectResponse
getProject
(GetProjectRequest getProjectRequest) Returns information about a project.default GetSourceRepositoryResponse
getSourceRepository
(Consumer<GetSourceRepositoryRequest.Builder> getSourceRepositoryRequest) Returns information about a source repository.default GetSourceRepositoryResponse
getSourceRepository
(GetSourceRepositoryRequest getSourceRepositoryRequest) Returns information about a source repository.getSourceRepositoryCloneUrls
(Consumer<GetSourceRepositoryCloneUrlsRequest.Builder> getSourceRepositoryCloneUrlsRequest) Returns information about the URLs that can be used with a Git client to clone a source repository.getSourceRepositoryCloneUrls
(GetSourceRepositoryCloneUrlsRequest getSourceRepositoryCloneUrlsRequest) Returns information about the URLs that can be used with a Git client to clone a source repository.default GetSpaceResponse
getSpace
(Consumer<GetSpaceRequest.Builder> getSpaceRequest) Returns information about an space.default GetSpaceResponse
getSpace
(GetSpaceRequest getSpaceRequest) Returns information about an space.default 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 GetSubscriptionResponse
getSubscription
(GetSubscriptionRequest getSubscriptionRequest) Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.default GetUserDetailsResponse
getUserDetails
(Consumer<GetUserDetailsRequest.Builder> getUserDetailsRequest) Returns information about a user.default GetUserDetailsResponse
getUserDetails
(GetUserDetailsRequest getUserDetailsRequest) Returns information about a user.default GetWorkflowResponse
getWorkflow
(Consumer<GetWorkflowRequest.Builder> getWorkflowRequest) Returns information about a workflow.default GetWorkflowResponse
getWorkflow
(GetWorkflowRequest getWorkflowRequest) Returns information about a workflow.default GetWorkflowRunResponse
getWorkflowRun
(Consumer<GetWorkflowRunRequest.Builder> getWorkflowRunRequest) Returns information about a specified run of a workflow.default GetWorkflowRunResponse
getWorkflowRun
(GetWorkflowRunRequest getWorkflowRunRequest) Returns information about a specified run of a workflow.default ListAccessTokensResponse
listAccessTokens
(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) Lists all personal access tokens (PATs) associated with the user who calls the API.default ListAccessTokensResponse
listAccessTokens
(ListAccessTokensRequest listAccessTokensRequest) Lists all personal access tokens (PATs) associated with the user who calls the API.default ListAccessTokensIterable
listAccessTokensPaginator
(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) This is a variant oflistAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest)
operation.default ListAccessTokensIterable
listAccessTokensPaginator
(ListAccessTokensRequest listAccessTokensRequest) This is a variant oflistAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest)
operation.default ListDevEnvironmentsResponse
listDevEnvironments
(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest) Retrieves a list of Dev Environments in a project.default ListDevEnvironmentsResponse
listDevEnvironments
(ListDevEnvironmentsRequest listDevEnvironmentsRequest) Retrieves a list of Dev Environments in a project.listDevEnvironmentSessions
(Consumer<ListDevEnvironmentSessionsRequest.Builder> listDevEnvironmentSessionsRequest) Retrieves a list of active sessions for a Dev Environment in a project.listDevEnvironmentSessions
(ListDevEnvironmentSessionsRequest listDevEnvironmentSessionsRequest) Retrieves a list of active sessions for a Dev Environment in a project.listDevEnvironmentSessionsPaginator
(Consumer<ListDevEnvironmentSessionsRequest.Builder> listDevEnvironmentSessionsRequest) This is a variant oflistDevEnvironmentSessions(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentSessionsRequest)
operation.listDevEnvironmentSessionsPaginator
(ListDevEnvironmentSessionsRequest listDevEnvironmentSessionsRequest) This is a variant oflistDevEnvironmentSessions(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentSessionsRequest)
operation.default ListDevEnvironmentsIterable
listDevEnvironmentsPaginator
(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest) This is a variant oflistDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)
operation.default ListDevEnvironmentsIterable
listDevEnvironmentsPaginator
(ListDevEnvironmentsRequest listDevEnvironmentsRequest) This is a variant oflistDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)
operation.default ListEventLogsResponse
listEventLogs
(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest) Retrieves a list of events that occurred during a specific time in a space.default ListEventLogsResponse
listEventLogs
(ListEventLogsRequest listEventLogsRequest) Retrieves a list of events that occurred during a specific time in a space.default ListEventLogsIterable
listEventLogsPaginator
(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest) This is a variant oflistEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest)
operation.default ListEventLogsIterable
listEventLogsPaginator
(ListEventLogsRequest listEventLogsRequest) This is a variant oflistEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest)
operation.default ListProjectsResponse
listProjects
(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Retrieves a list of projects.default ListProjectsResponse
listProjects
(ListProjectsRequest listProjectsRequest) Retrieves a list of projects.default ListProjectsIterable
listProjectsPaginator
(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest)
operation.default ListProjectsIterable
listProjectsPaginator
(ListProjectsRequest listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest)
operation.default ListSourceRepositoriesResponse
listSourceRepositories
(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest) Retrieves a list of source repositories in a project.default ListSourceRepositoriesResponse
listSourceRepositories
(ListSourceRepositoriesRequest listSourceRepositoriesRequest) Retrieves a list of source repositories in a project.default ListSourceRepositoriesIterable
listSourceRepositoriesPaginator
(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest) This is a variant oflistSourceRepositories(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesRequest)
operation.default ListSourceRepositoriesIterable
listSourceRepositoriesPaginator
(ListSourceRepositoriesRequest listSourceRepositoriesRequest) This is a variant oflistSourceRepositories(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesRequest)
operation.listSourceRepositoryBranches
(Consumer<ListSourceRepositoryBranchesRequest.Builder> listSourceRepositoryBranchesRequest) Retrieves a list of branches in a specified source repository.listSourceRepositoryBranches
(ListSourceRepositoryBranchesRequest listSourceRepositoryBranchesRequest) Retrieves a list of branches in a specified source repository.listSourceRepositoryBranchesPaginator
(Consumer<ListSourceRepositoryBranchesRequest.Builder> listSourceRepositoryBranchesRequest) This is a variant oflistSourceRepositoryBranches(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesRequest)
operation.listSourceRepositoryBranchesPaginator
(ListSourceRepositoryBranchesRequest listSourceRepositoryBranchesRequest) This is a variant oflistSourceRepositoryBranches(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesRequest)
operation.default ListSpacesResponse
listSpaces
(Consumer<ListSpacesRequest.Builder> listSpacesRequest) Retrieves a list of spaces.default ListSpacesResponse
listSpaces
(ListSpacesRequest listSpacesRequest) Retrieves a list of spaces.default ListSpacesIterable
listSpacesPaginator
(Consumer<ListSpacesRequest.Builder> listSpacesRequest) This is a variant oflistSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest)
operation.default ListSpacesIterable
listSpacesPaginator
(ListSpacesRequest listSpacesRequest) This is a variant oflistSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest)
operation.default ListWorkflowRunsResponse
listWorkflowRuns
(Consumer<ListWorkflowRunsRequest.Builder> listWorkflowRunsRequest) Retrieves a list of workflow runs of a specified workflow.default ListWorkflowRunsResponse
listWorkflowRuns
(ListWorkflowRunsRequest listWorkflowRunsRequest) Retrieves a list of workflow runs of a specified workflow.default ListWorkflowRunsIterable
listWorkflowRunsPaginator
(Consumer<ListWorkflowRunsRequest.Builder> listWorkflowRunsRequest) This is a variant oflistWorkflowRuns(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsRequest)
operation.default ListWorkflowRunsIterable
listWorkflowRunsPaginator
(ListWorkflowRunsRequest listWorkflowRunsRequest) This is a variant oflistWorkflowRuns(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsRequest)
operation.default ListWorkflowsResponse
listWorkflows
(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) Retrieves a list of workflows in a specified project.default ListWorkflowsResponse
listWorkflows
(ListWorkflowsRequest listWorkflowsRequest) Retrieves a list of workflows in a specified project.default ListWorkflowsIterable
listWorkflowsPaginator
(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) This is a variant oflistWorkflows(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowsRequest)
operation.default ListWorkflowsIterable
listWorkflowsPaginator
(ListWorkflowsRequest listWorkflowsRequest) This is a variant oflistWorkflows(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowsRequest)
operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartDevEnvironmentResponse
startDevEnvironment
(Consumer<StartDevEnvironmentRequest.Builder> startDevEnvironmentRequest) Starts a specified Dev Environment and puts it into an active state.default StartDevEnvironmentResponse
startDevEnvironment
(StartDevEnvironmentRequest startDevEnvironmentRequest) Starts a specified Dev Environment and puts it into an active state.startDevEnvironmentSession
(Consumer<StartDevEnvironmentSessionRequest.Builder> startDevEnvironmentSessionRequest) Starts a session for a specified Dev Environment.startDevEnvironmentSession
(StartDevEnvironmentSessionRequest startDevEnvironmentSessionRequest) Starts a session for a specified Dev Environment.default StartWorkflowRunResponse
startWorkflowRun
(Consumer<StartWorkflowRunRequest.Builder> startWorkflowRunRequest) Begins a run of a specified workflow.default StartWorkflowRunResponse
startWorkflowRun
(StartWorkflowRunRequest startWorkflowRunRequest) Begins a run of a specified workflow.default StopDevEnvironmentResponse
stopDevEnvironment
(Consumer<StopDevEnvironmentRequest.Builder> stopDevEnvironmentRequest) Pauses a specified Dev Environment and places it in a non-running state.default StopDevEnvironmentResponse
stopDevEnvironment
(StopDevEnvironmentRequest stopDevEnvironmentRequest) Pauses a specified Dev Environment and places it in a non-running state.stopDevEnvironmentSession
(Consumer<StopDevEnvironmentSessionRequest.Builder> stopDevEnvironmentSessionRequest) Stops a session for a specified Dev Environment.stopDevEnvironmentSession
(StopDevEnvironmentSessionRequest stopDevEnvironmentSessionRequest) Stops a session for a specified Dev Environment.default UpdateDevEnvironmentResponse
updateDevEnvironment
(Consumer<UpdateDevEnvironmentRequest.Builder> updateDevEnvironmentRequest) Changes one or more values for a Dev Environment.default UpdateDevEnvironmentResponse
updateDevEnvironment
(UpdateDevEnvironmentRequest updateDevEnvironmentRequest) Changes one or more values for a Dev Environment.default UpdateProjectResponse
updateProject
(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Changes one or more values for a project.default UpdateProjectResponse
updateProject
(UpdateProjectRequest updateProjectRequest) Changes one or more values for a project.default UpdateSpaceResponse
updateSpace
(Consumer<UpdateSpaceRequest.Builder> updateSpaceRequest) Changes one or more values for a space.default UpdateSpaceResponse
updateSpace
(UpdateSpaceRequest updateSpaceRequest) Changes one or more values for a space.default VerifySessionResponse
verifySession
(Consumer<VerifySessionRequest.Builder> verifySessionRequest) Verifies whether the calling user has a valid Amazon CodeCatalyst login and session.default VerifySessionResponse
verifySession
(VerifySessionRequest verifySessionRequest) Verifies whether the calling user has a valid Amazon CodeCatalyst login and session.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createAccessToken
default CreateAccessTokenResponse createAccessToken(CreateAccessTokenRequest createAccessTokenRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 identity for use across all spaces and projects in Amazon CodeCatalyst. You use PATs to access CodeCatalyst from resources that include integrated development environments (IDEs) and Git-based source repositories. PATs represent you in Amazon CodeCatalyst and you can manage them in your user settings.For more information, see Managing personal access tokens in Amazon CodeCatalyst.
- Parameters:
createAccessTokenRequest
-- Returns:
- Result of the CreateAccessToken operation returned by the service.
- See Also:
-
createAccessToken
default CreateAccessTokenResponse createAccessToken(Consumer<CreateAccessTokenRequest.Builder> createAccessTokenRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 identity for use across all spaces and projects in Amazon CodeCatalyst. You use PATs to access CodeCatalyst from resources that include integrated development environments (IDEs) and Git-based source repositories. PATs represent you in Amazon CodeCatalyst and you can manage them in your user settings.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 viaCreateAccessTokenRequest.builder()
- Parameters:
createAccessTokenRequest
- AConsumer
that will call methods onCreateAccessTokenRequest.Builder
to create a request.- Returns:
- Result of the CreateAccessToken operation returned by the service.
- See Also:
-
createDevEnvironment
default CreateDevEnvironmentResponse createDevEnvironment(CreateDevEnvironmentRequest createDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use to quickly work on the code stored in the source repositories of your project.
When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these defaults apply to a Dev Environment created programmatically.
- Parameters:
createDevEnvironmentRequest
-- Returns:
- Result of the CreateDevEnvironment operation returned by the service.
- See Also:
-
createDevEnvironment
default CreateDevEnvironmentResponse createDevEnvironment(Consumer<CreateDevEnvironmentRequest.Builder> createDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development environment that you can use to quickly work on the code stored in the source repositories of your project.
When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these defaults apply to a Dev Environment created programmatically.
This is a convenience which creates an instance of the
CreateDevEnvironmentRequest.Builder
avoiding the need to create one manually viaCreateDevEnvironmentRequest.builder()
- Parameters:
createDevEnvironmentRequest
- AConsumer
that will call methods onCreateDevEnvironmentRequest.Builder
to create a request.- Returns:
- Result of the CreateDevEnvironment operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Creates a project in a specified space.
- Parameters:
createProjectRequest
-- Returns:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaCreateProjectRequest.builder()
- Parameters:
createProjectRequest
- AConsumer
that will call methods onCreateProjectRequest.Builder
to create a request.- Returns:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createSourceRepository
default CreateSourceRepositoryResponse createSourceRepository(CreateSourceRepositoryRequest createSourceRepositoryRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Creates an empty Git-based source repository in a specified project. The repository is created with an initial empty commit with a default branch named
main
.- Parameters:
createSourceRepositoryRequest
-- Returns:
- Result of the CreateSourceRepository operation returned by the service.
- See Also:
-
createSourceRepository
default CreateSourceRepositoryResponse createSourceRepository(Consumer<CreateSourceRepositoryRequest.Builder> createSourceRepositoryRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Creates an empty Git-based source repository in a specified project. The repository is created with an initial empty commit with a default branch named
main
.
This is a convenience which creates an instance of the
CreateSourceRepositoryRequest.Builder
avoiding the need to create one manually viaCreateSourceRepositoryRequest.builder()
- Parameters:
createSourceRepositoryRequest
- AConsumer
that will call methods onCreateSourceRepositoryRequest.Builder
to create a request.- Returns:
- Result of the CreateSourceRepository operation returned by the service.
- See Also:
-
createSourceRepositoryBranch
default CreateSourceRepositoryBranchResponse createSourceRepositoryBranch(CreateSourceRepositoryBranchRequest createSourceRepositoryBranchRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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.
- Parameters:
createSourceRepositoryBranchRequest
-- Returns:
- Result of the CreateSourceRepositoryBranch operation returned by the service.
- See Also:
-
createSourceRepositoryBranch
default CreateSourceRepositoryBranchResponse createSourceRepositoryBranch(Consumer<CreateSourceRepositoryBranchRequest.Builder> createSourceRepositoryBranchRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaCreateSourceRepositoryBranchRequest.builder()
- Parameters:
createSourceRepositoryBranchRequest
- AConsumer
that will call methods onCreateSourceRepositoryBranchRequest.Builder
to create a request.- Returns:
- Result of the CreateSourceRepositoryBranch operation returned by the service.
- See Also:
-
deleteAccessToken
default DeleteAccessTokenResponse deleteAccessToken(DeleteAccessTokenRequest deleteAccessTokenRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Deletes a specified personal access token (PAT). A personal access token can only be deleted by the user who created it.
- Parameters:
deleteAccessTokenRequest
-- Returns:
- Result of the DeleteAccessToken operation returned by the service.
- See Also:
-
deleteAccessToken
default DeleteAccessTokenResponse deleteAccessToken(Consumer<DeleteAccessTokenRequest.Builder> deleteAccessTokenRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaDeleteAccessTokenRequest.builder()
- Parameters:
deleteAccessTokenRequest
- AConsumer
that will call methods onDeleteAccessTokenRequest.Builder
to create a request.- Returns:
- Result of the DeleteAccessToken operation returned by the service.
- See Also:
-
deleteDevEnvironment
default DeleteDevEnvironmentResponse deleteDevEnvironment(DeleteDevEnvironmentRequest deleteDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Deletes a Dev Environment.
- Parameters:
deleteDevEnvironmentRequest
-- Returns:
- Result of the DeleteDevEnvironment operation returned by the service.
- See Also:
-
deleteDevEnvironment
default DeleteDevEnvironmentResponse deleteDevEnvironment(Consumer<DeleteDevEnvironmentRequest.Builder> deleteDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Deletes a Dev Environment.
This is a convenience which creates an instance of the
DeleteDevEnvironmentRequest.Builder
avoiding the need to create one manually viaDeleteDevEnvironmentRequest.builder()
- Parameters:
deleteDevEnvironmentRequest
- AConsumer
that will call methods onDeleteDevEnvironmentRequest.Builder
to create a request.- Returns:
- Result of the DeleteDevEnvironment operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Deletes a project in a space.
- Parameters:
deleteProjectRequest
-- Returns:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Deletes a project in a space.
This is a convenience which creates an instance of the
DeleteProjectRequest.Builder
avoiding the need to create one manually viaDeleteProjectRequest.builder()
- Parameters:
deleteProjectRequest
- AConsumer
that will call methods onDeleteProjectRequest.Builder
to create a request.- Returns:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteSourceRepository
default DeleteSourceRepositoryResponse deleteSourceRepository(DeleteSourceRepositoryRequest deleteSourceRepositoryRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Deletes a source repository in Amazon CodeCatalyst. You cannot use this API to delete a linked repository. It can only be used to delete a Amazon CodeCatalyst source repository.
- Parameters:
deleteSourceRepositoryRequest
-- Returns:
- Result of the DeleteSourceRepository operation returned by the service.
- See Also:
-
deleteSourceRepository
default DeleteSourceRepositoryResponse deleteSourceRepository(Consumer<DeleteSourceRepositoryRequest.Builder> deleteSourceRepositoryRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Deletes a source repository in Amazon CodeCatalyst. You cannot use this API to delete a linked repository. It can only be used to delete a Amazon CodeCatalyst source repository.
This is a convenience which creates an instance of the
DeleteSourceRepositoryRequest.Builder
avoiding the need to create one manually viaDeleteSourceRepositoryRequest.builder()
- Parameters:
deleteSourceRepositoryRequest
- AConsumer
that will call methods onDeleteSourceRepositoryRequest.Builder
to create a request.- Returns:
- Result of the DeleteSourceRepository operation returned by the service.
- See Also:
-
deleteSpace
default DeleteSpaceResponse deleteSpace(DeleteSpaceRequest deleteSpaceRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Deletes a space.
Deleting a space cannot be undone. Additionally, since space names must be unique across Amazon CodeCatalyst, you cannot reuse names of deleted spaces.
- Parameters:
deleteSpaceRequest
-- Returns:
- Result of the DeleteSpace operation returned by the service.
- See Also:
-
deleteSpace
default DeleteSpaceResponse deleteSpace(Consumer<DeleteSpaceRequest.Builder> deleteSpaceRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Deletes a space.
Deleting a space cannot be undone. Additionally, since space names must be unique across Amazon CodeCatalyst, you cannot reuse names of deleted spaces.
This is a convenience which creates an instance of the
DeleteSpaceRequest.Builder
avoiding the need to create one manually viaDeleteSpaceRequest.builder()
- Parameters:
deleteSpaceRequest
- AConsumer
that will call methods onDeleteSpaceRequest.Builder
to create a request.- Returns:
- Result of the DeleteSpace operation returned by the service.
- See Also:
-
getDevEnvironment
default GetDevEnvironmentResponse getDevEnvironment(GetDevEnvironmentRequest getDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a Dev Environment for a source repository in a project. Dev Environments are specific to the user who creates them.
- Parameters:
getDevEnvironmentRequest
-- Returns:
- Result of the GetDevEnvironment operation returned by the service.
- See Also:
-
getDevEnvironment
default GetDevEnvironmentResponse getDevEnvironment(Consumer<GetDevEnvironmentRequest.Builder> getDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaGetDevEnvironmentRequest.builder()
- Parameters:
getDevEnvironmentRequest
- AConsumer
that will call methods onGetDevEnvironmentRequest.Builder
to create a request.- Returns:
- Result of the GetDevEnvironment operation returned by the service.
- See Also:
-
getProject
default GetProjectResponse getProject(GetProjectRequest getProjectRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a project.
- Parameters:
getProjectRequest
-- Returns:
- Result of the GetProject operation returned by the service.
- See Also:
-
getProject
default GetProjectResponse getProject(Consumer<GetProjectRequest.Builder> getProjectRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a project.
This is a convenience which creates an instance of the
GetProjectRequest.Builder
avoiding the need to create one manually viaGetProjectRequest.builder()
- Parameters:
getProjectRequest
- AConsumer
that will call methods onGetProjectRequest.Builder
to create a request.- Returns:
- Result of the GetProject operation returned by the service.
- See Also:
-
getSourceRepository
default GetSourceRepositoryResponse getSourceRepository(GetSourceRepositoryRequest getSourceRepositoryRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a source repository.
- Parameters:
getSourceRepositoryRequest
-- Returns:
- Result of the GetSourceRepository operation returned by the service.
- See Also:
-
getSourceRepository
default GetSourceRepositoryResponse getSourceRepository(Consumer<GetSourceRepositoryRequest.Builder> getSourceRepositoryRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a source repository.
This is a convenience which creates an instance of the
GetSourceRepositoryRequest.Builder
avoiding the need to create one manually viaGetSourceRepositoryRequest.builder()
- Parameters:
getSourceRepositoryRequest
- AConsumer
that will call methods onGetSourceRepositoryRequest.Builder
to create a request.- Returns:
- Result of the GetSourceRepository operation returned by the service.
- See Also:
-
getSourceRepositoryCloneUrls
default GetSourceRepositoryCloneUrlsResponse getSourceRepositoryCloneUrls(GetSourceRepositoryCloneUrlsRequest getSourceRepositoryCloneUrlsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about the URLs that can be used with a Git client to clone a source repository.
- Parameters:
getSourceRepositoryCloneUrlsRequest
-- Returns:
- Result of the GetSourceRepositoryCloneUrls operation returned by the service.
- See Also:
-
getSourceRepositoryCloneUrls
default GetSourceRepositoryCloneUrlsResponse getSourceRepositoryCloneUrls(Consumer<GetSourceRepositoryCloneUrlsRequest.Builder> getSourceRepositoryCloneUrlsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaGetSourceRepositoryCloneUrlsRequest.builder()
- Parameters:
getSourceRepositoryCloneUrlsRequest
- AConsumer
that will call methods onGetSourceRepositoryCloneUrlsRequest.Builder
to create a request.- Returns:
- Result of the GetSourceRepositoryCloneUrls operation returned by the service.
- See Also:
-
getSpace
default GetSpaceResponse getSpace(GetSpaceRequest getSpaceRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about an space.
- Parameters:
getSpaceRequest
-- Returns:
- Result of the GetSpace operation returned by the service.
- See Also:
-
getSpace
default GetSpaceResponse getSpace(Consumer<GetSpaceRequest.Builder> getSpaceRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about an space.
This is a convenience which creates an instance of the
GetSpaceRequest.Builder
avoiding the need to create one manually viaGetSpaceRequest.builder()
- Parameters:
getSpaceRequest
- AConsumer
that will call methods onGetSpaceRequest.Builder
to create a request.- Returns:
- Result of the GetSpace operation returned by the service.
- See Also:
-
getSubscription
default GetSubscriptionResponse getSubscription(GetSubscriptionRequest getSubscriptionRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.
- Parameters:
getSubscriptionRequest
-- Returns:
- Result of the GetSubscription operation returned by the service.
- See Also:
-
getSubscription
default GetSubscriptionResponse getSubscription(Consumer<GetSubscriptionRequest.Builder> getSubscriptionRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaGetSubscriptionRequest.builder()
- Parameters:
getSubscriptionRequest
- AConsumer
that will call methods onGetSubscriptionRequest.Builder
to create a request.- Returns:
- Result of the GetSubscription operation returned by the service.
- See Also:
-
getUserDetails
default GetUserDetailsResponse getUserDetails(GetUserDetailsRequest getUserDetailsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a user.
- Parameters:
getUserDetailsRequest
-- Returns:
- Result of the GetUserDetails operation returned by the service.
- See Also:
-
getUserDetails
default GetUserDetailsResponse getUserDetails(Consumer<GetUserDetailsRequest.Builder> getUserDetailsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a user.
This is a convenience which creates an instance of the
GetUserDetailsRequest.Builder
avoiding the need to create one manually viaGetUserDetailsRequest.builder()
- Parameters:
getUserDetailsRequest
- AConsumer
that will call methods onGetUserDetailsRequest.Builder
to create a request.- Returns:
- Result of the GetUserDetails operation returned by the service.
- See Also:
-
getWorkflow
default GetWorkflowResponse getWorkflow(GetWorkflowRequest getWorkflowRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a workflow.
- Parameters:
getWorkflowRequest
-- Returns:
- Result of the GetWorkflow operation returned by the service.
- See Also:
-
getWorkflow
default GetWorkflowResponse getWorkflow(Consumer<GetWorkflowRequest.Builder> getWorkflowRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a workflow.
This is a convenience which creates an instance of the
GetWorkflowRequest.Builder
avoiding the need to create one manually viaGetWorkflowRequest.builder()
- Parameters:
getWorkflowRequest
- AConsumer
that will call methods onGetWorkflowRequest.Builder
to create a request.- Returns:
- Result of the GetWorkflow operation returned by the service.
- See Also:
-
getWorkflowRun
default GetWorkflowRunResponse getWorkflowRun(GetWorkflowRunRequest getWorkflowRunRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a specified run of a workflow.
- Parameters:
getWorkflowRunRequest
-- Returns:
- Result of the GetWorkflowRun operation returned by the service.
- See Also:
-
getWorkflowRun
default GetWorkflowRunResponse getWorkflowRun(Consumer<GetWorkflowRunRequest.Builder> getWorkflowRunRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Returns information about a specified run of a workflow.
This is a convenience which creates an instance of the
GetWorkflowRunRequest.Builder
avoiding the need to create one manually viaGetWorkflowRunRequest.builder()
- Parameters:
getWorkflowRunRequest
- AConsumer
that will call methods onGetWorkflowRunRequest.Builder
to create a request.- Returns:
- Result of the GetWorkflowRun operation returned by the service.
- See Also:
-
listAccessTokens
default ListAccessTokensResponse listAccessTokens(ListAccessTokensRequest listAccessTokensRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your Amazon Web Services Builder ID.
- Parameters:
listAccessTokensRequest
-- Returns:
- Result of the ListAccessTokens operation returned by the service.
- See Also:
-
listAccessTokens
default ListAccessTokensResponse listAccessTokens(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs associated with your Amazon Web Services Builder ID.
This is a convenience which creates an instance of the
ListAccessTokensRequest.Builder
avoiding the need to create one manually viaListAccessTokensRequest.builder()
- Parameters:
listAccessTokensRequest
- AConsumer
that will call methods onListAccessTokensRequest.Builder
to create a request.- Returns:
- Result of the ListAccessTokens operation returned by the service.
- See Also:
-
listAccessTokensPaginator
default ListAccessTokensIterable listAccessTokensPaginator(ListAccessTokensRequest listAccessTokensRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListAccessTokensIterable responses = client.listAccessTokensPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListAccessTokensIterable responses = client .listAccessTokensPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListAccessTokensIterable responses = client.listAccessTokensPaginator(request); responses.iterator().forEachRemaining(....);
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.- Parameters:
listAccessTokensRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccessTokensPaginator
default ListAccessTokensIterable listAccessTokensPaginator(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListAccessTokensIterable responses = client.listAccessTokensPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListAccessTokensIterable responses = client .listAccessTokensPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListAccessTokensIterable responses = client.listAccessTokensPaginator(request); responses.iterator().forEachRemaining(....);
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 viaListAccessTokensRequest.builder()
- Parameters:
listAccessTokensRequest
- AConsumer
that will call methods onListAccessTokensRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDevEnvironmentSessions
default ListDevEnvironmentSessionsResponse listDevEnvironmentSessions(ListDevEnvironmentSessionsRequest listDevEnvironmentSessionsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of active sessions for a Dev Environment in a project.
- Parameters:
listDevEnvironmentSessionsRequest
-- Returns:
- Result of the ListDevEnvironmentSessions operation returned by the service.
- See Also:
-
listDevEnvironmentSessions
default ListDevEnvironmentSessionsResponse listDevEnvironmentSessions(Consumer<ListDevEnvironmentSessionsRequest.Builder> listDevEnvironmentSessionsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of active sessions for a Dev Environment in a project.
This is a convenience which creates an instance of the
ListDevEnvironmentSessionsRequest.Builder
avoiding the need to create one manually viaListDevEnvironmentSessionsRequest.builder()
- Parameters:
listDevEnvironmentSessionsRequest
- AConsumer
that will call methods onListDevEnvironmentSessionsRequest.Builder
to create a request.- Returns:
- Result of the ListDevEnvironmentSessions operation returned by the service.
- See Also:
-
listDevEnvironmentSessionsPaginator
default ListDevEnvironmentSessionsIterable listDevEnvironmentSessionsPaginator(ListDevEnvironmentSessionsRequest listDevEnvironmentSessionsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listDevEnvironmentSessions(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentSessionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentSessionsIterable responses = client.listDevEnvironmentSessionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentSessionsIterable responses = client .listDevEnvironmentSessionsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentSessionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentSessionsIterable responses = client.listDevEnvironmentSessionsPaginator(request); responses.iterator().forEachRemaining(....);
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
listDevEnvironmentSessions(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentSessionsRequest)
operation.- Parameters:
listDevEnvironmentSessionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDevEnvironmentSessionsPaginator
default ListDevEnvironmentSessionsIterable listDevEnvironmentSessionsPaginator(Consumer<ListDevEnvironmentSessionsRequest.Builder> listDevEnvironmentSessionsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listDevEnvironmentSessions(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentSessionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentSessionsIterable responses = client.listDevEnvironmentSessionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentSessionsIterable responses = client .listDevEnvironmentSessionsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentSessionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentSessionsIterable responses = client.listDevEnvironmentSessionsPaginator(request); responses.iterator().forEachRemaining(....);
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
listDevEnvironmentSessions(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentSessionsRequest)
operation.
This is a convenience which creates an instance of the
ListDevEnvironmentSessionsRequest.Builder
avoiding the need to create one manually viaListDevEnvironmentSessionsRequest.builder()
- Parameters:
listDevEnvironmentSessionsRequest
- AConsumer
that will call methods onListDevEnvironmentSessionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDevEnvironments
default ListDevEnvironmentsResponse listDevEnvironments(ListDevEnvironmentsRequest listDevEnvironmentsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of Dev Environments in a project.
- Parameters:
listDevEnvironmentsRequest
-- Returns:
- Result of the ListDevEnvironments operation returned by the service.
- See Also:
-
listDevEnvironments
default ListDevEnvironmentsResponse listDevEnvironments(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves 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 viaListDevEnvironmentsRequest.builder()
- Parameters:
listDevEnvironmentsRequest
- AConsumer
that will call methods onListDevEnvironmentsRequest.Builder
to create a request.- Returns:
- Result of the ListDevEnvironments operation returned by the service.
- See Also:
-
listDevEnvironmentsPaginator
default ListDevEnvironmentsIterable listDevEnvironmentsPaginator(ListDevEnvironmentsRequest listDevEnvironmentsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentsIterable responses = client.listDevEnvironmentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentsIterable responses = client .listDevEnvironmentsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentsIterable responses = client.listDevEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);
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.- Parameters:
listDevEnvironmentsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDevEnvironmentsPaginator
default ListDevEnvironmentsIterable listDevEnvironmentsPaginator(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentsIterable responses = client.listDevEnvironmentsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentsIterable responses = client .listDevEnvironmentsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListDevEnvironmentsIterable responses = client.listDevEnvironmentsPaginator(request); responses.iterator().forEachRemaining(....);
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 viaListDevEnvironmentsRequest.builder()
- Parameters:
listDevEnvironmentsRequest
- AConsumer
that will call methods onListDevEnvironmentsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEventLogs
default ListEventLogsResponse listEventLogs(ListEventLogsRequest listEventLogsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of events that occurred during a specific time in a space. You can use these events to audit user and system activity in a space. For more information, see Monitoring in the Amazon CodeCatalyst User Guide.
ListEventLogs guarantees events for the last 30 days in a given space. You can also view and retrieve a list of management events over the last 90 days for Amazon CodeCatalyst in the CloudTrail console by viewing Event history, or by creating a trail to create and maintain a record of events that extends past 90 days. For more information, see Working with CloudTrail Event History and Working with CloudTrail trails.
- Parameters:
listEventLogsRequest
-- Returns:
- Result of the ListEventLogs operation returned by the service.
- See Also:
-
listEventLogs
default ListEventLogsResponse listEventLogs(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of events that occurred during a specific time in a space. You can use these events to audit user and system activity in a space. For more information, see Monitoring in the Amazon CodeCatalyst User Guide.
ListEventLogs guarantees events for the last 30 days in a given space. You can also view and retrieve a list of management events over the last 90 days for Amazon CodeCatalyst in the CloudTrail console by viewing Event history, or by creating a trail to create and maintain a record of events that extends past 90 days. For more information, see Working with CloudTrail Event History and Working with CloudTrail trails.
This is a convenience which creates an instance of the
ListEventLogsRequest.Builder
avoiding the need to create one manually viaListEventLogsRequest.builder()
- Parameters:
listEventLogsRequest
- AConsumer
that will call methods onListEventLogsRequest.Builder
to create a request.- Returns:
- Result of the ListEventLogs operation returned by the service.
- See Also:
-
listEventLogsPaginator
default ListEventLogsIterable listEventLogsPaginator(ListEventLogsRequest listEventLogsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListEventLogsIterable responses = client.listEventLogsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListEventLogsIterable responses = client .listEventLogsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListEventLogsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListEventLogsIterable responses = client.listEventLogsPaginator(request); responses.iterator().forEachRemaining(....);
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.- Parameters:
listEventLogsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listEventLogsPaginator
default ListEventLogsIterable listEventLogsPaginator(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListEventLogsIterable responses = client.listEventLogsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListEventLogsIterable responses = client .listEventLogsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListEventLogsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListEventLogsIterable responses = client.listEventLogsPaginator(request); responses.iterator().forEachRemaining(....);
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 viaListEventLogsRequest.builder()
- Parameters:
listEventLogsRequest
- AConsumer
that will call methods onListEventLogsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of projects.
- Parameters:
listProjectsRequest
-- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of projects.
This is a convenience which creates an instance of the
ListProjectsRequest.Builder
avoiding the need to create one manually viaListProjectsRequest.builder()
- Parameters:
listProjectsRequest
- AConsumer
that will call methods onListProjectsRequest.Builder
to create a request.- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(ListProjectsRequest listProjectsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListProjectsIterable responses = client .listProjectsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListProjectsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);
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.- Parameters:
listProjectsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListProjectsIterable responses = client .listProjectsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListProjectsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);
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 viaListProjectsRequest.builder()
- Parameters:
listProjectsRequest
- AConsumer
that will call methods onListProjectsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSourceRepositories
default ListSourceRepositoriesResponse listSourceRepositories(ListSourceRepositoriesRequest listSourceRepositoriesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of source repositories in a project.
- Parameters:
listSourceRepositoriesRequest
-- Returns:
- Result of the ListSourceRepositories operation returned by the service.
- See Also:
-
listSourceRepositories
default ListSourceRepositoriesResponse listSourceRepositories(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaListSourceRepositoriesRequest.builder()
- Parameters:
listSourceRepositoriesRequest
- AConsumer
that will call methods onListSourceRepositoriesRequest.Builder
to create a request.- Returns:
- Result of the ListSourceRepositories operation returned by the service.
- See Also:
-
listSourceRepositoriesPaginator
default ListSourceRepositoriesIterable listSourceRepositoriesPaginator(ListSourceRepositoriesRequest listSourceRepositoriesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listSourceRepositories(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoriesIterable responses = client.listSourceRepositoriesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoriesIterable responses = client .listSourceRepositoriesPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoriesIterable responses = client.listSourceRepositoriesPaginator(request); responses.iterator().forEachRemaining(....);
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.- Parameters:
listSourceRepositoriesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSourceRepositoriesPaginator
default ListSourceRepositoriesIterable listSourceRepositoriesPaginator(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listSourceRepositories(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoriesIterable responses = client.listSourceRepositoriesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoriesIterable responses = client .listSourceRepositoriesPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoriesIterable responses = client.listSourceRepositoriesPaginator(request); responses.iterator().forEachRemaining(....);
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 viaListSourceRepositoriesRequest.builder()
- Parameters:
listSourceRepositoriesRequest
- AConsumer
that will call methods onListSourceRepositoriesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSourceRepositoryBranches
default ListSourceRepositoryBranchesResponse listSourceRepositoryBranches(ListSourceRepositoryBranchesRequest listSourceRepositoryBranchesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of branches in a specified source repository.
- Parameters:
listSourceRepositoryBranchesRequest
-- Returns:
- Result of the ListSourceRepositoryBranches operation returned by the service.
- See Also:
-
listSourceRepositoryBranches
default ListSourceRepositoryBranchesResponse listSourceRepositoryBranches(Consumer<ListSourceRepositoryBranchesRequest.Builder> listSourceRepositoryBranchesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaListSourceRepositoryBranchesRequest.builder()
- Parameters:
listSourceRepositoryBranchesRequest
- AConsumer
that will call methods onListSourceRepositoryBranchesRequest.Builder
to create a request.- Returns:
- Result of the ListSourceRepositoryBranches operation returned by the service.
- See Also:
-
listSourceRepositoryBranchesPaginator
default ListSourceRepositoryBranchesIterable listSourceRepositoryBranchesPaginator(ListSourceRepositoryBranchesRequest listSourceRepositoryBranchesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listSourceRepositoryBranches(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoryBranchesIterable responses = client.listSourceRepositoryBranchesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoryBranchesIterable responses = client .listSourceRepositoryBranchesPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoryBranchesIterable responses = client.listSourceRepositoryBranchesPaginator(request); responses.iterator().forEachRemaining(....);
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.- Parameters:
listSourceRepositoryBranchesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSourceRepositoryBranchesPaginator
default ListSourceRepositoryBranchesIterable listSourceRepositoryBranchesPaginator(Consumer<ListSourceRepositoryBranchesRequest.Builder> listSourceRepositoryBranchesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listSourceRepositoryBranches(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoryBranchesIterable responses = client.listSourceRepositoryBranchesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoryBranchesIterable responses = client .listSourceRepositoryBranchesPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoryBranchesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListSourceRepositoryBranchesIterable responses = client.listSourceRepositoryBranchesPaginator(request); responses.iterator().forEachRemaining(....);
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 viaListSourceRepositoryBranchesRequest.builder()
- Parameters:
listSourceRepositoryBranchesRequest
- AConsumer
that will call methods onListSourceRepositoryBranchesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSpaces
default ListSpacesResponse listSpaces(ListSpacesRequest listSpacesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of spaces.
- Parameters:
listSpacesRequest
-- Returns:
- Result of the ListSpaces operation returned by the service.
- See Also:
-
listSpaces
default ListSpacesResponse listSpaces(Consumer<ListSpacesRequest.Builder> listSpacesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of spaces.
This is a convenience which creates an instance of the
ListSpacesRequest.Builder
avoiding the need to create one manually viaListSpacesRequest.builder()
- Parameters:
listSpacesRequest
- AConsumer
that will call methods onListSpacesRequest.Builder
to create a request.- Returns:
- Result of the ListSpaces operation returned by the service.
- See Also:
-
listSpacesPaginator
default ListSpacesIterable listSpacesPaginator(ListSpacesRequest listSpacesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListSpacesIterable responses = client.listSpacesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListSpacesIterable responses = client.listSpacesPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListSpacesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListSpacesIterable responses = client.listSpacesPaginator(request); responses.iterator().forEachRemaining(....);
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.- Parameters:
listSpacesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSpacesPaginator
default ListSpacesIterable listSpacesPaginator(Consumer<ListSpacesRequest.Builder> listSpacesRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListSpacesIterable responses = client.listSpacesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListSpacesIterable responses = client.listSpacesPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListSpacesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListSpacesIterable responses = client.listSpacesPaginator(request); responses.iterator().forEachRemaining(....);
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 viaListSpacesRequest.builder()
- Parameters:
listSpacesRequest
- AConsumer
that will call methods onListSpacesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkflowRuns
default ListWorkflowRunsResponse listWorkflowRuns(ListWorkflowRunsRequest listWorkflowRunsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of workflow runs of a specified workflow.
- Parameters:
listWorkflowRunsRequest
-- Returns:
- Result of the ListWorkflowRuns operation returned by the service.
- See Also:
-
listWorkflowRuns
default ListWorkflowRunsResponse listWorkflowRuns(Consumer<ListWorkflowRunsRequest.Builder> listWorkflowRunsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of workflow runs of a specified workflow.
This is a convenience which creates an instance of the
ListWorkflowRunsRequest.Builder
avoiding the need to create one manually viaListWorkflowRunsRequest.builder()
- Parameters:
listWorkflowRunsRequest
- AConsumer
that will call methods onListWorkflowRunsRequest.Builder
to create a request.- Returns:
- Result of the ListWorkflowRuns operation returned by the service.
- See Also:
-
listWorkflowRunsPaginator
default ListWorkflowRunsIterable listWorkflowRunsPaginator(ListWorkflowRunsRequest listWorkflowRunsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listWorkflowRuns(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowRunsIterable responses = client.listWorkflowRunsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowRunsIterable responses = client .listWorkflowRunsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowRunsIterable responses = client.listWorkflowRunsPaginator(request); responses.iterator().forEachRemaining(....);
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
listWorkflowRuns(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsRequest)
operation.- Parameters:
listWorkflowRunsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkflowRunsPaginator
default ListWorkflowRunsIterable listWorkflowRunsPaginator(Consumer<ListWorkflowRunsRequest.Builder> listWorkflowRunsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listWorkflowRuns(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowRunsIterable responses = client.listWorkflowRunsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowRunsIterable responses = client .listWorkflowRunsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowRunsIterable responses = client.listWorkflowRunsPaginator(request); responses.iterator().forEachRemaining(....);
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
listWorkflowRuns(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsRequest)
operation.
This is a convenience which creates an instance of the
ListWorkflowRunsRequest.Builder
avoiding the need to create one manually viaListWorkflowRunsRequest.builder()
- Parameters:
listWorkflowRunsRequest
- AConsumer
that will call methods onListWorkflowRunsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkflows
default ListWorkflowsResponse listWorkflows(ListWorkflowsRequest listWorkflowsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of workflows in a specified project.
- Parameters:
listWorkflowsRequest
-- Returns:
- Result of the ListWorkflows operation returned by the service.
- See Also:
-
listWorkflows
default ListWorkflowsResponse listWorkflows(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Retrieves a list of workflows in a specified project.
This is a convenience which creates an instance of the
ListWorkflowsRequest.Builder
avoiding the need to create one manually viaListWorkflowsRequest.builder()
- Parameters:
listWorkflowsRequest
- AConsumer
that will call methods onListWorkflowsRequest.Builder
to create a request.- Returns:
- Result of the ListWorkflows operation returned by the service.
- See Also:
-
listWorkflowsPaginator
default ListWorkflowsIterable listWorkflowsPaginator(ListWorkflowsRequest listWorkflowsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listWorkflows(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowsIterable responses = client .listWorkflowsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListWorkflowsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request); responses.iterator().forEachRemaining(....);
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
listWorkflows(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowsRequest)
operation.- Parameters:
listWorkflowsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listWorkflowsPaginator
default ListWorkflowsIterable listWorkflowsPaginator(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException This is a variant of
listWorkflows(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowsIterable responses = client .listWorkflowsPaginator(request); for (software.amazon.awssdk.services.codecatalyst.model.ListWorkflowsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.codecatalyst.paginators.ListWorkflowsIterable responses = client.listWorkflowsPaginator(request); responses.iterator().forEachRemaining(....);
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
listWorkflows(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowsRequest)
operation.
This is a convenience which creates an instance of the
ListWorkflowsRequest.Builder
avoiding the need to create one manually viaListWorkflowsRequest.builder()
- Parameters:
listWorkflowsRequest
- AConsumer
that will call methods onListWorkflowsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
startDevEnvironment
default StartDevEnvironmentResponse startDevEnvironment(StartDevEnvironmentRequest startDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Starts a specified Dev Environment and puts it into an active state.
- Parameters:
startDevEnvironmentRequest
-- Returns:
- Result of the StartDevEnvironment operation returned by the service.
- See Also:
-
startDevEnvironment
default StartDevEnvironmentResponse startDevEnvironment(Consumer<StartDevEnvironmentRequest.Builder> startDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaStartDevEnvironmentRequest.builder()
- Parameters:
startDevEnvironmentRequest
- AConsumer
that will call methods onStartDevEnvironmentRequest.Builder
to create a request.- Returns:
- Result of the StartDevEnvironment operation returned by the service.
- See Also:
-
startDevEnvironmentSession
default StartDevEnvironmentSessionResponse startDevEnvironmentSession(StartDevEnvironmentSessionRequest startDevEnvironmentSessionRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Starts a session for a specified Dev Environment.
- Parameters:
startDevEnvironmentSessionRequest
-- Returns:
- Result of the StartDevEnvironmentSession operation returned by the service.
- See Also:
-
startDevEnvironmentSession
default StartDevEnvironmentSessionResponse startDevEnvironmentSession(Consumer<StartDevEnvironmentSessionRequest.Builder> startDevEnvironmentSessionRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaStartDevEnvironmentSessionRequest.builder()
- Parameters:
startDevEnvironmentSessionRequest
- AConsumer
that will call methods onStartDevEnvironmentSessionRequest.Builder
to create a request.- Returns:
- Result of the StartDevEnvironmentSession operation returned by the service.
- See Also:
-
startWorkflowRun
default StartWorkflowRunResponse startWorkflowRun(StartWorkflowRunRequest startWorkflowRunRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Begins a run of a specified workflow.
- Parameters:
startWorkflowRunRequest
-- Returns:
- Result of the StartWorkflowRun operation returned by the service.
- See Also:
-
startWorkflowRun
default StartWorkflowRunResponse startWorkflowRun(Consumer<StartWorkflowRunRequest.Builder> startWorkflowRunRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Begins a run of a specified workflow.
This is a convenience which creates an instance of the
StartWorkflowRunRequest.Builder
avoiding the need to create one manually viaStartWorkflowRunRequest.builder()
- Parameters:
startWorkflowRunRequest
- AConsumer
that will call methods onStartWorkflowRunRequest.Builder
to create a request.- Returns:
- Result of the StartWorkflowRun operation returned by the service.
- See Also:
-
stopDevEnvironment
default StopDevEnvironmentResponse stopDevEnvironment(StopDevEnvironmentRequest stopDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes.
- Parameters:
stopDevEnvironmentRequest
-- Returns:
- Result of the StopDevEnvironment operation returned by the service.
- See Also:
-
stopDevEnvironment
default StopDevEnvironmentResponse stopDevEnvironment(Consumer<StopDevEnvironmentRequest.Builder> stopDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaStopDevEnvironmentRequest.builder()
- Parameters:
stopDevEnvironmentRequest
- AConsumer
that will call methods onStopDevEnvironmentRequest.Builder
to create a request.- Returns:
- Result of the StopDevEnvironment operation returned by the service.
- See Also:
-
stopDevEnvironmentSession
default StopDevEnvironmentSessionResponse stopDevEnvironmentSession(StopDevEnvironmentSessionRequest stopDevEnvironmentSessionRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Stops a session for a specified Dev Environment.
- Parameters:
stopDevEnvironmentSessionRequest
-- Returns:
- Result of the StopDevEnvironmentSession operation returned by the service.
- See Also:
-
stopDevEnvironmentSession
default StopDevEnvironmentSessionResponse stopDevEnvironmentSession(Consumer<StopDevEnvironmentSessionRequest.Builder> stopDevEnvironmentSessionRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Stops a session for a specified Dev Environment.
This is a convenience which creates an instance of the
StopDevEnvironmentSessionRequest.Builder
avoiding the need to create one manually viaStopDevEnvironmentSessionRequest.builder()
- Parameters:
stopDevEnvironmentSessionRequest
- AConsumer
that will call methods onStopDevEnvironmentSessionRequest.Builder
to create a request.- Returns:
- Result of the StopDevEnvironmentSession operation returned by the service.
- See Also:
-
updateDevEnvironment
default UpdateDevEnvironmentResponse updateDevEnvironment(UpdateDevEnvironmentRequest updateDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Changes one or more values for a Dev Environment. Updating certain values of the Dev Environment will cause a restart.
- Parameters:
updateDevEnvironmentRequest
-- Returns:
- Result of the UpdateDevEnvironment operation returned by the service.
- See Also:
-
updateDevEnvironment
default UpdateDevEnvironmentResponse updateDevEnvironment(Consumer<UpdateDevEnvironmentRequest.Builder> updateDevEnvironmentRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaUpdateDevEnvironmentRequest.builder()
- Parameters:
updateDevEnvironmentRequest
- AConsumer
that will call methods onUpdateDevEnvironmentRequest.Builder
to create a request.- Returns:
- Result of the UpdateDevEnvironment operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Changes one or more values for a project.
- Parameters:
updateProjectRequest
-- Returns:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Changes one or more values for a project.
This is a convenience which creates an instance of the
UpdateProjectRequest.Builder
avoiding the need to create one manually viaUpdateProjectRequest.builder()
- Parameters:
updateProjectRequest
- AConsumer
that will call methods onUpdateProjectRequest.Builder
to create a request.- Returns:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateSpace
default UpdateSpaceResponse updateSpace(UpdateSpaceRequest updateSpaceRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Changes one or more values for a space.
- Parameters:
updateSpaceRequest
-- Returns:
- Result of the UpdateSpace operation returned by the service.
- See Also:
-
updateSpace
default UpdateSpaceResponse updateSpace(Consumer<UpdateSpaceRequest.Builder> updateSpaceRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException Changes one or more values for a space.
This is a convenience which creates an instance of the
UpdateSpaceRequest.Builder
avoiding the need to create one manually viaUpdateSpaceRequest.builder()
- Parameters:
updateSpaceRequest
- AConsumer
that will call methods onUpdateSpaceRequest.Builder
to create a request.- Returns:
- Result of the UpdateSpace operation returned by the service.
- See Also:
-
verifySession
default VerifySessionResponse verifySession(VerifySessionRequest verifySessionRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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.
- Parameters:
verifySessionRequest
-- Returns:
- Result of the VerifySession operation returned by the service.
- See Also:
-
verifySession
default VerifySessionResponse verifySession(Consumer<VerifySessionRequest.Builder> verifySessionRequest) throws ThrottlingException, ConflictException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, CodeCatalystException 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 viaVerifySessionRequest.builder()
- Parameters:
verifySessionRequest
- AConsumer
that will call methods onVerifySessionRequest.Builder
to create a request.- Returns:
- Result of the VerifySession operation returned by the service.
- See Also:
-
create
Create aCodeCatalystClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aCodeCatalystClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-