Interface CodeCatalystClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface CodeCatalystClient extends AwsClient
Service client for accessing Amazon CodeCatalyst. This can be created using the staticbuilder()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
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ThrottlingException- The request was denied due to request throttling.ConflictException- The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.ValidationException- The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.ServiceQuotaExceededException- The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.ResourceNotFoundException- The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.AccessDeniedException- The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.CodeCatalystException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static CodeCatalystClient create()
Create aCodeCatalystClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static CodeCatalystClientBuilder builder()
Create a builder that can be used to configure and create aCodeCatalystClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default CodeCatalystServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-