@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSProtonAsyncClient extends AWSProtonClient implements AWSProtonAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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 administration, see the Proton Administrator Guide.
To learn more about deploying serverless and containerized applications on 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
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
acceptEnvironmentAccountConnection, builder, cancelEnvironmentDeployment, cancelServiceInstanceDeployment, cancelServicePipelineDeployment, createEnvironment, createEnvironmentAccountConnection, createEnvironmentTemplate, createEnvironmentTemplateVersion, createRepository, createService, createServiceTemplate, createServiceTemplateVersion, createTemplateSyncConfig, deleteEnvironment, deleteEnvironmentAccountConnection, deleteEnvironmentTemplate, deleteEnvironmentTemplateVersion, deleteRepository, deleteService, deleteServiceTemplate, deleteServiceTemplateVersion, deleteTemplateSyncConfig, getAccountSettings, getCachedResponseMetadata, getEnvironment, getEnvironmentAccountConnection, getEnvironmentTemplate, getEnvironmentTemplateVersion, getRepository, getRepositorySyncStatus, getService, getServiceInstance, getServiceTemplate, getServiceTemplateVersion, getTemplateSyncConfig, getTemplateSyncStatus, listEnvironmentAccountConnections, listEnvironmentOutputs, listEnvironmentProvisionedResources, listEnvironments, listEnvironmentTemplates, listEnvironmentTemplateVersions, listRepositories, listRepositorySyncDefinitions, listServiceInstanceOutputs, listServiceInstanceProvisionedResources, listServiceInstances, listServicePipelineOutputs, listServicePipelineProvisionedResources, listServices, listServiceTemplates, listServiceTemplateVersions, listTagsForResource, notifyResourceDeploymentStatusChange, rejectEnvironmentAccountConnection, tagResource, untagResource, updateAccountSettings, updateEnvironment, updateEnvironmentAccountConnection, updateEnvironmentTemplate, updateEnvironmentTemplateVersion, updateService, updateServiceInstance, updateServicePipeline, updateServiceTemplate, updateServiceTemplateVersion, updateTemplateSyncConfig, waiters
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptEnvironmentAccountConnection, cancelEnvironmentDeployment, cancelServiceInstanceDeployment, cancelServicePipelineDeployment, createEnvironment, createEnvironmentAccountConnection, createEnvironmentTemplate, createEnvironmentTemplateVersion, createRepository, createService, createServiceTemplate, createServiceTemplateVersion, createTemplateSyncConfig, deleteEnvironment, deleteEnvironmentAccountConnection, deleteEnvironmentTemplate, deleteEnvironmentTemplateVersion, deleteRepository, deleteService, deleteServiceTemplate, deleteServiceTemplateVersion, deleteTemplateSyncConfig, getAccountSettings, getCachedResponseMetadata, getEnvironment, getEnvironmentAccountConnection, getEnvironmentTemplate, getEnvironmentTemplateVersion, getRepository, getRepositorySyncStatus, getService, getServiceInstance, getServiceTemplate, getServiceTemplateVersion, getTemplateSyncConfig, getTemplateSyncStatus, listEnvironmentAccountConnections, listEnvironmentOutputs, listEnvironmentProvisionedResources, listEnvironments, listEnvironmentTemplates, listEnvironmentTemplateVersions, listRepositories, listRepositorySyncDefinitions, listServiceInstanceOutputs, listServiceInstanceProvisionedResources, listServiceInstances, listServicePipelineOutputs, listServicePipelineProvisionedResources, listServices, listServiceTemplates, listServiceTemplateVersions, listTagsForResource, notifyResourceDeploymentStatusChange, rejectEnvironmentAccountConnection, tagResource, untagResource, updateAccountSettings, updateEnvironment, updateEnvironmentAccountConnection, updateEnvironmentTemplate, updateEnvironmentTemplateVersion, updateService, updateServiceInstance, updateServicePipeline, updateServiceTemplate, updateServiceTemplateVersion, updateTemplateSyncConfig, waiters
public static AWSProtonAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AcceptEnvironmentAccountConnectionResult> acceptEnvironmentAccountConnectionAsync(AcceptEnvironmentAccountConnectionRequest request)
AWSProtonAsync
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 Administrator guide.
acceptEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
public Future<AcceptEnvironmentAccountConnectionResult> acceptEnvironmentAccountConnectionAsync(AcceptEnvironmentAccountConnectionRequest request, AsyncHandler<AcceptEnvironmentAccountConnectionRequest,AcceptEnvironmentAccountConnectionResult> asyncHandler)
AWSProtonAsync
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 Administrator guide.
acceptEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelEnvironmentDeploymentResult> cancelEnvironmentDeploymentAsync(CancelEnvironmentDeploymentRequest request)
AWSProtonAsync
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 Administrator 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 SUCCEEDED
and the cancellation attempt has no effect.
cancelEnvironmentDeploymentAsync
in interface AWSProtonAsync
public Future<CancelEnvironmentDeploymentResult> cancelEnvironmentDeploymentAsync(CancelEnvironmentDeploymentRequest request, AsyncHandler<CancelEnvironmentDeploymentRequest,CancelEnvironmentDeploymentResult> asyncHandler)
AWSProtonAsync
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 Administrator 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 SUCCEEDED
and the cancellation attempt has no effect.
cancelEnvironmentDeploymentAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelServiceInstanceDeploymentResult> cancelServiceInstanceDeploymentAsync(CancelServiceInstanceDeploymentRequest request)
AWSProtonAsync
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 Administrator
guide or 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 SUCCEEDED
and the cancellation attempt has no effect.
cancelServiceInstanceDeploymentAsync
in interface AWSProtonAsync
public Future<CancelServiceInstanceDeploymentResult> cancelServiceInstanceDeploymentAsync(CancelServiceInstanceDeploymentRequest request, AsyncHandler<CancelServiceInstanceDeploymentRequest,CancelServiceInstanceDeploymentResult> asyncHandler)
AWSProtonAsync
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 Administrator
guide or 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 SUCCEEDED
and the cancellation attempt has no effect.
cancelServiceInstanceDeploymentAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CancelServicePipelineDeploymentResult> cancelServicePipelineDeploymentAsync(CancelServicePipelineDeploymentRequest request)
AWSProtonAsync
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 Administrator
guide or 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 SUCCEEDED
and the cancellation attempt has no effect.
cancelServicePipelineDeploymentAsync
in interface AWSProtonAsync
public Future<CancelServicePipelineDeploymentResult> cancelServicePipelineDeploymentAsync(CancelServicePipelineDeploymentRequest request, AsyncHandler<CancelServicePipelineDeploymentRequest,CancelServicePipelineDeploymentResult> asyncHandler)
AWSProtonAsync
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 Administrator
guide or 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 SUCCEEDED
and the cancellation attempt has no effect.
cancelServicePipelineDeploymentAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request)
AWSProtonAsync
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:
Standard provisioning: Proton makes direct calls to provision your resources.
Pull request 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 the Environments in the Proton Administrator Guide.
createEnvironmentAsync
in interface AWSProtonAsync
public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request, AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
AWSProtonAsync
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:
Standard provisioning: Proton makes direct calls to provision your resources.
Pull request 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 the Environments in the Proton Administrator Guide.
createEnvironmentAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEnvironmentAccountConnectionResult> createEnvironmentAccountConnectionAsync(CreateEnvironmentAccountConnectionRequest request)
AWSProtonAsync
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 Administrator guide.
createEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
public Future<CreateEnvironmentAccountConnectionResult> createEnvironmentAccountConnectionAsync(CreateEnvironmentAccountConnectionRequest request, AsyncHandler<CreateEnvironmentAccountConnectionRequest,CreateEnvironmentAccountConnectionResult> asyncHandler)
AWSProtonAsync
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 Administrator guide.
createEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEnvironmentTemplateResult> createEnvironmentTemplateAsync(CreateEnvironmentTemplateRequest request)
AWSProtonAsync
Create an environment template for Proton. For more information, see Environment Templates in the Proton Administrator 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 provisioning
parameter and set the value to CUSTOMER_MANAGED
. For more information,
see Register and publish an
environment template in the Proton Administrator Guide.
createEnvironmentTemplateAsync
in interface AWSProtonAsync
public Future<CreateEnvironmentTemplateResult> createEnvironmentTemplateAsync(CreateEnvironmentTemplateRequest request, AsyncHandler<CreateEnvironmentTemplateRequest,CreateEnvironmentTemplateResult> asyncHandler)
AWSProtonAsync
Create an environment template for Proton. For more information, see Environment Templates in the Proton Administrator 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 provisioning
parameter and set the value to CUSTOMER_MANAGED
. For more information,
see Register and publish an
environment template in the Proton Administrator Guide.
createEnvironmentTemplateAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateEnvironmentTemplateVersionResult> createEnvironmentTemplateVersionAsync(CreateEnvironmentTemplateVersionRequest request)
AWSProtonAsync
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.
createEnvironmentTemplateVersionAsync
in interface AWSProtonAsync
public Future<CreateEnvironmentTemplateVersionResult> createEnvironmentTemplateVersionAsync(CreateEnvironmentTemplateVersionRequest request, AsyncHandler<CreateEnvironmentTemplateVersionRequest,CreateEnvironmentTemplateVersionResult> asyncHandler)
AWSProtonAsync
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.
createEnvironmentTemplateVersionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request)
AWSProtonAsync
Create and register a link to a repository that can be used with pull request provisioning or template sync configurations. For more information, see Template bundles and Template sync configurations in the Proton Administrator Guide.
createRepositoryAsync
in interface AWSProtonAsync
public Future<CreateRepositoryResult> createRepositoryAsync(CreateRepositoryRequest request, AsyncHandler<CreateRepositoryRequest,CreateRepositoryResult> asyncHandler)
AWSProtonAsync
Create and register a link to a repository that can be used with pull request provisioning or template sync configurations. For more information, see Template bundles and Template sync configurations in the Proton Administrator Guide.
createRepositoryAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request)
AWSProtonAsync
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 Administrator Guide and Services in the Proton User Guide.
createServiceAsync
in interface AWSProtonAsync
public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest request, AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
AWSProtonAsync
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 Administrator Guide and Services in the Proton User Guide.
createServiceAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateServiceTemplateResult> createServiceTemplateAsync(CreateServiceTemplateRequest request)
AWSProtonAsync
Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CICD 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 Service Templates in the Proton Administrator Guide.
createServiceTemplateAsync
in interface AWSProtonAsync
public Future<CreateServiceTemplateResult> createServiceTemplateAsync(CreateServiceTemplateRequest request, AsyncHandler<CreateServiceTemplateRequest,CreateServiceTemplateResult> asyncHandler)
AWSProtonAsync
Create a service template. The administrator creates a service template to define standardized infrastructure and an optional CICD 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 Service Templates in the Proton Administrator Guide.
createServiceTemplateAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateServiceTemplateVersionResult> createServiceTemplateVersionAsync(CreateServiceTemplateVersionRequest request)
AWSProtonAsync
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.
createServiceTemplateVersionAsync
in interface AWSProtonAsync
public Future<CreateServiceTemplateVersionResult> createServiceTemplateVersionAsync(CreateServiceTemplateVersionRequest request, AsyncHandler<CreateServiceTemplateVersionRequest,CreateServiceTemplateVersionResult> asyncHandler)
AWSProtonAsync
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.
createServiceTemplateVersionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateTemplateSyncConfigResult> createTemplateSyncConfigAsync(CreateTemplateSyncConfigRequest request)
AWSProtonAsync
Set up a template for automated template version creation. When a commit is pushed to your registered repository, Proton checks for changes to your repository template bundles. If it detects a template bundle change, a new minor or major version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton Administrator Guide.
createTemplateSyncConfigAsync
in interface AWSProtonAsync
public Future<CreateTemplateSyncConfigResult> createTemplateSyncConfigAsync(CreateTemplateSyncConfigRequest request, AsyncHandler<CreateTemplateSyncConfigRequest,CreateTemplateSyncConfigResult> asyncHandler)
AWSProtonAsync
Set up a template for automated template version creation. When a commit is pushed to your registered repository, Proton checks for changes to your repository template bundles. If it detects a template bundle change, a new minor or major version of its template is created, if the version doesn’t already exist. For more information, see Template sync configurations in the Proton Administrator Guide.
createTemplateSyncConfigAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request)
AWSProtonAsync
Delete an environment.
deleteEnvironmentAsync
in interface AWSProtonAsync
public Future<DeleteEnvironmentResult> deleteEnvironmentAsync(DeleteEnvironmentRequest request, AsyncHandler<DeleteEnvironmentRequest,DeleteEnvironmentResult> asyncHandler)
AWSProtonAsync
Delete an environment.
deleteEnvironmentAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEnvironmentAccountConnectionResult> deleteEnvironmentAccountConnectionAsync(DeleteEnvironmentAccountConnectionRequest request)
AWSProtonAsync
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 Administrator guide.
deleteEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
public Future<DeleteEnvironmentAccountConnectionResult> deleteEnvironmentAccountConnectionAsync(DeleteEnvironmentAccountConnectionRequest request, AsyncHandler<DeleteEnvironmentAccountConnectionRequest,DeleteEnvironmentAccountConnectionResult> asyncHandler)
AWSProtonAsync
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 Administrator guide.
deleteEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEnvironmentTemplateResult> deleteEnvironmentTemplateAsync(DeleteEnvironmentTemplateRequest request)
AWSProtonAsync
If no other major or minor versions of an environment template exist, delete the environment template.
deleteEnvironmentTemplateAsync
in interface AWSProtonAsync
public Future<DeleteEnvironmentTemplateResult> deleteEnvironmentTemplateAsync(DeleteEnvironmentTemplateRequest request, AsyncHandler<DeleteEnvironmentTemplateRequest,DeleteEnvironmentTemplateResult> asyncHandler)
AWSProtonAsync
If no other major or minor versions of an environment template exist, delete the environment template.
deleteEnvironmentTemplateAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteEnvironmentTemplateVersionResult> deleteEnvironmentTemplateVersionAsync(DeleteEnvironmentTemplateVersionRequest request)
AWSProtonAsync
If no other minor versions of an environment template exist, delete a major version of the environment template
if it's not the Recommended
version. Delete the Recommended
version 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 Recommended
version. Delete
a Recommended
minor 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.
deleteEnvironmentTemplateVersionAsync
in interface AWSProtonAsync
public Future<DeleteEnvironmentTemplateVersionResult> deleteEnvironmentTemplateVersionAsync(DeleteEnvironmentTemplateVersionRequest request, AsyncHandler<DeleteEnvironmentTemplateVersionRequest,DeleteEnvironmentTemplateVersionResult> asyncHandler)
AWSProtonAsync
If no other minor versions of an environment template exist, delete a major version of the environment template
if it's not the Recommended
version. Delete the Recommended
version 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 Recommended
version. Delete
a Recommended
minor 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.
deleteEnvironmentTemplateVersionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request)
AWSProtonAsync
De-register and unlink your repository.
deleteRepositoryAsync
in interface AWSProtonAsync
public Future<DeleteRepositoryResult> deleteRepositoryAsync(DeleteRepositoryRequest request, AsyncHandler<DeleteRepositoryRequest,DeleteRepositoryResult> asyncHandler)
AWSProtonAsync
De-register and unlink your repository.
deleteRepositoryAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request)
AWSProtonAsync
Delete a service.
deleteServiceAsync
in interface AWSProtonAsync
public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest request, AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
AWSProtonAsync
Delete a service.
deleteServiceAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteServiceTemplateResult> deleteServiceTemplateAsync(DeleteServiceTemplateRequest request)
AWSProtonAsync
If no other major or minor versions of the service template exist, delete the service template.
deleteServiceTemplateAsync
in interface AWSProtonAsync
public Future<DeleteServiceTemplateResult> deleteServiceTemplateAsync(DeleteServiceTemplateRequest request, AsyncHandler<DeleteServiceTemplateRequest,DeleteServiceTemplateResult> asyncHandler)
AWSProtonAsync
If no other major or minor versions of the service template exist, delete the service template.
deleteServiceTemplateAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteServiceTemplateVersionResult> deleteServiceTemplateVersionAsync(DeleteServiceTemplateVersionRequest request)
AWSProtonAsync
If no other minor versions of a service template exist, delete a major version of the service template if it's
not the Recommended
version. Delete the Recommended
version 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 Recommended
version. Delete a
Recommended
minor 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.
deleteServiceTemplateVersionAsync
in interface AWSProtonAsync
public Future<DeleteServiceTemplateVersionResult> deleteServiceTemplateVersionAsync(DeleteServiceTemplateVersionRequest request, AsyncHandler<DeleteServiceTemplateVersionRequest,DeleteServiceTemplateVersionResult> asyncHandler)
AWSProtonAsync
If no other minor versions of a service template exist, delete a major version of the service template if it's
not the Recommended
version. Delete the Recommended
version 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 Recommended
version. Delete a
Recommended
minor 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.
deleteServiceTemplateVersionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteTemplateSyncConfigResult> deleteTemplateSyncConfigAsync(DeleteTemplateSyncConfigRequest request)
AWSProtonAsync
Delete a template sync configuration.
deleteTemplateSyncConfigAsync
in interface AWSProtonAsync
public Future<DeleteTemplateSyncConfigResult> deleteTemplateSyncConfigAsync(DeleteTemplateSyncConfigRequest request, AsyncHandler<DeleteTemplateSyncConfigRequest,DeleteTemplateSyncConfigResult> asyncHandler)
AWSProtonAsync
Delete a template sync configuration.
deleteTemplateSyncConfigAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request)
AWSProtonAsync
Get detail data for the Proton pipeline service role.
getAccountSettingsAsync
in interface AWSProtonAsync
public Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request, AsyncHandler<GetAccountSettingsRequest,GetAccountSettingsResult> asyncHandler)
AWSProtonAsync
Get detail data for the Proton pipeline service role.
getAccountSettingsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request)
AWSProtonAsync
Get detail data for an environment.
getEnvironmentAsync
in interface AWSProtonAsync
public Future<GetEnvironmentResult> getEnvironmentAsync(GetEnvironmentRequest request, AsyncHandler<GetEnvironmentRequest,GetEnvironmentResult> asyncHandler)
AWSProtonAsync
Get detail data for an environment.
getEnvironmentAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEnvironmentAccountConnectionResult> getEnvironmentAccountConnectionAsync(GetEnvironmentAccountConnectionRequest request)
AWSProtonAsync
In an environment account, view the detail data for an environment account connection.
For more information, see Environment account connections in the Proton Administrator guide.
getEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
public Future<GetEnvironmentAccountConnectionResult> getEnvironmentAccountConnectionAsync(GetEnvironmentAccountConnectionRequest request, AsyncHandler<GetEnvironmentAccountConnectionRequest,GetEnvironmentAccountConnectionResult> asyncHandler)
AWSProtonAsync
In an environment account, view the detail data for an environment account connection.
For more information, see Environment account connections in the Proton Administrator guide.
getEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEnvironmentTemplateResult> getEnvironmentTemplateAsync(GetEnvironmentTemplateRequest request)
AWSProtonAsync
Get detail data for an environment template.
getEnvironmentTemplateAsync
in interface AWSProtonAsync
public Future<GetEnvironmentTemplateResult> getEnvironmentTemplateAsync(GetEnvironmentTemplateRequest request, AsyncHandler<GetEnvironmentTemplateRequest,GetEnvironmentTemplateResult> asyncHandler)
AWSProtonAsync
Get detail data for an environment template.
getEnvironmentTemplateAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetEnvironmentTemplateVersionResult> getEnvironmentTemplateVersionAsync(GetEnvironmentTemplateVersionRequest request)
AWSProtonAsync
View detail data for a major or minor version of an environment template.
getEnvironmentTemplateVersionAsync
in interface AWSProtonAsync
public Future<GetEnvironmentTemplateVersionResult> getEnvironmentTemplateVersionAsync(GetEnvironmentTemplateVersionRequest request, AsyncHandler<GetEnvironmentTemplateVersionRequest,GetEnvironmentTemplateVersionResult> asyncHandler)
AWSProtonAsync
View detail data for a major or minor version of an environment template.
getEnvironmentTemplateVersionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRepositoryResult> getRepositoryAsync(GetRepositoryRequest request)
AWSProtonAsync
Get detail data for a repository.
getRepositoryAsync
in interface AWSProtonAsync
public Future<GetRepositoryResult> getRepositoryAsync(GetRepositoryRequest request, AsyncHandler<GetRepositoryRequest,GetRepositoryResult> asyncHandler)
AWSProtonAsync
Get detail data for a repository.
getRepositoryAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetRepositorySyncStatusResult> getRepositorySyncStatusAsync(GetRepositorySyncStatusRequest request)
AWSProtonAsync
Get the repository sync status.
getRepositorySyncStatusAsync
in interface AWSProtonAsync
public Future<GetRepositorySyncStatusResult> getRepositorySyncStatusAsync(GetRepositorySyncStatusRequest request, AsyncHandler<GetRepositorySyncStatusRequest,GetRepositorySyncStatusResult> asyncHandler)
AWSProtonAsync
Get the repository sync status.
getRepositorySyncStatusAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetServiceResult> getServiceAsync(GetServiceRequest request)
AWSProtonAsync
Get detail data for a service.
getServiceAsync
in interface AWSProtonAsync
public Future<GetServiceResult> getServiceAsync(GetServiceRequest request, AsyncHandler<GetServiceRequest,GetServiceResult> asyncHandler)
AWSProtonAsync
Get detail data for a service.
getServiceAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetServiceInstanceResult> getServiceInstanceAsync(GetServiceInstanceRequest request)
AWSProtonAsync
Get detail data for a service instance. A service instance is an instantiation of service template, which is running in a specific environment.
getServiceInstanceAsync
in interface AWSProtonAsync
public Future<GetServiceInstanceResult> getServiceInstanceAsync(GetServiceInstanceRequest request, AsyncHandler<GetServiceInstanceRequest,GetServiceInstanceResult> asyncHandler)
AWSProtonAsync
Get detail data for a service instance. A service instance is an instantiation of service template, which is running in a specific environment.
getServiceInstanceAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetServiceTemplateResult> getServiceTemplateAsync(GetServiceTemplateRequest request)
AWSProtonAsync
Get detail data for a service template.
getServiceTemplateAsync
in interface AWSProtonAsync
public Future<GetServiceTemplateResult> getServiceTemplateAsync(GetServiceTemplateRequest request, AsyncHandler<GetServiceTemplateRequest,GetServiceTemplateResult> asyncHandler)
AWSProtonAsync
Get detail data for a service template.
getServiceTemplateAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetServiceTemplateVersionResult> getServiceTemplateVersionAsync(GetServiceTemplateVersionRequest request)
AWSProtonAsync
View detail data for a major or minor version of a service template.
getServiceTemplateVersionAsync
in interface AWSProtonAsync
public Future<GetServiceTemplateVersionResult> getServiceTemplateVersionAsync(GetServiceTemplateVersionRequest request, AsyncHandler<GetServiceTemplateVersionRequest,GetServiceTemplateVersionResult> asyncHandler)
AWSProtonAsync
View detail data for a major or minor version of a service template.
getServiceTemplateVersionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTemplateSyncConfigResult> getTemplateSyncConfigAsync(GetTemplateSyncConfigRequest request)
AWSProtonAsync
Get detail data for a template sync configuration.
getTemplateSyncConfigAsync
in interface AWSProtonAsync
public Future<GetTemplateSyncConfigResult> getTemplateSyncConfigAsync(GetTemplateSyncConfigRequest request, AsyncHandler<GetTemplateSyncConfigRequest,GetTemplateSyncConfigResult> asyncHandler)
AWSProtonAsync
Get detail data for a template sync configuration.
getTemplateSyncConfigAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetTemplateSyncStatusResult> getTemplateSyncStatusAsync(GetTemplateSyncStatusRequest request)
AWSProtonAsync
Get the status of a template sync.
getTemplateSyncStatusAsync
in interface AWSProtonAsync
public Future<GetTemplateSyncStatusResult> getTemplateSyncStatusAsync(GetTemplateSyncStatusRequest request, AsyncHandler<GetTemplateSyncStatusRequest,GetTemplateSyncStatusResult> asyncHandler)
AWSProtonAsync
Get the status of a template sync.
getTemplateSyncStatusAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEnvironmentAccountConnectionsResult> listEnvironmentAccountConnectionsAsync(ListEnvironmentAccountConnectionsRequest request)
AWSProtonAsync
View a list of environment account connections.
For more information, see Environment account connections in the Proton Administrator guide.
listEnvironmentAccountConnectionsAsync
in interface AWSProtonAsync
public Future<ListEnvironmentAccountConnectionsResult> listEnvironmentAccountConnectionsAsync(ListEnvironmentAccountConnectionsRequest request, AsyncHandler<ListEnvironmentAccountConnectionsRequest,ListEnvironmentAccountConnectionsResult> asyncHandler)
AWSProtonAsync
View a list of environment account connections.
For more information, see Environment account connections in the Proton Administrator guide.
listEnvironmentAccountConnectionsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEnvironmentOutputsResult> listEnvironmentOutputsAsync(ListEnvironmentOutputsRequest request)
AWSProtonAsync
List the infrastructure as code outputs for your environment.
listEnvironmentOutputsAsync
in interface AWSProtonAsync
public Future<ListEnvironmentOutputsResult> listEnvironmentOutputsAsync(ListEnvironmentOutputsRequest request, AsyncHandler<ListEnvironmentOutputsRequest,ListEnvironmentOutputsResult> asyncHandler)
AWSProtonAsync
List the infrastructure as code outputs for your environment.
listEnvironmentOutputsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEnvironmentProvisionedResourcesResult> listEnvironmentProvisionedResourcesAsync(ListEnvironmentProvisionedResourcesRequest request)
AWSProtonAsync
List the provisioned resources for your environment.
listEnvironmentProvisionedResourcesAsync
in interface AWSProtonAsync
public Future<ListEnvironmentProvisionedResourcesResult> listEnvironmentProvisionedResourcesAsync(ListEnvironmentProvisionedResourcesRequest request, AsyncHandler<ListEnvironmentProvisionedResourcesRequest,ListEnvironmentProvisionedResourcesResult> asyncHandler)
AWSProtonAsync
List the provisioned resources for your environment.
listEnvironmentProvisionedResourcesAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEnvironmentTemplateVersionsResult> listEnvironmentTemplateVersionsAsync(ListEnvironmentTemplateVersionsRequest request)
AWSProtonAsync
List major or minor versions of an environment template with detail data.
listEnvironmentTemplateVersionsAsync
in interface AWSProtonAsync
public Future<ListEnvironmentTemplateVersionsResult> listEnvironmentTemplateVersionsAsync(ListEnvironmentTemplateVersionsRequest request, AsyncHandler<ListEnvironmentTemplateVersionsRequest,ListEnvironmentTemplateVersionsResult> asyncHandler)
AWSProtonAsync
List major or minor versions of an environment template with detail data.
listEnvironmentTemplateVersionsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEnvironmentTemplatesResult> listEnvironmentTemplatesAsync(ListEnvironmentTemplatesRequest request)
AWSProtonAsync
List environment templates.
listEnvironmentTemplatesAsync
in interface AWSProtonAsync
public Future<ListEnvironmentTemplatesResult> listEnvironmentTemplatesAsync(ListEnvironmentTemplatesRequest request, AsyncHandler<ListEnvironmentTemplatesRequest,ListEnvironmentTemplatesResult> asyncHandler)
AWSProtonAsync
List environment templates.
listEnvironmentTemplatesAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request)
AWSProtonAsync
List environments with detail data summaries.
listEnvironmentsAsync
in interface AWSProtonAsync
public Future<ListEnvironmentsResult> listEnvironmentsAsync(ListEnvironmentsRequest request, AsyncHandler<ListEnvironmentsRequest,ListEnvironmentsResult> asyncHandler)
AWSProtonAsync
List environments with detail data summaries.
listEnvironmentsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest request)
AWSProtonAsync
List repositories with detail data.
listRepositoriesAsync
in interface AWSProtonAsync
public Future<ListRepositoriesResult> listRepositoriesAsync(ListRepositoriesRequest request, AsyncHandler<ListRepositoriesRequest,ListRepositoriesResult> asyncHandler)
AWSProtonAsync
List repositories with detail data.
listRepositoriesAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListRepositorySyncDefinitionsResult> listRepositorySyncDefinitionsAsync(ListRepositorySyncDefinitionsRequest request)
AWSProtonAsync
List repository sync definitions with detail data.
listRepositorySyncDefinitionsAsync
in interface AWSProtonAsync
public Future<ListRepositorySyncDefinitionsResult> listRepositorySyncDefinitionsAsync(ListRepositorySyncDefinitionsRequest request, AsyncHandler<ListRepositorySyncDefinitionsRequest,ListRepositorySyncDefinitionsResult> asyncHandler)
AWSProtonAsync
List repository sync definitions with detail data.
listRepositorySyncDefinitionsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListServiceInstanceOutputsResult> listServiceInstanceOutputsAsync(ListServiceInstanceOutputsRequest request)
AWSProtonAsync
View a list service instance infrastructure as code outputs with detail data.
listServiceInstanceOutputsAsync
in interface AWSProtonAsync
public Future<ListServiceInstanceOutputsResult> listServiceInstanceOutputsAsync(ListServiceInstanceOutputsRequest request, AsyncHandler<ListServiceInstanceOutputsRequest,ListServiceInstanceOutputsResult> asyncHandler)
AWSProtonAsync
View a list service instance infrastructure as code outputs with detail data.
listServiceInstanceOutputsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListServiceInstanceProvisionedResourcesResult> listServiceInstanceProvisionedResourcesAsync(ListServiceInstanceProvisionedResourcesRequest request)
AWSProtonAsync
List provisioned resources for a service instance with details.
listServiceInstanceProvisionedResourcesAsync
in interface AWSProtonAsync
public Future<ListServiceInstanceProvisionedResourcesResult> listServiceInstanceProvisionedResourcesAsync(ListServiceInstanceProvisionedResourcesRequest request, AsyncHandler<ListServiceInstanceProvisionedResourcesRequest,ListServiceInstanceProvisionedResourcesResult> asyncHandler)
AWSProtonAsync
List provisioned resources for a service instance with details.
listServiceInstanceProvisionedResourcesAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListServiceInstancesResult> listServiceInstancesAsync(ListServiceInstancesRequest request)
AWSProtonAsync
List service instances with summaries of detail data.
listServiceInstancesAsync
in interface AWSProtonAsync
public Future<ListServiceInstancesResult> listServiceInstancesAsync(ListServiceInstancesRequest request, AsyncHandler<ListServiceInstancesRequest,ListServiceInstancesResult> asyncHandler)
AWSProtonAsync
List service instances with summaries of detail data.
listServiceInstancesAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListServicePipelineOutputsResult> listServicePipelineOutputsAsync(ListServicePipelineOutputsRequest request)
AWSProtonAsync
View a list service pipeline infrastructure as code outputs with detail.
listServicePipelineOutputsAsync
in interface AWSProtonAsync
public Future<ListServicePipelineOutputsResult> listServicePipelineOutputsAsync(ListServicePipelineOutputsRequest request, AsyncHandler<ListServicePipelineOutputsRequest,ListServicePipelineOutputsResult> asyncHandler)
AWSProtonAsync
View a list service pipeline infrastructure as code outputs with detail.
listServicePipelineOutputsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListServicePipelineProvisionedResourcesResult> listServicePipelineProvisionedResourcesAsync(ListServicePipelineProvisionedResourcesRequest request)
AWSProtonAsync
List provisioned resources for a service and pipeline with details.
listServicePipelineProvisionedResourcesAsync
in interface AWSProtonAsync
public Future<ListServicePipelineProvisionedResourcesResult> listServicePipelineProvisionedResourcesAsync(ListServicePipelineProvisionedResourcesRequest request, AsyncHandler<ListServicePipelineProvisionedResourcesRequest,ListServicePipelineProvisionedResourcesResult> asyncHandler)
AWSProtonAsync
List provisioned resources for a service and pipeline with details.
listServicePipelineProvisionedResourcesAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListServiceTemplateVersionsResult> listServiceTemplateVersionsAsync(ListServiceTemplateVersionsRequest request)
AWSProtonAsync
List major or minor versions of a service template with detail data.
listServiceTemplateVersionsAsync
in interface AWSProtonAsync
public Future<ListServiceTemplateVersionsResult> listServiceTemplateVersionsAsync(ListServiceTemplateVersionsRequest request, AsyncHandler<ListServiceTemplateVersionsRequest,ListServiceTemplateVersionsResult> asyncHandler)
AWSProtonAsync
List major or minor versions of a service template with detail data.
listServiceTemplateVersionsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListServiceTemplatesResult> listServiceTemplatesAsync(ListServiceTemplatesRequest request)
AWSProtonAsync
List service templates with detail data.
listServiceTemplatesAsync
in interface AWSProtonAsync
public Future<ListServiceTemplatesResult> listServiceTemplatesAsync(ListServiceTemplatesRequest request, AsyncHandler<ListServiceTemplatesRequest,ListServiceTemplatesResult> asyncHandler)
AWSProtonAsync
List service templates with detail data.
listServiceTemplatesAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListServicesResult> listServicesAsync(ListServicesRequest request)
AWSProtonAsync
List services with summaries of detail data.
listServicesAsync
in interface AWSProtonAsync
public Future<ListServicesResult> listServicesAsync(ListServicesRequest request, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
AWSProtonAsync
List services with summaries of detail data.
listServicesAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSProtonAsync
List tags for a resource. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
listTagsForResourceAsync
in interface AWSProtonAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSProtonAsync
List tags for a resource. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
listTagsForResourceAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<NotifyResourceDeploymentStatusChangeResult> notifyResourceDeploymentStatusChangeAsync(NotifyResourceDeploymentStatusChangeRequest request)
AWSProtonAsync
Notify Proton of status changes to a provisioned resource when you use pull request provisioning. For more information, see Template bundles.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
notifyResourceDeploymentStatusChangeAsync
in interface AWSProtonAsync
public Future<NotifyResourceDeploymentStatusChangeResult> notifyResourceDeploymentStatusChangeAsync(NotifyResourceDeploymentStatusChangeRequest request, AsyncHandler<NotifyResourceDeploymentStatusChangeRequest,NotifyResourceDeploymentStatusChangeResult> asyncHandler)
AWSProtonAsync
Notify Proton of status changes to a provisioned resource when you use pull request provisioning. For more information, see Template bundles.
Provisioning by pull request is currently in feature preview and is only usable with Terraform based Proton Templates. To learn more about Amazon Web Services Feature Preview terms, see section 2 on Beta and Previews.
notifyResourceDeploymentStatusChangeAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RejectEnvironmentAccountConnectionResult> rejectEnvironmentAccountConnectionAsync(RejectEnvironmentAccountConnectionRequest request)
AWSProtonAsync
In a management account, reject an environment account connection from another environment account.
After you reject an environment account connection request, you won’t be able to accept or use the rejected environment account connection.
You can’t reject an environment account connection that is connected to an environment.
For more information, see Environment account connections in the Proton Administrator guide.
rejectEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
public Future<RejectEnvironmentAccountConnectionResult> rejectEnvironmentAccountConnectionAsync(RejectEnvironmentAccountConnectionRequest request, AsyncHandler<RejectEnvironmentAccountConnectionRequest,RejectEnvironmentAccountConnectionResult> asyncHandler)
AWSProtonAsync
In a management account, reject an environment account connection from another environment account.
After you reject an environment account connection request, you won’t be able to accept or use the rejected environment account connection.
You can’t reject an environment account connection that is connected to an environment.
For more information, see Environment account connections in the Proton Administrator guide.
rejectEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSProtonAsync
Tag a resource. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
tagResourceAsync
in interface AWSProtonAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSProtonAsync
Tag a resource. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
tagResourceAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSProtonAsync
Remove a tag from a resource. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
untagResourceAsync
in interface AWSProtonAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSProtonAsync
Remove a tag from a resource. For more information, see Proton resources and tagging in the Proton Administrator Guide or Proton User Guide.
untagResourceAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateAccountSettingsResult> updateAccountSettingsAsync(UpdateAccountSettingsRequest request)
AWSProtonAsync
Update the Proton service pipeline role or repository settings.
updateAccountSettingsAsync
in interface AWSProtonAsync
public Future<UpdateAccountSettingsResult> updateAccountSettingsAsync(UpdateAccountSettingsRequest request, AsyncHandler<UpdateAccountSettingsRequest,UpdateAccountSettingsResult> asyncHandler)
AWSProtonAsync
Update the Proton service pipeline role or repository settings.
updateAccountSettingsAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request)
AWSProtonAsync
Update an environment.
If the environment is associated with an environment account connection, don't update or include the
protonServiceRoleArn
and provisioningRepository
parameter to update or connect to an
environment account connection.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and is associated with the current environment.
If the environment isn't associated with an environment account connection, don't update or include
the environmentAccountConnectionId
parameter to update or connect to an environment account
connection.
You can update either the environmentAccountConnectionId
or protonServiceRoleArn
parameter and value. You can’t update both.
If the environment was provisioned with pull request provisioning, include the
provisioningRepository
parameter and omit the protonServiceRoleArn
and
environmentAccountConnectionId
parameters.
If the environment wasn't provisioned with pull request provisioning, omit the
provisioningRepository
parameter.
There are four modes for updating an environment as described in the following. The deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In 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_VERSION
In 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_VERSION
In 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 (optional).
updateEnvironmentAsync
in interface AWSProtonAsync
public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request, AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
AWSProtonAsync
Update an environment.
If the environment is associated with an environment account connection, don't update or include the
protonServiceRoleArn
and provisioningRepository
parameter to update or connect to an
environment account connection.
You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and is associated with the current environment.
If the environment isn't associated with an environment account connection, don't update or include
the environmentAccountConnectionId
parameter to update or connect to an environment account
connection.
You can update either the environmentAccountConnectionId
or protonServiceRoleArn
parameter and value. You can’t update both.
If the environment was provisioned with pull request provisioning, include the
provisioningRepository
parameter and omit the protonServiceRoleArn
and
environmentAccountConnectionId
parameters.
If the environment wasn't provisioned with pull request provisioning, omit the
provisioningRepository
parameter.
There are four modes for updating an environment as described in the following. The deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In 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_VERSION
In 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_VERSION
In 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 (optional).
updateEnvironmentAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEnvironmentAccountConnectionResult> updateEnvironmentAccountConnectionAsync(UpdateEnvironmentAccountConnectionRequest request)
AWSProtonAsync
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 Administrator guide.
updateEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
public Future<UpdateEnvironmentAccountConnectionResult> updateEnvironmentAccountConnectionAsync(UpdateEnvironmentAccountConnectionRequest request, AsyncHandler<UpdateEnvironmentAccountConnectionRequest,UpdateEnvironmentAccountConnectionResult> asyncHandler)
AWSProtonAsync
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 Administrator guide.
updateEnvironmentAccountConnectionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEnvironmentTemplateResult> updateEnvironmentTemplateAsync(UpdateEnvironmentTemplateRequest request)
AWSProtonAsync
Update an environment template.
updateEnvironmentTemplateAsync
in interface AWSProtonAsync
public Future<UpdateEnvironmentTemplateResult> updateEnvironmentTemplateAsync(UpdateEnvironmentTemplateRequest request, AsyncHandler<UpdateEnvironmentTemplateRequest,UpdateEnvironmentTemplateResult> asyncHandler)
AWSProtonAsync
Update an environment template.
updateEnvironmentTemplateAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateEnvironmentTemplateVersionResult> updateEnvironmentTemplateVersionAsync(UpdateEnvironmentTemplateVersionRequest request)
AWSProtonAsync
Update a major or minor version of an environment template.
updateEnvironmentTemplateVersionAsync
in interface AWSProtonAsync
public Future<UpdateEnvironmentTemplateVersionResult> updateEnvironmentTemplateVersionAsync(UpdateEnvironmentTemplateVersionRequest request, AsyncHandler<UpdateEnvironmentTemplateVersionRequest,UpdateEnvironmentTemplateVersionResult> asyncHandler)
AWSProtonAsync
Update a major or minor version of an environment template.
updateEnvironmentTemplateVersionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest request)
AWSProtonAsync
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 description
parameter to modify the description.
Edit the spec
parameter to add or delete instances.
updateServiceAsync
in interface AWSProtonAsync
public Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest request, AsyncHandler<UpdateServiceRequest,UpdateServiceResult> asyncHandler)
AWSProtonAsync
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 description
parameter to modify the description.
Edit the spec
parameter to add or delete instances.
updateServiceAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateServiceInstanceResult> updateServiceInstanceAsync(UpdateServiceInstanceRequest request)
AWSProtonAsync
Update a service instance.
There are four modes for updating a service instance as described in the following. The
deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance 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_VERSION
In this mode, the service instance 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_VERSION
In this mode, the service instance 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 is higher than the major version in use and a minor version (optional).
updateServiceInstanceAsync
in interface AWSProtonAsync
public Future<UpdateServiceInstanceResult> updateServiceInstanceAsync(UpdateServiceInstanceRequest request, AsyncHandler<UpdateServiceInstanceRequest,UpdateServiceInstanceResult> asyncHandler)
AWSProtonAsync
Update a service instance.
There are four modes for updating a service instance as described in the following. The
deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service instance 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_VERSION
In this mode, the service instance 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_VERSION
In this mode, the service instance 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 is higher than the major version in use and a minor version (optional).
updateServiceInstanceAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateServicePipelineResult> updateServicePipelineAsync(UpdateServicePipelineRequest request)
AWSProtonAsync
Update the service pipeline.
There are four modes for updating a service pipeline as described in the following. The
deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service pipeline 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_VERSION
In 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 also specify a different minor version of the current major version in use.
MAJOR_VERSION
In 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 also specify a different major version that is higher than the major version in use and a minor version (optional).
updateServicePipelineAsync
in interface AWSProtonAsync
public Future<UpdateServicePipelineResult> updateServicePipelineAsync(UpdateServicePipelineRequest request, AsyncHandler<UpdateServicePipelineRequest,UpdateServicePipelineResult> asyncHandler)
AWSProtonAsync
Update the service pipeline.
There are four modes for updating a service pipeline as described in the following. The
deploymentType
field defines the mode.
NONE
In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated.
CURRENT_VERSION
In this mode, the service pipeline 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_VERSION
In 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 also specify a different minor version of the current major version in use.
MAJOR_VERSION
In 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 also specify a different major version that is higher than the major version in use and a minor version (optional).
updateServicePipelineAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateServiceTemplateResult> updateServiceTemplateAsync(UpdateServiceTemplateRequest request)
AWSProtonAsync
Update a service template.
updateServiceTemplateAsync
in interface AWSProtonAsync
public Future<UpdateServiceTemplateResult> updateServiceTemplateAsync(UpdateServiceTemplateRequest request, AsyncHandler<UpdateServiceTemplateRequest,UpdateServiceTemplateResult> asyncHandler)
AWSProtonAsync
Update a service template.
updateServiceTemplateAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateServiceTemplateVersionResult> updateServiceTemplateVersionAsync(UpdateServiceTemplateVersionRequest request)
AWSProtonAsync
Update a major or minor version of a service template.
updateServiceTemplateVersionAsync
in interface AWSProtonAsync
public Future<UpdateServiceTemplateVersionResult> updateServiceTemplateVersionAsync(UpdateServiceTemplateVersionRequest request, AsyncHandler<UpdateServiceTemplateVersionRequest,UpdateServiceTemplateVersionResult> asyncHandler)
AWSProtonAsync
Update a major or minor version of a service template.
updateServiceTemplateVersionAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateTemplateSyncConfigResult> updateTemplateSyncConfigAsync(UpdateTemplateSyncConfigRequest request)
AWSProtonAsync
Update template sync configuration parameters, except for the templateName
and
templateType
.
updateTemplateSyncConfigAsync
in interface AWSProtonAsync
public Future<UpdateTemplateSyncConfigResult> updateTemplateSyncConfigAsync(UpdateTemplateSyncConfigRequest request, AsyncHandler<UpdateTemplateSyncConfigRequest,UpdateTemplateSyncConfigResult> asyncHandler)
AWSProtonAsync
Update template sync configuration parameters, except for the templateName
and
templateType
.
updateTemplateSyncConfigAsync
in interface AWSProtonAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSProton
shutdown
in class AWSProtonClient