Interface ProtonAsyncClient
- 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.
This is the Proton Service API Reference. It provides descriptions, syntax and usage examples for each of the actions and data types for the Proton service.
The documentation for each action shows the Query API request parameters and the XML response.
Alternatively, you can use the Amazon Web Services CLI to access an API. For more information, see the Amazon Web Services Command Line Interface User Guide.
The Proton service is a two-pronged automation framework. Administrators create service templates to provide standardized infrastructure and deployment tooling for serverless and container based applications. Developers, in turn, select from the available service templates to automate their application or service deployments.
Because administrators define the infrastructure and tooling that Proton deploys and manages, they need permissions to use all of the listed API operations.
When developers select a specific infrastructure and tooling set, Proton deploys their applications. To monitor their applications that are running on Proton, developers need permissions to the service create, list, update and delete API operations and the service instance list and update API operations.
To learn more about Proton, see the Proton User Guide.
Ensuring Idempotency
When you make a mutating API request, the request typically returns a result before the asynchronous workflows of the operation are complete. Operations might also time out or encounter other server issues before they're complete, even if the request already returned a result. This might make it difficult to determine whether the request succeeded. Moreover, you might need to retry the request multiple times to ensure that the operation completes successfully. However, if the original request and the subsequent retries are successful, the operation occurs multiple times. This means that you might create more resources than you intended.
Idempotency ensures that an API request action completes no more than one time. With an idempotent request, if the original request action completes successfully, any subsequent retries complete successfully without performing any further actions. However, the result might contain updated information, such as the current creation status.
The following lists of APIs are grouped according to methods that ensure idempotency.
Idempotent create APIs with a client token
The API actions in this list support idempotency with the use of a client token. The corresponding Amazon Web Services CLI commands also support idempotency using a client token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. To make an idempotent API request using one of these actions, specify a client token in the request. We recommend that you don't reuse the same client token for other API requests. If you don’t provide a client token for these APIs, a default client token is automatically provided by SDKs.
Given a request action that has succeeded:
If you retry the request using the same client token and the same parameters, the retry succeeds without performing any further actions other than returning the original resource detail data in the response.
If you retry the request using the same client token, but one or more of the parameters are different, the retry
throws a ValidationException with an IdempotentParameterMismatch error.
Client tokens expire eight hours after a request is made. If you retry the request with the expired token, a new resource is created.
If the original resource is deleted and you retry the request, a new resource is created.
Idempotent create APIs with a client token:
-
CreateEnvironmentTemplateVersion
-
CreateServiceTemplateVersion
-
CreateEnvironmentAccountConnection
Idempotent create APIs
Given a request action that has succeeded:
If you retry the request with an API from this group, and the original resource hasn't been modified, the retry succeeds without performing any further actions other than returning the original resource detail data in the response.
If the original resource has been modified, the retry throws a ConflictException.
If you retry with different input parameters, the retry throws a ValidationException with an
IdempotentParameterMismatch error.
Idempotent create APIs:
-
CreateEnvironmentTemplate
-
CreateServiceTemplate
-
CreateEnvironment
-
CreateService
Idempotent delete APIs
Given a request action that has succeeded:
When you retry the request with an API from this group and the resource was deleted, its metadata is returned in the response.
If you retry and the resource doesn't exist, the response is empty.
In both cases, the retry succeeds.
Idempotent delete APIs:
-
DeleteEnvironmentTemplate
-
DeleteEnvironmentTemplateVersion
-
DeleteServiceTemplate
-
DeleteServiceTemplateVersion
-
DeleteEnvironmentAccountConnection
Asynchronous idempotent delete APIs
Given a request action that has succeeded:
If you retry the request with an API from this group, if the original request delete operation status is
DELETE_IN_PROGRESS, the retry returns the resource detail data in the response without performing any
further actions.
If the original request delete operation is complete, a retry returns an empty response.
Asynchronous idempotent delete APIs:
-
DeleteEnvironment
-
DeleteService
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionacceptEnvironmentAccountConnection(Consumer<AcceptEnvironmentAccountConnectionRequest.Builder> acceptEnvironmentAccountConnectionRequest) In a management account, an environment account connection request is accepted.acceptEnvironmentAccountConnection(AcceptEnvironmentAccountConnectionRequest acceptEnvironmentAccountConnectionRequest) In a management account, an environment account connection request is accepted.static ProtonAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aProtonAsyncClient.cancelComponentDeployment(Consumer<CancelComponentDeploymentRequest.Builder> cancelComponentDeploymentRequest) Attempts to cancel a component deployment (for a component that is in theIN_PROGRESSdeployment status).cancelComponentDeployment(CancelComponentDeploymentRequest cancelComponentDeploymentRequest) Attempts to cancel a component deployment (for a component that is in theIN_PROGRESSdeployment status).cancelEnvironmentDeployment(Consumer<CancelEnvironmentDeploymentRequest.Builder> cancelEnvironmentDeploymentRequest) Attempts to cancel an environment deployment on an UpdateEnvironment action, if the deployment isIN_PROGRESS.cancelEnvironmentDeployment(CancelEnvironmentDeploymentRequest cancelEnvironmentDeploymentRequest) Attempts to cancel an environment deployment on an UpdateEnvironment action, if the deployment isIN_PROGRESS.cancelServiceInstanceDeployment(Consumer<CancelServiceInstanceDeploymentRequest.Builder> cancelServiceInstanceDeploymentRequest) Attempts to cancel a service instance deployment on an UpdateServiceInstance action, if the deployment isIN_PROGRESS.cancelServiceInstanceDeployment(CancelServiceInstanceDeploymentRequest cancelServiceInstanceDeploymentRequest) Attempts to cancel a service instance deployment on an UpdateServiceInstance action, if the deployment isIN_PROGRESS.cancelServicePipelineDeployment(Consumer<CancelServicePipelineDeploymentRequest.Builder> cancelServicePipelineDeploymentRequest) Attempts to cancel a service pipeline deployment on an UpdateServicePipeline action, if the deployment isIN_PROGRESS.cancelServicePipelineDeployment(CancelServicePipelineDeploymentRequest cancelServicePipelineDeploymentRequest) Attempts to cancel a service pipeline deployment on an UpdateServicePipeline action, if the deployment isIN_PROGRESS.static ProtonAsyncClientcreate()Create aProtonAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateComponentResponse> createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) Create an Proton component.default CompletableFuture<CreateComponentResponse> createComponent(CreateComponentRequest createComponentRequest) Create an Proton component.createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Deploy a new environment.createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Deploy a new environment.createEnvironmentAccountConnection(Consumer<CreateEnvironmentAccountConnectionRequest.Builder> createEnvironmentAccountConnectionRequest) Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment account from a management account.createEnvironmentAccountConnection(CreateEnvironmentAccountConnectionRequest createEnvironmentAccountConnectionRequest) Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment account from a management account.createEnvironmentTemplate(Consumer<CreateEnvironmentTemplateRequest.Builder> createEnvironmentTemplateRequest) Create an environment template for Proton.createEnvironmentTemplate(CreateEnvironmentTemplateRequest createEnvironmentTemplateRequest) Create an environment template for Proton.createEnvironmentTemplateVersion(Consumer<CreateEnvironmentTemplateVersionRequest.Builder> createEnvironmentTemplateVersionRequest) Create a new major or minor version of an environment template.createEnvironmentTemplateVersion(CreateEnvironmentTemplateVersionRequest createEnvironmentTemplateVersionRequest) Create a new major or minor version of an environment template.createRepository(Consumer<CreateRepositoryRequest.Builder> createRepositoryRequest) Create and register a link to a repository.createRepository(CreateRepositoryRequest createRepositoryRequest) Create and register a link to a repository.default CompletableFuture<CreateServiceResponse> createService(Consumer<CreateServiceRequest.Builder> createServiceRequest) Create an Proton service.default CompletableFuture<CreateServiceResponse> createService(CreateServiceRequest createServiceRequest) Create an Proton service.createServiceInstance(Consumer<CreateServiceInstanceRequest.Builder> createServiceInstanceRequest) Create a service instance.createServiceInstance(CreateServiceInstanceRequest createServiceInstanceRequest) Create a service instance.createServiceSyncConfig(Consumer<CreateServiceSyncConfigRequest.Builder> createServiceSyncConfigRequest) Create the Proton Ops configuration file.createServiceSyncConfig(CreateServiceSyncConfigRequest createServiceSyncConfigRequest) Create the Proton Ops configuration file.createServiceTemplate(Consumer<CreateServiceTemplateRequest.Builder> createServiceTemplateRequest) Create a service template.createServiceTemplate(CreateServiceTemplateRequest createServiceTemplateRequest) Create a service template.createServiceTemplateVersion(Consumer<CreateServiceTemplateVersionRequest.Builder> createServiceTemplateVersionRequest) Create a new major or minor version of a service template.createServiceTemplateVersion(CreateServiceTemplateVersionRequest createServiceTemplateVersionRequest) Create a new major or minor version of a service template.createTemplateSyncConfig(Consumer<CreateTemplateSyncConfigRequest.Builder> createTemplateSyncConfigRequest) Set up a template to create new template versions automatically by tracking a linked repository.createTemplateSyncConfig(CreateTemplateSyncConfigRequest createTemplateSyncConfigRequest) Set up a template to create new template versions automatically by tracking a linked repository.default CompletableFuture<DeleteComponentResponse> deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) Delete an Proton component resource.default CompletableFuture<DeleteComponentResponse> deleteComponent(DeleteComponentRequest deleteComponentRequest) Delete an Proton component resource.deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Delete the deployment.deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Delete the deployment.deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Delete an environment.deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Delete an environment.deleteEnvironmentAccountConnection(Consumer<DeleteEnvironmentAccountConnectionRequest.Builder> deleteEnvironmentAccountConnectionRequest) In an environment account, delete an environment account connection.deleteEnvironmentAccountConnection(DeleteEnvironmentAccountConnectionRequest deleteEnvironmentAccountConnectionRequest) In an environment account, delete an environment account connection.deleteEnvironmentTemplate(Consumer<DeleteEnvironmentTemplateRequest.Builder> deleteEnvironmentTemplateRequest) If no other major or minor versions of an environment template exist, delete the environment template.deleteEnvironmentTemplate(DeleteEnvironmentTemplateRequest deleteEnvironmentTemplateRequest) If no other major or minor versions of an environment template exist, delete the environment template.deleteEnvironmentTemplateVersion(Consumer<DeleteEnvironmentTemplateVersionRequest.Builder> deleteEnvironmentTemplateVersionRequest) If no other minor versions of an environment template exist, delete a major version of the environment template if it's not theRecommendedversion.deleteEnvironmentTemplateVersion(DeleteEnvironmentTemplateVersionRequest deleteEnvironmentTemplateVersionRequest) If no other minor versions of an environment template exist, delete a major version of the environment template if it's not theRecommendedversion.deleteRepository(Consumer<DeleteRepositoryRequest.Builder> deleteRepositoryRequest) De-register and unlink your repository.deleteRepository(DeleteRepositoryRequest deleteRepositoryRequest) De-register and unlink your repository.default CompletableFuture<DeleteServiceResponse> deleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) Delete a service, with its instances and pipeline.default CompletableFuture<DeleteServiceResponse> deleteService(DeleteServiceRequest deleteServiceRequest) Delete a service, with its instances and pipeline.deleteServiceSyncConfig(Consumer<DeleteServiceSyncConfigRequest.Builder> deleteServiceSyncConfigRequest) Delete the Proton Ops file.deleteServiceSyncConfig(DeleteServiceSyncConfigRequest deleteServiceSyncConfigRequest) Delete the Proton Ops file.deleteServiceTemplate(Consumer<DeleteServiceTemplateRequest.Builder> deleteServiceTemplateRequest) If no other major or minor versions of the service template exist, delete the service template.deleteServiceTemplate(DeleteServiceTemplateRequest deleteServiceTemplateRequest) If no other major or minor versions of the service template exist, delete the service template.deleteServiceTemplateVersion(Consumer<DeleteServiceTemplateVersionRequest.Builder> deleteServiceTemplateVersionRequest) If no other minor versions of a service template exist, delete a major version of the service template if it's not theRecommendedversion.deleteServiceTemplateVersion(DeleteServiceTemplateVersionRequest deleteServiceTemplateVersionRequest) If no other minor versions of a service template exist, delete a major version of the service template if it's not theRecommendedversion.deleteTemplateSyncConfig(Consumer<DeleteTemplateSyncConfigRequest.Builder> deleteTemplateSyncConfigRequest) Delete a template sync configuration.deleteTemplateSyncConfig(DeleteTemplateSyncConfigRequest deleteTemplateSyncConfigRequest) Delete a template sync configuration.getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest) Get detail data for Proton account-wide settings.getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest) Get detail data for Proton account-wide settings.default CompletableFuture<GetComponentResponse> getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest) Get detailed data for a component.default CompletableFuture<GetComponentResponse> getComponent(GetComponentRequest getComponentRequest) Get detailed data for a component.default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Get detailed data for a deployment.default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest) Get detailed data for a deployment.default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Get detailed data for an environment.default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Get detailed data for an environment.getEnvironmentAccountConnection(Consumer<GetEnvironmentAccountConnectionRequest.Builder> getEnvironmentAccountConnectionRequest) In an environment account, get the detailed data for an environment account connection.getEnvironmentAccountConnection(GetEnvironmentAccountConnectionRequest getEnvironmentAccountConnectionRequest) In an environment account, get the detailed data for an environment account connection.getEnvironmentTemplate(Consumer<GetEnvironmentTemplateRequest.Builder> getEnvironmentTemplateRequest) Get detailed data for an environment template.getEnvironmentTemplate(GetEnvironmentTemplateRequest getEnvironmentTemplateRequest) Get detailed data for an environment template.getEnvironmentTemplateVersion(Consumer<GetEnvironmentTemplateVersionRequest.Builder> getEnvironmentTemplateVersionRequest) Get detailed data for a major or minor version of an environment template.getEnvironmentTemplateVersion(GetEnvironmentTemplateVersionRequest getEnvironmentTemplateVersionRequest) Get detailed data for a major or minor version of an environment template.default CompletableFuture<GetRepositoryResponse> getRepository(Consumer<GetRepositoryRequest.Builder> getRepositoryRequest) Get detail data for a linked repository.default CompletableFuture<GetRepositoryResponse> getRepository(GetRepositoryRequest getRepositoryRequest) Get detail data for a linked repository.getRepositorySyncStatus(Consumer<GetRepositorySyncStatusRequest.Builder> getRepositorySyncStatusRequest) Get the sync status of a repository used for Proton template sync.getRepositorySyncStatus(GetRepositorySyncStatusRequest getRepositorySyncStatusRequest) Get the sync status of a repository used for Proton template sync.getResourcesSummary(Consumer<GetResourcesSummaryRequest.Builder> getResourcesSummaryRequest) Get counts of Proton resources.getResourcesSummary(GetResourcesSummaryRequest getResourcesSummaryRequest) Get counts of Proton resources.default CompletableFuture<GetServiceResponse> getService(Consumer<GetServiceRequest.Builder> getServiceRequest) Get detailed data for a service.default CompletableFuture<GetServiceResponse> getService(GetServiceRequest getServiceRequest) Get detailed data for a service.getServiceInstance(Consumer<GetServiceInstanceRequest.Builder> getServiceInstanceRequest) Get detailed data for a service instance.getServiceInstance(GetServiceInstanceRequest getServiceInstanceRequest) Get detailed data for a service instance.getServiceInstanceSyncStatus(Consumer<GetServiceInstanceSyncStatusRequest.Builder> getServiceInstanceSyncStatusRequest) Get the status of the synced service instance.getServiceInstanceSyncStatus(GetServiceInstanceSyncStatusRequest getServiceInstanceSyncStatusRequest) Get the status of the synced service instance.getServiceSyncBlockerSummary(Consumer<GetServiceSyncBlockerSummaryRequest.Builder> getServiceSyncBlockerSummaryRequest) Get detailed data for the service sync blocker summary.getServiceSyncBlockerSummary(GetServiceSyncBlockerSummaryRequest getServiceSyncBlockerSummaryRequest) Get detailed data for the service sync blocker summary.getServiceSyncConfig(Consumer<GetServiceSyncConfigRequest.Builder> getServiceSyncConfigRequest) Get detailed information for the service sync configuration.getServiceSyncConfig(GetServiceSyncConfigRequest getServiceSyncConfigRequest) Get detailed information for the service sync configuration.getServiceTemplate(Consumer<GetServiceTemplateRequest.Builder> getServiceTemplateRequest) Get detailed data for a service template.getServiceTemplate(GetServiceTemplateRequest getServiceTemplateRequest) Get detailed data for a service template.getServiceTemplateVersion(Consumer<GetServiceTemplateVersionRequest.Builder> getServiceTemplateVersionRequest) Get detailed data for a major or minor version of a service template.getServiceTemplateVersion(GetServiceTemplateVersionRequest getServiceTemplateVersionRequest) Get detailed data for a major or minor version of a service template.getTemplateSyncConfig(Consumer<GetTemplateSyncConfigRequest.Builder> getTemplateSyncConfigRequest) Get detail data for a template sync configuration.getTemplateSyncConfig(GetTemplateSyncConfigRequest getTemplateSyncConfigRequest) Get detail data for a template sync configuration.getTemplateSyncStatus(Consumer<GetTemplateSyncStatusRequest.Builder> getTemplateSyncStatusRequest) Get the status of a template sync.getTemplateSyncStatus(GetTemplateSyncStatusRequest getTemplateSyncStatusRequest) Get the status of a template sync.listComponentOutputs(Consumer<ListComponentOutputsRequest.Builder> listComponentOutputsRequest) Get a list of component Infrastructure as Code (IaC) outputs.listComponentOutputs(ListComponentOutputsRequest listComponentOutputsRequest) Get a list of component Infrastructure as Code (IaC) outputs.default ListComponentOutputsPublisherlistComponentOutputsPaginator(Consumer<ListComponentOutputsRequest.Builder> listComponentOutputsRequest) This is a variant oflistComponentOutputs(software.amazon.awssdk.services.proton.model.ListComponentOutputsRequest)operation.default ListComponentOutputsPublisherlistComponentOutputsPaginator(ListComponentOutputsRequest listComponentOutputsRequest) This is a variant oflistComponentOutputs(software.amazon.awssdk.services.proton.model.ListComponentOutputsRequest)operation.listComponentProvisionedResources(Consumer<ListComponentProvisionedResourcesRequest.Builder> listComponentProvisionedResourcesRequest) List provisioned resources for a component with details.listComponentProvisionedResources(ListComponentProvisionedResourcesRequest listComponentProvisionedResourcesRequest) List provisioned resources for a component with details.listComponentProvisionedResourcesPaginator(Consumer<ListComponentProvisionedResourcesRequest.Builder> listComponentProvisionedResourcesRequest) This is a variant oflistComponentProvisionedResources(software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesRequest)operation.listComponentProvisionedResourcesPaginator(ListComponentProvisionedResourcesRequest listComponentProvisionedResourcesRequest) This is a variant oflistComponentProvisionedResources(software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesRequest)operation.default CompletableFuture<ListComponentsResponse> listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) List components with summary data.default CompletableFuture<ListComponentsResponse> listComponents(ListComponentsRequest listComponentsRequest) List components with summary data.default ListComponentsPublisherlistComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.proton.model.ListComponentsRequest)operation.default ListComponentsPublisherlistComponentsPaginator(ListComponentsRequest listComponentsRequest) This is a variant oflistComponents(software.amazon.awssdk.services.proton.model.ListComponentsRequest)operation.default CompletableFuture<ListDeploymentsResponse> listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) List deployments.default CompletableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest listDeploymentsRequest) List deployments.default ListDeploymentsPublisherlistDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) This is a variant oflistDeployments(software.amazon.awssdk.services.proton.model.ListDeploymentsRequest)operation.default ListDeploymentsPublisherlistDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) This is a variant oflistDeployments(software.amazon.awssdk.services.proton.model.ListDeploymentsRequest)operation.listEnvironmentAccountConnections(Consumer<ListEnvironmentAccountConnectionsRequest.Builder> listEnvironmentAccountConnectionsRequest) View a list of environment account connections.listEnvironmentAccountConnections(ListEnvironmentAccountConnectionsRequest listEnvironmentAccountConnectionsRequest) View a list of environment account connections.listEnvironmentAccountConnectionsPaginator(Consumer<ListEnvironmentAccountConnectionsRequest.Builder> listEnvironmentAccountConnectionsRequest) This is a variant oflistEnvironmentAccountConnections(software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsRequest)operation.listEnvironmentAccountConnectionsPaginator(ListEnvironmentAccountConnectionsRequest listEnvironmentAccountConnectionsRequest) This is a variant oflistEnvironmentAccountConnections(software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsRequest)operation.listEnvironmentOutputs(Consumer<ListEnvironmentOutputsRequest.Builder> listEnvironmentOutputsRequest) List the infrastructure as code outputs for your environment.listEnvironmentOutputs(ListEnvironmentOutputsRequest listEnvironmentOutputsRequest) List the infrastructure as code outputs for your environment.default ListEnvironmentOutputsPublisherlistEnvironmentOutputsPaginator(Consumer<ListEnvironmentOutputsRequest.Builder> listEnvironmentOutputsRequest) This is a variant oflistEnvironmentOutputs(software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsRequest)operation.default ListEnvironmentOutputsPublisherlistEnvironmentOutputsPaginator(ListEnvironmentOutputsRequest listEnvironmentOutputsRequest) This is a variant oflistEnvironmentOutputs(software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsRequest)operation.listEnvironmentProvisionedResources(Consumer<ListEnvironmentProvisionedResourcesRequest.Builder> listEnvironmentProvisionedResourcesRequest) List the provisioned resources for your environment.listEnvironmentProvisionedResources(ListEnvironmentProvisionedResourcesRequest listEnvironmentProvisionedResourcesRequest) List the provisioned resources for your environment.listEnvironmentProvisionedResourcesPaginator(Consumer<ListEnvironmentProvisionedResourcesRequest.Builder> listEnvironmentProvisionedResourcesRequest) This is a variant oflistEnvironmentProvisionedResources(software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesRequest)operation.listEnvironmentProvisionedResourcesPaginator(ListEnvironmentProvisionedResourcesRequest listEnvironmentProvisionedResourcesRequest) This is a variant oflistEnvironmentProvisionedResources(software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesRequest)operation.listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) List environments with detail data summaries.listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) List environments with detail data summaries.default ListEnvironmentsPublisherlistEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.proton.model.ListEnvironmentsRequest)operation.default ListEnvironmentsPublisherlistEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant oflistEnvironments(software.amazon.awssdk.services.proton.model.ListEnvironmentsRequest)operation.listEnvironmentTemplates(Consumer<ListEnvironmentTemplatesRequest.Builder> listEnvironmentTemplatesRequest) List environment templates.listEnvironmentTemplates(ListEnvironmentTemplatesRequest listEnvironmentTemplatesRequest) List environment templates.listEnvironmentTemplatesPaginator(Consumer<ListEnvironmentTemplatesRequest.Builder> listEnvironmentTemplatesRequest) This is a variant oflistEnvironmentTemplates(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesRequest)operation.listEnvironmentTemplatesPaginator(ListEnvironmentTemplatesRequest listEnvironmentTemplatesRequest) This is a variant oflistEnvironmentTemplates(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesRequest)operation.listEnvironmentTemplateVersions(Consumer<ListEnvironmentTemplateVersionsRequest.Builder> listEnvironmentTemplateVersionsRequest) List major or minor versions of an environment template with detail data.listEnvironmentTemplateVersions(ListEnvironmentTemplateVersionsRequest listEnvironmentTemplateVersionsRequest) List major or minor versions of an environment template with detail data.listEnvironmentTemplateVersionsPaginator(Consumer<ListEnvironmentTemplateVersionsRequest.Builder> listEnvironmentTemplateVersionsRequest) This is a variant oflistEnvironmentTemplateVersions(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsRequest)operation.listEnvironmentTemplateVersionsPaginator(ListEnvironmentTemplateVersionsRequest listEnvironmentTemplateVersionsRequest) This is a variant oflistEnvironmentTemplateVersions(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsRequest)operation.listRepositories(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest) List linked repositories with detail data.listRepositories(ListRepositoriesRequest listRepositoriesRequest) List linked repositories with detail data.default ListRepositoriesPublisherlistRepositoriesPaginator(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest) This is a variant oflistRepositories(software.amazon.awssdk.services.proton.model.ListRepositoriesRequest)operation.default ListRepositoriesPublisherlistRepositoriesPaginator(ListRepositoriesRequest listRepositoriesRequest) This is a variant oflistRepositories(software.amazon.awssdk.services.proton.model.ListRepositoriesRequest)operation.listRepositorySyncDefinitions(Consumer<ListRepositorySyncDefinitionsRequest.Builder> listRepositorySyncDefinitionsRequest) List repository sync definitions with detail data.listRepositorySyncDefinitions(ListRepositorySyncDefinitionsRequest listRepositorySyncDefinitionsRequest) List repository sync definitions with detail data.listRepositorySyncDefinitionsPaginator(Consumer<ListRepositorySyncDefinitionsRequest.Builder> listRepositorySyncDefinitionsRequest) This is a variant oflistRepositorySyncDefinitions(software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsRequest)operation.listRepositorySyncDefinitionsPaginator(ListRepositorySyncDefinitionsRequest listRepositorySyncDefinitionsRequest) This is a variant oflistRepositorySyncDefinitions(software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsRequest)operation.listServiceInstanceOutputs(Consumer<ListServiceInstanceOutputsRequest.Builder> listServiceInstanceOutputsRequest) Get a list service of instance Infrastructure as Code (IaC) outputs.listServiceInstanceOutputs(ListServiceInstanceOutputsRequest listServiceInstanceOutputsRequest) Get a list service of instance Infrastructure as Code (IaC) outputs.listServiceInstanceOutputsPaginator(Consumer<ListServiceInstanceOutputsRequest.Builder> listServiceInstanceOutputsRequest) This is a variant oflistServiceInstanceOutputs(software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsRequest)operation.listServiceInstanceOutputsPaginator(ListServiceInstanceOutputsRequest listServiceInstanceOutputsRequest) This is a variant oflistServiceInstanceOutputs(software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsRequest)operation.listServiceInstanceProvisionedResources(Consumer<ListServiceInstanceProvisionedResourcesRequest.Builder> listServiceInstanceProvisionedResourcesRequest) List provisioned resources for a service instance with details.listServiceInstanceProvisionedResources(ListServiceInstanceProvisionedResourcesRequest listServiceInstanceProvisionedResourcesRequest) List provisioned resources for a service instance with details.listServiceInstanceProvisionedResourcesPaginator(Consumer<ListServiceInstanceProvisionedResourcesRequest.Builder> listServiceInstanceProvisionedResourcesRequest) listServiceInstanceProvisionedResourcesPaginator(ListServiceInstanceProvisionedResourcesRequest listServiceInstanceProvisionedResourcesRequest) listServiceInstances(Consumer<ListServiceInstancesRequest.Builder> listServiceInstancesRequest) List service instances with summary data.listServiceInstances(ListServiceInstancesRequest listServiceInstancesRequest) List service instances with summary data.default ListServiceInstancesPublisherlistServiceInstancesPaginator(Consumer<ListServiceInstancesRequest.Builder> listServiceInstancesRequest) This is a variant oflistServiceInstances(software.amazon.awssdk.services.proton.model.ListServiceInstancesRequest)operation.default ListServiceInstancesPublisherlistServiceInstancesPaginator(ListServiceInstancesRequest listServiceInstancesRequest) This is a variant oflistServiceInstances(software.amazon.awssdk.services.proton.model.ListServiceInstancesRequest)operation.listServicePipelineOutputs(Consumer<ListServicePipelineOutputsRequest.Builder> listServicePipelineOutputsRequest) Get a list of service pipeline Infrastructure as Code (IaC) outputs.listServicePipelineOutputs(ListServicePipelineOutputsRequest listServicePipelineOutputsRequest) Get a list of service pipeline Infrastructure as Code (IaC) outputs.listServicePipelineOutputsPaginator(Consumer<ListServicePipelineOutputsRequest.Builder> listServicePipelineOutputsRequest) This is a variant oflistServicePipelineOutputs(software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsRequest)operation.listServicePipelineOutputsPaginator(ListServicePipelineOutputsRequest listServicePipelineOutputsRequest) This is a variant oflistServicePipelineOutputs(software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsRequest)operation.listServicePipelineProvisionedResources(Consumer<ListServicePipelineProvisionedResourcesRequest.Builder> listServicePipelineProvisionedResourcesRequest) List provisioned resources for a service and pipeline with details.listServicePipelineProvisionedResources(ListServicePipelineProvisionedResourcesRequest listServicePipelineProvisionedResourcesRequest) List provisioned resources for a service and pipeline with details.listServicePipelineProvisionedResourcesPaginator(Consumer<ListServicePipelineProvisionedResourcesRequest.Builder> listServicePipelineProvisionedResourcesRequest) listServicePipelineProvisionedResourcesPaginator(ListServicePipelineProvisionedResourcesRequest listServicePipelineProvisionedResourcesRequest) default CompletableFuture<ListServicesResponse> listServices(Consumer<ListServicesRequest.Builder> listServicesRequest) List services with summaries of detail data.default CompletableFuture<ListServicesResponse> listServices(ListServicesRequest listServicesRequest) List services with summaries of detail data.default ListServicesPublisherlistServicesPaginator(Consumer<ListServicesRequest.Builder> listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.proton.model.ListServicesRequest)operation.default ListServicesPublisherlistServicesPaginator(ListServicesRequest listServicesRequest) This is a variant oflistServices(software.amazon.awssdk.services.proton.model.ListServicesRequest)operation.listServiceTemplates(Consumer<ListServiceTemplatesRequest.Builder> listServiceTemplatesRequest) List service templates with detail data.listServiceTemplates(ListServiceTemplatesRequest listServiceTemplatesRequest) List service templates with detail data.default ListServiceTemplatesPublisherlistServiceTemplatesPaginator(Consumer<ListServiceTemplatesRequest.Builder> listServiceTemplatesRequest) This is a variant oflistServiceTemplates(software.amazon.awssdk.services.proton.model.ListServiceTemplatesRequest)operation.default ListServiceTemplatesPublisherlistServiceTemplatesPaginator(ListServiceTemplatesRequest listServiceTemplatesRequest) This is a variant oflistServiceTemplates(software.amazon.awssdk.services.proton.model.ListServiceTemplatesRequest)operation.listServiceTemplateVersions(Consumer<ListServiceTemplateVersionsRequest.Builder> listServiceTemplateVersionsRequest) List major or minor versions of a service template with detail data.listServiceTemplateVersions(ListServiceTemplateVersionsRequest listServiceTemplateVersionsRequest) List major or minor versions of a service template with detail data.listServiceTemplateVersionsPaginator(Consumer<ListServiceTemplateVersionsRequest.Builder> listServiceTemplateVersionsRequest) This is a variant oflistServiceTemplateVersions(software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsRequest)operation.listServiceTemplateVersionsPaginator(ListServiceTemplateVersionsRequest listServiceTemplateVersionsRequest) This is a variant oflistServiceTemplateVersions(software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List tags for a resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List tags for a resource.default ListTagsForResourcePublisherlistTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This is a variant oflistTagsForResource(software.amazon.awssdk.services.proton.model.ListTagsForResourceRequest)operation.default ListTagsForResourcePublisherlistTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) This is a variant oflistTagsForResource(software.amazon.awssdk.services.proton.model.ListTagsForResourceRequest)operation.notifyResourceDeploymentStatusChange(Consumer<NotifyResourceDeploymentStatusChangeRequest.Builder> notifyResourceDeploymentStatusChangeRequest) Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.notifyResourceDeploymentStatusChange(NotifyResourceDeploymentStatusChangeRequest notifyResourceDeploymentStatusChangeRequest) Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.rejectEnvironmentAccountConnection(Consumer<RejectEnvironmentAccountConnectionRequest.Builder> rejectEnvironmentAccountConnectionRequest) In a management account, reject an environment account connection from another environment account.rejectEnvironmentAccountConnection(RejectEnvironmentAccountConnectionRequest rejectEnvironmentAccountConnectionRequest) In a management account, reject an environment account connection from another environment account.default ProtonServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tag a resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Tag a resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove a customer tag from a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Remove a customer tag from a resource.updateAccountSettings(Consumer<UpdateAccountSettingsRequest.Builder> updateAccountSettingsRequest) Update Proton settings that are used for multiple services in the Amazon Web Services account.updateAccountSettings(UpdateAccountSettingsRequest updateAccountSettingsRequest) Update Proton settings that are used for multiple services in the Amazon Web Services account.default CompletableFuture<UpdateComponentResponse> updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) Update a component.default CompletableFuture<UpdateComponentResponse> updateComponent(UpdateComponentRequest updateComponentRequest) Update a component.updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Update an environment.updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Update an environment.updateEnvironmentAccountConnection(Consumer<UpdateEnvironmentAccountConnectionRequest.Builder> updateEnvironmentAccountConnectionRequest) In an environment account, update an environment account connection to use a new IAM role.updateEnvironmentAccountConnection(UpdateEnvironmentAccountConnectionRequest updateEnvironmentAccountConnectionRequest) In an environment account, update an environment account connection to use a new IAM role.updateEnvironmentTemplate(Consumer<UpdateEnvironmentTemplateRequest.Builder> updateEnvironmentTemplateRequest) Update an environment template.updateEnvironmentTemplate(UpdateEnvironmentTemplateRequest updateEnvironmentTemplateRequest) Update an environment template.updateEnvironmentTemplateVersion(Consumer<UpdateEnvironmentTemplateVersionRequest.Builder> updateEnvironmentTemplateVersionRequest) Update a major or minor version of an environment template.updateEnvironmentTemplateVersion(UpdateEnvironmentTemplateVersionRequest updateEnvironmentTemplateVersionRequest) Update a major or minor version of an environment template.default CompletableFuture<UpdateServiceResponse> updateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) Edit a service description or use a spec to add and delete service instances.default CompletableFuture<UpdateServiceResponse> updateService(UpdateServiceRequest updateServiceRequest) Edit a service description or use a spec to add and delete service instances.updateServiceInstance(Consumer<UpdateServiceInstanceRequest.Builder> updateServiceInstanceRequest) Update a service instance.updateServiceInstance(UpdateServiceInstanceRequest updateServiceInstanceRequest) Update a service instance.updateServicePipeline(Consumer<UpdateServicePipelineRequest.Builder> updateServicePipelineRequest) Update the service pipeline.updateServicePipeline(UpdateServicePipelineRequest updateServicePipelineRequest) Update the service pipeline.updateServiceSyncBlocker(Consumer<UpdateServiceSyncBlockerRequest.Builder> updateServiceSyncBlockerRequest) Update the service sync blocker by resolving it.updateServiceSyncBlocker(UpdateServiceSyncBlockerRequest updateServiceSyncBlockerRequest) Update the service sync blocker by resolving it.updateServiceSyncConfig(Consumer<UpdateServiceSyncConfigRequest.Builder> updateServiceSyncConfigRequest) Update the Proton Ops config file.updateServiceSyncConfig(UpdateServiceSyncConfigRequest updateServiceSyncConfigRequest) Update the Proton Ops config file.updateServiceTemplate(Consumer<UpdateServiceTemplateRequest.Builder> updateServiceTemplateRequest) Update a service template.updateServiceTemplate(UpdateServiceTemplateRequest updateServiceTemplateRequest) Update a service template.updateServiceTemplateVersion(Consumer<UpdateServiceTemplateVersionRequest.Builder> updateServiceTemplateVersionRequest) Update a major or minor version of a service template.updateServiceTemplateVersion(UpdateServiceTemplateVersionRequest updateServiceTemplateVersionRequest) Update a major or minor version of a service template.updateTemplateSyncConfig(Consumer<UpdateTemplateSyncConfigRequest.Builder> updateTemplateSyncConfigRequest) Update template sync configuration parameters, except for thetemplateNameandtemplateType.updateTemplateSyncConfig(UpdateTemplateSyncConfigRequest updateTemplateSyncConfigRequest) Update template sync configuration parameters, except for thetemplateNameandtemplateType.default ProtonAsyncWaiterwaiter()Create an instance ofProtonAsyncWaiterusing this client.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
-
acceptEnvironmentAccountConnection
default CompletableFuture<AcceptEnvironmentAccountConnectionResponse> acceptEnvironmentAccountConnection(AcceptEnvironmentAccountConnectionRequest acceptEnvironmentAccountConnectionRequest) In a management account, an environment account connection request is accepted. When the environment account connection request is accepted, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
For more information, see Environment account connections in the Proton User guide.
- Parameters:
acceptEnvironmentAccountConnectionRequest-- Returns:
- A Java Future containing the result of the AcceptEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptEnvironmentAccountConnection
default CompletableFuture<AcceptEnvironmentAccountConnectionResponse> acceptEnvironmentAccountConnection(Consumer<AcceptEnvironmentAccountConnectionRequest.Builder> acceptEnvironmentAccountConnectionRequest) In a management account, an environment account connection request is accepted. When the environment account connection request is accepted, Proton can use the associated IAM role to provision environment infrastructure resources in the associated environment account.
For more information, see Environment account connections in the Proton User guide.
This is a convenience which creates an instance of the
AcceptEnvironmentAccountConnectionRequest.Builderavoiding the need to create one manually viaAcceptEnvironmentAccountConnectionRequest.builder()- Parameters:
acceptEnvironmentAccountConnectionRequest- AConsumerthat will call methods onAcceptEnvironmentAccountConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AcceptEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelComponentDeployment
default CompletableFuture<CancelComponentDeploymentResponse> cancelComponentDeployment(CancelComponentDeploymentRequest cancelComponentDeploymentRequest) Attempts to cancel a component deployment (for a component that is in the
IN_PROGRESSdeployment status).For more information about components, see Proton components in the Proton User Guide.
- Parameters:
cancelComponentDeploymentRequest-- Returns:
- A Java Future containing the result of the CancelComponentDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelComponentDeployment
default CompletableFuture<CancelComponentDeploymentResponse> cancelComponentDeployment(Consumer<CancelComponentDeploymentRequest.Builder> cancelComponentDeploymentRequest) Attempts to cancel a component deployment (for a component that is in the
IN_PROGRESSdeployment status).For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
CancelComponentDeploymentRequest.Builderavoiding the need to create one manually viaCancelComponentDeploymentRequest.builder()- Parameters:
cancelComponentDeploymentRequest- AConsumerthat will call methods onCancelComponentDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelComponentDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
cancelEnvironmentDeployment
default CompletableFuture<CancelEnvironmentDeploymentResponse> cancelEnvironmentDeployment(CancelEnvironmentDeploymentRequest cancelEnvironmentDeploymentRequest) Attempts to cancel an environment deployment on an UpdateEnvironment action, if the deployment is
IN_PROGRESS. For more information, see Update an environment in the Proton User guide.The following list includes potential cancellation scenarios.
-
If the cancellation attempt succeeds, the resulting deployment state is
CANCELLED. -
If the cancellation attempt fails, the resulting deployment state is
FAILED. -
If the current UpdateEnvironment action succeeds before the cancellation attempt starts, the resulting deployment state is
SUCCEEDEDand the cancellation attempt has no effect.
- Parameters:
cancelEnvironmentDeploymentRequest-- Returns:
- A Java Future containing the result of the CancelEnvironmentDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
cancelEnvironmentDeployment
default CompletableFuture<CancelEnvironmentDeploymentResponse> cancelEnvironmentDeployment(Consumer<CancelEnvironmentDeploymentRequest.Builder> cancelEnvironmentDeploymentRequest) Attempts to cancel an environment deployment on an UpdateEnvironment action, if the deployment is
IN_PROGRESS. For more information, see Update an environment in the Proton User guide.The following list includes potential cancellation scenarios.
-
If the cancellation attempt succeeds, the resulting deployment state is
CANCELLED. -
If the cancellation attempt fails, the resulting deployment state is
FAILED. -
If the current UpdateEnvironment action succeeds before the cancellation attempt starts, the resulting deployment state is
SUCCEEDEDand the cancellation attempt has no effect.
This is a convenience which creates an instance of the
CancelEnvironmentDeploymentRequest.Builderavoiding the need to create one manually viaCancelEnvironmentDeploymentRequest.builder()- Parameters:
cancelEnvironmentDeploymentRequest- AConsumerthat will call methods onCancelEnvironmentDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelEnvironmentDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
cancelServiceInstanceDeployment
default CompletableFuture<CancelServiceInstanceDeploymentResponse> cancelServiceInstanceDeployment(CancelServiceInstanceDeploymentRequest cancelServiceInstanceDeploymentRequest) Attempts to cancel a service instance deployment on an UpdateServiceInstance action, if the deployment is
IN_PROGRESS. For more information, see Update a service instance in the Proton User guide.The following list includes potential cancellation scenarios.
-
If the cancellation attempt succeeds, the resulting deployment state is
CANCELLED. -
If the cancellation attempt fails, the resulting deployment state is
FAILED. -
If the current UpdateServiceInstance action succeeds before the cancellation attempt starts, the resulting deployment state is
SUCCEEDEDand the cancellation attempt has no effect.
- Parameters:
cancelServiceInstanceDeploymentRequest-- Returns:
- A Java Future containing the result of the CancelServiceInstanceDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
cancelServiceInstanceDeployment
default CompletableFuture<CancelServiceInstanceDeploymentResponse> cancelServiceInstanceDeployment(Consumer<CancelServiceInstanceDeploymentRequest.Builder> cancelServiceInstanceDeploymentRequest) Attempts to cancel a service instance deployment on an UpdateServiceInstance action, if the deployment is
IN_PROGRESS. For more information, see Update a service instance in the Proton User guide.The following list includes potential cancellation scenarios.
-
If the cancellation attempt succeeds, the resulting deployment state is
CANCELLED. -
If the cancellation attempt fails, the resulting deployment state is
FAILED. -
If the current UpdateServiceInstance action succeeds before the cancellation attempt starts, the resulting deployment state is
SUCCEEDEDand the cancellation attempt has no effect.
This is a convenience which creates an instance of the
CancelServiceInstanceDeploymentRequest.Builderavoiding the need to create one manually viaCancelServiceInstanceDeploymentRequest.builder()- Parameters:
cancelServiceInstanceDeploymentRequest- AConsumerthat will call methods onCancelServiceInstanceDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelServiceInstanceDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
cancelServicePipelineDeployment
default CompletableFuture<CancelServicePipelineDeploymentResponse> cancelServicePipelineDeployment(CancelServicePipelineDeploymentRequest cancelServicePipelineDeploymentRequest) Attempts to cancel a service pipeline deployment on an UpdateServicePipeline action, if the deployment is
IN_PROGRESS. For more information, see Update a service pipeline in the Proton User guide.The following list includes potential cancellation scenarios.
-
If the cancellation attempt succeeds, the resulting deployment state is
CANCELLED. -
If the cancellation attempt fails, the resulting deployment state is
FAILED. -
If the current UpdateServicePipeline action succeeds before the cancellation attempt starts, the resulting deployment state is
SUCCEEDEDand the cancellation attempt has no effect.
- Parameters:
cancelServicePipelineDeploymentRequest-- Returns:
- A Java Future containing the result of the CancelServicePipelineDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
cancelServicePipelineDeployment
default CompletableFuture<CancelServicePipelineDeploymentResponse> cancelServicePipelineDeployment(Consumer<CancelServicePipelineDeploymentRequest.Builder> cancelServicePipelineDeploymentRequest) Attempts to cancel a service pipeline deployment on an UpdateServicePipeline action, if the deployment is
IN_PROGRESS. For more information, see Update a service pipeline in the Proton User guide.The following list includes potential cancellation scenarios.
-
If the cancellation attempt succeeds, the resulting deployment state is
CANCELLED. -
If the cancellation attempt fails, the resulting deployment state is
FAILED. -
If the current UpdateServicePipeline action succeeds before the cancellation attempt starts, the resulting deployment state is
SUCCEEDEDand the cancellation attempt has no effect.
This is a convenience which creates an instance of the
CancelServicePipelineDeploymentRequest.Builderavoiding the need to create one manually viaCancelServicePipelineDeploymentRequest.builder()- Parameters:
cancelServicePipelineDeploymentRequest- AConsumerthat will call methods onCancelServicePipelineDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CancelServicePipelineDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createComponent
default CompletableFuture<CreateComponentResponse> createComponent(CreateComponentRequest createComponentRequest) Create an Proton component. A component is an infrastructure extension for a service instance.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
createComponentRequest-- Returns:
- A Java Future containing the result of the CreateComponent 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createComponent
default CompletableFuture<CreateComponentResponse> createComponent(Consumer<CreateComponentRequest.Builder> createComponentRequest) Create an Proton component. A component is an infrastructure extension for a service instance.
For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
CreateComponentRequest.Builderavoiding the need to create one manually viaCreateComponentRequest.builder()- Parameters:
createComponentRequest- AConsumerthat will call methods onCreateComponentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateComponent 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(CreateEnvironmentRequest createEnvironmentRequest) Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services.
You can provision environments using the following methods:
-
Amazon Web Services-managed provisioning: Proton makes direct calls to provision your resources.
-
Self-managed provisioning: Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your IaC engine uses to provision resources.
For more information, see Environments and Provisioning methods in the Proton User Guide.
- Parameters:
createEnvironmentRequest-- Returns:
- A Java Future containing the result of the CreateEnvironment 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createEnvironment
default CompletableFuture<CreateEnvironmentResponse> createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest) Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services.
You can provision environments using the following methods:
-
Amazon Web Services-managed provisioning: Proton makes direct calls to provision your resources.
-
Self-managed provisioning: Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your IaC engine uses to provision resources.
For more information, see Environments and Provisioning methods in the Proton User Guide.
This is a convenience which creates an instance of the
CreateEnvironmentRequest.Builderavoiding the need to create one manually viaCreateEnvironmentRequest.builder()- Parameters:
createEnvironmentRequest- AConsumerthat will call methods onCreateEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEnvironment 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createEnvironmentAccountConnection
default CompletableFuture<CreateEnvironmentAccountConnectionResponse> createEnvironmentAccountConnection(CreateEnvironmentAccountConnectionRequest createEnvironmentAccountConnectionRequest) Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment account from a management account.
An environment account connection is a secure bi-directional connection between a management account and an environment account that maintains authorization and permissions. For more information, see Environment account connections in the Proton User guide.
- Parameters:
createEnvironmentAccountConnectionRequest-- Returns:
- A Java Future containing the result of the CreateEnvironmentAccountConnection 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentAccountConnection
default CompletableFuture<CreateEnvironmentAccountConnectionResponse> createEnvironmentAccountConnection(Consumer<CreateEnvironmentAccountConnectionRequest.Builder> createEnvironmentAccountConnectionRequest) Create an environment account connection in an environment account so that environment infrastructure resources can be provisioned in the environment account from a management account.
An environment account connection is a secure bi-directional connection between a management account and an environment account that maintains authorization and permissions. For more information, see Environment account connections in the Proton User guide.
This is a convenience which creates an instance of the
CreateEnvironmentAccountConnectionRequest.Builderavoiding the need to create one manually viaCreateEnvironmentAccountConnectionRequest.builder()- Parameters:
createEnvironmentAccountConnectionRequest- AConsumerthat will call methods onCreateEnvironmentAccountConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEnvironmentAccountConnection 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentTemplate
default CompletableFuture<CreateEnvironmentTemplateResponse> createEnvironmentTemplate(CreateEnvironmentTemplateRequest createEnvironmentTemplateRequest) Create an environment template for Proton. For more information, see Environment Templates in the Proton User Guide.
You can create an environment template in one of the two following ways:
-
Register and publish a standard environment template that instructs Proton to deploy and manage environment infrastructure.
-
Register and publish a customer managed environment template that connects Proton to your existing provisioned infrastructure that you manage. Proton doesn't manage your existing provisioned infrastructure. To create an environment template for customer provisioned and managed infrastructure, include the
provisioningparameter and set the value toCUSTOMER_MANAGED. For more information, see Register and publish an environment template in the Proton User Guide.
- Parameters:
createEnvironmentTemplateRequest-- Returns:
- A Java Future containing the result of the CreateEnvironmentTemplate 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createEnvironmentTemplate
default CompletableFuture<CreateEnvironmentTemplateResponse> createEnvironmentTemplate(Consumer<CreateEnvironmentTemplateRequest.Builder> createEnvironmentTemplateRequest) Create an environment template for Proton. For more information, see Environment Templates in the Proton User Guide.
You can create an environment template in one of the two following ways:
-
Register and publish a standard environment template that instructs Proton to deploy and manage environment infrastructure.
-
Register and publish a customer managed environment template that connects Proton to your existing provisioned infrastructure that you manage. Proton doesn't manage your existing provisioned infrastructure. To create an environment template for customer provisioned and managed infrastructure, include the
provisioningparameter and set the value toCUSTOMER_MANAGED. For more information, see Register and publish an environment template in the Proton User Guide.
This is a convenience which creates an instance of the
CreateEnvironmentTemplateRequest.Builderavoiding the need to create one manually viaCreateEnvironmentTemplateRequest.builder()- Parameters:
createEnvironmentTemplateRequest- AConsumerthat will call methods onCreateEnvironmentTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEnvironmentTemplate 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createEnvironmentTemplateVersion
default CompletableFuture<CreateEnvironmentTemplateVersionResponse> createEnvironmentTemplateVersion(CreateEnvironmentTemplateVersionRequest createEnvironmentTemplateVersionRequest) Create a new major or minor version of an environment template. A major version of an environment template is a version that isn't backwards compatible. A minor version of an environment template is a version that's backwards compatible within its major version.
- Parameters:
createEnvironmentTemplateVersionRequest-- Returns:
- A Java Future containing the result of the CreateEnvironmentTemplateVersion 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createEnvironmentTemplateVersion
default CompletableFuture<CreateEnvironmentTemplateVersionResponse> createEnvironmentTemplateVersion(Consumer<CreateEnvironmentTemplateVersionRequest.Builder> createEnvironmentTemplateVersionRequest) Create a new major or minor version of an environment template. A major version of an environment template is a version that isn't backwards compatible. A minor version of an environment template is a version that's backwards compatible within its major version.
This is a convenience which creates an instance of the
CreateEnvironmentTemplateVersionRequest.Builderavoiding the need to create one manually viaCreateEnvironmentTemplateVersionRequest.builder()- Parameters:
createEnvironmentTemplateVersionRequest- AConsumerthat will call methods onCreateEnvironmentTemplateVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateEnvironmentTemplateVersion 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRepository
default CompletableFuture<CreateRepositoryResponse> createRepository(CreateRepositoryRequest createRepositoryRequest) Create and register a link to a repository. Proton uses the link to repeatedly access the repository, to either push to it (self-managed provisioning) or pull from it (template sync). You can share a linked repository across multiple resources (like environments using self-managed provisioning, or synced templates). When you create a repository link, Proton creates a service-linked role for you.
For more information, see Self-managed provisioning, Template bundles, and Template sync configurations in the Proton User Guide.
- Parameters:
createRepositoryRequest-- Returns:
- A Java Future containing the result of the CreateRepository 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createRepository
default CompletableFuture<CreateRepositoryResponse> createRepository(Consumer<CreateRepositoryRequest.Builder> createRepositoryRequest) Create and register a link to a repository. Proton uses the link to repeatedly access the repository, to either push to it (self-managed provisioning) or pull from it (template sync). You can share a linked repository across multiple resources (like environments using self-managed provisioning, or synced templates). When you create a repository link, Proton creates a service-linked role for you.
For more information, see Self-managed provisioning, Template bundles, and Template sync configurations in the Proton User Guide.
This is a convenience which creates an instance of the
CreateRepositoryRequest.Builderavoiding the need to create one manually viaCreateRepositoryRequest.builder()- Parameters:
createRepositoryRequest- AConsumerthat will call methods onCreateRepositoryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateRepository 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createService
default CompletableFuture<CreateServiceResponse> createService(CreateServiceRequest createServiceRequest) Create an Proton service. An Proton service is an instantiation of a service template and often includes several service instances and pipeline. For more information, see Services in the Proton User Guide.
- Parameters:
createServiceRequest-- Returns:
- A Java Future containing the result of the CreateService 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createService
default CompletableFuture<CreateServiceResponse> createService(Consumer<CreateServiceRequest.Builder> createServiceRequest) Create an Proton service. An Proton service is an instantiation of a service template and often includes several service instances and pipeline. For more information, see Services in the Proton User Guide.
This is a convenience which creates an instance of the
CreateServiceRequest.Builderavoiding the need to create one manually viaCreateServiceRequest.builder()- Parameters:
createServiceRequest- AConsumerthat will call methods onCreateServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateService 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceInstance
default CompletableFuture<CreateServiceInstanceResponse> createServiceInstance(CreateServiceInstanceRequest createServiceInstanceRequest) Create a service instance.
- Parameters:
createServiceInstanceRequest-- Returns:
- A Java Future containing the result of the CreateServiceInstance 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceInstance
default CompletableFuture<CreateServiceInstanceResponse> createServiceInstance(Consumer<CreateServiceInstanceRequest.Builder> createServiceInstanceRequest) Create a service instance.
This is a convenience which creates an instance of the
CreateServiceInstanceRequest.Builderavoiding the need to create one manually viaCreateServiceInstanceRequest.builder()- Parameters:
createServiceInstanceRequest- AConsumerthat will call methods onCreateServiceInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateServiceInstance 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceSyncConfig
default CompletableFuture<CreateServiceSyncConfigResponse> createServiceSyncConfig(CreateServiceSyncConfigRequest createServiceSyncConfigRequest) Create the Proton Ops configuration file.
- Parameters:
createServiceSyncConfigRequest-- Returns:
- A Java Future containing the result of the CreateServiceSyncConfig 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceSyncConfig
default CompletableFuture<CreateServiceSyncConfigResponse> createServiceSyncConfig(Consumer<CreateServiceSyncConfigRequest.Builder> createServiceSyncConfigRequest) Create the Proton Ops configuration file.
This is a convenience which creates an instance of the
CreateServiceSyncConfigRequest.Builderavoiding the need to create one manually viaCreateServiceSyncConfigRequest.builder()- Parameters:
createServiceSyncConfigRequest- AConsumerthat will call methods onCreateServiceSyncConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateServiceSyncConfig 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceTemplate
default CompletableFuture<CreateServiceTemplateResponse> createServiceTemplate(CreateServiceTemplateRequest createServiceTemplateRequest) Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CI/CD service pipeline. Developers, in turn, select the service template from Proton. If the selected service template includes a service pipeline definition, they provide a link to their source code repository. Proton then deploys and manages the infrastructure defined by the selected service template. For more information, see Proton templates in the Proton User Guide.
- Parameters:
createServiceTemplateRequest-- Returns:
- A Java Future containing the result of the CreateServiceTemplate 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceTemplate
default CompletableFuture<CreateServiceTemplateResponse> createServiceTemplate(Consumer<CreateServiceTemplateRequest.Builder> createServiceTemplateRequest) Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CI/CD service pipeline. Developers, in turn, select the service template from Proton. If the selected service template includes a service pipeline definition, they provide a link to their source code repository. Proton then deploys and manages the infrastructure defined by the selected service template. For more information, see Proton templates in the Proton User Guide.
This is a convenience which creates an instance of the
CreateServiceTemplateRequest.Builderavoiding the need to create one manually viaCreateServiceTemplateRequest.builder()- Parameters:
createServiceTemplateRequest- AConsumerthat will call methods onCreateServiceTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateServiceTemplate 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceTemplateVersion
default CompletableFuture<CreateServiceTemplateVersionResponse> createServiceTemplateVersion(CreateServiceTemplateVersionRequest createServiceTemplateVersionRequest) Create a new major or minor version of a service template. A major version of a service template is a version that isn't backward compatible. A minor version of a service template is a version that's backward compatible within its major version.
- Parameters:
createServiceTemplateVersionRequest-- Returns:
- A Java Future containing the result of the CreateServiceTemplateVersion 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createServiceTemplateVersion
default CompletableFuture<CreateServiceTemplateVersionResponse> createServiceTemplateVersion(Consumer<CreateServiceTemplateVersionRequest.Builder> createServiceTemplateVersionRequest) Create a new major or minor version of a service template. A major version of a service template is a version that isn't backward compatible. A minor version of a service template is a version that's backward compatible within its major version.
This is a convenience which creates an instance of the
CreateServiceTemplateVersionRequest.Builderavoiding the need to create one manually viaCreateServiceTemplateVersionRequest.builder()- Parameters:
createServiceTemplateVersionRequest- AConsumerthat will call methods onCreateServiceTemplateVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateServiceTemplateVersion 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTemplateSyncConfig
default CompletableFuture<CreateTemplateSyncConfigResponse> createTemplateSyncConfig(CreateTemplateSyncConfigRequest createTemplateSyncConfigRequest) Set up a template to create new template versions automatically by tracking a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
When a commit is pushed to your linked repository, Proton checks for changes to your repository template bundles. If it detects a template bundle change, a new major or minor version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton User Guide.
- Parameters:
createTemplateSyncConfigRequest-- Returns:
- A Java Future containing the result of the CreateTemplateSyncConfig 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTemplateSyncConfig
default CompletableFuture<CreateTemplateSyncConfigResponse> createTemplateSyncConfig(Consumer<CreateTemplateSyncConfigRequest.Builder> createTemplateSyncConfigRequest) Set up a template to create new template versions automatically by tracking a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
When a commit is pushed to your linked repository, Proton checks for changes to your repository template bundles. If it detects a template bundle change, a new major or minor version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton User Guide.
This is a convenience which creates an instance of the
CreateTemplateSyncConfigRequest.Builderavoiding the need to create one manually viaCreateTemplateSyncConfigRequest.builder()- Parameters:
createTemplateSyncConfigRequest- AConsumerthat will call methods onCreateTemplateSyncConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTemplateSyncConfig 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComponent
default CompletableFuture<DeleteComponentResponse> deleteComponent(DeleteComponentRequest deleteComponentRequest) Delete an Proton component resource.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
deleteComponentRequest-- Returns:
- A Java Future containing the result of the DeleteComponent 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteComponent
default CompletableFuture<DeleteComponentResponse> deleteComponent(Consumer<DeleteComponentRequest.Builder> deleteComponentRequest) Delete an Proton component resource.
For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
DeleteComponentRequest.Builderavoiding the need to create one manually viaDeleteComponentRequest.builder()- Parameters:
deleteComponentRequest- AConsumerthat will call methods onDeleteComponentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteComponent 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDeployment
default CompletableFuture<DeleteDeploymentResponse> deleteDeployment(DeleteDeploymentRequest deleteDeploymentRequest) Delete the deployment.
- Parameters:
deleteDeploymentRequest-- Returns:
- A Java Future containing the result of the DeleteDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteDeployment
default CompletableFuture<DeleteDeploymentResponse> deleteDeployment(Consumer<DeleteDeploymentRequest.Builder> deleteDeploymentRequest) Delete the deployment.
This is a convenience which creates an instance of the
DeleteDeploymentRequest.Builderavoiding the need to create one manually viaDeleteDeploymentRequest.builder()- Parameters:
deleteDeploymentRequest- AConsumerthat will call methods onDeleteDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest) Delete an environment.
- Parameters:
deleteEnvironmentRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironment
default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest) Delete an environment.
This is a convenience which creates an instance of the
DeleteEnvironmentRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentRequest.builder()- Parameters:
deleteEnvironmentRequest- AConsumerthat will call methods onDeleteEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentAccountConnection
default CompletableFuture<DeleteEnvironmentAccountConnectionResponse> deleteEnvironmentAccountConnection(DeleteEnvironmentAccountConnectionRequest deleteEnvironmentAccountConnectionRequest) In an environment account, delete an environment account connection.
After you delete an environment account connection that’s in use by an Proton environment, Proton can’t manage the environment infrastructure resources until a new environment account connection is accepted for the environment account and associated environment. You're responsible for cleaning up provisioned resources that remain without an environment connection.
For more information, see Environment account connections in the Proton User guide.
- Parameters:
deleteEnvironmentAccountConnectionRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentAccountConnection
default CompletableFuture<DeleteEnvironmentAccountConnectionResponse> deleteEnvironmentAccountConnection(Consumer<DeleteEnvironmentAccountConnectionRequest.Builder> deleteEnvironmentAccountConnectionRequest) In an environment account, delete an environment account connection.
After you delete an environment account connection that’s in use by an Proton environment, Proton can’t manage the environment infrastructure resources until a new environment account connection is accepted for the environment account and associated environment. You're responsible for cleaning up provisioned resources that remain without an environment connection.
For more information, see Environment account connections in the Proton User guide.
This is a convenience which creates an instance of the
DeleteEnvironmentAccountConnectionRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentAccountConnectionRequest.builder()- Parameters:
deleteEnvironmentAccountConnectionRequest- AConsumerthat will call methods onDeleteEnvironmentAccountConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentTemplate
default CompletableFuture<DeleteEnvironmentTemplateResponse> deleteEnvironmentTemplate(DeleteEnvironmentTemplateRequest deleteEnvironmentTemplateRequest) If no other major or minor versions of an environment template exist, delete the environment template.
- Parameters:
deleteEnvironmentTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironmentTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentTemplate
default CompletableFuture<DeleteEnvironmentTemplateResponse> deleteEnvironmentTemplate(Consumer<DeleteEnvironmentTemplateRequest.Builder> deleteEnvironmentTemplateRequest) If no other major or minor versions of an environment template exist, delete the environment template.
This is a convenience which creates an instance of the
DeleteEnvironmentTemplateRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentTemplateRequest.builder()- Parameters:
deleteEnvironmentTemplateRequest- AConsumerthat will call methods onDeleteEnvironmentTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironmentTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentTemplateVersion
default CompletableFuture<DeleteEnvironmentTemplateVersionResponse> deleteEnvironmentTemplateVersion(DeleteEnvironmentTemplateVersionRequest deleteEnvironmentTemplateVersionRequest) If no other minor versions of an environment template exist, delete a major version of the environment template if it's not the
Recommendedversion. Delete theRecommendedversion of the environment template if no other major versions or minor versions of the environment template exist. A major version of an environment template is a version that's not backward compatible.Delete a minor version of an environment template if it isn't the
Recommendedversion. Delete aRecommendedminor version of the environment template if no other minor versions of the environment template exist. A minor version of an environment template is a version that's backward compatible.- Parameters:
deleteEnvironmentTemplateVersionRequest-- Returns:
- A Java Future containing the result of the DeleteEnvironmentTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteEnvironmentTemplateVersion
default CompletableFuture<DeleteEnvironmentTemplateVersionResponse> deleteEnvironmentTemplateVersion(Consumer<DeleteEnvironmentTemplateVersionRequest.Builder> deleteEnvironmentTemplateVersionRequest) If no other minor versions of an environment template exist, delete a major version of the environment template if it's not the
Recommendedversion. Delete theRecommendedversion of the environment template if no other major versions or minor versions of the environment template exist. A major version of an environment template is a version that's not backward compatible.Delete a minor version of an environment template if it isn't the
Recommendedversion. Delete aRecommendedminor version of the environment template if no other minor versions of the environment template exist. A minor version of an environment template is a version that's backward compatible.
This is a convenience which creates an instance of the
DeleteEnvironmentTemplateVersionRequest.Builderavoiding the need to create one manually viaDeleteEnvironmentTemplateVersionRequest.builder()- Parameters:
deleteEnvironmentTemplateVersionRequest- AConsumerthat will call methods onDeleteEnvironmentTemplateVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteEnvironmentTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRepository
default CompletableFuture<DeleteRepositoryResponse> deleteRepository(DeleteRepositoryRequest deleteRepositoryRequest) De-register and unlink your repository.
- Parameters:
deleteRepositoryRequest-- Returns:
- A Java Future containing the result of the DeleteRepository 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteRepository
default CompletableFuture<DeleteRepositoryResponse> deleteRepository(Consumer<DeleteRepositoryRequest.Builder> deleteRepositoryRequest) De-register and unlink your repository.
This is a convenience which creates an instance of the
DeleteRepositoryRequest.Builderavoiding the need to create one manually viaDeleteRepositoryRequest.builder()- Parameters:
deleteRepositoryRequest- AConsumerthat will call methods onDeleteRepositoryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteRepository 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteService
default CompletableFuture<DeleteServiceResponse> deleteService(DeleteServiceRequest deleteServiceRequest) Delete a service, with its instances and pipeline.
You can't delete a service if it has any service instances that have components attached to them.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
deleteServiceRequest-- Returns:
- A Java Future containing the result of the DeleteService 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteService
default CompletableFuture<DeleteServiceResponse> deleteService(Consumer<DeleteServiceRequest.Builder> deleteServiceRequest) Delete a service, with its instances and pipeline.
You can't delete a service if it has any service instances that have components attached to them.
For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
DeleteServiceRequest.Builderavoiding the need to create one manually viaDeleteServiceRequest.builder()- Parameters:
deleteServiceRequest- AConsumerthat will call methods onDeleteServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteService 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceSyncConfig
default CompletableFuture<DeleteServiceSyncConfigResponse> deleteServiceSyncConfig(DeleteServiceSyncConfigRequest deleteServiceSyncConfigRequest) Delete the Proton Ops file.
- Parameters:
deleteServiceSyncConfigRequest-- Returns:
- A Java Future containing the result of the DeleteServiceSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceSyncConfig
default CompletableFuture<DeleteServiceSyncConfigResponse> deleteServiceSyncConfig(Consumer<DeleteServiceSyncConfigRequest.Builder> deleteServiceSyncConfigRequest) Delete the Proton Ops file.
This is a convenience which creates an instance of the
DeleteServiceSyncConfigRequest.Builderavoiding the need to create one manually viaDeleteServiceSyncConfigRequest.builder()- Parameters:
deleteServiceSyncConfigRequest- AConsumerthat will call methods onDeleteServiceSyncConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteServiceSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceTemplate
default CompletableFuture<DeleteServiceTemplateResponse> deleteServiceTemplate(DeleteServiceTemplateRequest deleteServiceTemplateRequest) If no other major or minor versions of the service template exist, delete the service template.
- Parameters:
deleteServiceTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteServiceTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceTemplate
default CompletableFuture<DeleteServiceTemplateResponse> deleteServiceTemplate(Consumer<DeleteServiceTemplateRequest.Builder> deleteServiceTemplateRequest) If no other major or minor versions of the service template exist, delete the service template.
This is a convenience which creates an instance of the
DeleteServiceTemplateRequest.Builderavoiding the need to create one manually viaDeleteServiceTemplateRequest.builder()- Parameters:
deleteServiceTemplateRequest- AConsumerthat will call methods onDeleteServiceTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteServiceTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceTemplateVersion
default CompletableFuture<DeleteServiceTemplateVersionResponse> deleteServiceTemplateVersion(DeleteServiceTemplateVersionRequest deleteServiceTemplateVersionRequest) If no other minor versions of a service template exist, delete a major version of the service template if it's not the
Recommendedversion. Delete theRecommendedversion of the service template if no other major versions or minor versions of the service template exist. A major version of a service template is a version that isn't backwards compatible.Delete a minor version of a service template if it's not the
Recommendedversion. Delete aRecommendedminor version of the service template if no other minor versions of the service template exist. A minor version of a service template is a version that's backwards compatible.- Parameters:
deleteServiceTemplateVersionRequest-- Returns:
- A Java Future containing the result of the DeleteServiceTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteServiceTemplateVersion
default CompletableFuture<DeleteServiceTemplateVersionResponse> deleteServiceTemplateVersion(Consumer<DeleteServiceTemplateVersionRequest.Builder> deleteServiceTemplateVersionRequest) If no other minor versions of a service template exist, delete a major version of the service template if it's not the
Recommendedversion. Delete theRecommendedversion of the service template if no other major versions or minor versions of the service template exist. A major version of a service template is a version that isn't backwards compatible.Delete a minor version of a service template if it's not the
Recommendedversion. Delete aRecommendedminor version of the service template if no other minor versions of the service template exist. A minor version of a service template is a version that's backwards compatible.
This is a convenience which creates an instance of the
DeleteServiceTemplateVersionRequest.Builderavoiding the need to create one manually viaDeleteServiceTemplateVersionRequest.builder()- Parameters:
deleteServiceTemplateVersionRequest- AConsumerthat will call methods onDeleteServiceTemplateVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteServiceTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTemplateSyncConfig
default CompletableFuture<DeleteTemplateSyncConfigResponse> deleteTemplateSyncConfig(DeleteTemplateSyncConfigRequest deleteTemplateSyncConfigRequest) Delete a template sync configuration.
- Parameters:
deleteTemplateSyncConfigRequest-- Returns:
- A Java Future containing the result of the DeleteTemplateSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTemplateSyncConfig
default CompletableFuture<DeleteTemplateSyncConfigResponse> deleteTemplateSyncConfig(Consumer<DeleteTemplateSyncConfigRequest.Builder> deleteTemplateSyncConfigRequest) Delete a template sync configuration.
This is a convenience which creates an instance of the
DeleteTemplateSyncConfigRequest.Builderavoiding the need to create one manually viaDeleteTemplateSyncConfigRequest.builder()- Parameters:
deleteTemplateSyncConfigRequest- AConsumerthat will call methods onDeleteTemplateSyncConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTemplateSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountSettings
default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest) Get detail data for Proton account-wide settings.
- Parameters:
getAccountSettingsRequest-- Returns:
- A Java Future containing the result of the GetAccountSettings 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountSettings
default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest) Get detail data for Proton account-wide settings.
This is a convenience which creates an instance of the
GetAccountSettingsRequest.Builderavoiding the need to create one manually viaGetAccountSettingsRequest.builder()- Parameters:
getAccountSettingsRequest- AConsumerthat will call methods onGetAccountSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccountSettings 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComponent
default CompletableFuture<GetComponentResponse> getComponent(GetComponentRequest getComponentRequest) Get detailed data for a component.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
getComponentRequest-- Returns:
- A Java Future containing the result of the GetComponent 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getComponent
default CompletableFuture<GetComponentResponse> getComponent(Consumer<GetComponentRequest.Builder> getComponentRequest) Get detailed data for a component.
For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
GetComponentRequest.Builderavoiding the need to create one manually viaGetComponentRequest.builder()- Parameters:
getComponentRequest- AConsumerthat will call methods onGetComponentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetComponent 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDeployment
default CompletableFuture<GetDeploymentResponse> getDeployment(GetDeploymentRequest getDeploymentRequest) Get detailed data for a deployment.
- Parameters:
getDeploymentRequest-- Returns:
- A Java Future containing the result of the GetDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getDeployment
default CompletableFuture<GetDeploymentResponse> getDeployment(Consumer<GetDeploymentRequest.Builder> getDeploymentRequest) Get detailed data for a deployment.
This is a convenience which creates an instance of the
GetDeploymentRequest.Builderavoiding the need to create one manually viaGetDeploymentRequest.builder()- Parameters:
getDeploymentRequest- AConsumerthat will call methods onGetDeploymentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetDeployment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest) Get detailed data for an environment.
- Parameters:
getEnvironmentRequest-- Returns:
- A Java Future containing the result of the GetEnvironment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironment
default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) Get detailed data for an environment.
This is a convenience which creates an instance of the
GetEnvironmentRequest.Builderavoiding the need to create one manually viaGetEnvironmentRequest.builder()- Parameters:
getEnvironmentRequest- AConsumerthat will call methods onGetEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEnvironment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentAccountConnection
default CompletableFuture<GetEnvironmentAccountConnectionResponse> getEnvironmentAccountConnection(GetEnvironmentAccountConnectionRequest getEnvironmentAccountConnectionRequest) In an environment account, get the detailed data for an environment account connection.
For more information, see Environment account connections in the Proton User guide.
- Parameters:
getEnvironmentAccountConnectionRequest-- Returns:
- A Java Future containing the result of the GetEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentAccountConnection
default CompletableFuture<GetEnvironmentAccountConnectionResponse> getEnvironmentAccountConnection(Consumer<GetEnvironmentAccountConnectionRequest.Builder> getEnvironmentAccountConnectionRequest) In an environment account, get the detailed data for an environment account connection.
For more information, see Environment account connections in the Proton User guide.
This is a convenience which creates an instance of the
GetEnvironmentAccountConnectionRequest.Builderavoiding the need to create one manually viaGetEnvironmentAccountConnectionRequest.builder()- Parameters:
getEnvironmentAccountConnectionRequest- AConsumerthat will call methods onGetEnvironmentAccountConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentTemplate
default CompletableFuture<GetEnvironmentTemplateResponse> getEnvironmentTemplate(GetEnvironmentTemplateRequest getEnvironmentTemplateRequest) Get detailed data for an environment template.
- Parameters:
getEnvironmentTemplateRequest-- Returns:
- A Java Future containing the result of the GetEnvironmentTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentTemplate
default CompletableFuture<GetEnvironmentTemplateResponse> getEnvironmentTemplate(Consumer<GetEnvironmentTemplateRequest.Builder> getEnvironmentTemplateRequest) Get detailed data for an environment template.
This is a convenience which creates an instance of the
GetEnvironmentTemplateRequest.Builderavoiding the need to create one manually viaGetEnvironmentTemplateRequest.builder()- Parameters:
getEnvironmentTemplateRequest- AConsumerthat will call methods onGetEnvironmentTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEnvironmentTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentTemplateVersion
default CompletableFuture<GetEnvironmentTemplateVersionResponse> getEnvironmentTemplateVersion(GetEnvironmentTemplateVersionRequest getEnvironmentTemplateVersionRequest) Get detailed data for a major or minor version of an environment template.
- Parameters:
getEnvironmentTemplateVersionRequest-- Returns:
- A Java Future containing the result of the GetEnvironmentTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getEnvironmentTemplateVersion
default CompletableFuture<GetEnvironmentTemplateVersionResponse> getEnvironmentTemplateVersion(Consumer<GetEnvironmentTemplateVersionRequest.Builder> getEnvironmentTemplateVersionRequest) Get detailed data for a major or minor version of an environment template.
This is a convenience which creates an instance of the
GetEnvironmentTemplateVersionRequest.Builderavoiding the need to create one manually viaGetEnvironmentTemplateVersionRequest.builder()- Parameters:
getEnvironmentTemplateVersionRequest- AConsumerthat will call methods onGetEnvironmentTemplateVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetEnvironmentTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRepository
default CompletableFuture<GetRepositoryResponse> getRepository(GetRepositoryRequest getRepositoryRequest) Get detail data for a linked repository.
- Parameters:
getRepositoryRequest-- Returns:
- A Java Future containing the result of the GetRepository 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRepository
default CompletableFuture<GetRepositoryResponse> getRepository(Consumer<GetRepositoryRequest.Builder> getRepositoryRequest) Get detail data for a linked repository.
This is a convenience which creates an instance of the
GetRepositoryRequest.Builderavoiding the need to create one manually viaGetRepositoryRequest.builder()- Parameters:
getRepositoryRequest- AConsumerthat will call methods onGetRepositoryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRepository 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRepositorySyncStatus
default CompletableFuture<GetRepositorySyncStatusResponse> getRepositorySyncStatus(GetRepositorySyncStatusRequest getRepositorySyncStatusRequest) Get the sync status of a repository used for Proton template sync. For more information about template sync, see .
A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC).
For more information about ABAC, see ABAC in the Proton User Guide.
- Parameters:
getRepositorySyncStatusRequest-- Returns:
- A Java Future containing the result of the GetRepositorySyncStatus 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getRepositorySyncStatus
default CompletableFuture<GetRepositorySyncStatusResponse> getRepositorySyncStatus(Consumer<GetRepositorySyncStatusRequest.Builder> getRepositorySyncStatusRequest) Get the sync status of a repository used for Proton template sync. For more information about template sync, see .
A repository sync status isn't tied to the Proton Repository resource (or any other Proton resource). Therefore, tags on an Proton Repository resource have no effect on this action. Specifically, you can't use these tags to control access to this action using Attribute-based access control (ABAC).
For more information about ABAC, see ABAC in the Proton User Guide.
This is a convenience which creates an instance of the
GetRepositorySyncStatusRequest.Builderavoiding the need to create one manually viaGetRepositorySyncStatusRequest.builder()- Parameters:
getRepositorySyncStatusRequest- AConsumerthat will call methods onGetRepositorySyncStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetRepositorySyncStatus 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcesSummary
default CompletableFuture<GetResourcesSummaryResponse> getResourcesSummary(GetResourcesSummaryRequest getResourcesSummaryRequest) Get counts of Proton resources.
For infrastructure-provisioning resources (environments, services, service instances, pipelines), the action returns staleness counts. A resource is stale when it's behind the recommended version of the Proton template that it uses and it needs an update to become current.
The action returns staleness counts (counts of resources that are up-to-date, behind a template major version, or behind a template minor version), the total number of resources, and the number of resources that are in a failed state, grouped by resource type. Components, environments, and service templates return less information - see the
components,environments, andserviceTemplatesfield descriptions.For context, the action also returns the total number of each type of Proton template in the Amazon Web Services account.
For more information, see Proton dashboard in the Proton User Guide.
- Parameters:
getResourcesSummaryRequest-- Returns:
- A Java Future containing the result of the GetResourcesSummary 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourcesSummary
default CompletableFuture<GetResourcesSummaryResponse> getResourcesSummary(Consumer<GetResourcesSummaryRequest.Builder> getResourcesSummaryRequest) Get counts of Proton resources.
For infrastructure-provisioning resources (environments, services, service instances, pipelines), the action returns staleness counts. A resource is stale when it's behind the recommended version of the Proton template that it uses and it needs an update to become current.
The action returns staleness counts (counts of resources that are up-to-date, behind a template major version, or behind a template minor version), the total number of resources, and the number of resources that are in a failed state, grouped by resource type. Components, environments, and service templates return less information - see the
components,environments, andserviceTemplatesfield descriptions.For context, the action also returns the total number of each type of Proton template in the Amazon Web Services account.
For more information, see Proton dashboard in the Proton User Guide.
This is a convenience which creates an instance of the
GetResourcesSummaryRequest.Builderavoiding the need to create one manually viaGetResourcesSummaryRequest.builder()- Parameters:
getResourcesSummaryRequest- AConsumerthat will call methods onGetResourcesSummaryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetResourcesSummary 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getService
Get detailed data for a service.
- Parameters:
getServiceRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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) Get detailed data for a service.
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.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceInstance
default CompletableFuture<GetServiceInstanceResponse> getServiceInstance(GetServiceInstanceRequest getServiceInstanceRequest) Get detailed data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.
- Parameters:
getServiceInstanceRequest-- Returns:
- A Java Future containing the result of the GetServiceInstance 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceInstance
default CompletableFuture<GetServiceInstanceResponse> getServiceInstance(Consumer<GetServiceInstanceRequest.Builder> getServiceInstanceRequest) Get detailed data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.
This is a convenience which creates an instance of the
GetServiceInstanceRequest.Builderavoiding the need to create one manually viaGetServiceInstanceRequest.builder()- Parameters:
getServiceInstanceRequest- AConsumerthat will call methods onGetServiceInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetServiceInstance 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceInstanceSyncStatus
default CompletableFuture<GetServiceInstanceSyncStatusResponse> getServiceInstanceSyncStatus(GetServiceInstanceSyncStatusRequest getServiceInstanceSyncStatusRequest) Get the status of the synced service instance.
- Parameters:
getServiceInstanceSyncStatusRequest-- Returns:
- A Java Future containing the result of the GetServiceInstanceSyncStatus 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceInstanceSyncStatus
default CompletableFuture<GetServiceInstanceSyncStatusResponse> getServiceInstanceSyncStatus(Consumer<GetServiceInstanceSyncStatusRequest.Builder> getServiceInstanceSyncStatusRequest) Get the status of the synced service instance.
This is a convenience which creates an instance of the
GetServiceInstanceSyncStatusRequest.Builderavoiding the need to create one manually viaGetServiceInstanceSyncStatusRequest.builder()- Parameters:
getServiceInstanceSyncStatusRequest- AConsumerthat will call methods onGetServiceInstanceSyncStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetServiceInstanceSyncStatus 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceSyncBlockerSummary
default CompletableFuture<GetServiceSyncBlockerSummaryResponse> getServiceSyncBlockerSummary(GetServiceSyncBlockerSummaryRequest getServiceSyncBlockerSummaryRequest) Get detailed data for the service sync blocker summary.
- Parameters:
getServiceSyncBlockerSummaryRequest-- Returns:
- A Java Future containing the result of the GetServiceSyncBlockerSummary 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceSyncBlockerSummary
default CompletableFuture<GetServiceSyncBlockerSummaryResponse> getServiceSyncBlockerSummary(Consumer<GetServiceSyncBlockerSummaryRequest.Builder> getServiceSyncBlockerSummaryRequest) Get detailed data for the service sync blocker summary.
This is a convenience which creates an instance of the
GetServiceSyncBlockerSummaryRequest.Builderavoiding the need to create one manually viaGetServiceSyncBlockerSummaryRequest.builder()- Parameters:
getServiceSyncBlockerSummaryRequest- AConsumerthat will call methods onGetServiceSyncBlockerSummaryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetServiceSyncBlockerSummary 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceSyncConfig
default CompletableFuture<GetServiceSyncConfigResponse> getServiceSyncConfig(GetServiceSyncConfigRequest getServiceSyncConfigRequest) Get detailed information for the service sync configuration.
- Parameters:
getServiceSyncConfigRequest-- Returns:
- A Java Future containing the result of the GetServiceSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceSyncConfig
default CompletableFuture<GetServiceSyncConfigResponse> getServiceSyncConfig(Consumer<GetServiceSyncConfigRequest.Builder> getServiceSyncConfigRequest) Get detailed information for the service sync configuration.
This is a convenience which creates an instance of the
GetServiceSyncConfigRequest.Builderavoiding the need to create one manually viaGetServiceSyncConfigRequest.builder()- Parameters:
getServiceSyncConfigRequest- AConsumerthat will call methods onGetServiceSyncConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetServiceSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceTemplate
default CompletableFuture<GetServiceTemplateResponse> getServiceTemplate(GetServiceTemplateRequest getServiceTemplateRequest) Get detailed data for a service template.
- Parameters:
getServiceTemplateRequest-- Returns:
- A Java Future containing the result of the GetServiceTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceTemplate
default CompletableFuture<GetServiceTemplateResponse> getServiceTemplate(Consumer<GetServiceTemplateRequest.Builder> getServiceTemplateRequest) Get detailed data for a service template.
This is a convenience which creates an instance of the
GetServiceTemplateRequest.Builderavoiding the need to create one manually viaGetServiceTemplateRequest.builder()- Parameters:
getServiceTemplateRequest- AConsumerthat will call methods onGetServiceTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetServiceTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceTemplateVersion
default CompletableFuture<GetServiceTemplateVersionResponse> getServiceTemplateVersion(GetServiceTemplateVersionRequest getServiceTemplateVersionRequest) Get detailed data for a major or minor version of a service template.
- Parameters:
getServiceTemplateVersionRequest-- Returns:
- A Java Future containing the result of the GetServiceTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getServiceTemplateVersion
default CompletableFuture<GetServiceTemplateVersionResponse> getServiceTemplateVersion(Consumer<GetServiceTemplateVersionRequest.Builder> getServiceTemplateVersionRequest) Get detailed data for a major or minor version of a service template.
This is a convenience which creates an instance of the
GetServiceTemplateVersionRequest.Builderavoiding the need to create one manually viaGetServiceTemplateVersionRequest.builder()- Parameters:
getServiceTemplateVersionRequest- AConsumerthat will call methods onGetServiceTemplateVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetServiceTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTemplateSyncConfig
default CompletableFuture<GetTemplateSyncConfigResponse> getTemplateSyncConfig(GetTemplateSyncConfigRequest getTemplateSyncConfigRequest) Get detail data for a template sync configuration.
- Parameters:
getTemplateSyncConfigRequest-- Returns:
- A Java Future containing the result of the GetTemplateSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTemplateSyncConfig
default CompletableFuture<GetTemplateSyncConfigResponse> getTemplateSyncConfig(Consumer<GetTemplateSyncConfigRequest.Builder> getTemplateSyncConfigRequest) Get detail data for a template sync configuration.
This is a convenience which creates an instance of the
GetTemplateSyncConfigRequest.Builderavoiding the need to create one manually viaGetTemplateSyncConfigRequest.builder()- Parameters:
getTemplateSyncConfigRequest- AConsumerthat will call methods onGetTemplateSyncConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTemplateSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTemplateSyncStatus
default CompletableFuture<GetTemplateSyncStatusResponse> getTemplateSyncStatus(GetTemplateSyncStatusRequest getTemplateSyncStatusRequest) Get the status of a template sync.
- Parameters:
getTemplateSyncStatusRequest-- Returns:
- A Java Future containing the result of the GetTemplateSyncStatus 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getTemplateSyncStatus
default CompletableFuture<GetTemplateSyncStatusResponse> getTemplateSyncStatus(Consumer<GetTemplateSyncStatusRequest.Builder> getTemplateSyncStatusRequest) Get the status of a template sync.
This is a convenience which creates an instance of the
GetTemplateSyncStatusRequest.Builderavoiding the need to create one manually viaGetTemplateSyncStatusRequest.builder()- Parameters:
getTemplateSyncStatusRequest- AConsumerthat will call methods onGetTemplateSyncStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetTemplateSyncStatus 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentOutputs
default CompletableFuture<ListComponentOutputsResponse> listComponentOutputs(ListComponentOutputsRequest listComponentOutputsRequest) Get a list of component Infrastructure as Code (IaC) outputs.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
listComponentOutputsRequest-- Returns:
- A Java Future containing the result of the ListComponentOutputs 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentOutputs
default CompletableFuture<ListComponentOutputsResponse> listComponentOutputs(Consumer<ListComponentOutputsRequest.Builder> listComponentOutputsRequest) Get a list of component Infrastructure as Code (IaC) outputs.
For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
ListComponentOutputsRequest.Builderavoiding the need to create one manually viaListComponentOutputsRequest.builder()- Parameters:
listComponentOutputsRequest- AConsumerthat will call methods onListComponentOutputsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListComponentOutputs 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentOutputsPaginator
default ListComponentOutputsPublisher listComponentOutputsPaginator(ListComponentOutputsRequest listComponentOutputsRequest) This is a variant of
listComponentOutputs(software.amazon.awssdk.services.proton.model.ListComponentOutputsRequest)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.proton.paginators.ListComponentOutputsPublisher publisher = client.listComponentOutputsPaginator(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.proton.paginators.ListComponentOutputsPublisher publisher = client.listComponentOutputsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListComponentOutputsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListComponentOutputsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponentOutputs(software.amazon.awssdk.services.proton.model.ListComponentOutputsRequest)operation.- Parameters:
listComponentOutputsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentOutputsPaginator
default ListComponentOutputsPublisher listComponentOutputsPaginator(Consumer<ListComponentOutputsRequest.Builder> listComponentOutputsRequest) This is a variant of
listComponentOutputs(software.amazon.awssdk.services.proton.model.ListComponentOutputsRequest)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.proton.paginators.ListComponentOutputsPublisher publisher = client.listComponentOutputsPaginator(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.proton.paginators.ListComponentOutputsPublisher publisher = client.listComponentOutputsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListComponentOutputsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListComponentOutputsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponentOutputs(software.amazon.awssdk.services.proton.model.ListComponentOutputsRequest)operation.
This is a convenience which creates an instance of the
ListComponentOutputsRequest.Builderavoiding the need to create one manually viaListComponentOutputsRequest.builder()- Parameters:
listComponentOutputsRequest- AConsumerthat will call methods onListComponentOutputsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentProvisionedResources
default CompletableFuture<ListComponentProvisionedResourcesResponse> listComponentProvisionedResources(ListComponentProvisionedResourcesRequest listComponentProvisionedResourcesRequest) List provisioned resources for a component with details.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
listComponentProvisionedResourcesRequest-- Returns:
- A Java Future containing the result of the ListComponentProvisionedResources 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentProvisionedResources
default CompletableFuture<ListComponentProvisionedResourcesResponse> listComponentProvisionedResources(Consumer<ListComponentProvisionedResourcesRequest.Builder> listComponentProvisionedResourcesRequest) List provisioned resources for a component with details.
For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
ListComponentProvisionedResourcesRequest.Builderavoiding the need to create one manually viaListComponentProvisionedResourcesRequest.builder()- Parameters:
listComponentProvisionedResourcesRequest- AConsumerthat will call methods onListComponentProvisionedResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListComponentProvisionedResources 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentProvisionedResourcesPaginator
default ListComponentProvisionedResourcesPublisher listComponentProvisionedResourcesPaginator(ListComponentProvisionedResourcesRequest listComponentProvisionedResourcesRequest) This is a variant of
listComponentProvisionedResources(software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesRequest)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.proton.paginators.ListComponentProvisionedResourcesPublisher publisher = client.listComponentProvisionedResourcesPaginator(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.proton.paginators.ListComponentProvisionedResourcesPublisher publisher = client.listComponentProvisionedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponentProvisionedResources(software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesRequest)operation.- Parameters:
listComponentProvisionedResourcesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentProvisionedResourcesPaginator
default ListComponentProvisionedResourcesPublisher listComponentProvisionedResourcesPaginator(Consumer<ListComponentProvisionedResourcesRequest.Builder> listComponentProvisionedResourcesRequest) This is a variant of
listComponentProvisionedResources(software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesRequest)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.proton.paginators.ListComponentProvisionedResourcesPublisher publisher = client.listComponentProvisionedResourcesPaginator(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.proton.paginators.ListComponentProvisionedResourcesPublisher publisher = client.listComponentProvisionedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponentProvisionedResources(software.amazon.awssdk.services.proton.model.ListComponentProvisionedResourcesRequest)operation.
This is a convenience which creates an instance of the
ListComponentProvisionedResourcesRequest.Builderavoiding the need to create one manually viaListComponentProvisionedResourcesRequest.builder()- Parameters:
listComponentProvisionedResourcesRequest- AConsumerthat will call methods onListComponentProvisionedResourcesRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponents
default CompletableFuture<ListComponentsResponse> listComponents(ListComponentsRequest listComponentsRequest) List components with summary data. You can filter the result list by environment, service, or a single service instance.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
listComponentsRequest-- Returns:
- A Java Future containing the result of the ListComponents 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponents
default CompletableFuture<ListComponentsResponse> listComponents(Consumer<ListComponentsRequest.Builder> listComponentsRequest) List components with summary data. You can filter the result list by environment, service, or a single service instance.
For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
ListComponentsRequest.Builderavoiding the need to create one manually viaListComponentsRequest.builder()- Parameters:
listComponentsRequest- AConsumerthat will call methods onListComponentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListComponents 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentsPaginator
default ListComponentsPublisher listComponentsPaginator(ListComponentsRequest listComponentsRequest) This is a variant of
listComponents(software.amazon.awssdk.services.proton.model.ListComponentsRequest)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.proton.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(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.proton.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListComponentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListComponentsResponse 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
listComponents(software.amazon.awssdk.services.proton.model.ListComponentsRequest)operation.- Parameters:
listComponentsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listComponentsPaginator
default ListComponentsPublisher listComponentsPaginator(Consumer<ListComponentsRequest.Builder> listComponentsRequest) This is a variant of
listComponents(software.amazon.awssdk.services.proton.model.ListComponentsRequest)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.proton.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(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.proton.paginators.ListComponentsPublisher publisher = client.listComponentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListComponentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListComponentsResponse 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
listComponents(software.amazon.awssdk.services.proton.model.ListComponentsRequest)operation.
This is a convenience which creates an instance of the
ListComponentsRequest.Builderavoiding the need to create one manually viaListComponentsRequest.builder()- Parameters:
listComponentsRequest- AConsumerthat will call methods onListComponentsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeployments
default CompletableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest listDeploymentsRequest) List deployments. You can filter the result list by environment, service, or a single service instance.
- Parameters:
listDeploymentsRequest-- Returns:
- A Java Future containing the result of the ListDeployments 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeployments
default CompletableFuture<ListDeploymentsResponse> listDeployments(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) List deployments. You can filter the result list by environment, service, or a single service instance.
This is a convenience which creates an instance of the
ListDeploymentsRequest.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListDeployments 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsPaginator
default ListDeploymentsPublisher listDeploymentsPaginator(ListDeploymentsRequest listDeploymentsRequest) This is a variant of
listDeployments(software.amazon.awssdk.services.proton.model.ListDeploymentsRequest)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.proton.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(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.proton.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListDeploymentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListDeploymentsResponse 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
listDeployments(software.amazon.awssdk.services.proton.model.ListDeploymentsRequest)operation.- Parameters:
listDeploymentsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listDeploymentsPaginator
default ListDeploymentsPublisher listDeploymentsPaginator(Consumer<ListDeploymentsRequest.Builder> listDeploymentsRequest) This is a variant of
listDeployments(software.amazon.awssdk.services.proton.model.ListDeploymentsRequest)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.proton.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(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.proton.paginators.ListDeploymentsPublisher publisher = client.listDeploymentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListDeploymentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListDeploymentsResponse 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
listDeployments(software.amazon.awssdk.services.proton.model.ListDeploymentsRequest)operation.
This is a convenience which creates an instance of the
ListDeploymentsRequest.Builderavoiding the need to create one manually viaListDeploymentsRequest.builder()- Parameters:
listDeploymentsRequest- AConsumerthat will call methods onListDeploymentsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentAccountConnections
default CompletableFuture<ListEnvironmentAccountConnectionsResponse> listEnvironmentAccountConnections(ListEnvironmentAccountConnectionsRequest listEnvironmentAccountConnectionsRequest) View a list of environment account connections.
For more information, see Environment account connections in the Proton User guide.
- Parameters:
listEnvironmentAccountConnectionsRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentAccountConnections 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentAccountConnections
default CompletableFuture<ListEnvironmentAccountConnectionsResponse> listEnvironmentAccountConnections(Consumer<ListEnvironmentAccountConnectionsRequest.Builder> listEnvironmentAccountConnectionsRequest) View a list of environment account connections.
For more information, see Environment account connections in the Proton User guide.
This is a convenience which creates an instance of the
ListEnvironmentAccountConnectionsRequest.Builderavoiding the need to create one manually viaListEnvironmentAccountConnectionsRequest.builder()- Parameters:
listEnvironmentAccountConnectionsRequest- AConsumerthat will call methods onListEnvironmentAccountConnectionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentAccountConnections 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentAccountConnectionsPaginator
default ListEnvironmentAccountConnectionsPublisher listEnvironmentAccountConnectionsPaginator(ListEnvironmentAccountConnectionsRequest listEnvironmentAccountConnectionsRequest) This is a variant of
listEnvironmentAccountConnections(software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsRequest)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.proton.paginators.ListEnvironmentAccountConnectionsPublisher publisher = client.listEnvironmentAccountConnectionsPaginator(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.proton.paginators.ListEnvironmentAccountConnectionsPublisher publisher = client.listEnvironmentAccountConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsResponse 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
listEnvironmentAccountConnections(software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsRequest)operation.- Parameters:
listEnvironmentAccountConnectionsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentAccountConnectionsPaginator
default ListEnvironmentAccountConnectionsPublisher listEnvironmentAccountConnectionsPaginator(Consumer<ListEnvironmentAccountConnectionsRequest.Builder> listEnvironmentAccountConnectionsRequest) This is a variant of
listEnvironmentAccountConnections(software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsRequest)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.proton.paginators.ListEnvironmentAccountConnectionsPublisher publisher = client.listEnvironmentAccountConnectionsPaginator(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.proton.paginators.ListEnvironmentAccountConnectionsPublisher publisher = client.listEnvironmentAccountConnectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsResponse 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
listEnvironmentAccountConnections(software.amazon.awssdk.services.proton.model.ListEnvironmentAccountConnectionsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentAccountConnectionsRequest.Builderavoiding the need to create one manually viaListEnvironmentAccountConnectionsRequest.builder()- Parameters:
listEnvironmentAccountConnectionsRequest- AConsumerthat will call methods onListEnvironmentAccountConnectionsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentOutputs
default CompletableFuture<ListEnvironmentOutputsResponse> listEnvironmentOutputs(ListEnvironmentOutputsRequest listEnvironmentOutputsRequest) List the infrastructure as code outputs for your environment.
- Parameters:
listEnvironmentOutputsRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentOutputs 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentOutputs
default CompletableFuture<ListEnvironmentOutputsResponse> listEnvironmentOutputs(Consumer<ListEnvironmentOutputsRequest.Builder> listEnvironmentOutputsRequest) List the infrastructure as code outputs for your environment.
This is a convenience which creates an instance of the
ListEnvironmentOutputsRequest.Builderavoiding the need to create one manually viaListEnvironmentOutputsRequest.builder()- Parameters:
listEnvironmentOutputsRequest- AConsumerthat will call methods onListEnvironmentOutputsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentOutputs 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentOutputsPaginator
default ListEnvironmentOutputsPublisher listEnvironmentOutputsPaginator(ListEnvironmentOutputsRequest listEnvironmentOutputsRequest) This is a variant of
listEnvironmentOutputs(software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsRequest)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.proton.paginators.ListEnvironmentOutputsPublisher publisher = client.listEnvironmentOutputsPaginator(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.proton.paginators.ListEnvironmentOutputsPublisher publisher = client.listEnvironmentOutputsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironmentOutputs(software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsRequest)operation.- Parameters:
listEnvironmentOutputsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentOutputsPaginator
default ListEnvironmentOutputsPublisher listEnvironmentOutputsPaginator(Consumer<ListEnvironmentOutputsRequest.Builder> listEnvironmentOutputsRequest) This is a variant of
listEnvironmentOutputs(software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsRequest)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.proton.paginators.ListEnvironmentOutputsPublisher publisher = client.listEnvironmentOutputsPaginator(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.proton.paginators.ListEnvironmentOutputsPublisher publisher = client.listEnvironmentOutputsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironmentOutputs(software.amazon.awssdk.services.proton.model.ListEnvironmentOutputsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentOutputsRequest.Builderavoiding the need to create one manually viaListEnvironmentOutputsRequest.builder()- Parameters:
listEnvironmentOutputsRequest- AConsumerthat will call methods onListEnvironmentOutputsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentProvisionedResources
default CompletableFuture<ListEnvironmentProvisionedResourcesResponse> listEnvironmentProvisionedResources(ListEnvironmentProvisionedResourcesRequest listEnvironmentProvisionedResourcesRequest) List the provisioned resources for your environment.
- Parameters:
listEnvironmentProvisionedResourcesRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentProvisionedResources 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentProvisionedResources
default CompletableFuture<ListEnvironmentProvisionedResourcesResponse> listEnvironmentProvisionedResources(Consumer<ListEnvironmentProvisionedResourcesRequest.Builder> listEnvironmentProvisionedResourcesRequest) List the provisioned resources for your environment.
This is a convenience which creates an instance of the
ListEnvironmentProvisionedResourcesRequest.Builderavoiding the need to create one manually viaListEnvironmentProvisionedResourcesRequest.builder()- Parameters:
listEnvironmentProvisionedResourcesRequest- AConsumerthat will call methods onListEnvironmentProvisionedResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentProvisionedResources 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentProvisionedResourcesPaginator
default ListEnvironmentProvisionedResourcesPublisher listEnvironmentProvisionedResourcesPaginator(ListEnvironmentProvisionedResourcesRequest listEnvironmentProvisionedResourcesRequest) This is a variant of
listEnvironmentProvisionedResources(software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesRequest)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.proton.paginators.ListEnvironmentProvisionedResourcesPublisher publisher = client.listEnvironmentProvisionedResourcesPaginator(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.proton.paginators.ListEnvironmentProvisionedResourcesPublisher publisher = client.listEnvironmentProvisionedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironmentProvisionedResources(software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesRequest)operation.- Parameters:
listEnvironmentProvisionedResourcesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentProvisionedResourcesPaginator
default ListEnvironmentProvisionedResourcesPublisher listEnvironmentProvisionedResourcesPaginator(Consumer<ListEnvironmentProvisionedResourcesRequest.Builder> listEnvironmentProvisionedResourcesRequest) This is a variant of
listEnvironmentProvisionedResources(software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesRequest)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.proton.paginators.ListEnvironmentProvisionedResourcesPublisher publisher = client.listEnvironmentProvisionedResourcesPaginator(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.proton.paginators.ListEnvironmentProvisionedResourcesPublisher publisher = client.listEnvironmentProvisionedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEnvironmentProvisionedResources(software.amazon.awssdk.services.proton.model.ListEnvironmentProvisionedResourcesRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentProvisionedResourcesRequest.Builderavoiding the need to create one manually viaListEnvironmentProvisionedResourcesRequest.builder()- Parameters:
listEnvironmentProvisionedResourcesRequest- AConsumerthat will call methods onListEnvironmentProvisionedResourcesRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentTemplateVersions
default CompletableFuture<ListEnvironmentTemplateVersionsResponse> listEnvironmentTemplateVersions(ListEnvironmentTemplateVersionsRequest listEnvironmentTemplateVersionsRequest) List major or minor versions of an environment template with detail data.
- Parameters:
listEnvironmentTemplateVersionsRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentTemplateVersions 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentTemplateVersions
default CompletableFuture<ListEnvironmentTemplateVersionsResponse> listEnvironmentTemplateVersions(Consumer<ListEnvironmentTemplateVersionsRequest.Builder> listEnvironmentTemplateVersionsRequest) List major or minor versions of an environment template with detail data.
This is a convenience which creates an instance of the
ListEnvironmentTemplateVersionsRequest.Builderavoiding the need to create one manually viaListEnvironmentTemplateVersionsRequest.builder()- Parameters:
listEnvironmentTemplateVersionsRequest- AConsumerthat will call methods onListEnvironmentTemplateVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentTemplateVersions 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentTemplateVersionsPaginator
default ListEnvironmentTemplateVersionsPublisher listEnvironmentTemplateVersionsPaginator(ListEnvironmentTemplateVersionsRequest listEnvironmentTemplateVersionsRequest) This is a variant of
listEnvironmentTemplateVersions(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsRequest)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.proton.paginators.ListEnvironmentTemplateVersionsPublisher publisher = client.listEnvironmentTemplateVersionsPaginator(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.proton.paginators.ListEnvironmentTemplateVersionsPublisher publisher = client.listEnvironmentTemplateVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsResponse 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
listEnvironmentTemplateVersions(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsRequest)operation.- Parameters:
listEnvironmentTemplateVersionsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentTemplateVersionsPaginator
default ListEnvironmentTemplateVersionsPublisher listEnvironmentTemplateVersionsPaginator(Consumer<ListEnvironmentTemplateVersionsRequest.Builder> listEnvironmentTemplateVersionsRequest) This is a variant of
listEnvironmentTemplateVersions(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsRequest)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.proton.paginators.ListEnvironmentTemplateVersionsPublisher publisher = client.listEnvironmentTemplateVersionsPaginator(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.proton.paginators.ListEnvironmentTemplateVersionsPublisher publisher = client.listEnvironmentTemplateVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsResponse 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
listEnvironmentTemplateVersions(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplateVersionsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentTemplateVersionsRequest.Builderavoiding the need to create one manually viaListEnvironmentTemplateVersionsRequest.builder()- Parameters:
listEnvironmentTemplateVersionsRequest- AConsumerthat will call methods onListEnvironmentTemplateVersionsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentTemplates
default CompletableFuture<ListEnvironmentTemplatesResponse> listEnvironmentTemplates(ListEnvironmentTemplatesRequest listEnvironmentTemplatesRequest) List environment templates.
- Parameters:
listEnvironmentTemplatesRequest-- Returns:
- A Java Future containing the result of the ListEnvironmentTemplates 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentTemplates
default CompletableFuture<ListEnvironmentTemplatesResponse> listEnvironmentTemplates(Consumer<ListEnvironmentTemplatesRequest.Builder> listEnvironmentTemplatesRequest) List environment templates.
This is a convenience which creates an instance of the
ListEnvironmentTemplatesRequest.Builderavoiding the need to create one manually viaListEnvironmentTemplatesRequest.builder()- Parameters:
listEnvironmentTemplatesRequest- AConsumerthat will call methods onListEnvironmentTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironmentTemplates 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentTemplatesPaginator
default ListEnvironmentTemplatesPublisher listEnvironmentTemplatesPaginator(ListEnvironmentTemplatesRequest listEnvironmentTemplatesRequest) This is a variant of
listEnvironmentTemplates(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesRequest)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.proton.paginators.ListEnvironmentTemplatesPublisher publisher = client.listEnvironmentTemplatesPaginator(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.proton.paginators.ListEnvironmentTemplatesPublisher publisher = client.listEnvironmentTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesResponse 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
listEnvironmentTemplates(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesRequest)operation.- Parameters:
listEnvironmentTemplatesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentTemplatesPaginator
default ListEnvironmentTemplatesPublisher listEnvironmentTemplatesPaginator(Consumer<ListEnvironmentTemplatesRequest.Builder> listEnvironmentTemplatesRequest) This is a variant of
listEnvironmentTemplates(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesRequest)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.proton.paginators.ListEnvironmentTemplatesPublisher publisher = client.listEnvironmentTemplatesPaginator(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.proton.paginators.ListEnvironmentTemplatesPublisher publisher = client.listEnvironmentTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesResponse 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
listEnvironmentTemplates(software.amazon.awssdk.services.proton.model.ListEnvironmentTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentTemplatesRequest.Builderavoiding the need to create one manually viaListEnvironmentTemplatesRequest.builder()- Parameters:
listEnvironmentTemplatesRequest- AConsumerthat will call methods onListEnvironmentTemplatesRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest) List environments with detail data summaries.
- Parameters:
listEnvironmentsRequest-- Returns:
- A Java Future containing the result of the ListEnvironments 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironments
default CompletableFuture<ListEnvironmentsResponse> listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) List environments with detail data summaries.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListEnvironments 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.proton.model.ListEnvironmentsRequest)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.proton.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(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.proton.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentsResponse 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
listEnvironments(software.amazon.awssdk.services.proton.model.ListEnvironmentsRequest)operation.- Parameters:
listEnvironmentsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listEnvironmentsPaginator
default ListEnvironmentsPublisher listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest) This is a variant of
listEnvironments(software.amazon.awssdk.services.proton.model.ListEnvironmentsRequest)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.proton.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(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.proton.paginators.ListEnvironmentsPublisher publisher = client.listEnvironmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListEnvironmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListEnvironmentsResponse 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
listEnvironments(software.amazon.awssdk.services.proton.model.ListEnvironmentsRequest)operation.
This is a convenience which creates an instance of the
ListEnvironmentsRequest.Builderavoiding the need to create one manually viaListEnvironmentsRequest.builder()- Parameters:
listEnvironmentsRequest- AConsumerthat will call methods onListEnvironmentsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositories
default CompletableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest listRepositoriesRequest) List linked repositories with detail data.
- Parameters:
listRepositoriesRequest-- Returns:
- A Java Future containing the result of the ListRepositories 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositories
default CompletableFuture<ListRepositoriesResponse> listRepositories(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest) List linked repositories with detail data.
This is a convenience which creates an instance of the
ListRepositoriesRequest.Builderavoiding the need to create one manually viaListRepositoriesRequest.builder()- Parameters:
listRepositoriesRequest- AConsumerthat will call methods onListRepositoriesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRepositories 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositoriesPaginator
default ListRepositoriesPublisher listRepositoriesPaginator(ListRepositoriesRequest listRepositoriesRequest) This is a variant of
listRepositories(software.amazon.awssdk.services.proton.model.ListRepositoriesRequest)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.proton.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(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.proton.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListRepositoriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListRepositoriesResponse 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
listRepositories(software.amazon.awssdk.services.proton.model.ListRepositoriesRequest)operation.- Parameters:
listRepositoriesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositoriesPaginator
default ListRepositoriesPublisher listRepositoriesPaginator(Consumer<ListRepositoriesRequest.Builder> listRepositoriesRequest) This is a variant of
listRepositories(software.amazon.awssdk.services.proton.model.ListRepositoriesRequest)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.proton.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(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.proton.paginators.ListRepositoriesPublisher publisher = client.listRepositoriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListRepositoriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListRepositoriesResponse 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
listRepositories(software.amazon.awssdk.services.proton.model.ListRepositoriesRequest)operation.
This is a convenience which creates an instance of the
ListRepositoriesRequest.Builderavoiding the need to create one manually viaListRepositoriesRequest.builder()- Parameters:
listRepositoriesRequest- AConsumerthat will call methods onListRepositoriesRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositorySyncDefinitions
default CompletableFuture<ListRepositorySyncDefinitionsResponse> listRepositorySyncDefinitions(ListRepositorySyncDefinitionsRequest listRepositorySyncDefinitionsRequest) List repository sync definitions with detail data.
- Parameters:
listRepositorySyncDefinitionsRequest-- Returns:
- A Java Future containing the result of the ListRepositorySyncDefinitions 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositorySyncDefinitions
default CompletableFuture<ListRepositorySyncDefinitionsResponse> listRepositorySyncDefinitions(Consumer<ListRepositorySyncDefinitionsRequest.Builder> listRepositorySyncDefinitionsRequest) List repository sync definitions with detail data.
This is a convenience which creates an instance of the
ListRepositorySyncDefinitionsRequest.Builderavoiding the need to create one manually viaListRepositorySyncDefinitionsRequest.builder()- Parameters:
listRepositorySyncDefinitionsRequest- AConsumerthat will call methods onListRepositorySyncDefinitionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListRepositorySyncDefinitions 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositorySyncDefinitionsPaginator
default ListRepositorySyncDefinitionsPublisher listRepositorySyncDefinitionsPaginator(ListRepositorySyncDefinitionsRequest listRepositorySyncDefinitionsRequest) This is a variant of
listRepositorySyncDefinitions(software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsRequest)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.proton.paginators.ListRepositorySyncDefinitionsPublisher publisher = client.listRepositorySyncDefinitionsPaginator(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.proton.paginators.ListRepositorySyncDefinitionsPublisher publisher = client.listRepositorySyncDefinitionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRepositorySyncDefinitions(software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsRequest)operation.- Parameters:
listRepositorySyncDefinitionsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listRepositorySyncDefinitionsPaginator
default ListRepositorySyncDefinitionsPublisher listRepositorySyncDefinitionsPaginator(Consumer<ListRepositorySyncDefinitionsRequest.Builder> listRepositorySyncDefinitionsRequest) This is a variant of
listRepositorySyncDefinitions(software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsRequest)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.proton.paginators.ListRepositorySyncDefinitionsPublisher publisher = client.listRepositorySyncDefinitionsPaginator(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.proton.paginators.ListRepositorySyncDefinitionsPublisher publisher = client.listRepositorySyncDefinitionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRepositorySyncDefinitions(software.amazon.awssdk.services.proton.model.ListRepositorySyncDefinitionsRequest)operation.
This is a convenience which creates an instance of the
ListRepositorySyncDefinitionsRequest.Builderavoiding the need to create one manually viaListRepositorySyncDefinitionsRequest.builder()- Parameters:
listRepositorySyncDefinitionsRequest- AConsumerthat will call methods onListRepositorySyncDefinitionsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstanceOutputs
default CompletableFuture<ListServiceInstanceOutputsResponse> listServiceInstanceOutputs(ListServiceInstanceOutputsRequest listServiceInstanceOutputsRequest) Get a list service of instance Infrastructure as Code (IaC) outputs.
- Parameters:
listServiceInstanceOutputsRequest-- Returns:
- A Java Future containing the result of the ListServiceInstanceOutputs 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstanceOutputs
default CompletableFuture<ListServiceInstanceOutputsResponse> listServiceInstanceOutputs(Consumer<ListServiceInstanceOutputsRequest.Builder> listServiceInstanceOutputsRequest) Get a list service of instance Infrastructure as Code (IaC) outputs.
This is a convenience which creates an instance of the
ListServiceInstanceOutputsRequest.Builderavoiding the need to create one manually viaListServiceInstanceOutputsRequest.builder()- Parameters:
listServiceInstanceOutputsRequest- AConsumerthat will call methods onListServiceInstanceOutputsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServiceInstanceOutputs 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstanceOutputsPaginator
default ListServiceInstanceOutputsPublisher listServiceInstanceOutputsPaginator(ListServiceInstanceOutputsRequest listServiceInstanceOutputsRequest) This is a variant of
listServiceInstanceOutputs(software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsRequest)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.proton.paginators.ListServiceInstanceOutputsPublisher publisher = client.listServiceInstanceOutputsPaginator(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.proton.paginators.ListServiceInstanceOutputsPublisher publisher = client.listServiceInstanceOutputsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceInstanceOutputs(software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsRequest)operation.- Parameters:
listServiceInstanceOutputsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstanceOutputsPaginator
default ListServiceInstanceOutputsPublisher listServiceInstanceOutputsPaginator(Consumer<ListServiceInstanceOutputsRequest.Builder> listServiceInstanceOutputsRequest) This is a variant of
listServiceInstanceOutputs(software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsRequest)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.proton.paginators.ListServiceInstanceOutputsPublisher publisher = client.listServiceInstanceOutputsPaginator(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.proton.paginators.ListServiceInstanceOutputsPublisher publisher = client.listServiceInstanceOutputsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceInstanceOutputs(software.amazon.awssdk.services.proton.model.ListServiceInstanceOutputsRequest)operation.
This is a convenience which creates an instance of the
ListServiceInstanceOutputsRequest.Builderavoiding the need to create one manually viaListServiceInstanceOutputsRequest.builder()- Parameters:
listServiceInstanceOutputsRequest- AConsumerthat will call methods onListServiceInstanceOutputsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstanceProvisionedResources
default CompletableFuture<ListServiceInstanceProvisionedResourcesResponse> listServiceInstanceProvisionedResources(ListServiceInstanceProvisionedResourcesRequest listServiceInstanceProvisionedResourcesRequest) List provisioned resources for a service instance with details.
- Parameters:
listServiceInstanceProvisionedResourcesRequest-- Returns:
- A Java Future containing the result of the ListServiceInstanceProvisionedResources 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstanceProvisionedResources
default CompletableFuture<ListServiceInstanceProvisionedResourcesResponse> listServiceInstanceProvisionedResources(Consumer<ListServiceInstanceProvisionedResourcesRequest.Builder> listServiceInstanceProvisionedResourcesRequest) List provisioned resources for a service instance with details.
This is a convenience which creates an instance of the
ListServiceInstanceProvisionedResourcesRequest.Builderavoiding the need to create one manually viaListServiceInstanceProvisionedResourcesRequest.builder()- Parameters:
listServiceInstanceProvisionedResourcesRequest- AConsumerthat will call methods onListServiceInstanceProvisionedResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServiceInstanceProvisionedResources 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstanceProvisionedResourcesPaginator
default ListServiceInstanceProvisionedResourcesPublisher listServiceInstanceProvisionedResourcesPaginator(ListServiceInstanceProvisionedResourcesRequest listServiceInstanceProvisionedResourcesRequest) This is a variant of
listServiceInstanceProvisionedResources(software.amazon.awssdk.services.proton.model.ListServiceInstanceProvisionedResourcesRequest)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.proton.paginators.ListServiceInstanceProvisionedResourcesPublisher publisher = client.listServiceInstanceProvisionedResourcesPaginator(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.proton.paginators.ListServiceInstanceProvisionedResourcesPublisher publisher = client.listServiceInstanceProvisionedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceInstanceProvisionedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceInstanceProvisionedResourcesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceInstanceProvisionedResources(software.amazon.awssdk.services.proton.model.ListServiceInstanceProvisionedResourcesRequest)operation.- Parameters:
listServiceInstanceProvisionedResourcesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstanceProvisionedResourcesPaginator
default ListServiceInstanceProvisionedResourcesPublisher listServiceInstanceProvisionedResourcesPaginator(Consumer<ListServiceInstanceProvisionedResourcesRequest.Builder> listServiceInstanceProvisionedResourcesRequest) This is a variant of
listServiceInstanceProvisionedResources(software.amazon.awssdk.services.proton.model.ListServiceInstanceProvisionedResourcesRequest)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.proton.paginators.ListServiceInstanceProvisionedResourcesPublisher publisher = client.listServiceInstanceProvisionedResourcesPaginator(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.proton.paginators.ListServiceInstanceProvisionedResourcesPublisher publisher = client.listServiceInstanceProvisionedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceInstanceProvisionedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceInstanceProvisionedResourcesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServiceInstanceProvisionedResources(software.amazon.awssdk.services.proton.model.ListServiceInstanceProvisionedResourcesRequest)operation.
This is a convenience which creates an instance of the
ListServiceInstanceProvisionedResourcesRequest.Builderavoiding the need to create one manually viaListServiceInstanceProvisionedResourcesRequest.builder()- Parameters:
listServiceInstanceProvisionedResourcesRequest- AConsumerthat will call methods onListServiceInstanceProvisionedResourcesRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstances
default CompletableFuture<ListServiceInstancesResponse> listServiceInstances(ListServiceInstancesRequest listServiceInstancesRequest) List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.
- Parameters:
listServiceInstancesRequest-- Returns:
- A Java Future containing the result of the ListServiceInstances 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstances
default CompletableFuture<ListServiceInstancesResponse> listServiceInstances(Consumer<ListServiceInstancesRequest.Builder> listServiceInstancesRequest) List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.
This is a convenience which creates an instance of the
ListServiceInstancesRequest.Builderavoiding the need to create one manually viaListServiceInstancesRequest.builder()- Parameters:
listServiceInstancesRequest- AConsumerthat will call methods onListServiceInstancesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServiceInstances 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstancesPaginator
default ListServiceInstancesPublisher listServiceInstancesPaginator(ListServiceInstancesRequest listServiceInstancesRequest) This is a variant of
listServiceInstances(software.amazon.awssdk.services.proton.model.ListServiceInstancesRequest)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.proton.paginators.ListServiceInstancesPublisher publisher = client.listServiceInstancesPaginator(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.proton.paginators.ListServiceInstancesPublisher publisher = client.listServiceInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceInstancesResponse 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
listServiceInstances(software.amazon.awssdk.services.proton.model.ListServiceInstancesRequest)operation.- Parameters:
listServiceInstancesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceInstancesPaginator
default ListServiceInstancesPublisher listServiceInstancesPaginator(Consumer<ListServiceInstancesRequest.Builder> listServiceInstancesRequest) This is a variant of
listServiceInstances(software.amazon.awssdk.services.proton.model.ListServiceInstancesRequest)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.proton.paginators.ListServiceInstancesPublisher publisher = client.listServiceInstancesPaginator(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.proton.paginators.ListServiceInstancesPublisher publisher = client.listServiceInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceInstancesResponse 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
listServiceInstances(software.amazon.awssdk.services.proton.model.ListServiceInstancesRequest)operation.
This is a convenience which creates an instance of the
ListServiceInstancesRequest.Builderavoiding the need to create one manually viaListServiceInstancesRequest.builder()- Parameters:
listServiceInstancesRequest- AConsumerthat will call methods onListServiceInstancesRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicePipelineOutputs
default CompletableFuture<ListServicePipelineOutputsResponse> listServicePipelineOutputs(ListServicePipelineOutputsRequest listServicePipelineOutputsRequest) Get a list of service pipeline Infrastructure as Code (IaC) outputs.
- Parameters:
listServicePipelineOutputsRequest-- Returns:
- A Java Future containing the result of the ListServicePipelineOutputs 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicePipelineOutputs
default CompletableFuture<ListServicePipelineOutputsResponse> listServicePipelineOutputs(Consumer<ListServicePipelineOutputsRequest.Builder> listServicePipelineOutputsRequest) Get a list of service pipeline Infrastructure as Code (IaC) outputs.
This is a convenience which creates an instance of the
ListServicePipelineOutputsRequest.Builderavoiding the need to create one manually viaListServicePipelineOutputsRequest.builder()- Parameters:
listServicePipelineOutputsRequest- AConsumerthat will call methods onListServicePipelineOutputsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServicePipelineOutputs 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicePipelineOutputsPaginator
default ListServicePipelineOutputsPublisher listServicePipelineOutputsPaginator(ListServicePipelineOutputsRequest listServicePipelineOutputsRequest) This is a variant of
listServicePipelineOutputs(software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsRequest)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.proton.paginators.ListServicePipelineOutputsPublisher publisher = client.listServicePipelineOutputsPaginator(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.proton.paginators.ListServicePipelineOutputsPublisher publisher = client.listServicePipelineOutputsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServicePipelineOutputs(software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsRequest)operation.- Parameters:
listServicePipelineOutputsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicePipelineOutputsPaginator
default ListServicePipelineOutputsPublisher listServicePipelineOutputsPaginator(Consumer<ListServicePipelineOutputsRequest.Builder> listServicePipelineOutputsRequest) This is a variant of
listServicePipelineOutputs(software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsRequest)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.proton.paginators.ListServicePipelineOutputsPublisher publisher = client.listServicePipelineOutputsPaginator(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.proton.paginators.ListServicePipelineOutputsPublisher publisher = client.listServicePipelineOutputsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServicePipelineOutputs(software.amazon.awssdk.services.proton.model.ListServicePipelineOutputsRequest)operation.
This is a convenience which creates an instance of the
ListServicePipelineOutputsRequest.Builderavoiding the need to create one manually viaListServicePipelineOutputsRequest.builder()- Parameters:
listServicePipelineOutputsRequest- AConsumerthat will call methods onListServicePipelineOutputsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicePipelineProvisionedResources
default CompletableFuture<ListServicePipelineProvisionedResourcesResponse> listServicePipelineProvisionedResources(ListServicePipelineProvisionedResourcesRequest listServicePipelineProvisionedResourcesRequest) List provisioned resources for a service and pipeline with details.
- Parameters:
listServicePipelineProvisionedResourcesRequest-- Returns:
- A Java Future containing the result of the ListServicePipelineProvisionedResources 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicePipelineProvisionedResources
default CompletableFuture<ListServicePipelineProvisionedResourcesResponse> listServicePipelineProvisionedResources(Consumer<ListServicePipelineProvisionedResourcesRequest.Builder> listServicePipelineProvisionedResourcesRequest) List provisioned resources for a service and pipeline with details.
This is a convenience which creates an instance of the
ListServicePipelineProvisionedResourcesRequest.Builderavoiding the need to create one manually viaListServicePipelineProvisionedResourcesRequest.builder()- Parameters:
listServicePipelineProvisionedResourcesRequest- AConsumerthat will call methods onListServicePipelineProvisionedResourcesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServicePipelineProvisionedResources 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicePipelineProvisionedResourcesPaginator
default ListServicePipelineProvisionedResourcesPublisher listServicePipelineProvisionedResourcesPaginator(ListServicePipelineProvisionedResourcesRequest listServicePipelineProvisionedResourcesRequest) This is a variant of
listServicePipelineProvisionedResources(software.amazon.awssdk.services.proton.model.ListServicePipelineProvisionedResourcesRequest)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.proton.paginators.ListServicePipelineProvisionedResourcesPublisher publisher = client.listServicePipelineProvisionedResourcesPaginator(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.proton.paginators.ListServicePipelineProvisionedResourcesPublisher publisher = client.listServicePipelineProvisionedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServicePipelineProvisionedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServicePipelineProvisionedResourcesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServicePipelineProvisionedResources(software.amazon.awssdk.services.proton.model.ListServicePipelineProvisionedResourcesRequest)operation.- Parameters:
listServicePipelineProvisionedResourcesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServicePipelineProvisionedResourcesPaginator
default ListServicePipelineProvisionedResourcesPublisher listServicePipelineProvisionedResourcesPaginator(Consumer<ListServicePipelineProvisionedResourcesRequest.Builder> listServicePipelineProvisionedResourcesRequest) This is a variant of
listServicePipelineProvisionedResources(software.amazon.awssdk.services.proton.model.ListServicePipelineProvisionedResourcesRequest)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.proton.paginators.ListServicePipelineProvisionedResourcesPublisher publisher = client.listServicePipelineProvisionedResourcesPaginator(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.proton.paginators.ListServicePipelineProvisionedResourcesPublisher publisher = client.listServicePipelineProvisionedResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServicePipelineProvisionedResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServicePipelineProvisionedResourcesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listServicePipelineProvisionedResources(software.amazon.awssdk.services.proton.model.ListServicePipelineProvisionedResourcesRequest)operation.
This is a convenience which creates an instance of the
ListServicePipelineProvisionedResourcesRequest.Builderavoiding the need to create one manually viaListServicePipelineProvisionedResourcesRequest.builder()- Parameters:
listServicePipelineProvisionedResourcesRequest- AConsumerthat will call methods onListServicePipelineProvisionedResourcesRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTemplateVersions
default CompletableFuture<ListServiceTemplateVersionsResponse> listServiceTemplateVersions(ListServiceTemplateVersionsRequest listServiceTemplateVersionsRequest) List major or minor versions of a service template with detail data.
- Parameters:
listServiceTemplateVersionsRequest-- Returns:
- A Java Future containing the result of the ListServiceTemplateVersions 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTemplateVersions
default CompletableFuture<ListServiceTemplateVersionsResponse> listServiceTemplateVersions(Consumer<ListServiceTemplateVersionsRequest.Builder> listServiceTemplateVersionsRequest) List major or minor versions of a service template with detail data.
This is a convenience which creates an instance of the
ListServiceTemplateVersionsRequest.Builderavoiding the need to create one manually viaListServiceTemplateVersionsRequest.builder()- Parameters:
listServiceTemplateVersionsRequest- AConsumerthat will call methods onListServiceTemplateVersionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServiceTemplateVersions 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTemplateVersionsPaginator
default ListServiceTemplateVersionsPublisher listServiceTemplateVersionsPaginator(ListServiceTemplateVersionsRequest listServiceTemplateVersionsRequest) This is a variant of
listServiceTemplateVersions(software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsRequest)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.proton.paginators.ListServiceTemplateVersionsPublisher publisher = client.listServiceTemplateVersionsPaginator(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.proton.paginators.ListServiceTemplateVersionsPublisher publisher = client.listServiceTemplateVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsResponse 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
listServiceTemplateVersions(software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsRequest)operation.- Parameters:
listServiceTemplateVersionsRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTemplateVersionsPaginator
default ListServiceTemplateVersionsPublisher listServiceTemplateVersionsPaginator(Consumer<ListServiceTemplateVersionsRequest.Builder> listServiceTemplateVersionsRequest) This is a variant of
listServiceTemplateVersions(software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsRequest)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.proton.paginators.ListServiceTemplateVersionsPublisher publisher = client.listServiceTemplateVersionsPaginator(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.proton.paginators.ListServiceTemplateVersionsPublisher publisher = client.listServiceTemplateVersionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsResponse 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
listServiceTemplateVersions(software.amazon.awssdk.services.proton.model.ListServiceTemplateVersionsRequest)operation.
This is a convenience which creates an instance of the
ListServiceTemplateVersionsRequest.Builderavoiding the need to create one manually viaListServiceTemplateVersionsRequest.builder()- Parameters:
listServiceTemplateVersionsRequest- AConsumerthat will call methods onListServiceTemplateVersionsRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTemplates
default CompletableFuture<ListServiceTemplatesResponse> listServiceTemplates(ListServiceTemplatesRequest listServiceTemplatesRequest) List service templates with detail data.
- Parameters:
listServiceTemplatesRequest-- Returns:
- A Java Future containing the result of the ListServiceTemplates 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTemplates
default CompletableFuture<ListServiceTemplatesResponse> listServiceTemplates(Consumer<ListServiceTemplatesRequest.Builder> listServiceTemplatesRequest) List service templates with detail data.
This is a convenience which creates an instance of the
ListServiceTemplatesRequest.Builderavoiding the need to create one manually viaListServiceTemplatesRequest.builder()- Parameters:
listServiceTemplatesRequest- AConsumerthat will call methods onListServiceTemplatesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListServiceTemplates 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTemplatesPaginator
default ListServiceTemplatesPublisher listServiceTemplatesPaginator(ListServiceTemplatesRequest listServiceTemplatesRequest) This is a variant of
listServiceTemplates(software.amazon.awssdk.services.proton.model.ListServiceTemplatesRequest)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.proton.paginators.ListServiceTemplatesPublisher publisher = client.listServiceTemplatesPaginator(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.proton.paginators.ListServiceTemplatesPublisher publisher = client.listServiceTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceTemplatesResponse 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
listServiceTemplates(software.amazon.awssdk.services.proton.model.ListServiceTemplatesRequest)operation.- Parameters:
listServiceTemplatesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listServiceTemplatesPaginator
default ListServiceTemplatesPublisher listServiceTemplatesPaginator(Consumer<ListServiceTemplatesRequest.Builder> listServiceTemplatesRequest) This is a variant of
listServiceTemplates(software.amazon.awssdk.services.proton.model.ListServiceTemplatesRequest)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.proton.paginators.ListServiceTemplatesPublisher publisher = client.listServiceTemplatesPaginator(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.proton.paginators.ListServiceTemplatesPublisher publisher = client.listServiceTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServiceTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListServiceTemplatesResponse 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
listServiceTemplates(software.amazon.awssdk.services.proton.model.ListServiceTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListServiceTemplatesRequest.Builderavoiding the need to create one manually viaListServiceTemplatesRequest.builder()- Parameters:
listServiceTemplatesRequest- AConsumerthat will call methods onListServiceTemplatesRequest.Builderto create a request.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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 services with summaries of detail data.
- Parameters:
listServicesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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 services with summaries of detail data.
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.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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.proton.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.proton.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.proton.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.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.proton.model.ListServicesRequest)operation.- Parameters:
listServicesRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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.proton.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.proton.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.proton.paginators.ListServicesPublisher publisher = client.listServicesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListServicesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.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.proton.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.- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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) List tags for a resource. For more information, see Proton resources and tagging in the Proton User Guide.
- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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) List tags for a resource. For more information, see Proton resources and tagging in the Proton User Guide.
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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResourcePaginator
default ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) This is a variant of
listTagsForResource(software.amazon.awssdk.services.proton.model.ListTagsForResourceRequest)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.proton.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(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.proton.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListTagsForResourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListTagsForResourceResponse 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
listTagsForResource(software.amazon.awssdk.services.proton.model.ListTagsForResourceRequest)operation.- Parameters:
listTagsForResourceRequest-- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResourcePaginator
default ListTagsForResourcePublisher listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This is a variant of
listTagsForResource(software.amazon.awssdk.services.proton.model.ListTagsForResourceRequest)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.proton.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(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.proton.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.proton.model.ListTagsForResourceResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.proton.model.ListTagsForResourceResponse 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
listTagsForResource(software.amazon.awssdk.services.proton.model.ListTagsForResourceRequest)operation.
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 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
notifyResourceDeploymentStatusChange
default CompletableFuture<NotifyResourceDeploymentStatusChangeResponse> notifyResourceDeploymentStatusChange(NotifyResourceDeploymentStatusChangeRequest notifyResourceDeploymentStatusChangeRequest) Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.
For more information, see Self-managed provisioning in the Proton User Guide.
- Parameters:
notifyResourceDeploymentStatusChangeRequest-- Returns:
- A Java Future containing the result of the NotifyResourceDeploymentStatusChange 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
notifyResourceDeploymentStatusChange
default CompletableFuture<NotifyResourceDeploymentStatusChangeResponse> notifyResourceDeploymentStatusChange(Consumer<NotifyResourceDeploymentStatusChangeRequest.Builder> notifyResourceDeploymentStatusChangeRequest) Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.
For more information, see Self-managed provisioning in the Proton User Guide.
This is a convenience which creates an instance of the
NotifyResourceDeploymentStatusChangeRequest.Builderavoiding the need to create one manually viaNotifyResourceDeploymentStatusChangeRequest.builder()- Parameters:
notifyResourceDeploymentStatusChangeRequest- AConsumerthat will call methods onNotifyResourceDeploymentStatusChangeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the NotifyResourceDeploymentStatusChange 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectEnvironmentAccountConnection
default CompletableFuture<RejectEnvironmentAccountConnectionResponse> rejectEnvironmentAccountConnection(RejectEnvironmentAccountConnectionRequest rejectEnvironmentAccountConnectionRequest) In a management account, reject an environment account connection from another environment account.
After you reject an environment account connection request, you can't accept or use the rejected environment account connection.
You can’t reject an environment account connection that's connected to an environment.
For more information, see Environment account connections in the Proton User guide.
- Parameters:
rejectEnvironmentAccountConnectionRequest-- Returns:
- A Java Future containing the result of the RejectEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectEnvironmentAccountConnection
default CompletableFuture<RejectEnvironmentAccountConnectionResponse> rejectEnvironmentAccountConnection(Consumer<RejectEnvironmentAccountConnectionRequest.Builder> rejectEnvironmentAccountConnectionRequest) In a management account, reject an environment account connection from another environment account.
After you reject an environment account connection request, you can't accept or use the rejected environment account connection.
You can’t reject an environment account connection that's connected to an environment.
For more information, see Environment account connections in the Proton User guide.
This is a convenience which creates an instance of the
RejectEnvironmentAccountConnectionRequest.Builderavoiding the need to create one manually viaRejectEnvironmentAccountConnectionRequest.builder()- Parameters:
rejectEnvironmentAccountConnectionRequest- AConsumerthat will call methods onRejectEnvironmentAccountConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RejectEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.
For more information, see Proton resources and tagging in the Proton User Guide.
- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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) Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.
For more information, see Proton resources and tagging in the Proton User Guide.
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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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) Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton resource.
For more information, see Proton resources and tagging in the Proton User Guide.
- 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException 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) Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton resource.
For more information, see Proton resources and tagging in the Proton User Guide.
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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccountSettings
default CompletableFuture<UpdateAccountSettingsResponse> updateAccountSettings(UpdateAccountSettingsRequest updateAccountSettingsRequest) Update Proton settings that are used for multiple services in the Amazon Web Services account.
- Parameters:
updateAccountSettingsRequest-- Returns:
- A Java Future containing the result of the UpdateAccountSettings 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAccountSettings
default CompletableFuture<UpdateAccountSettingsResponse> updateAccountSettings(Consumer<UpdateAccountSettingsRequest.Builder> updateAccountSettingsRequest) Update Proton settings that are used for multiple services in the Amazon Web Services account.
This is a convenience which creates an instance of the
UpdateAccountSettingsRequest.Builderavoiding the need to create one manually viaUpdateAccountSettingsRequest.builder()- Parameters:
updateAccountSettingsRequest- AConsumerthat will call methods onUpdateAccountSettingsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAccountSettings 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComponent
default CompletableFuture<UpdateComponentResponse> updateComponent(UpdateComponentRequest updateComponentRequest) Update a component.
There are a few modes for updating a component. The
deploymentTypefield defines the mode.You can't update a component while its deployment status, or the deployment status of a service instance attached to it, is
IN_PROGRESS.For more information about components, see Proton components in the Proton User Guide.
- Parameters:
updateComponentRequest-- Returns:
- A Java Future containing the result of the UpdateComponent 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateComponent
default CompletableFuture<UpdateComponentResponse> updateComponent(Consumer<UpdateComponentRequest.Builder> updateComponentRequest) Update a component.
There are a few modes for updating a component. The
deploymentTypefield defines the mode.You can't update a component while its deployment status, or the deployment status of a service instance attached to it, is
IN_PROGRESS.For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
UpdateComponentRequest.Builderavoiding the need to create one manually viaUpdateComponentRequest.builder()- Parameters:
updateComponentRequest- AConsumerthat will call methods onUpdateComponentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateComponent 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest) Update an environment.
If the environment is associated with an environment account connection, don't update or include the
protonServiceRoleArnandprovisioningRepositoryparameter to update or connect to an environment account connection.You can only update to a new environment account connection if that connection was created in the same environment account that the current environment account connection was created in. The account connection must also be associated with the current environment.
If the environment isn't associated with an environment account connection, don't update or include the
environmentAccountConnectionIdparameter. You can't update or connect the environment to an environment account connection if it isn't already associated with an environment connection.You can update either the
environmentAccountConnectionIdorprotonServiceRoleArnparameter and value. You can’t update both.If the environment was configured for Amazon Web Services-managed provisioning, omit the
provisioningRepositoryparameter.If the environment was configured for self-managed provisioning, specify the
provisioningRepositoryparameter and omit theprotonServiceRoleArnandenvironmentAccountConnectionIdparameters.For more information, see Environments and Provisioning methods in the Proton User Guide.
There are four modes for updating an environment. The
deploymentTypefield defines the mode.-
NONEIn this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
-
CURRENT_VERSIONIn this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type. -
MINOR_VERSIONIn this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
-
MAJOR_VERSIONIn this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that's higher than the major version in use and a minor version.
- Parameters:
updateEnvironmentRequest-- Returns:
- A Java Future containing the result of the UpdateEnvironment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateEnvironment
default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest) Update an environment.
If the environment is associated with an environment account connection, don't update or include the
protonServiceRoleArnandprovisioningRepositoryparameter to update or connect to an environment account connection.You can only update to a new environment account connection if that connection was created in the same environment account that the current environment account connection was created in. The account connection must also be associated with the current environment.
If the environment isn't associated with an environment account connection, don't update or include the
environmentAccountConnectionIdparameter. You can't update or connect the environment to an environment account connection if it isn't already associated with an environment connection.You can update either the
environmentAccountConnectionIdorprotonServiceRoleArnparameter and value. You can’t update both.If the environment was configured for Amazon Web Services-managed provisioning, omit the
provisioningRepositoryparameter.If the environment was configured for self-managed provisioning, specify the
provisioningRepositoryparameter and omit theprotonServiceRoleArnandenvironmentAccountConnectionIdparameters.For more information, see Environments and Provisioning methods in the Proton User Guide.
There are four modes for updating an environment. The
deploymentTypefield defines the mode.-
NONEIn this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
-
CURRENT_VERSIONIn this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this
deployment-type. -
MINOR_VERSIONIn this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use.
-
MAJOR_VERSIONIn this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that's higher than the major version in use and a minor version.
This is a convenience which creates an instance of the
UpdateEnvironmentRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentRequest.builder()- Parameters:
updateEnvironmentRequest- AConsumerthat will call methods onUpdateEnvironmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEnvironment 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateEnvironmentAccountConnection
default CompletableFuture<UpdateEnvironmentAccountConnectionResponse> updateEnvironmentAccountConnection(UpdateEnvironmentAccountConnectionRequest updateEnvironmentAccountConnectionRequest) In an environment account, update an environment account connection to use a new IAM role.
For more information, see Environment account connections in the Proton User guide.
- Parameters:
updateEnvironmentAccountConnectionRequest-- Returns:
- A Java Future containing the result of the UpdateEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironmentAccountConnection
default CompletableFuture<UpdateEnvironmentAccountConnectionResponse> updateEnvironmentAccountConnection(Consumer<UpdateEnvironmentAccountConnectionRequest.Builder> updateEnvironmentAccountConnectionRequest) In an environment account, update an environment account connection to use a new IAM role.
For more information, see Environment account connections in the Proton User guide.
This is a convenience which creates an instance of the
UpdateEnvironmentAccountConnectionRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentAccountConnectionRequest.builder()- Parameters:
updateEnvironmentAccountConnectionRequest- AConsumerthat will call methods onUpdateEnvironmentAccountConnectionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEnvironmentAccountConnection 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironmentTemplate
default CompletableFuture<UpdateEnvironmentTemplateResponse> updateEnvironmentTemplate(UpdateEnvironmentTemplateRequest updateEnvironmentTemplateRequest) Update an environment template.
- Parameters:
updateEnvironmentTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateEnvironmentTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironmentTemplate
default CompletableFuture<UpdateEnvironmentTemplateResponse> updateEnvironmentTemplate(Consumer<UpdateEnvironmentTemplateRequest.Builder> updateEnvironmentTemplateRequest) Update an environment template.
This is a convenience which creates an instance of the
UpdateEnvironmentTemplateRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentTemplateRequest.builder()- Parameters:
updateEnvironmentTemplateRequest- AConsumerthat will call methods onUpdateEnvironmentTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEnvironmentTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironmentTemplateVersion
default CompletableFuture<UpdateEnvironmentTemplateVersionResponse> updateEnvironmentTemplateVersion(UpdateEnvironmentTemplateVersionRequest updateEnvironmentTemplateVersionRequest) Update a major or minor version of an environment template.
- Parameters:
updateEnvironmentTemplateVersionRequest-- Returns:
- A Java Future containing the result of the UpdateEnvironmentTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateEnvironmentTemplateVersion
default CompletableFuture<UpdateEnvironmentTemplateVersionResponse> updateEnvironmentTemplateVersion(Consumer<UpdateEnvironmentTemplateVersionRequest.Builder> updateEnvironmentTemplateVersionRequest) Update a major or minor version of an environment template.
This is a convenience which creates an instance of the
UpdateEnvironmentTemplateVersionRequest.Builderavoiding the need to create one manually viaUpdateEnvironmentTemplateVersionRequest.builder()- Parameters:
updateEnvironmentTemplateVersionRequest- AConsumerthat will call methods onUpdateEnvironmentTemplateVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateEnvironmentTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateService
default CompletableFuture<UpdateServiceResponse> updateService(UpdateServiceRequest updateServiceRequest) Edit a service description or use a spec to add and delete service instances.
Existing service instances and the service pipeline can't be edited using this API. They can only be deleted.
Use the
descriptionparameter to modify the description.Edit the
specparameter to add or delete instances.You can't delete a service instance (remove it from the spec) if it has an attached component.
For more information about components, see Proton components in the Proton User Guide.
- Parameters:
updateServiceRequest-- Returns:
- A Java Future containing the result of the UpdateService 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateService
default CompletableFuture<UpdateServiceResponse> updateService(Consumer<UpdateServiceRequest.Builder> updateServiceRequest) Edit a service description or use a spec to add and delete service instances.
Existing service instances and the service pipeline can't be edited using this API. They can only be deleted.
Use the
descriptionparameter to modify the description.Edit the
specparameter to add or delete instances.You can't delete a service instance (remove it from the spec) if it has an attached component.
For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
UpdateServiceRequest.Builderavoiding the need to create one manually viaUpdateServiceRequest.builder()- Parameters:
updateServiceRequest- AConsumerthat will call methods onUpdateServiceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateService 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.- ServiceQuotaExceededException A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
- ValidationException The input is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceInstance
default CompletableFuture<UpdateServiceInstanceResponse> updateServiceInstance(UpdateServiceInstanceRequest updateServiceInstanceRequest) Update a service instance.
There are a few modes for updating a service instance. The
deploymentTypefield defines the mode.You can't update a service instance while its deployment status, or the deployment status of a component attached to it, is
IN_PROGRESS.For more information about components, see Proton components in the Proton User Guide.
- Parameters:
updateServiceInstanceRequest-- Returns:
- A Java Future containing the result of the UpdateServiceInstance 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceInstance
default CompletableFuture<UpdateServiceInstanceResponse> updateServiceInstance(Consumer<UpdateServiceInstanceRequest.Builder> updateServiceInstanceRequest) Update a service instance.
There are a few modes for updating a service instance. The
deploymentTypefield defines the mode.You can't update a service instance while its deployment status, or the deployment status of a component attached to it, is
IN_PROGRESS.For more information about components, see Proton components in the Proton User Guide.
This is a convenience which creates an instance of the
UpdateServiceInstanceRequest.Builderavoiding the need to create one manually viaUpdateServiceInstanceRequest.builder()- Parameters:
updateServiceInstanceRequest- AConsumerthat will call methods onUpdateServiceInstanceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateServiceInstance 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServicePipeline
default CompletableFuture<UpdateServicePipelineResponse> updateServicePipeline(UpdateServicePipelineRequest updateServicePipelineRequest) Update the service pipeline.
There are four modes for updating a service pipeline. The
deploymentTypefield defines the mode.-
NONEIn this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
-
CURRENT_VERSIONIn this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this
deployment-type. -
MINOR_VERSIONIn this mode, the service pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can specify a different minor version of the current major version in use.
-
MAJOR_VERSIONIn this mode, the service pipeline is deployed and updated with the published, recommended (latest) major and minor version of the current template by default. You can specify a different major version that's higher than the major version in use and a minor version.
- Parameters:
updateServicePipelineRequest-- Returns:
- A Java Future containing the result of the UpdateServicePipeline 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateServicePipeline
default CompletableFuture<UpdateServicePipelineResponse> updateServicePipeline(Consumer<UpdateServicePipelineRequest.Builder> updateServicePipelineRequest) Update the service pipeline.
There are four modes for updating a service pipeline. The
deploymentTypefield defines the mode.-
NONEIn this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
-
CURRENT_VERSIONIn this mode, the service pipeline is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this
deployment-type. -
MINOR_VERSIONIn this mode, the service pipeline is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can specify a different minor version of the current major version in use.
-
MAJOR_VERSIONIn this mode, the service pipeline is deployed and updated with the published, recommended (latest) major and minor version of the current template by default. You can specify a different major version that's higher than the major version in use and a minor version.
This is a convenience which creates an instance of the
UpdateServicePipelineRequest.Builderavoiding the need to create one manually viaUpdateServicePipelineRequest.builder()- Parameters:
updateServicePipelineRequest- AConsumerthat will call methods onUpdateServicePipelineRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateServicePipeline 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateServiceSyncBlocker
default CompletableFuture<UpdateServiceSyncBlockerResponse> updateServiceSyncBlocker(UpdateServiceSyncBlockerRequest updateServiceSyncBlockerRequest) Update the service sync blocker by resolving it.
- Parameters:
updateServiceSyncBlockerRequest-- Returns:
- A Java Future containing the result of the UpdateServiceSyncBlocker 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceSyncBlocker
default CompletableFuture<UpdateServiceSyncBlockerResponse> updateServiceSyncBlocker(Consumer<UpdateServiceSyncBlockerRequest.Builder> updateServiceSyncBlockerRequest) Update the service sync blocker by resolving it.
This is a convenience which creates an instance of the
UpdateServiceSyncBlockerRequest.Builderavoiding the need to create one manually viaUpdateServiceSyncBlockerRequest.builder()- Parameters:
updateServiceSyncBlockerRequest- AConsumerthat will call methods onUpdateServiceSyncBlockerRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateServiceSyncBlocker 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceSyncConfig
default CompletableFuture<UpdateServiceSyncConfigResponse> updateServiceSyncConfig(UpdateServiceSyncConfigRequest updateServiceSyncConfigRequest) Update the Proton Ops config file.
- Parameters:
updateServiceSyncConfigRequest-- Returns:
- A Java Future containing the result of the UpdateServiceSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceSyncConfig
default CompletableFuture<UpdateServiceSyncConfigResponse> updateServiceSyncConfig(Consumer<UpdateServiceSyncConfigRequest.Builder> updateServiceSyncConfigRequest) Update the Proton Ops config file.
This is a convenience which creates an instance of the
UpdateServiceSyncConfigRequest.Builderavoiding the need to create one manually viaUpdateServiceSyncConfigRequest.builder()- Parameters:
updateServiceSyncConfigRequest- AConsumerthat will call methods onUpdateServiceSyncConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateServiceSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceTemplate
default CompletableFuture<UpdateServiceTemplateResponse> updateServiceTemplate(UpdateServiceTemplateRequest updateServiceTemplateRequest) Update a service template.
- Parameters:
updateServiceTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateServiceTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceTemplate
default CompletableFuture<UpdateServiceTemplateResponse> updateServiceTemplate(Consumer<UpdateServiceTemplateRequest.Builder> updateServiceTemplateRequest) Update a service template.
This is a convenience which creates an instance of the
UpdateServiceTemplateRequest.Builderavoiding the need to create one manually viaUpdateServiceTemplateRequest.builder()- Parameters:
updateServiceTemplateRequest- AConsumerthat will call methods onUpdateServiceTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateServiceTemplate 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceTemplateVersion
default CompletableFuture<UpdateServiceTemplateVersionResponse> updateServiceTemplateVersion(UpdateServiceTemplateVersionRequest updateServiceTemplateVersionRequest) Update a major or minor version of a service template.
- Parameters:
updateServiceTemplateVersionRequest-- Returns:
- A Java Future containing the result of the UpdateServiceTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateServiceTemplateVersion
default CompletableFuture<UpdateServiceTemplateVersionResponse> updateServiceTemplateVersion(Consumer<UpdateServiceTemplateVersionRequest.Builder> updateServiceTemplateVersionRequest) Update a major or minor version of a service template.
This is a convenience which creates an instance of the
UpdateServiceTemplateVersionRequest.Builderavoiding the need to create one manually viaUpdateServiceTemplateVersionRequest.builder()- Parameters:
updateServiceTemplateVersionRequest- AConsumerthat will call methods onUpdateServiceTemplateVersionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateServiceTemplateVersion 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTemplateSyncConfig
default CompletableFuture<UpdateTemplateSyncConfigResponse> updateTemplateSyncConfig(UpdateTemplateSyncConfigRequest updateTemplateSyncConfigRequest) Update template sync configuration parameters, except for the
templateNameandtemplateType. Repository details (branch, name, and provider) should be of a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.- Parameters:
updateTemplateSyncConfigRequest-- Returns:
- A Java Future containing the result of the UpdateTemplateSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateTemplateSyncConfig
default CompletableFuture<UpdateTemplateSyncConfigResponse> updateTemplateSyncConfig(Consumer<UpdateTemplateSyncConfigRequest.Builder> updateTemplateSyncConfigRequest) Update template sync configuration parameters, except for the
templateNameandtemplateType. Repository details (branch, name, and provider) should be of a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
This is a convenience which creates an instance of the
UpdateTemplateSyncConfigRequest.Builderavoiding the need to create one manually viaUpdateTemplateSyncConfigRequest.builder()- Parameters:
updateTemplateSyncConfigRequest- AConsumerthat will call methods onUpdateTemplateSyncConfigRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTemplateSyncConfig 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 is invalid or an out-of-range value was supplied for the input parameter.
- AccessDeniedException There isn't sufficient access for performing this action.
- ThrottlingException The request was denied due to request throttling.
- ConflictException The request couldn't be made due to a conflicting operation or resource.
- ResourceNotFoundException The requested resource wasn't found.
- InternalServerException The request failed to register with the service.
- 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.
- ProtonException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
waiter
Create an instance ofProtonAsyncWaiterusing this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
ProtonAsyncWaiter
-
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 aProtonAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aProtonAsyncClient.
-