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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic CodeCatalystClientBuilderbuilder()Create a builder that can be used to configure and create aCodeCatalystClient.static CodeCatalystClientcreate()Create aCodeCatalystClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAccessTokenResponsecreateAccessToken(Consumer<CreateAccessTokenRequest.Builder> createAccessTokenRequest) Creates a personal access token (PAT) for the current user.default CreateAccessTokenResponsecreateAccessToken(CreateAccessTokenRequest createAccessTokenRequest) Creates a personal access token (PAT) for the current user.default CreateDevEnvironmentResponsecreateDevEnvironment(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 CreateDevEnvironmentResponsecreateDevEnvironment(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 CreateProjectResponsecreateProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a project in a specified space.default CreateProjectResponsecreateProject(CreateProjectRequest createProjectRequest) Creates a project in a specified space.default CreateSourceRepositoryResponsecreateSourceRepository(Consumer<CreateSourceRepositoryRequest.Builder> createSourceRepositoryRequest) Creates an empty Git-based source repository in a specified project.default CreateSourceRepositoryResponsecreateSourceRepository(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 DeleteAccessTokenResponsedeleteAccessToken(Consumer<DeleteAccessTokenRequest.Builder> deleteAccessTokenRequest) Deletes a specified personal access token (PAT).default DeleteAccessTokenResponsedeleteAccessToken(DeleteAccessTokenRequest deleteAccessTokenRequest) Deletes a specified personal access token (PAT).default DeleteDevEnvironmentResponsedeleteDevEnvironment(Consumer<DeleteDevEnvironmentRequest.Builder> deleteDevEnvironmentRequest) Deletes a Dev Environment.default DeleteDevEnvironmentResponsedeleteDevEnvironment(DeleteDevEnvironmentRequest deleteDevEnvironmentRequest) Deletes a Dev Environment.default DeleteProjectResponsedeleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes a project in a space.default DeleteProjectResponsedeleteProject(DeleteProjectRequest deleteProjectRequest) Deletes a project in a space.default DeleteSourceRepositoryResponsedeleteSourceRepository(Consumer<DeleteSourceRepositoryRequest.Builder> deleteSourceRepositoryRequest) Deletes a source repository in Amazon CodeCatalyst.default DeleteSourceRepositoryResponsedeleteSourceRepository(DeleteSourceRepositoryRequest deleteSourceRepositoryRequest) Deletes a source repository in Amazon CodeCatalyst.default DeleteSpaceResponsedeleteSpace(Consumer<DeleteSpaceRequest.Builder> deleteSpaceRequest) Deletes a space.default DeleteSpaceResponsedeleteSpace(DeleteSpaceRequest deleteSpaceRequest) Deletes a space.default GetDevEnvironmentResponsegetDevEnvironment(Consumer<GetDevEnvironmentRequest.Builder> getDevEnvironmentRequest) Returns information about a Dev Environment for a source repository in a project.default GetDevEnvironmentResponsegetDevEnvironment(GetDevEnvironmentRequest getDevEnvironmentRequest) Returns information about a Dev Environment for a source repository in a project.default GetProjectResponsegetProject(Consumer<GetProjectRequest.Builder> getProjectRequest) Returns information about a project.default GetProjectResponsegetProject(GetProjectRequest getProjectRequest) Returns information about a project.default GetSourceRepositoryResponsegetSourceRepository(Consumer<GetSourceRepositoryRequest.Builder> getSourceRepositoryRequest) Returns information about a source repository.default GetSourceRepositoryResponsegetSourceRepository(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 GetSpaceResponsegetSpace(Consumer<GetSpaceRequest.Builder> getSpaceRequest) Returns information about an space.default GetSpaceResponsegetSpace(GetSpaceRequest getSpaceRequest) Returns information about an space.default GetSubscriptionResponsegetSubscription(Consumer<GetSubscriptionRequest.Builder> getSubscriptionRequest) Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.default GetSubscriptionResponsegetSubscription(GetSubscriptionRequest getSubscriptionRequest) Returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.default GetUserDetailsResponsegetUserDetails(Consumer<GetUserDetailsRequest.Builder> getUserDetailsRequest) Returns information about a user.default GetUserDetailsResponsegetUserDetails(GetUserDetailsRequest getUserDetailsRequest) Returns information about a user.default GetWorkflowResponsegetWorkflow(Consumer<GetWorkflowRequest.Builder> getWorkflowRequest) Returns information about a workflow.default GetWorkflowResponsegetWorkflow(GetWorkflowRequest getWorkflowRequest) Returns information about a workflow.default GetWorkflowRunResponsegetWorkflowRun(Consumer<GetWorkflowRunRequest.Builder> getWorkflowRunRequest) Returns information about a specified run of a workflow.default GetWorkflowRunResponsegetWorkflowRun(GetWorkflowRunRequest getWorkflowRunRequest) Returns information about a specified run of a workflow.default ListAccessTokensResponselistAccessTokens(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) Lists all personal access tokens (PATs) associated with the user who calls the API.default ListAccessTokensResponselistAccessTokens(ListAccessTokensRequest listAccessTokensRequest) Lists all personal access tokens (PATs) associated with the user who calls the API.default ListAccessTokensIterablelistAccessTokensPaginator(Consumer<ListAccessTokensRequest.Builder> listAccessTokensRequest) This is a variant oflistAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest)operation.default ListAccessTokensIterablelistAccessTokensPaginator(ListAccessTokensRequest listAccessTokensRequest) This is a variant oflistAccessTokens(software.amazon.awssdk.services.codecatalyst.model.ListAccessTokensRequest)operation.default ListDevEnvironmentsResponselistDevEnvironments(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest) Retrieves a list of Dev Environments in a project.default ListDevEnvironmentsResponselistDevEnvironments(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 ListDevEnvironmentsIterablelistDevEnvironmentsPaginator(Consumer<ListDevEnvironmentsRequest.Builder> listDevEnvironmentsRequest) This is a variant oflistDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)operation.default ListDevEnvironmentsIterablelistDevEnvironmentsPaginator(ListDevEnvironmentsRequest listDevEnvironmentsRequest) This is a variant oflistDevEnvironments(software.amazon.awssdk.services.codecatalyst.model.ListDevEnvironmentsRequest)operation.default ListEventLogsResponselistEventLogs(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest) Retrieves a list of events that occurred during a specific time in a space.default ListEventLogsResponselistEventLogs(ListEventLogsRequest listEventLogsRequest) Retrieves a list of events that occurred during a specific time in a space.default ListEventLogsIterablelistEventLogsPaginator(Consumer<ListEventLogsRequest.Builder> listEventLogsRequest) This is a variant oflistEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest)operation.default ListEventLogsIterablelistEventLogsPaginator(ListEventLogsRequest listEventLogsRequest) This is a variant oflistEventLogs(software.amazon.awssdk.services.codecatalyst.model.ListEventLogsRequest)operation.default ListProjectsResponselistProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Retrieves a list of projects.default ListProjectsResponselistProjects(ListProjectsRequest listProjectsRequest) Retrieves a list of projects.default ListProjectsIterablelistProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest)operation.default ListProjectsIterablelistProjectsPaginator(ListProjectsRequest listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.codecatalyst.model.ListProjectsRequest)operation.default ListSourceRepositoriesResponselistSourceRepositories(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest) Retrieves a list of source repositories in a project.default ListSourceRepositoriesResponselistSourceRepositories(ListSourceRepositoriesRequest listSourceRepositoriesRequest) Retrieves a list of source repositories in a project.default ListSourceRepositoriesIterablelistSourceRepositoriesPaginator(Consumer<ListSourceRepositoriesRequest.Builder> listSourceRepositoriesRequest) This is a variant oflistSourceRepositories(software.amazon.awssdk.services.codecatalyst.model.ListSourceRepositoriesRequest)operation.default ListSourceRepositoriesIterablelistSourceRepositoriesPaginator(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 ListSpacesResponselistSpaces(Consumer<ListSpacesRequest.Builder> listSpacesRequest) Retrieves a list of spaces.default ListSpacesResponselistSpaces(ListSpacesRequest listSpacesRequest) Retrieves a list of spaces.default ListSpacesIterablelistSpacesPaginator(Consumer<ListSpacesRequest.Builder> listSpacesRequest) This is a variant oflistSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest)operation.default ListSpacesIterablelistSpacesPaginator(ListSpacesRequest listSpacesRequest) This is a variant oflistSpaces(software.amazon.awssdk.services.codecatalyst.model.ListSpacesRequest)operation.default ListWorkflowRunsResponselistWorkflowRuns(Consumer<ListWorkflowRunsRequest.Builder> listWorkflowRunsRequest) Retrieves a list of workflow runs of a specified workflow.default ListWorkflowRunsResponselistWorkflowRuns(ListWorkflowRunsRequest listWorkflowRunsRequest) Retrieves a list of workflow runs of a specified workflow.default ListWorkflowRunsIterablelistWorkflowRunsPaginator(Consumer<ListWorkflowRunsRequest.Builder> listWorkflowRunsRequest) This is a variant oflistWorkflowRuns(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsRequest)operation.default ListWorkflowRunsIterablelistWorkflowRunsPaginator(ListWorkflowRunsRequest listWorkflowRunsRequest) This is a variant oflistWorkflowRuns(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowRunsRequest)operation.default ListWorkflowsResponselistWorkflows(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) Retrieves a list of workflows in a specified project.default ListWorkflowsResponselistWorkflows(ListWorkflowsRequest listWorkflowsRequest) Retrieves a list of workflows in a specified project.default ListWorkflowsIterablelistWorkflowsPaginator(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) This is a variant oflistWorkflows(software.amazon.awssdk.services.codecatalyst.model.ListWorkflowsRequest)operation.default ListWorkflowsIterablelistWorkflowsPaginator(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 ServiceMetadatadefault StartDevEnvironmentResponsestartDevEnvironment(Consumer<StartDevEnvironmentRequest.Builder> startDevEnvironmentRequest) Starts a specified Dev Environment and puts it into an active state.default StartDevEnvironmentResponsestartDevEnvironment(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 StartWorkflowRunResponsestartWorkflowRun(Consumer<StartWorkflowRunRequest.Builder> startWorkflowRunRequest) Begins a run of a specified workflow.default StartWorkflowRunResponsestartWorkflowRun(StartWorkflowRunRequest startWorkflowRunRequest) Begins a run of a specified workflow.default StopDevEnvironmentResponsestopDevEnvironment(Consumer<StopDevEnvironmentRequest.Builder> stopDevEnvironmentRequest) Pauses a specified Dev Environment and places it in a non-running state.default StopDevEnvironmentResponsestopDevEnvironment(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 UpdateDevEnvironmentResponseupdateDevEnvironment(Consumer<UpdateDevEnvironmentRequest.Builder> updateDevEnvironmentRequest) Changes one or more values for a Dev Environment.default UpdateDevEnvironmentResponseupdateDevEnvironment(UpdateDevEnvironmentRequest updateDevEnvironmentRequest) Changes one or more values for a Dev Environment.default UpdateProjectResponseupdateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Changes one or more values for a project.default UpdateProjectResponseupdateProject(UpdateProjectRequest updateProjectRequest) Changes one or more values for a project.default UpdateSpaceResponseupdateSpace(Consumer<UpdateSpaceRequest.Builder> updateSpaceRequest) Changes one or more values for a space.default UpdateSpaceResponseupdateSpace(UpdateSpaceRequest updateSpaceRequest) Changes one or more values for a space.default VerifySessionResponseverifySession(Consumer<VerifySessionRequest.Builder> verifySessionRequest) Verifies whether the calling user has a valid Amazon CodeCatalyst login and session.default VerifySessionResponseverifySession(VerifySessionRequest verifySessionRequest) Verifies whether the calling user has a valid Amazon CodeCatalyst login and session.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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.Builderavoiding the need to create one manually viaCreateAccessTokenRequest.builder()- Parameters:
createAccessTokenRequest- AConsumerthat will call methods onCreateAccessTokenRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateDevEnvironmentRequest.builder()- Parameters:
createDevEnvironmentRequest- AConsumerthat will call methods onCreateDevEnvironmentRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateProjectRequest.builder()- Parameters:
createProjectRequest- AConsumerthat will call methods onCreateProjectRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSourceRepositoryRequest.builder()- Parameters:
createSourceRepositoryRequest- AConsumerthat will call methods onCreateSourceRepositoryRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSourceRepositoryBranchRequest.builder()- Parameters:
createSourceRepositoryBranchRequest- AConsumerthat will call methods onCreateSourceRepositoryBranchRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteAccessTokenRequest.builder()- Parameters:
deleteAccessTokenRequest- AConsumerthat will call methods onDeleteAccessTokenRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteDevEnvironmentRequest.builder()- Parameters:
deleteDevEnvironmentRequest- AConsumerthat will call methods onDeleteDevEnvironmentRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteProjectRequest.builder()- Parameters:
deleteProjectRequest- AConsumerthat will call methods onDeleteProjectRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSourceRepositoryRequest.builder()- Parameters:
deleteSourceRepositoryRequest- AConsumerthat will call methods onDeleteSourceRepositoryRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteSpaceRequest.builder()- Parameters:
deleteSpaceRequest- AConsumerthat will call methods onDeleteSpaceRequest.Builderto 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.Builderavoiding the need to create one manually viaGetDevEnvironmentRequest.builder()- Parameters:
getDevEnvironmentRequest- AConsumerthat will call methods onGetDevEnvironmentRequest.Builderto 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.Builderavoiding the need to create one manually viaGetProjectRequest.builder()- Parameters:
getProjectRequest- AConsumerthat will call methods onGetProjectRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSourceRepositoryRequest.builder()- Parameters:
getSourceRepositoryRequest- AConsumerthat will call methods onGetSourceRepositoryRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSourceRepositoryCloneUrlsRequest.builder()- Parameters:
getSourceRepositoryCloneUrlsRequest- AConsumerthat will call methods onGetSourceRepositoryCloneUrlsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSpaceRequest.builder()- Parameters:
getSpaceRequest- AConsumerthat will call methods onGetSpaceRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSubscriptionRequest.builder()- Parameters:
getSubscriptionRequest- AConsumerthat will call methods onGetSubscriptionRequest.Builderto 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.Builderavoiding the need to create one manually viaGetUserDetailsRequest.builder()- Parameters:
getUserDetailsRequest- AConsumerthat will call methods onGetUserDetailsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetWorkflowRequest.builder()- Parameters:
getWorkflowRequest- AConsumerthat will call methods onGetWorkflowRequest.Builderto 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.Builderavoiding the need to create one manually viaGetWorkflowRunRequest.builder()- Parameters:
getWorkflowRunRequest- AConsumerthat will call methods onGetWorkflowRunRequest.Builderto 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.Builderavoiding the need to create one manually viaListAccessTokensRequest.builder()- Parameters:
listAccessTokensRequest- AConsumerthat will call methods onListAccessTokensRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListAccessTokensRequest.builder()- Parameters:
listAccessTokensRequest- AConsumerthat will call methods onListAccessTokensRequest.Builderto 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.Builderavoiding the need to create one manually viaListDevEnvironmentSessionsRequest.builder()- Parameters:
listDevEnvironmentSessionsRequest- AConsumerthat will call methods onListDevEnvironmentSessionsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListDevEnvironmentSessionsRequest.builder()- Parameters:
listDevEnvironmentSessionsRequest- AConsumerthat will call methods onListDevEnvironmentSessionsRequest.Builderto 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.Builderavoiding the need to create one manually viaListDevEnvironmentsRequest.builder()- Parameters:
listDevEnvironmentsRequest- AConsumerthat will call methods onListDevEnvironmentsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListDevEnvironmentsRequest.builder()- Parameters:
listDevEnvironmentsRequest- AConsumerthat will call methods onListDevEnvironmentsRequest.Builderto 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.Builderavoiding the need to create one manually viaListEventLogsRequest.builder()- Parameters:
listEventLogsRequest- AConsumerthat will call methods onListEventLogsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListEventLogsRequest.builder()- Parameters:
listEventLogsRequest- AConsumerthat will call methods onListEventLogsRequest.Builderto 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.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto 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.Builderavoiding the need to create one manually viaListSourceRepositoriesRequest.builder()- Parameters:
listSourceRepositoriesRequest- AConsumerthat will call methods onListSourceRepositoriesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSourceRepositoriesRequest.builder()- Parameters:
listSourceRepositoriesRequest- AConsumerthat will call methods onListSourceRepositoriesRequest.Builderto 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.Builderavoiding the need to create one manually viaListSourceRepositoryBranchesRequest.builder()- Parameters:
listSourceRepositoryBranchesRequest- AConsumerthat will call methods onListSourceRepositoryBranchesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSourceRepositoryBranchesRequest.builder()- Parameters:
listSourceRepositoryBranchesRequest- AConsumerthat will call methods onListSourceRepositoryBranchesRequest.Builderto 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.Builderavoiding the need to create one manually viaListSpacesRequest.builder()- Parameters:
listSpacesRequest- AConsumerthat will call methods onListSpacesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSpacesRequest.builder()- Parameters:
listSpacesRequest- AConsumerthat will call methods onListSpacesRequest.Builderto 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.Builderavoiding the need to create one manually viaListWorkflowRunsRequest.builder()- Parameters:
listWorkflowRunsRequest- AConsumerthat will call methods onListWorkflowRunsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListWorkflowRunsRequest.builder()- Parameters:
listWorkflowRunsRequest- AConsumerthat will call methods onListWorkflowRunsRequest.Builderto 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.Builderavoiding the need to create one manually viaListWorkflowsRequest.builder()- Parameters:
listWorkflowsRequest- AConsumerthat will call methods onListWorkflowsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListWorkflowsRequest.builder()- Parameters:
listWorkflowsRequest- AConsumerthat will call methods onListWorkflowsRequest.Builderto 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.Builderavoiding the need to create one manually viaStartDevEnvironmentRequest.builder()- Parameters:
startDevEnvironmentRequest- AConsumerthat will call methods onStartDevEnvironmentRequest.Builderto 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.Builderavoiding the need to create one manually viaStartDevEnvironmentSessionRequest.builder()- Parameters:
startDevEnvironmentSessionRequest- AConsumerthat will call methods onStartDevEnvironmentSessionRequest.Builderto 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.Builderavoiding the need to create one manually viaStartWorkflowRunRequest.builder()- Parameters:
startWorkflowRunRequest- AConsumerthat will call methods onStartWorkflowRunRequest.Builderto 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.Builderavoiding the need to create one manually viaStopDevEnvironmentRequest.builder()- Parameters:
stopDevEnvironmentRequest- AConsumerthat will call methods onStopDevEnvironmentRequest.Builderto 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.Builderavoiding the need to create one manually viaStopDevEnvironmentSessionRequest.builder()- Parameters:
stopDevEnvironmentSessionRequest- AConsumerthat will call methods onStopDevEnvironmentSessionRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateDevEnvironmentRequest.builder()- Parameters:
updateDevEnvironmentRequest- AConsumerthat will call methods onUpdateDevEnvironmentRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateProjectRequest.builder()- Parameters:
updateProjectRequest- AConsumerthat will call methods onUpdateProjectRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSpaceRequest.builder()- Parameters:
updateSpaceRequest- AConsumerthat will call methods onUpdateSpaceRequest.Builderto 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.Builderavoiding the need to create one manually viaVerifySessionRequest.builder()- Parameters:
verifySessionRequest- AConsumerthat will call methods onVerifySessionRequest.Builderto create a request.- Returns:
- Result of the VerifySession operation returned by the service.
- See Also:
-
create
Create aCodeCatalystClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aCodeCatalystClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-