Interface DevOpsAgentAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
AWS DevOps Agent is your always-available operations teammate. It resolves and proactively prevents incidents, optimizes application reliability and performance, and handles on-demand SRE tasks across AWS, multicloud, and on-premises environments. AWS DevOps Agent investigates incidents as an experienced DevOps engineer would. It learns your applications and their relationships. It works with your observability tools, runbooks, code repositories, and CI/CD pipelines. The agent correlates telemetry, code, and deployment data across all of them.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionassociateService(Consumer<AssociateServiceRequest.Builder> associateServiceRequest) Adds a specific service association to an AgentSpace.associateService(AssociateServiceRequest associateServiceRequest) Adds a specific service association to an AgentSpace.builder()Create a builder that can be used to configure and create aDevOpsAgentAsyncClient.static DevOpsAgentAsyncClientcreate()Create aDevOpsAgentAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createAgentSpace(Consumer<CreateAgentSpaceRequest.Builder> createAgentSpaceRequest) Creates a new AgentSpace with the specified name and description.createAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest) Creates a new AgentSpace with the specified name and description.default CompletableFuture<CreateAssetResponse> createAsset(Consumer<CreateAssetRequest.Builder> createAssetRequest) Creates a new asset in the specified agent spacedefault CompletableFuture<CreateAssetResponse> createAsset(CreateAssetRequest createAssetRequest) Creates a new asset in the specified agent spacedefault CompletableFuture<CreateAssetFileResponse> createAssetFile(Consumer<CreateAssetFileRequest.Builder> createAssetFileRequest) Creates a file in an assetdefault CompletableFuture<CreateAssetFileResponse> createAssetFile(CreateAssetFileRequest createAssetFileRequest) Creates a file in an assetcreateBacklogTask(Consumer<CreateBacklogTaskRequest.Builder> createBacklogTaskRequest) Creates a new backlog task in the specified agent spacecreateBacklogTask(CreateBacklogTaskRequest createBacklogTaskRequest) Creates a new backlog task in the specified agent spacedefault CompletableFuture<CreateChatResponse> createChat(Consumer<CreateChatRequest.Builder> createChatRequest) Creates a new chat execution in the specified agent spacedefault CompletableFuture<CreateChatResponse> createChat(CreateChatRequest createChatRequest) Creates a new chat execution in the specified agent spacecreatePrivateConnection(Consumer<CreatePrivateConnectionRequest.Builder> createPrivateConnectionRequest) Creates a Private Connection to a target resource.createPrivateConnection(CreatePrivateConnectionRequest createPrivateConnectionRequest) Creates a Private Connection to a target resource.deleteAgentSpace(Consumer<DeleteAgentSpaceRequest.Builder> deleteAgentSpaceRequest) Deletes an AgentSpace.deleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest) Deletes an AgentSpace.default CompletableFuture<DeleteAssetResponse> deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) Deletes an asset and all its files from the specified agent spacedefault CompletableFuture<DeleteAssetResponse> deleteAsset(DeleteAssetRequest deleteAssetRequest) Deletes an asset and all its files from the specified agent spacedefault CompletableFuture<DeleteAssetFileResponse> deleteAssetFile(Consumer<DeleteAssetFileRequest.Builder> deleteAssetFileRequest) Deletes a file from an assetdefault CompletableFuture<DeleteAssetFileResponse> deleteAssetFile(DeleteAssetFileRequest deleteAssetFileRequest) Deletes a file from an assetdeletePrivateConnection(Consumer<DeletePrivateConnectionRequest.Builder> deletePrivateConnectionRequest) Deletes a Private Connection.deletePrivateConnection(DeletePrivateConnectionRequest deletePrivateConnectionRequest) Deletes a Private Connection.deregisterService(Consumer<DeregisterServiceRequest.Builder> deregisterServiceRequest) Deregister a servicederegisterService(DeregisterServiceRequest deregisterServiceRequest) Deregister a servicedescribePrivateConnection(Consumer<DescribePrivateConnectionRequest.Builder> describePrivateConnectionRequest) Retrieves details of an existing Private Connection.describePrivateConnection(DescribePrivateConnectionRequest describePrivateConnectionRequest) Retrieves details of an existing Private Connection.disableOperatorApp(Consumer<DisableOperatorAppRequest.Builder> disableOperatorAppRequest) Disable the Operator App for the specified AgentSpacedisableOperatorApp(DisableOperatorAppRequest disableOperatorAppRequest) Disable the Operator App for the specified AgentSpacedisassociateService(Consumer<DisassociateServiceRequest.Builder> disassociateServiceRequest) Deletes a specific service association from an AgentSpace.disassociateService(DisassociateServiceRequest disassociateServiceRequest) Deletes a specific service association from an AgentSpace.enableOperatorApp(Consumer<EnableOperatorAppRequest.Builder> enableOperatorAppRequest) Enable the Operator App to access the given AgentSpaceenableOperatorApp(EnableOperatorAppRequest enableOperatorAppRequest) Enable the Operator App to access the given AgentSpacedefault CompletableFuture<GetAccountUsageResponse> getAccountUsage(Consumer<GetAccountUsageRequest.Builder> getAccountUsageRequest) Retrieves monthly account usage metrics and limits for the AWS account.default CompletableFuture<GetAccountUsageResponse> getAccountUsage(GetAccountUsageRequest getAccountUsageRequest) Retrieves monthly account usage metrics and limits for the AWS account.default CompletableFuture<GetAgentSpaceResponse> getAgentSpace(Consumer<GetAgentSpaceRequest.Builder> getAgentSpaceRequest) Retrieves detailed information about a specific AgentSpace.default CompletableFuture<GetAgentSpaceResponse> getAgentSpace(GetAgentSpaceRequest getAgentSpaceRequest) Retrieves detailed information about a specific AgentSpace.default CompletableFuture<GetAssetResponse> getAsset(Consumer<GetAssetRequest.Builder> getAssetRequest) Gets an asset from the specified agent spacedefault CompletableFuture<GetAssetResponse> getAsset(GetAssetRequest getAssetRequest) Gets an asset from the specified agent spacedefault CompletableFuture<GetAssetContentResponse> getAssetContent(Consumer<GetAssetContentRequest.Builder> getAssetContentRequest) Gets an asset's content as a zip bundledefault CompletableFuture<GetAssetContentResponse> getAssetContent(GetAssetContentRequest getAssetContentRequest) Gets an asset's content as a zip bundledefault CompletableFuture<GetAssetFileResponse> getAssetFile(Consumer<GetAssetFileRequest.Builder> getAssetFileRequest) Gets a file from an assetdefault CompletableFuture<GetAssetFileResponse> getAssetFile(GetAssetFileRequest getAssetFileRequest) Gets a file from an assetdefault CompletableFuture<GetAssociationResponse> getAssociation(Consumer<GetAssociationRequest.Builder> getAssociationRequest) Retrieves given associations configured for a specific AgentSpace.default CompletableFuture<GetAssociationResponse> getAssociation(GetAssociationRequest getAssociationRequest) Retrieves given associations configured for a specific AgentSpace.default CompletableFuture<GetBacklogTaskResponse> getBacklogTask(Consumer<GetBacklogTaskRequest.Builder> getBacklogTaskRequest) Gets a backlog task for the specified agent space and task iddefault CompletableFuture<GetBacklogTaskResponse> getBacklogTask(GetBacklogTaskRequest getBacklogTaskRequest) Gets a backlog task for the specified agent space and task iddefault CompletableFuture<GetOperatorAppResponse> getOperatorApp(Consumer<GetOperatorAppRequest.Builder> getOperatorAppRequest) Get the full auth configuration of operator including any enabled auth flowdefault CompletableFuture<GetOperatorAppResponse> getOperatorApp(GetOperatorAppRequest getOperatorAppRequest) Get the full auth configuration of operator including any enabled auth flowgetRecommendation(Consumer<GetRecommendationRequest.Builder> getRecommendationRequest) Retrieves a specific recommendation by its IDgetRecommendation(GetRecommendationRequest getRecommendationRequest) Retrieves a specific recommendation by its IDdefault CompletableFuture<GetServiceResponse> getService(Consumer<GetServiceRequest.Builder> getServiceRequest) Retrieves given service by it's unique identifierdefault CompletableFuture<GetServiceResponse> getService(GetServiceRequest getServiceRequest) Retrieves given service by it's unique identifierdefault CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) Lists all AgentSpaces with optional pagination.default CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest) Lists all AgentSpaces with optional pagination.default ListAgentSpacesPublisherlistAgentSpacesPaginator(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) This is a variant oflistAgentSpaces(software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesRequest)operation.default ListAgentSpacesPublisherlistAgentSpacesPaginator(ListAgentSpacesRequest listAgentSpacesRequest) This is a variant oflistAgentSpaces(software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesRequest)operation.default CompletableFuture<ListAssetFilesResponse> listAssetFiles(Consumer<ListAssetFilesRequest.Builder> listAssetFilesRequest) Lists files in an assetdefault CompletableFuture<ListAssetFilesResponse> listAssetFiles(ListAssetFilesRequest listAssetFilesRequest) Lists files in an assetdefault ListAssetFilesPublisherlistAssetFilesPaginator(Consumer<ListAssetFilesRequest.Builder> listAssetFilesRequest) This is a variant oflistAssetFiles(software.amazon.awssdk.services.devopsagent.model.ListAssetFilesRequest)operation.default ListAssetFilesPublisherlistAssetFilesPaginator(ListAssetFilesRequest listAssetFilesRequest) This is a variant oflistAssetFiles(software.amazon.awssdk.services.devopsagent.model.ListAssetFilesRequest)operation.default CompletableFuture<ListAssetsResponse> listAssets(Consumer<ListAssetsRequest.Builder> listAssetsRequest) Lists assets in the specified agent spacedefault CompletableFuture<ListAssetsResponse> listAssets(ListAssetsRequest listAssetsRequest) Lists assets in the specified agent spacedefault ListAssetsPublisherlistAssetsPaginator(Consumer<ListAssetsRequest.Builder> listAssetsRequest) This is a variant oflistAssets(software.amazon.awssdk.services.devopsagent.model.ListAssetsRequest)operation.default ListAssetsPublisherlistAssetsPaginator(ListAssetsRequest listAssetsRequest) This is a variant oflistAssets(software.amazon.awssdk.services.devopsagent.model.ListAssetsRequest)operation.default CompletableFuture<ListAssetTypesResponse> listAssetTypes(Consumer<ListAssetTypesRequest.Builder> listAssetTypesRequest) Lists the supported asset typesdefault CompletableFuture<ListAssetTypesResponse> listAssetTypes(ListAssetTypesRequest listAssetTypesRequest) Lists the supported asset typesdefault ListAssetTypesPublisherlistAssetTypesPaginator(Consumer<ListAssetTypesRequest.Builder> listAssetTypesRequest) This is a variant oflistAssetTypes(software.amazon.awssdk.services.devopsagent.model.ListAssetTypesRequest)operation.default ListAssetTypesPublisherlistAssetTypesPaginator(ListAssetTypesRequest listAssetTypesRequest) This is a variant oflistAssetTypes(software.amazon.awssdk.services.devopsagent.model.ListAssetTypesRequest)operation.listAssetVersions(Consumer<ListAssetVersionsRequest.Builder> listAssetVersionsRequest) Lists versions of an asset in the specified agent spacelistAssetVersions(ListAssetVersionsRequest listAssetVersionsRequest) Lists versions of an asset in the specified agent spacedefault ListAssetVersionsPublisherlistAssetVersionsPaginator(Consumer<ListAssetVersionsRequest.Builder> listAssetVersionsRequest) This is a variant oflistAssetVersions(software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsRequest)operation.default ListAssetVersionsPublisherlistAssetVersionsPaginator(ListAssetVersionsRequest listAssetVersionsRequest) This is a variant oflistAssetVersions(software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsRequest)operation.listAssociations(Consumer<ListAssociationsRequest.Builder> listAssociationsRequest) List all associations for given AgentSpacelistAssociations(ListAssociationsRequest listAssociationsRequest) List all associations for given AgentSpacedefault ListAssociationsPublisherlistAssociationsPaginator(Consumer<ListAssociationsRequest.Builder> listAssociationsRequest) This is a variant oflistAssociations(software.amazon.awssdk.services.devopsagent.model.ListAssociationsRequest)operation.default ListAssociationsPublisherlistAssociationsPaginator(ListAssociationsRequest listAssociationsRequest) This is a variant oflistAssociations(software.amazon.awssdk.services.devopsagent.model.ListAssociationsRequest)operation.listBacklogTasks(Consumer<ListBacklogTasksRequest.Builder> listBacklogTasksRequest) Lists backlog tasks in the specified agent space with optional filtering and sortinglistBacklogTasks(ListBacklogTasksRequest listBacklogTasksRequest) Lists backlog tasks in the specified agent space with optional filtering and sortingdefault ListBacklogTasksPublisherlistBacklogTasksPaginator(Consumer<ListBacklogTasksRequest.Builder> listBacklogTasksRequest) This is a variant oflistBacklogTasks(software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksRequest)operation.default ListBacklogTasksPublisherlistBacklogTasksPaginator(ListBacklogTasksRequest listBacklogTasksRequest) This is a variant oflistBacklogTasks(software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksRequest)operation.default CompletableFuture<ListChatsResponse> listChats(Consumer<ListChatsRequest.Builder> listChatsRequest) Retrieves a paginated list of the user's recent chat executionsdefault CompletableFuture<ListChatsResponse> listChats(ListChatsRequest listChatsRequest) Retrieves a paginated list of the user's recent chat executionsdefault CompletableFuture<ListExecutionsResponse> listExecutions(Consumer<ListExecutionsRequest.Builder> listExecutionsRequest) List executionsdefault CompletableFuture<ListExecutionsResponse> listExecutions(ListExecutionsRequest listExecutionsRequest) List executionsdefault ListExecutionsPublisherlistExecutionsPaginator(Consumer<ListExecutionsRequest.Builder> listExecutionsRequest) This is a variant oflistExecutions(software.amazon.awssdk.services.devopsagent.model.ListExecutionsRequest)operation.default ListExecutionsPublisherlistExecutionsPaginator(ListExecutionsRequest listExecutionsRequest) This is a variant oflistExecutions(software.amazon.awssdk.services.devopsagent.model.ListExecutionsRequest)operation.default CompletableFuture<ListGoalsResponse> listGoals(Consumer<ListGoalsRequest.Builder> listGoalsRequest) Lists goals in the specified agent space with optional filteringdefault CompletableFuture<ListGoalsResponse> listGoals(ListGoalsRequest listGoalsRequest) Lists goals in the specified agent space with optional filteringdefault ListGoalsPublisherlistGoalsPaginator(Consumer<ListGoalsRequest.Builder> listGoalsRequest) This is a variant oflistGoals(software.amazon.awssdk.services.devopsagent.model.ListGoalsRequest)operation.default ListGoalsPublisherlistGoalsPaginator(ListGoalsRequest listGoalsRequest) This is a variant oflistGoals(software.amazon.awssdk.services.devopsagent.model.ListGoalsRequest)operation.listJournalRecords(Consumer<ListJournalRecordsRequest.Builder> listJournalRecordsRequest) List journal records for a specific executionlistJournalRecords(ListJournalRecordsRequest listJournalRecordsRequest) List journal records for a specific executiondefault ListJournalRecordsPublisherlistJournalRecordsPaginator(Consumer<ListJournalRecordsRequest.Builder> listJournalRecordsRequest) This is a variant oflistJournalRecords(software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsRequest)operation.default ListJournalRecordsPublisherlistJournalRecordsPaginator(ListJournalRecordsRequest listJournalRecordsRequest) This is a variant oflistJournalRecords(software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsRequest)operation.listPendingMessages(Consumer<ListPendingMessagesRequest.Builder> listPendingMessagesRequest) List pending messages for a specific execution.listPendingMessages(ListPendingMessagesRequest listPendingMessagesRequest) List pending messages for a specific execution.listPrivateConnections(Consumer<ListPrivateConnectionsRequest.Builder> listPrivateConnectionsRequest) Lists all Private Connections in the caller's account.listPrivateConnections(ListPrivateConnectionsRequest listPrivateConnectionsRequest) Lists all Private Connections in the caller's account.listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) Lists recommendations for the specified agent spacelistRecommendations(ListRecommendationsRequest listRecommendationsRequest) Lists recommendations for the specified agent spacedefault CompletableFuture<ListServicesResponse> listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) List a list of registered service on the account level.default CompletableFuture<ListServicesResponse> listServices(ListServicesRequest listServicesRequest) List a list of registered service on the account level.default ListServicesPublisherlistServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.devopsagent.model.ListServicesRequest)operation.default ListServicesPublisherlistServicesPaginator(ListServicesRequest listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.devopsagent.model.ListServicesRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists tags for the specified AWS DevOps Agent resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for the specified AWS DevOps Agent resource.default CompletableFuture<ListWebhooksResponse> listWebhooks(Consumer<ListWebhooksRequest.Builder> listWebhooksRequest) List all webhooks for given Associationdefault CompletableFuture<ListWebhooksResponse> listWebhooks(ListWebhooksRequest listWebhooksRequest) List all webhooks for given Associationdefault CompletableFuture<RegisterServiceResponse> registerService(Consumer<RegisterServiceRequest.Builder> registerServiceRequest) This operation registers the specified servicedefault CompletableFuture<RegisterServiceResponse> registerService(RegisterServiceRequest registerServiceRequest) This operation registers the specified servicedefault CompletableFuture<Void> sendMessage(Consumer<SendMessageRequest.Builder> sendMessageRequest, SendMessageResponseHandler asyncResponseHandler) Sends a chat message and streams the response for the specified agent space executiondefault CompletableFuture<Void> sendMessage(SendMessageRequest sendMessageRequest, SendMessageResponseHandler asyncResponseHandler) Sends a chat message and streams the response for the specified agent space executionThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites tags for the specified AWS DevOps Agent resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds or overwrites tags for the specified AWS DevOps Agent resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from the specified AWS DevOps Agent resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from the specified AWS DevOps Agent resource.updateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest) Updates the information of an existing AgentSpace.updateAgentSpace(UpdateAgentSpaceRequest updateAgentSpaceRequest) Updates the information of an existing AgentSpace.default CompletableFuture<UpdateAssetResponse> updateAsset(Consumer<UpdateAssetRequest.Builder> updateAssetRequest) Updates an asset in the specified agent spacedefault CompletableFuture<UpdateAssetResponse> updateAsset(UpdateAssetRequest updateAssetRequest) Updates an asset in the specified agent spacedefault CompletableFuture<UpdateAssetFileResponse> updateAssetFile(Consumer<UpdateAssetFileRequest.Builder> updateAssetFileRequest) Updates a file in an assetdefault CompletableFuture<UpdateAssetFileResponse> updateAssetFile(UpdateAssetFileRequest updateAssetFileRequest) Updates a file in an assetupdateAssociation(Consumer<UpdateAssociationRequest.Builder> updateAssociationRequest) Partially updates the configuration of an existing service association for an AgentSpace.updateAssociation(UpdateAssociationRequest updateAssociationRequest) Partially updates the configuration of an existing service association for an AgentSpace.updateBacklogTask(Consumer<UpdateBacklogTaskRequest.Builder> updateBacklogTaskRequest) Update an existing backlog task.updateBacklogTask(UpdateBacklogTaskRequest updateBacklogTaskRequest) Update an existing backlog task.default CompletableFuture<UpdateGoalResponse> updateGoal(Consumer<UpdateGoalRequest.Builder> updateGoalRequest) Update an existing goaldefault CompletableFuture<UpdateGoalResponse> updateGoal(UpdateGoalRequest updateGoalRequest) Update an existing goalupdateOperatorAppIdpConfig(Consumer<UpdateOperatorAppIdpConfigRequest.Builder> updateOperatorAppIdpConfigRequest) Update the external Identity Provider configuration for the Operator AppupdateOperatorAppIdpConfig(UpdateOperatorAppIdpConfigRequest updateOperatorAppIdpConfigRequest) Update the external Identity Provider configuration for the Operator AppupdatePrivateConnectionCertificate(Consumer<UpdatePrivateConnectionCertificateRequest.Builder> updatePrivateConnectionCertificateRequest) Updates the certificate associated with a Private Connection.updatePrivateConnectionCertificate(UpdatePrivateConnectionCertificateRequest updatePrivateConnectionCertificateRequest) Updates the certificate associated with a Private Connection.updateRecommendation(Consumer<UpdateRecommendationRequest.Builder> updateRecommendationRequest) Updates an existing recommendation with new content, status, or metadataupdateRecommendation(UpdateRecommendationRequest updateRecommendationRequest) Updates an existing recommendation with new content, status, or metadatavalidateAwsAssociations(Consumer<ValidateAwsAssociationsRequest.Builder> validateAwsAssociationsRequest) Validates an aws association and set status and returns a 204 No Content response on success.validateAwsAssociations(ValidateAwsAssociationsRequest validateAwsAssociationsRequest) Validates an aws association and set status and returns a 204 No Content response on success.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
associateService
default CompletableFuture<AssociateServiceResponse> associateService(AssociateServiceRequest associateServiceRequest) Adds a specific service association to an AgentSpace. It overwrites the existing association of the same service. Returns 201 Created on success.
- Parameters:
associateServiceRequest- Input for creating a new service association within an AgentSpace.- Returns:
- A Java Future containing the result of the AssociateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateService
default CompletableFuture<AssociateServiceResponse> associateService(Consumer<AssociateServiceRequest.Builder> associateServiceRequest) Adds a specific service association to an AgentSpace. It overwrites the existing association of the same service. Returns 201 Created on success.
This is a convenience which creates an instance of the
AssociateServiceRequest.Builderavoiding the need to create one manually viaAssociateServiceRequest.builder()- Parameters:
associateServiceRequest- AConsumerthat will call methods onAssociateServiceRequest.Builderto create a request. Input for creating a new service association within an AgentSpace.- Returns:
- A Java Future containing the result of the AssociateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgentSpace
default CompletableFuture<CreateAgentSpaceResponse> createAgentSpace(CreateAgentSpaceRequest createAgentSpaceRequest) Creates a new AgentSpace with the specified name and description. Duplicate space names are allowed.
- Parameters:
createAgentSpaceRequest- Input for creating a new AgentSpace.- Returns:
- A Java Future containing the result of the CreateAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgentSpace
default CompletableFuture<CreateAgentSpaceResponse> createAgentSpace(Consumer<CreateAgentSpaceRequest.Builder> createAgentSpaceRequest) Creates a new AgentSpace with the specified name and description. Duplicate space names are allowed.
This is a convenience which creates an instance of the
CreateAgentSpaceRequest.Builderavoiding the need to create one manually viaCreateAgentSpaceRequest.builder()- Parameters:
createAgentSpaceRequest- AConsumerthat will call methods onCreateAgentSpaceRequest.Builderto create a request. Input for creating a new AgentSpace.- Returns:
- A Java Future containing the result of the CreateAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAsset
Creates a new asset in the specified agent space
- Parameters:
createAssetRequest- Request structure for creating a new asset- Returns:
- A Java Future containing the result of the CreateAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAsset
default CompletableFuture<CreateAssetResponse> createAsset(Consumer<CreateAssetRequest.Builder> createAssetRequest) Creates a new asset in the specified agent space
This is a convenience which creates an instance of the
CreateAssetRequest.Builderavoiding the need to create one manually viaCreateAssetRequest.builder()- Parameters:
createAssetRequest- AConsumerthat will call methods onCreateAssetRequest.Builderto create a request. Request structure for creating a new asset- Returns:
- A Java Future containing the result of the CreateAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssetFile
default CompletableFuture<CreateAssetFileResponse> createAssetFile(CreateAssetFileRequest createAssetFileRequest) Creates a file in an asset
- Parameters:
createAssetFileRequest- Request structure for creating an asset file- Returns:
- A Java Future containing the result of the CreateAssetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAssetFile
default CompletableFuture<CreateAssetFileResponse> createAssetFile(Consumer<CreateAssetFileRequest.Builder> createAssetFileRequest) Creates a file in an asset
This is a convenience which creates an instance of the
CreateAssetFileRequest.Builderavoiding the need to create one manually viaCreateAssetFileRequest.builder()- Parameters:
createAssetFileRequest- AConsumerthat will call methods onCreateAssetFileRequest.Builderto create a request. Request structure for creating an asset file- Returns:
- A Java Future containing the result of the CreateAssetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBacklogTask
default CompletableFuture<CreateBacklogTaskResponse> createBacklogTask(CreateBacklogTaskRequest createBacklogTaskRequest) Creates a new backlog task in the specified agent space
- Parameters:
createBacklogTaskRequest- Request structure for creating a new backlog task- Returns:
- A Java Future containing the result of the CreateBacklogTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createBacklogTask
default CompletableFuture<CreateBacklogTaskResponse> createBacklogTask(Consumer<CreateBacklogTaskRequest.Builder> createBacklogTaskRequest) Creates a new backlog task in the specified agent space
This is a convenience which creates an instance of the
CreateBacklogTaskRequest.Builderavoiding the need to create one manually viaCreateBacklogTaskRequest.builder()- Parameters:
createBacklogTaskRequest- AConsumerthat will call methods onCreateBacklogTaskRequest.Builderto create a request. Request structure for creating a new backlog task- Returns:
- A Java Future containing the result of the CreateBacklogTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createChat
Creates a new chat execution in the specified agent space
- Parameters:
createChatRequest- Request structure for creating a new chat- Returns:
- A Java Future containing the result of the CreateChat operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createChat
default CompletableFuture<CreateChatResponse> createChat(Consumer<CreateChatRequest.Builder> createChatRequest) Creates a new chat execution in the specified agent space
This is a convenience which creates an instance of the
CreateChatRequest.Builderavoiding the need to create one manually viaCreateChatRequest.builder()- Parameters:
createChatRequest- AConsumerthat will call methods onCreateChatRequest.Builderto create a request. Request structure for creating a new chat- Returns:
- A Java Future containing the result of the CreateChat operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPrivateConnection
default CompletableFuture<CreatePrivateConnectionResponse> createPrivateConnection(CreatePrivateConnectionRequest createPrivateConnectionRequest) Creates a Private Connection to a target resource.
- Parameters:
createPrivateConnectionRequest- Input for creating a new Private Connection.- Returns:
- A Java Future containing the result of the CreatePrivateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createPrivateConnection
default CompletableFuture<CreatePrivateConnectionResponse> createPrivateConnection(Consumer<CreatePrivateConnectionRequest.Builder> createPrivateConnectionRequest) Creates a Private Connection to a target resource.
This is a convenience which creates an instance of the
CreatePrivateConnectionRequest.Builderavoiding the need to create one manually viaCreatePrivateConnectionRequest.builder()- Parameters:
createPrivateConnectionRequest- AConsumerthat will call methods onCreatePrivateConnectionRequest.Builderto create a request. Input for creating a new Private Connection.- Returns:
- A Java Future containing the result of the CreatePrivateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgentSpace
default CompletableFuture<DeleteAgentSpaceResponse> deleteAgentSpace(DeleteAgentSpaceRequest deleteAgentSpaceRequest) Deletes an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.
- Parameters:
deleteAgentSpaceRequest- Input for deleting an AgentSpace.- Returns:
- A Java Future containing the result of the DeleteAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgentSpace
default CompletableFuture<DeleteAgentSpaceResponse> deleteAgentSpace(Consumer<DeleteAgentSpaceRequest.Builder> deleteAgentSpaceRequest) Deletes an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.
This is a convenience which creates an instance of the
DeleteAgentSpaceRequest.Builderavoiding the need to create one manually viaDeleteAgentSpaceRequest.builder()- Parameters:
deleteAgentSpaceRequest- AConsumerthat will call methods onDeleteAgentSpaceRequest.Builderto create a request. Input for deleting an AgentSpace.- Returns:
- A Java Future containing the result of the DeleteAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAsset
Deletes an asset and all its files from the specified agent space
- Parameters:
deleteAssetRequest- Request structure for deleting an asset- Returns:
- A Java Future containing the result of the DeleteAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAsset
default CompletableFuture<DeleteAssetResponse> deleteAsset(Consumer<DeleteAssetRequest.Builder> deleteAssetRequest) Deletes an asset and all its files from the specified agent space
This is a convenience which creates an instance of the
DeleteAssetRequest.Builderavoiding the need to create one manually viaDeleteAssetRequest.builder()- Parameters:
deleteAssetRequest- AConsumerthat will call methods onDeleteAssetRequest.Builderto create a request. Request structure for deleting an asset- Returns:
- A Java Future containing the result of the DeleteAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssetFile
default CompletableFuture<DeleteAssetFileResponse> deleteAssetFile(DeleteAssetFileRequest deleteAssetFileRequest) Deletes a file from an asset
- Parameters:
deleteAssetFileRequest- Request structure for deleting an asset file- Returns:
- A Java Future containing the result of the DeleteAssetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAssetFile
default CompletableFuture<DeleteAssetFileResponse> deleteAssetFile(Consumer<DeleteAssetFileRequest.Builder> deleteAssetFileRequest) Deletes a file from an asset
This is a convenience which creates an instance of the
DeleteAssetFileRequest.Builderavoiding the need to create one manually viaDeleteAssetFileRequest.builder()- Parameters:
deleteAssetFileRequest- AConsumerthat will call methods onDeleteAssetFileRequest.Builderto create a request. Request structure for deleting an asset file- Returns:
- A Java Future containing the result of the DeleteAssetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePrivateConnection
default CompletableFuture<DeletePrivateConnectionResponse> deletePrivateConnection(DeletePrivateConnectionRequest deletePrivateConnectionRequest) Deletes a Private Connection. The deletion is asynchronous and returns DELETE_IN_PROGRESS status.
- Parameters:
deletePrivateConnectionRequest- Input for deleting an existing Private Connection.- Returns:
- A Java Future containing the result of the DeletePrivateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deletePrivateConnection
default CompletableFuture<DeletePrivateConnectionResponse> deletePrivateConnection(Consumer<DeletePrivateConnectionRequest.Builder> deletePrivateConnectionRequest) Deletes a Private Connection. The deletion is asynchronous and returns DELETE_IN_PROGRESS status.
This is a convenience which creates an instance of the
DeletePrivateConnectionRequest.Builderavoiding the need to create one manually viaDeletePrivateConnectionRequest.builder()- Parameters:
deletePrivateConnectionRequest- AConsumerthat will call methods onDeletePrivateConnectionRequest.Builderto create a request. Input for deleting an existing Private Connection.- Returns:
- A Java Future containing the result of the DeletePrivateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterService
default CompletableFuture<DeregisterServiceResponse> deregisterService(DeregisterServiceRequest deregisterServiceRequest) Deregister a service
- Parameters:
deregisterServiceRequest- Input for deregistering a service.- Returns:
- A Java Future containing the result of the DeregisterService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterService
default CompletableFuture<DeregisterServiceResponse> deregisterService(Consumer<DeregisterServiceRequest.Builder> deregisterServiceRequest) Deregister a service
This is a convenience which creates an instance of the
DeregisterServiceRequest.Builderavoiding the need to create one manually viaDeregisterServiceRequest.builder()- Parameters:
deregisterServiceRequest- AConsumerthat will call methods onDeregisterServiceRequest.Builderto create a request. Input for deregistering a service.- Returns:
- A Java Future containing the result of the DeregisterService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePrivateConnection
default CompletableFuture<DescribePrivateConnectionResponse> describePrivateConnection(DescribePrivateConnectionRequest describePrivateConnectionRequest) Retrieves details of an existing Private Connection.
- Parameters:
describePrivateConnectionRequest- Input for describing an existing Private Connection.- Returns:
- A Java Future containing the result of the DescribePrivateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describePrivateConnection
default CompletableFuture<DescribePrivateConnectionResponse> describePrivateConnection(Consumer<DescribePrivateConnectionRequest.Builder> describePrivateConnectionRequest) Retrieves details of an existing Private Connection.
This is a convenience which creates an instance of the
DescribePrivateConnectionRequest.Builderavoiding the need to create one manually viaDescribePrivateConnectionRequest.builder()- Parameters:
describePrivateConnectionRequest- AConsumerthat will call methods onDescribePrivateConnectionRequest.Builderto create a request. Input for describing an existing Private Connection.- Returns:
- A Java Future containing the result of the DescribePrivateConnection operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableOperatorApp
default CompletableFuture<DisableOperatorAppResponse> disableOperatorApp(DisableOperatorAppRequest disableOperatorAppRequest) Disable the Operator App for the specified AgentSpace
- Parameters:
disableOperatorAppRequest- Input for disabling the Operator App for an AgentSpace.- Returns:
- A Java Future containing the result of the DisableOperatorApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- IdentityCenterServiceException Calls to the customer Identity Center have failed
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableOperatorApp
default CompletableFuture<DisableOperatorAppResponse> disableOperatorApp(Consumer<DisableOperatorAppRequest.Builder> disableOperatorAppRequest) Disable the Operator App for the specified AgentSpace
This is a convenience which creates an instance of the
DisableOperatorAppRequest.Builderavoiding the need to create one manually viaDisableOperatorAppRequest.builder()- Parameters:
disableOperatorAppRequest- AConsumerthat will call methods onDisableOperatorAppRequest.Builderto create a request. Input for disabling the Operator App for an AgentSpace.- Returns:
- A Java Future containing the result of the DisableOperatorApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- IdentityCenterServiceException Calls to the customer Identity Center have failed
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateService
default CompletableFuture<DisassociateServiceResponse> disassociateService(DisassociateServiceRequest disassociateServiceRequest) Deletes a specific service association from an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.
- Parameters:
disassociateServiceRequest- Input for removing a service association from an AgentSpace.- Returns:
- A Java Future containing the result of the DisassociateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateService
default CompletableFuture<DisassociateServiceResponse> disassociateService(Consumer<DisassociateServiceRequest.Builder> disassociateServiceRequest) Deletes a specific service association from an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.
This is a convenience which creates an instance of the
DisassociateServiceRequest.Builderavoiding the need to create one manually viaDisassociateServiceRequest.builder()- Parameters:
disassociateServiceRequest- AConsumerthat will call methods onDisassociateServiceRequest.Builderto create a request. Input for removing a service association from an AgentSpace.- Returns:
- A Java Future containing the result of the DisassociateService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableOperatorApp
default CompletableFuture<EnableOperatorAppResponse> enableOperatorApp(EnableOperatorAppRequest enableOperatorAppRequest) Enable the Operator App to access the given AgentSpace
- Parameters:
enableOperatorAppRequest- Input for enabling the Operator App for an AgentSpace.- Returns:
- A Java Future containing the result of the EnableOperatorApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- IdentityCenterServiceException Calls to the customer Identity Center have failed
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableOperatorApp
default CompletableFuture<EnableOperatorAppResponse> enableOperatorApp(Consumer<EnableOperatorAppRequest.Builder> enableOperatorAppRequest) Enable the Operator App to access the given AgentSpace
This is a convenience which creates an instance of the
EnableOperatorAppRequest.Builderavoiding the need to create one manually viaEnableOperatorAppRequest.builder()- Parameters:
enableOperatorAppRequest- AConsumerthat will call methods onEnableOperatorAppRequest.Builderto create a request. Input for enabling the Operator App for an AgentSpace.- Returns:
- A Java Future containing the result of the EnableOperatorApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- IdentityCenterServiceException Calls to the customer Identity Center have failed
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountUsage
default CompletableFuture<GetAccountUsageResponse> getAccountUsage(GetAccountUsageRequest getAccountUsageRequest) Retrieves monthly account usage metrics and limits for the AWS account.
- Parameters:
getAccountUsageRequest-- Returns:
- A Java Future containing the result of the GetAccountUsage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountUsage
default CompletableFuture<GetAccountUsageResponse> getAccountUsage(Consumer<GetAccountUsageRequest.Builder> getAccountUsageRequest) Retrieves monthly account usage metrics and limits for the AWS account.
This is a convenience which creates an instance of the
GetAccountUsageRequest.Builderavoiding the need to create one manually viaGetAccountUsageRequest.builder()- Parameters:
getAccountUsageRequest- AConsumerthat will call methods onGetAccountUsageRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccountUsage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgentSpace
default CompletableFuture<GetAgentSpaceResponse> getAgentSpace(GetAgentSpaceRequest getAgentSpaceRequest) Retrieves detailed information about a specific AgentSpace.
- Parameters:
getAgentSpaceRequest- Input for retrieving a specific AgentSpace by ID.- Returns:
- A Java Future containing the result of the GetAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgentSpace
default CompletableFuture<GetAgentSpaceResponse> getAgentSpace(Consumer<GetAgentSpaceRequest.Builder> getAgentSpaceRequest) Retrieves detailed information about a specific AgentSpace.
This is a convenience which creates an instance of the
GetAgentSpaceRequest.Builderavoiding the need to create one manually viaGetAgentSpaceRequest.builder()- Parameters:
getAgentSpaceRequest- AConsumerthat will call methods onGetAgentSpaceRequest.Builderto create a request. Input for retrieving a specific AgentSpace by ID.- Returns:
- A Java Future containing the result of the GetAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAsset
Gets an asset from the specified agent space
- Parameters:
getAssetRequest- Request structure for getting an asset- Returns:
- A Java Future containing the result of the GetAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAsset
default CompletableFuture<GetAssetResponse> getAsset(Consumer<GetAssetRequest.Builder> getAssetRequest) Gets an asset from the specified agent space
This is a convenience which creates an instance of the
GetAssetRequest.Builderavoiding the need to create one manually viaGetAssetRequest.builder()- Parameters:
getAssetRequest- AConsumerthat will call methods onGetAssetRequest.Builderto create a request. Request structure for getting an asset- Returns:
- A Java Future containing the result of the GetAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssetContent
default CompletableFuture<GetAssetContentResponse> getAssetContent(GetAssetContentRequest getAssetContentRequest) Gets an asset's content as a zip bundle
- Parameters:
getAssetContentRequest- Request structure for getting an asset's content as a zip bundle- Returns:
- A Java Future containing the result of the GetAssetContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssetContent
default CompletableFuture<GetAssetContentResponse> getAssetContent(Consumer<GetAssetContentRequest.Builder> getAssetContentRequest) Gets an asset's content as a zip bundle
This is a convenience which creates an instance of the
GetAssetContentRequest.Builderavoiding the need to create one manually viaGetAssetContentRequest.builder()- Parameters:
getAssetContentRequest- AConsumerthat will call methods onGetAssetContentRequest.Builderto create a request. Request structure for getting an asset's content as a zip bundle- Returns:
- A Java Future containing the result of the GetAssetContent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssetFile
default CompletableFuture<GetAssetFileResponse> getAssetFile(GetAssetFileRequest getAssetFileRequest) Gets a file from an asset
- Parameters:
getAssetFileRequest- Request structure for getting an asset file- Returns:
- A Java Future containing the result of the GetAssetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssetFile
default CompletableFuture<GetAssetFileResponse> getAssetFile(Consumer<GetAssetFileRequest.Builder> getAssetFileRequest) Gets a file from an asset
This is a convenience which creates an instance of the
GetAssetFileRequest.Builderavoiding the need to create one manually viaGetAssetFileRequest.builder()- Parameters:
getAssetFileRequest- AConsumerthat will call methods onGetAssetFileRequest.Builderto create a request. Request structure for getting an asset file- Returns:
- A Java Future containing the result of the GetAssetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssociation
default CompletableFuture<GetAssociationResponse> getAssociation(GetAssociationRequest getAssociationRequest) Retrieves given associations configured for a specific AgentSpace.
- Parameters:
getAssociationRequest- Input for retrieving a specific service association.- Returns:
- A Java Future containing the result of the GetAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAssociation
default CompletableFuture<GetAssociationResponse> getAssociation(Consumer<GetAssociationRequest.Builder> getAssociationRequest) Retrieves given associations configured for a specific AgentSpace.
This is a convenience which creates an instance of the
GetAssociationRequest.Builderavoiding the need to create one manually viaGetAssociationRequest.builder()- Parameters:
getAssociationRequest- AConsumerthat will call methods onGetAssociationRequest.Builderto create a request. Input for retrieving a specific service association.- Returns:
- A Java Future containing the result of the GetAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBacklogTask
default CompletableFuture<GetBacklogTaskResponse> getBacklogTask(GetBacklogTaskRequest getBacklogTaskRequest) Gets a backlog task for the specified agent space and task id
- Parameters:
getBacklogTaskRequest- Request structure for retrieving a specific backlog task- Returns:
- A Java Future containing the result of the GetBacklogTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBacklogTask
default CompletableFuture<GetBacklogTaskResponse> getBacklogTask(Consumer<GetBacklogTaskRequest.Builder> getBacklogTaskRequest) Gets a backlog task for the specified agent space and task id
This is a convenience which creates an instance of the
GetBacklogTaskRequest.Builderavoiding the need to create one manually viaGetBacklogTaskRequest.builder()- Parameters:
getBacklogTaskRequest- AConsumerthat will call methods onGetBacklogTaskRequest.Builderto create a request. Request structure for retrieving a specific backlog task- Returns:
- A Java Future containing the result of the GetBacklogTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOperatorApp
default CompletableFuture<GetOperatorAppResponse> getOperatorApp(GetOperatorAppRequest getOperatorAppRequest) Get the full auth configuration of operator including any enabled auth flow
- Parameters:
getOperatorAppRequest- Input for retrieving Operator App configuration.- Returns:
- A Java Future containing the result of the GetOperatorApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getOperatorApp
default CompletableFuture<GetOperatorAppResponse> getOperatorApp(Consumer<GetOperatorAppRequest.Builder> getOperatorAppRequest) Get the full auth configuration of operator including any enabled auth flow
This is a convenience which creates an instance of the
GetOperatorAppRequest.Builderavoiding the need to create one manually viaGetOperatorAppRequest.builder()- Parameters:
getOperatorAppRequest- AConsumerthat will call methods onGetOperatorAppRequest.Builderto create a request. Input for retrieving Operator App configuration.- Returns:
- A Java Future containing the result of the GetOperatorApp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecommendation
default CompletableFuture<GetRecommendationResponse> getRecommendation(GetRecommendationRequest getRecommendationRequest) Retrieves a specific recommendation by its ID
- Parameters:
getRecommendationRequest- Request structure for retrieving a specific recommendation- Returns:
- A Java Future containing the result of the GetRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRecommendation
default CompletableFuture<GetRecommendationResponse> getRecommendation(Consumer<GetRecommendationRequest.Builder> getRecommendationRequest) Retrieves a specific recommendation by its ID
This is a convenience which creates an instance of the
GetRecommendationRequest.Builderavoiding the need to create one manually viaGetRecommendationRequest.builder()- Parameters:
getRecommendationRequest- AConsumerthat will call methods onGetRecommendationRequest.Builderto create a request. Request structure for retrieving a specific recommendation- Returns:
- A Java Future containing the result of the GetRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getService
Retrieves given service by it's unique identifier
- Parameters:
getServiceRequest- Input for retrieving a specific service association.- Returns:
- A Java Future containing the result of the GetService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getService
default CompletableFuture<GetServiceResponse> getService(Consumer<GetServiceRequest.Builder> getServiceRequest) Retrieves given service by it's unique identifier
This is a convenience which creates an instance of the
GetServiceRequest.Builderavoiding the need to create one manually viaGetServiceRequest.builder()- Parameters:
getServiceRequest- AConsumerthat will call methods onGetServiceRequest.Builderto create a request. Input for retrieving a specific service association.- Returns:
- A Java Future containing the result of the GetService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentSpaces
default CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(ListAgentSpacesRequest listAgentSpacesRequest) Lists all AgentSpaces with optional pagination.
- Parameters:
listAgentSpacesRequest- Input for listing AgentSpaces with pagination support.- Returns:
- A Java Future containing the result of the ListAgentSpaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentSpaces
default CompletableFuture<ListAgentSpacesResponse> listAgentSpaces(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) Lists all AgentSpaces with optional pagination.
This is a convenience which creates an instance of the
ListAgentSpacesRequest.Builderavoiding the need to create one manually viaListAgentSpacesRequest.builder()- Parameters:
listAgentSpacesRequest- AConsumerthat will call methods onListAgentSpacesRequest.Builderto create a request. Input for listing AgentSpaces with pagination support.- Returns:
- A Java Future containing the result of the ListAgentSpaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentSpacesPaginator
default ListAgentSpacesPublisher listAgentSpacesPaginator(ListAgentSpacesRequest listAgentSpacesRequest) This is a variant of
listAgentSpaces(software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesResponse response) { //... }; });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
listAgentSpaces(software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesRequest)operation.- Parameters:
listAgentSpacesRequest- Input for listing AgentSpaces with pagination support.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentSpacesPaginator
default ListAgentSpacesPublisher listAgentSpacesPaginator(Consumer<ListAgentSpacesRequest.Builder> listAgentSpacesRequest) This is a variant of
listAgentSpaces(software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAgentSpacesPublisher publisher = client.listAgentSpacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesResponse response) { //... }; });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
listAgentSpaces(software.amazon.awssdk.services.devopsagent.model.ListAgentSpacesRequest)operation.
This is a convenience which creates an instance of the
ListAgentSpacesRequest.Builderavoiding the need to create one manually viaListAgentSpacesRequest.builder()- Parameters:
listAgentSpacesRequest- AConsumerthat will call methods onListAgentSpacesRequest.Builderto create a request. Input for listing AgentSpaces with pagination support.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetFiles
default CompletableFuture<ListAssetFilesResponse> listAssetFiles(ListAssetFilesRequest listAssetFilesRequest) Lists files in an asset
- Parameters:
listAssetFilesRequest- Request structure for listing asset files- Returns:
- A Java Future containing the result of the ListAssetFiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetFiles
default CompletableFuture<ListAssetFilesResponse> listAssetFiles(Consumer<ListAssetFilesRequest.Builder> listAssetFilesRequest) Lists files in an asset
This is a convenience which creates an instance of the
ListAssetFilesRequest.Builderavoiding the need to create one manually viaListAssetFilesRequest.builder()- Parameters:
listAssetFilesRequest- AConsumerthat will call methods onListAssetFilesRequest.Builderto create a request. Request structure for listing asset files- Returns:
- A Java Future containing the result of the ListAssetFiles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetFilesPaginator
default ListAssetFilesPublisher listAssetFilesPaginator(ListAssetFilesRequest listAssetFilesRequest) This is a variant of
listAssetFiles(software.amazon.awssdk.services.devopsagent.model.ListAssetFilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssetFilesPublisher publisher = client.listAssetFilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssetFilesPublisher publisher = client.listAssetFilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssetFilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssetFilesResponse response) { //... }; });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
listAssetFiles(software.amazon.awssdk.services.devopsagent.model.ListAssetFilesRequest)operation.- Parameters:
listAssetFilesRequest- Request structure for listing asset files- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetFilesPaginator
default ListAssetFilesPublisher listAssetFilesPaginator(Consumer<ListAssetFilesRequest.Builder> listAssetFilesRequest) This is a variant of
listAssetFiles(software.amazon.awssdk.services.devopsagent.model.ListAssetFilesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssetFilesPublisher publisher = client.listAssetFilesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssetFilesPublisher publisher = client.listAssetFilesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssetFilesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssetFilesResponse response) { //... }; });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
listAssetFiles(software.amazon.awssdk.services.devopsagent.model.ListAssetFilesRequest)operation.
This is a convenience which creates an instance of the
ListAssetFilesRequest.Builderavoiding the need to create one manually viaListAssetFilesRequest.builder()- Parameters:
listAssetFilesRequest- AConsumerthat will call methods onListAssetFilesRequest.Builderto create a request. Request structure for listing asset files- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetTypes
default CompletableFuture<ListAssetTypesResponse> listAssetTypes(ListAssetTypesRequest listAssetTypesRequest) Lists the supported asset types
- Parameters:
listAssetTypesRequest- Request structure for listing asset types- Returns:
- A Java Future containing the result of the ListAssetTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetTypes
default CompletableFuture<ListAssetTypesResponse> listAssetTypes(Consumer<ListAssetTypesRequest.Builder> listAssetTypesRequest) Lists the supported asset types
This is a convenience which creates an instance of the
ListAssetTypesRequest.Builderavoiding the need to create one manually viaListAssetTypesRequest.builder()- Parameters:
listAssetTypesRequest- AConsumerthat will call methods onListAssetTypesRequest.Builderto create a request. Request structure for listing asset types- Returns:
- A Java Future containing the result of the ListAssetTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetTypesPaginator
default ListAssetTypesPublisher listAssetTypesPaginator(ListAssetTypesRequest listAssetTypesRequest) This is a variant of
listAssetTypes(software.amazon.awssdk.services.devopsagent.model.ListAssetTypesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssetTypesPublisher publisher = client.listAssetTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssetTypesPublisher publisher = client.listAssetTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssetTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssetTypesResponse response) { //... }; });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
listAssetTypes(software.amazon.awssdk.services.devopsagent.model.ListAssetTypesRequest)operation.- Parameters:
listAssetTypesRequest- Request structure for listing asset types- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetTypesPaginator
default ListAssetTypesPublisher listAssetTypesPaginator(Consumer<ListAssetTypesRequest.Builder> listAssetTypesRequest) This is a variant of
listAssetTypes(software.amazon.awssdk.services.devopsagent.model.ListAssetTypesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssetTypesPublisher publisher = client.listAssetTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssetTypesPublisher publisher = client.listAssetTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssetTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssetTypesResponse response) { //... }; });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
listAssetTypes(software.amazon.awssdk.services.devopsagent.model.ListAssetTypesRequest)operation.
This is a convenience which creates an instance of the
ListAssetTypesRequest.Builderavoiding the need to create one manually viaListAssetTypesRequest.builder()- Parameters:
listAssetTypesRequest- AConsumerthat will call methods onListAssetTypesRequest.Builderto create a request. Request structure for listing asset types- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetVersions
default CompletableFuture<ListAssetVersionsResponse> listAssetVersions(ListAssetVersionsRequest listAssetVersionsRequest) Lists versions of an asset in the specified agent space
- Parameters:
listAssetVersionsRequest- Request structure for listing asset versions- Returns:
- A Java Future containing the result of the ListAssetVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetVersions
default CompletableFuture<ListAssetVersionsResponse> listAssetVersions(Consumer<ListAssetVersionsRequest.Builder> listAssetVersionsRequest) Lists versions of an asset in the specified agent space
This is a convenience which creates an instance of the
ListAssetVersionsRequest.Builderavoiding the need to create one manually viaListAssetVersionsRequest.builder()- Parameters:
listAssetVersionsRequest- AConsumerthat will call methods onListAssetVersionsRequest.Builderto create a request. Request structure for listing asset versions- Returns:
- A Java Future containing the result of the ListAssetVersions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetVersionsPaginator
default ListAssetVersionsPublisher listAssetVersionsPaginator(ListAssetVersionsRequest listAssetVersionsRequest) This is a variant of
listAssetVersions(software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssetVersionsPublisher publisher = client.listAssetVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssetVersionsPublisher publisher = client.listAssetVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsResponse response) { //... }; });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
listAssetVersions(software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsRequest)operation.- Parameters:
listAssetVersionsRequest- Request structure for listing asset versions- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetVersionsPaginator
default ListAssetVersionsPublisher listAssetVersionsPaginator(Consumer<ListAssetVersionsRequest.Builder> listAssetVersionsRequest) This is a variant of
listAssetVersions(software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssetVersionsPublisher publisher = client.listAssetVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssetVersionsPublisher publisher = client.listAssetVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsResponse response) { //... }; });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
listAssetVersions(software.amazon.awssdk.services.devopsagent.model.ListAssetVersionsRequest)operation.
This is a convenience which creates an instance of the
ListAssetVersionsRequest.Builderavoiding the need to create one manually viaListAssetVersionsRequest.builder()- Parameters:
listAssetVersionsRequest- AConsumerthat will call methods onListAssetVersionsRequest.Builderto create a request. Request structure for listing asset versions- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssets
Lists assets in the specified agent space
- Parameters:
listAssetsRequest- Request structure for listing assets- Returns:
- A Java Future containing the result of the ListAssets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssets
default CompletableFuture<ListAssetsResponse> listAssets(Consumer<ListAssetsRequest.Builder> listAssetsRequest) Lists assets in the specified agent space
This is a convenience which creates an instance of the
ListAssetsRequest.Builderavoiding the need to create one manually viaListAssetsRequest.builder()- Parameters:
listAssetsRequest- AConsumerthat will call methods onListAssetsRequest.Builderto create a request. Request structure for listing assets- Returns:
- A Java Future containing the result of the ListAssets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetsPaginator
This is a variant of
listAssets(software.amazon.awssdk.services.devopsagent.model.ListAssetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssetsResponse response) { //... }; });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
listAssets(software.amazon.awssdk.services.devopsagent.model.ListAssetsRequest)operation.- Parameters:
listAssetsRequest- Request structure for listing assets- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssetsPaginator
default ListAssetsPublisher listAssetsPaginator(Consumer<ListAssetsRequest.Builder> listAssetsRequest) This is a variant of
listAssets(software.amazon.awssdk.services.devopsagent.model.ListAssetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssetsPublisher publisher = client.listAssetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssetsResponse response) { //... }; });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
listAssets(software.amazon.awssdk.services.devopsagent.model.ListAssetsRequest)operation.
This is a convenience which creates an instance of the
ListAssetsRequest.Builderavoiding the need to create one manually viaListAssetsRequest.builder()- Parameters:
listAssetsRequest- AConsumerthat will call methods onListAssetsRequest.Builderto create a request. Request structure for listing assets- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociations
default CompletableFuture<ListAssociationsResponse> listAssociations(ListAssociationsRequest listAssociationsRequest) List all associations for given AgentSpace
- Parameters:
listAssociationsRequest- Input for listing service associations within an AgentSpace.- Returns:
- A Java Future containing the result of the ListAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociations
default CompletableFuture<ListAssociationsResponse> listAssociations(Consumer<ListAssociationsRequest.Builder> listAssociationsRequest) List all associations for given AgentSpace
This is a convenience which creates an instance of the
ListAssociationsRequest.Builderavoiding the need to create one manually viaListAssociationsRequest.builder()- Parameters:
listAssociationsRequest- AConsumerthat will call methods onListAssociationsRequest.Builderto create a request. Input for listing service associations within an AgentSpace.- Returns:
- A Java Future containing the result of the ListAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociationsPaginator
default ListAssociationsPublisher listAssociationsPaginator(ListAssociationsRequest listAssociationsRequest) This is a variant of
listAssociations(software.amazon.awssdk.services.devopsagent.model.ListAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssociationsPublisher publisher = client.listAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssociationsPublisher publisher = client.listAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssociationsResponse response) { //... }; });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
listAssociations(software.amazon.awssdk.services.devopsagent.model.ListAssociationsRequest)operation.- Parameters:
listAssociationsRequest- Input for listing service associations within an AgentSpace.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAssociationsPaginator
default ListAssociationsPublisher listAssociationsPaginator(Consumer<ListAssociationsRequest.Builder> listAssociationsRequest) This is a variant of
listAssociations(software.amazon.awssdk.services.devopsagent.model.ListAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListAssociationsPublisher publisher = client.listAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListAssociationsPublisher publisher = client.listAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListAssociationsResponse response) { //... }; });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
listAssociations(software.amazon.awssdk.services.devopsagent.model.ListAssociationsRequest)operation.
This is a convenience which creates an instance of the
ListAssociationsRequest.Builderavoiding the need to create one manually viaListAssociationsRequest.builder()- Parameters:
listAssociationsRequest- AConsumerthat will call methods onListAssociationsRequest.Builderto create a request. Input for listing service associations within an AgentSpace.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBacklogTasks
default CompletableFuture<ListBacklogTasksResponse> listBacklogTasks(ListBacklogTasksRequest listBacklogTasksRequest) Lists backlog tasks in the specified agent space with optional filtering and sorting
- Parameters:
listBacklogTasksRequest- Request structure for listing backlog tasks with filtering, sorting, and pagination support- Returns:
- A Java Future containing the result of the ListBacklogTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBacklogTasks
default CompletableFuture<ListBacklogTasksResponse> listBacklogTasks(Consumer<ListBacklogTasksRequest.Builder> listBacklogTasksRequest) Lists backlog tasks in the specified agent space with optional filtering and sorting
This is a convenience which creates an instance of the
ListBacklogTasksRequest.Builderavoiding the need to create one manually viaListBacklogTasksRequest.builder()- Parameters:
listBacklogTasksRequest- AConsumerthat will call methods onListBacklogTasksRequest.Builderto create a request. Request structure for listing backlog tasks with filtering, sorting, and pagination support- Returns:
- A Java Future containing the result of the ListBacklogTasks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBacklogTasksPaginator
default ListBacklogTasksPublisher listBacklogTasksPaginator(ListBacklogTasksRequest listBacklogTasksRequest) This is a variant of
listBacklogTasks(software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListBacklogTasksPublisher publisher = client.listBacklogTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListBacklogTasksPublisher publisher = client.listBacklogTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksResponse response) { //... }; });Please notice that the configuration of limit 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
listBacklogTasks(software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksRequest)operation.- Parameters:
listBacklogTasksRequest- Request structure for listing backlog tasks with filtering, sorting, and pagination support- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listBacklogTasksPaginator
default ListBacklogTasksPublisher listBacklogTasksPaginator(Consumer<ListBacklogTasksRequest.Builder> listBacklogTasksRequest) This is a variant of
listBacklogTasks(software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListBacklogTasksPublisher publisher = client.listBacklogTasksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListBacklogTasksPublisher publisher = client.listBacklogTasksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksResponse response) { //... }; });Please notice that the configuration of limit 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
listBacklogTasks(software.amazon.awssdk.services.devopsagent.model.ListBacklogTasksRequest)operation.
This is a convenience which creates an instance of the
ListBacklogTasksRequest.Builderavoiding the need to create one manually viaListBacklogTasksRequest.builder()- Parameters:
listBacklogTasksRequest- AConsumerthat will call methods onListBacklogTasksRequest.Builderto create a request. Request structure for listing backlog tasks with filtering, sorting, and pagination support- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listChats
Retrieves a paginated list of the user's recent chat executions
- Parameters:
listChatsRequest- Request structure for listing chats- Returns:
- A Java Future containing the result of the ListChats operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listChats
default CompletableFuture<ListChatsResponse> listChats(Consumer<ListChatsRequest.Builder> listChatsRequest) Retrieves a paginated list of the user's recent chat executions
This is a convenience which creates an instance of the
ListChatsRequest.Builderavoiding the need to create one manually viaListChatsRequest.builder()- Parameters:
listChatsRequest- AConsumerthat will call methods onListChatsRequest.Builderto create a request. Request structure for listing chats- Returns:
- A Java Future containing the result of the ListChats operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExecutions
default CompletableFuture<ListExecutionsResponse> listExecutions(ListExecutionsRequest listExecutionsRequest) List executions
- Parameters:
listExecutionsRequest- Request structure for listing executions- Returns:
- A Java Future containing the result of the ListExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExecutions
default CompletableFuture<ListExecutionsResponse> listExecutions(Consumer<ListExecutionsRequest.Builder> listExecutionsRequest) List executions
This is a convenience which creates an instance of the
ListExecutionsRequest.Builderavoiding the need to create one manually viaListExecutionsRequest.builder()- Parameters:
listExecutionsRequest- AConsumerthat will call methods onListExecutionsRequest.Builderto create a request. Request structure for listing executions- Returns:
- A Java Future containing the result of the ListExecutions operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExecutionsPaginator
default ListExecutionsPublisher listExecutionsPaginator(ListExecutionsRequest listExecutionsRequest) This is a variant of
listExecutions(software.amazon.awssdk.services.devopsagent.model.ListExecutionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListExecutionsPublisher publisher = client.listExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListExecutionsPublisher publisher = client.listExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListExecutionsResponse response) { //... }; });Please notice that the configuration of limit 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
listExecutions(software.amazon.awssdk.services.devopsagent.model.ListExecutionsRequest)operation.- Parameters:
listExecutionsRequest- Request structure for listing executions- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExecutionsPaginator
default ListExecutionsPublisher listExecutionsPaginator(Consumer<ListExecutionsRequest.Builder> listExecutionsRequest) This is a variant of
listExecutions(software.amazon.awssdk.services.devopsagent.model.ListExecutionsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListExecutionsPublisher publisher = client.listExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListExecutionsPublisher publisher = client.listExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListExecutionsResponse response) { //... }; });Please notice that the configuration of limit 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
listExecutions(software.amazon.awssdk.services.devopsagent.model.ListExecutionsRequest)operation.
This is a convenience which creates an instance of the
ListExecutionsRequest.Builderavoiding the need to create one manually viaListExecutionsRequest.builder()- Parameters:
listExecutionsRequest- AConsumerthat will call methods onListExecutionsRequest.Builderto create a request. Request structure for listing executions- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGoals
Lists goals in the specified agent space with optional filtering
- Parameters:
listGoalsRequest- Request structure for listing goals- Returns:
- A Java Future containing the result of the ListGoals operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGoals
default CompletableFuture<ListGoalsResponse> listGoals(Consumer<ListGoalsRequest.Builder> listGoalsRequest) Lists goals in the specified agent space with optional filtering
This is a convenience which creates an instance of the
ListGoalsRequest.Builderavoiding the need to create one manually viaListGoalsRequest.builder()- Parameters:
listGoalsRequest- AConsumerthat will call methods onListGoalsRequest.Builderto create a request. Request structure for listing goals- Returns:
- A Java Future containing the result of the ListGoals operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGoalsPaginator
This is a variant of
listGoals(software.amazon.awssdk.services.devopsagent.model.ListGoalsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListGoalsPublisher publisher = client.listGoalsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListGoalsPublisher publisher = client.listGoalsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListGoalsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListGoalsResponse response) { //... }; });Please notice that the configuration of limit 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
listGoals(software.amazon.awssdk.services.devopsagent.model.ListGoalsRequest)operation.- Parameters:
listGoalsRequest- Request structure for listing goals- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listGoalsPaginator
This is a variant of
listGoals(software.amazon.awssdk.services.devopsagent.model.ListGoalsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListGoalsPublisher publisher = client.listGoalsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListGoalsPublisher publisher = client.listGoalsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListGoalsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListGoalsResponse response) { //... }; });Please notice that the configuration of limit 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
listGoals(software.amazon.awssdk.services.devopsagent.model.ListGoalsRequest)operation.
This is a convenience which creates an instance of the
ListGoalsRequest.Builderavoiding the need to create one manually viaListGoalsRequest.builder()- Parameters:
listGoalsRequest- AConsumerthat will call methods onListGoalsRequest.Builderto create a request. Request structure for listing goals- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listJournalRecords
default CompletableFuture<ListJournalRecordsResponse> listJournalRecords(ListJournalRecordsRequest listJournalRecordsRequest) List journal records for a specific execution
- Parameters:
listJournalRecordsRequest- Request structure for listing journal records with filtering and pagination support- Returns:
- A Java Future containing the result of the ListJournalRecords operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listJournalRecords
default CompletableFuture<ListJournalRecordsResponse> listJournalRecords(Consumer<ListJournalRecordsRequest.Builder> listJournalRecordsRequest) List journal records for a specific execution
This is a convenience which creates an instance of the
ListJournalRecordsRequest.Builderavoiding the need to create one manually viaListJournalRecordsRequest.builder()- Parameters:
listJournalRecordsRequest- AConsumerthat will call methods onListJournalRecordsRequest.Builderto create a request. Request structure for listing journal records with filtering and pagination support- Returns:
- A Java Future containing the result of the ListJournalRecords operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listJournalRecordsPaginator
default ListJournalRecordsPublisher listJournalRecordsPaginator(ListJournalRecordsRequest listJournalRecordsRequest) This is a variant of
listJournalRecords(software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListJournalRecordsPublisher publisher = client.listJournalRecordsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListJournalRecordsPublisher publisher = client.listJournalRecordsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsResponse response) { //... }; });Please notice that the configuration of limit 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
listJournalRecords(software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsRequest)operation.- Parameters:
listJournalRecordsRequest- Request structure for listing journal records with filtering and pagination support- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listJournalRecordsPaginator
default ListJournalRecordsPublisher listJournalRecordsPaginator(Consumer<ListJournalRecordsRequest.Builder> listJournalRecordsRequest) This is a variant of
listJournalRecords(software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListJournalRecordsPublisher publisher = client.listJournalRecordsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListJournalRecordsPublisher publisher = client.listJournalRecordsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsResponse response) { //... }; });Please notice that the configuration of limit 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
listJournalRecords(software.amazon.awssdk.services.devopsagent.model.ListJournalRecordsRequest)operation.
This is a convenience which creates an instance of the
ListJournalRecordsRequest.Builderavoiding the need to create one manually viaListJournalRecordsRequest.builder()- Parameters:
listJournalRecordsRequest- AConsumerthat will call methods onListJournalRecordsRequest.Builderto create a request. Request structure for listing journal records with filtering and pagination support- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPendingMessages
default CompletableFuture<ListPendingMessagesResponse> listPendingMessages(ListPendingMessagesRequest listPendingMessagesRequest) List pending messages for a specific execution.
- Parameters:
listPendingMessagesRequest- Request structure for listing pending messages with filtering and pagination support- Returns:
- A Java Future containing the result of the ListPendingMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPendingMessages
default CompletableFuture<ListPendingMessagesResponse> listPendingMessages(Consumer<ListPendingMessagesRequest.Builder> listPendingMessagesRequest) List pending messages for a specific execution.
This is a convenience which creates an instance of the
ListPendingMessagesRequest.Builderavoiding the need to create one manually viaListPendingMessagesRequest.builder()- Parameters:
listPendingMessagesRequest- AConsumerthat will call methods onListPendingMessagesRequest.Builderto create a request. Request structure for listing pending messages with filtering and pagination support- Returns:
- A Java Future containing the result of the ListPendingMessages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPrivateConnections
default CompletableFuture<ListPrivateConnectionsResponse> listPrivateConnections(ListPrivateConnectionsRequest listPrivateConnectionsRequest) Lists all Private Connections in the caller's account.
- Parameters:
listPrivateConnectionsRequest- Input for listing Private Connections in the caller's account.- Returns:
- A Java Future containing the result of the ListPrivateConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listPrivateConnections
default CompletableFuture<ListPrivateConnectionsResponse> listPrivateConnections(Consumer<ListPrivateConnectionsRequest.Builder> listPrivateConnectionsRequest) Lists all Private Connections in the caller's account.
This is a convenience which creates an instance of the
ListPrivateConnectionsRequest.Builderavoiding the need to create one manually viaListPrivateConnectionsRequest.builder()- Parameters:
listPrivateConnectionsRequest- AConsumerthat will call methods onListPrivateConnectionsRequest.Builderto create a request. Input for listing Private Connections in the caller's account.- Returns:
- A Java Future containing the result of the ListPrivateConnections operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendations
default CompletableFuture<ListRecommendationsResponse> listRecommendations(ListRecommendationsRequest listRecommendationsRequest) Lists recommendations for the specified agent space
- Parameters:
listRecommendationsRequest- Request structure for listing recommendations with filtering and pagination support- Returns:
- A Java Future containing the result of the ListRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRecommendations
default CompletableFuture<ListRecommendationsResponse> listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) Lists recommendations for the specified agent space
This is a convenience which creates an instance of the
ListRecommendationsRequest.Builderavoiding the need to create one manually viaListRecommendationsRequest.builder()- Parameters:
listRecommendationsRequest- AConsumerthat will call methods onListRecommendationsRequest.Builderto create a request. Request structure for listing recommendations with filtering and pagination support- Returns:
- A Java Future containing the result of the ListRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServices
default CompletableFuture<ListServicesResponse> listServices(ListServicesRequest listServicesRequest) List a list of registered service on the account level.
- Parameters:
listServicesRequest- Input for listing registered services with optional filtering by service type.- Returns:
- A Java Future containing the result of the ListServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServices
default CompletableFuture<ListServicesResponse> listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) List a list of registered service on the account level.
This is a convenience which creates an instance of the
ListServicesRequest.Builderavoiding the need to create one manually viaListServicesRequest.builder()- Parameters:
listServicesRequest- AConsumerthat will call methods onListServicesRequest.Builderto create a request. Input for listing registered services with optional filtering by service type.- Returns:
- A Java Future containing the result of the ListServices operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicesPaginator
This is a variant of
listServices(software.amazon.awssdk.services.devopsagent.model.ListServicesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListServicesResponse response) { //... }; });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
listServices(software.amazon.awssdk.services.devopsagent.model.ListServicesRequest)operation.- Parameters:
listServicesRequest- Input for listing registered services with optional filtering by service type.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicesPaginator
default ListServicesPublisher listServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant of
listServices(software.amazon.awssdk.services.devopsagent.model.ListServicesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.devopsagent.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.devopsagent.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devopsagent.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.devopsagent.model.ListServicesResponse response) { //... }; });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
listServices(software.amazon.awssdk.services.devopsagent.model.ListServicesRequest)operation.
This is a convenience which creates an instance of the
ListServicesRequest.Builderavoiding the need to create one manually viaListServicesRequest.builder()- Parameters:
listServicesRequest- AConsumerthat will call methods onListServicesRequest.Builderto create a request. Input for listing registered services with optional filtering by service type.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for the specified AWS DevOps Agent resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists tags for the specified AWS DevOps Agent resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWebhooks
default CompletableFuture<ListWebhooksResponse> listWebhooks(ListWebhooksRequest listWebhooksRequest) List all webhooks for given Association
- Parameters:
listWebhooksRequest- Input for listing service webhooks within an association.- Returns:
- A Java Future containing the result of the ListWebhooks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWebhooks
default CompletableFuture<ListWebhooksResponse> listWebhooks(Consumer<ListWebhooksRequest.Builder> listWebhooksRequest) List all webhooks for given Association
This is a convenience which creates an instance of the
ListWebhooksRequest.Builderavoiding the need to create one manually viaListWebhooksRequest.builder()- Parameters:
listWebhooksRequest- AConsumerthat will call methods onListWebhooksRequest.Builderto create a request. Input for listing service webhooks within an association.- Returns:
- A Java Future containing the result of the ListWebhooks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerService
default CompletableFuture<RegisterServiceResponse> registerService(RegisterServiceRequest registerServiceRequest) This operation registers the specified service
- Parameters:
registerServiceRequest- Input for registering a new service with the platform.- Returns:
- A Java Future containing the result of the RegisterService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerService
default CompletableFuture<RegisterServiceResponse> registerService(Consumer<RegisterServiceRequest.Builder> registerServiceRequest) This operation registers the specified service
This is a convenience which creates an instance of the
RegisterServiceRequest.Builderavoiding the need to create one manually viaRegisterServiceRequest.builder()- Parameters:
registerServiceRequest- AConsumerthat will call methods onRegisterServiceRequest.Builderto create a request. Input for registering a new service with the platform.- Returns:
- A Java Future containing the result of the RegisterService operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendMessage
default CompletableFuture<Void> sendMessage(SendMessageRequest sendMessageRequest, SendMessageResponseHandler asyncResponseHandler) Sends a chat message and streams the response for the specified agent space execution
- Parameters:
sendMessageRequest- Request structure for sending a chat message- Returns:
- A Java Future containing the result of the SendMessage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
sendMessage
default CompletableFuture<Void> sendMessage(Consumer<SendMessageRequest.Builder> sendMessageRequest, SendMessageResponseHandler asyncResponseHandler) Sends a chat message and streams the response for the specified agent space execution
This is a convenience which creates an instance of the
SendMessageRequest.Builderavoiding the need to create one manually viaSendMessageRequest.builder()- Parameters:
sendMessageRequest- AConsumerthat will call methods onSendMessageRequest.Builderto create a request. Request structure for sending a chat message- Returns:
- A Java Future containing the result of the SendMessage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds or overwrites tags for the specified AWS DevOps Agent resource.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites tags for the specified AWS DevOps Agent resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from the specified AWS DevOps Agent resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from the specified AWS DevOps Agent resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- InvalidParameterException One or more parameters provided in the request are invalid.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAgentSpace
default CompletableFuture<UpdateAgentSpaceResponse> updateAgentSpace(UpdateAgentSpaceRequest updateAgentSpaceRequest) Updates the information of an existing AgentSpace.
- Parameters:
updateAgentSpaceRequest- Input for updating an existing AgentSpace's properties. All fields except agentSpaceId are optional for partial updates.- Returns:
- A Java Future containing the result of the UpdateAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAgentSpace
default CompletableFuture<UpdateAgentSpaceResponse> updateAgentSpace(Consumer<UpdateAgentSpaceRequest.Builder> updateAgentSpaceRequest) Updates the information of an existing AgentSpace.
This is a convenience which creates an instance of the
UpdateAgentSpaceRequest.Builderavoiding the need to create one manually viaUpdateAgentSpaceRequest.builder()- Parameters:
updateAgentSpaceRequest- AConsumerthat will call methods onUpdateAgentSpaceRequest.Builderto create a request. Input for updating an existing AgentSpace's properties. All fields except agentSpaceId are optional for partial updates.- Returns:
- A Java Future containing the result of the UpdateAgentSpace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAsset
Updates an asset in the specified agent space
- Parameters:
updateAssetRequest- Request structure for updating an asset- Returns:
- A Java Future containing the result of the UpdateAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAsset
default CompletableFuture<UpdateAssetResponse> updateAsset(Consumer<UpdateAssetRequest.Builder> updateAssetRequest) Updates an asset in the specified agent space
This is a convenience which creates an instance of the
UpdateAssetRequest.Builderavoiding the need to create one manually viaUpdateAssetRequest.builder()- Parameters:
updateAssetRequest- AConsumerthat will call methods onUpdateAssetRequest.Builderto create a request. Request structure for updating an asset- Returns:
- A Java Future containing the result of the UpdateAsset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssetFile
default CompletableFuture<UpdateAssetFileResponse> updateAssetFile(UpdateAssetFileRequest updateAssetFileRequest) Updates a file in an asset
- Parameters:
updateAssetFileRequest- Request structure for updating an asset file- Returns:
- A Java Future containing the result of the UpdateAssetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssetFile
default CompletableFuture<UpdateAssetFileResponse> updateAssetFile(Consumer<UpdateAssetFileRequest.Builder> updateAssetFileRequest) Updates a file in an asset
This is a convenience which creates an instance of the
UpdateAssetFileRequest.Builderavoiding the need to create one manually viaUpdateAssetFileRequest.builder()- Parameters:
updateAssetFileRequest- AConsumerthat will call methods onUpdateAssetFileRequest.Builderto create a request. Request structure for updating an asset file- Returns:
- A Java Future containing the result of the UpdateAssetFile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssociation
default CompletableFuture<UpdateAssociationResponse> updateAssociation(UpdateAssociationRequest updateAssociationRequest) Partially updates the configuration of an existing service association for an AgentSpace. Present fields are fully replaced; absent fields are left unchanged. Returns 200 OK on success.
- Parameters:
updateAssociationRequest- Input for updating an existing service association. Present fields are fully replaced; absent fields are left unchanged.- Returns:
- A Java Future containing the result of the UpdateAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAssociation
default CompletableFuture<UpdateAssociationResponse> updateAssociation(Consumer<UpdateAssociationRequest.Builder> updateAssociationRequest) Partially updates the configuration of an existing service association for an AgentSpace. Present fields are fully replaced; absent fields are left unchanged. Returns 200 OK on success.
This is a convenience which creates an instance of the
UpdateAssociationRequest.Builderavoiding the need to create one manually viaUpdateAssociationRequest.builder()- Parameters:
updateAssociationRequest- AConsumerthat will call methods onUpdateAssociationRequest.Builderto create a request. Input for updating an existing service association. Present fields are fully replaced; absent fields are left unchanged.- Returns:
- A Java Future containing the result of the UpdateAssociation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBacklogTask
default CompletableFuture<UpdateBacklogTaskResponse> updateBacklogTask(UpdateBacklogTaskRequest updateBacklogTaskRequest) Update an existing backlog task.
- Parameters:
updateBacklogTaskRequest- Request structure for updating a task- Returns:
- A Java Future containing the result of the UpdateBacklogTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateBacklogTask
default CompletableFuture<UpdateBacklogTaskResponse> updateBacklogTask(Consumer<UpdateBacklogTaskRequest.Builder> updateBacklogTaskRequest) Update an existing backlog task.
This is a convenience which creates an instance of the
UpdateBacklogTaskRequest.Builderavoiding the need to create one manually viaUpdateBacklogTaskRequest.builder()- Parameters:
updateBacklogTaskRequest- AConsumerthat will call methods onUpdateBacklogTaskRequest.Builderto create a request. Request structure for updating a task- Returns:
- A Java Future containing the result of the UpdateBacklogTask operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGoal
Update an existing goal
- Parameters:
updateGoalRequest- Request structure for updating a goal- Returns:
- A Java Future containing the result of the UpdateGoal operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateGoal
default CompletableFuture<UpdateGoalResponse> updateGoal(Consumer<UpdateGoalRequest.Builder> updateGoalRequest) Update an existing goal
This is a convenience which creates an instance of the
UpdateGoalRequest.Builderavoiding the need to create one manually viaUpdateGoalRequest.builder()- Parameters:
updateGoalRequest- AConsumerthat will call methods onUpdateGoalRequest.Builderto create a request. Request structure for updating a goal- Returns:
- A Java Future containing the result of the UpdateGoal operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateOperatorAppIdpConfig
default CompletableFuture<UpdateOperatorAppIdpConfigResponse> updateOperatorAppIdpConfig(UpdateOperatorAppIdpConfigRequest updateOperatorAppIdpConfigRequest) Update the external Identity Provider configuration for the Operator App
- Parameters:
updateOperatorAppIdpConfigRequest- Input for updating the external Identity Provider configuration for the Operator App.- Returns:
- A Java Future containing the result of the UpdateOperatorAppIdpConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateOperatorAppIdpConfig
default CompletableFuture<UpdateOperatorAppIdpConfigResponse> updateOperatorAppIdpConfig(Consumer<UpdateOperatorAppIdpConfigRequest.Builder> updateOperatorAppIdpConfigRequest) Update the external Identity Provider configuration for the Operator App
This is a convenience which creates an instance of the
UpdateOperatorAppIdpConfigRequest.Builderavoiding the need to create one manually viaUpdateOperatorAppIdpConfigRequest.builder()- Parameters:
updateOperatorAppIdpConfigRequest- AConsumerthat will call methods onUpdateOperatorAppIdpConfigRequest.Builderto create a request. Input for updating the external Identity Provider configuration for the Operator App.- Returns:
- A Java Future containing the result of the UpdateOperatorAppIdpConfig operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePrivateConnectionCertificate
default CompletableFuture<UpdatePrivateConnectionCertificateResponse> updatePrivateConnectionCertificate(UpdatePrivateConnectionCertificateRequest updatePrivateConnectionCertificateRequest) Updates the certificate associated with a Private Connection.
- Parameters:
updatePrivateConnectionCertificateRequest- Input for updating the certificate of a Private Connection.- Returns:
- A Java Future containing the result of the UpdatePrivateConnectionCertificate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updatePrivateConnectionCertificate
default CompletableFuture<UpdatePrivateConnectionCertificateResponse> updatePrivateConnectionCertificate(Consumer<UpdatePrivateConnectionCertificateRequest.Builder> updatePrivateConnectionCertificateRequest) Updates the certificate associated with a Private Connection.
This is a convenience which creates an instance of the
UpdatePrivateConnectionCertificateRequest.Builderavoiding the need to create one manually viaUpdatePrivateConnectionCertificateRequest.builder()- Parameters:
updatePrivateConnectionCertificateRequest- AConsumerthat will call methods onUpdatePrivateConnectionCertificateRequest.Builderto create a request. Input for updating the certificate of a Private Connection.- Returns:
- A Java Future containing the result of the UpdatePrivateConnectionCertificate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecommendation
default CompletableFuture<UpdateRecommendationResponse> updateRecommendation(UpdateRecommendationRequest updateRecommendationRequest) Updates an existing recommendation with new content, status, or metadata
- Parameters:
updateRecommendationRequest- Request structure for updating an existing recommendation- Returns:
- A Java Future containing the result of the UpdateRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRecommendation
default CompletableFuture<UpdateRecommendationResponse> updateRecommendation(Consumer<UpdateRecommendationRequest.Builder> updateRecommendationRequest) Updates an existing recommendation with new content, status, or metadata
This is a convenience which creates an instance of the
UpdateRecommendationRequest.Builderavoiding the need to create one manually viaUpdateRecommendationRequest.builder()- Parameters:
updateRecommendationRequest- AConsumerthat will call methods onUpdateRecommendationRequest.Builderto create a request. Request structure for updating an existing recommendation- Returns:
- A Java Future containing the result of the UpdateRecommendation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
validateAwsAssociations
default CompletableFuture<ValidateAwsAssociationsResponse> validateAwsAssociations(ValidateAwsAssociationsRequest validateAwsAssociationsRequest) Validates an aws association and set status and returns a 204 No Content response on success.
- Parameters:
validateAwsAssociationsRequest- Input for validating an aws association- Returns:
- A Java Future containing the result of the ValidateAwsAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
validateAwsAssociations
default CompletableFuture<ValidateAwsAssociationsResponse> validateAwsAssociations(Consumer<ValidateAwsAssociationsRequest.Builder> validateAwsAssociationsRequest) Validates an aws association and set status and returns a 204 No Content response on success.
This is a convenience which creates an instance of the
ValidateAwsAssociationsRequest.Builderavoiding the need to create one manually viaValidateAwsAssociationsRequest.builder()- Parameters:
validateAwsAssociationsRequest- AConsumerthat will call methods onValidateAwsAssociationsRequest.Builderto create a request. Input for validating an aws association- Returns:
- A Java Future containing the result of the ValidateAwsAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The input fails to satisfy the constraints specified by the service.
- ContentSizeExceededException This exception is thrown when the content size exceeds the allowed limit.
- ServiceQuotaExceededException The request would exceed the service quota limit.
- ConflictException The request conflicts with the current state of the resource.
- InternalServerException This exception is thrown when an unexpected error occurs in the processing of a request.
- AccessDeniedException Access to the requested resource is denied due to insufficient permissions.
- ResourceNotFoundException The requested resource could not be found.
- ThrottlingException The request was throttled due to too many requests. Please slow down and try again.
- InvalidParameterException One or more parameters provided in the request are invalid.
- 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.
- DevOpsAgentException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aDevOpsAgentAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aDevOpsAgentAsyncClient.
-