Package-level declarations

Types

Link copied to clipboard

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.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Functions

Link copied to clipboard

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.

Link copied to clipboard

Attempts to cancel a component deployment (for a component that is in the IN_PROGRESS deployment status).

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Create an Proton component. A component is an infrastructure extension for a service instance.

Link copied to clipboard

Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services.

Link copied to clipboard

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.

Link copied to clipboard

Create an environment template for Proton. For more information, see Environment Templates in the Proton User Guide.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Create a service instance.

Link copied to clipboard

Create the Proton Ops configuration file.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Delete an Proton component resource.

Link copied to clipboard

Delete the deployment.

Link copied to clipboard

Delete an environment.

Link copied to clipboard

In an environment account, delete an environment account connection.

Link copied to clipboard

If no other major or minor versions of an environment template exist, delete the environment template.

Link copied to clipboard

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.

Link copied to clipboard

De-register and unlink your repository.

Link copied to clipboard

Delete a service, with its instances and pipeline.

Link copied to clipboard

Delete the Proton Ops file.

Link copied to clipboard

If no other major or minor versions of the service template exist, delete the service template.

Link copied to clipboard

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.

Link copied to clipboard

Delete a template sync configuration.

Link copied to clipboard

Get detail data for Proton account-wide settings.

Link copied to clipboard
inline suspend fun ProtonClient.getComponent(crossinline block: GetComponentRequest.Builder.() -> Unit): GetComponentResponse

Get detailed data for a component.

Link copied to clipboard

Get detailed data for a deployment.

Link copied to clipboard

Get detailed data for an environment.

Link copied to clipboard

In an environment account, get the detailed data for an environment account connection.

Link copied to clipboard

Get detailed data for an environment template.

Link copied to clipboard

Get detailed data for a major or minor version of an environment template.

Link copied to clipboard

Get detail data for a linked repository.

Link copied to clipboard

Get the sync status of a repository used for Proton template sync. For more information about template sync, see .

Link copied to clipboard

Get counts of Proton resources.

Link copied to clipboard
inline suspend fun ProtonClient.getService(crossinline block: GetServiceRequest.Builder.() -> Unit): GetServiceResponse

Get detailed data for a service.

Link copied to clipboard

Get detailed data for a service instance. A service instance is an instantiation of service template and it runs in a specific environment.

Link copied to clipboard

Get the status of the synced service instance.

Link copied to clipboard

Get detailed data for the service sync blocker summary.

Link copied to clipboard

Get detailed information for the service sync configuration.

Link copied to clipboard

Get detailed data for a service template.

Link copied to clipboard

Get detailed data for a major or minor version of a service template.

Link copied to clipboard

Get detail data for a template sync configuration.

Link copied to clipboard

Get the status of a template sync.

Link copied to clipboard

Get a list of component Infrastructure as Code (IaC) outputs.

Link copied to clipboard

List provisioned resources for a component with details.

Link copied to clipboard

List components with summary data. You can filter the result list by environment, service, or a single service instance.

Link copied to clipboard

List deployments. You can filter the result list by environment, service, or a single service instance.

Link copied to clipboard

View a list of environment account connections.

Link copied to clipboard

List the infrastructure as code outputs for your environment.

Link copied to clipboard

List the provisioned resources for your environment.

Link copied to clipboard

List environments with detail data summaries.

Link copied to clipboard

List environment templates.

Link copied to clipboard

List major or minor versions of an environment template with detail data.

Link copied to clipboard

List linked repositories with detail data.

Link copied to clipboard

List repository sync definitions with detail data.

Link copied to clipboard

Get a list service of instance Infrastructure as Code (IaC) outputs.

Link copied to clipboard

List provisioned resources for a service instance with details.

Link copied to clipboard

List service instances with summary data. This action lists service instances of all services in the Amazon Web Services account.

Link copied to clipboard

Get a list of service pipeline Infrastructure as Code (IaC) outputs.

Link copied to clipboard

List provisioned resources for a service and pipeline with details.

Link copied to clipboard
inline suspend fun ProtonClient.listServices(crossinline block: ListServicesRequest.Builder.() -> Unit): ListServicesResponse

List services with summaries of detail data.

Link copied to clipboard

List service templates with detail data.

Link copied to clipboard

List major or minor versions of a service template with detail data.

Link copied to clipboard

List tags for a resource. For more information, see Proton resources and tagging in the Proton User Guide.

Link copied to clipboard

Notify Proton of status changes to a provisioned resource when you use self-managed provisioning.

Link copied to clipboard

In a management account, reject an environment account connection from another environment account.

Link copied to clipboard
inline suspend fun ProtonClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Tag a resource. A tag is a key-value pair of metadata that you associate with an Proton resource.

Link copied to clipboard

Remove a customer tag from a resource. A tag is a key-value pair of metadata associated with an Proton resource.

Link copied to clipboard

Update Proton settings that are used for multiple services in the Amazon Web Services account.

Link copied to clipboard

Update a component.

Link copied to clipboard

Update an environment.

Link copied to clipboard

In an environment account, update an environment account connection to use a new IAM role.

Link copied to clipboard

Update an environment template.

Link copied to clipboard

Update a major or minor version of an environment template.

Link copied to clipboard

Edit a service description or use a spec to add and delete service instances.

Link copied to clipboard

Update a service instance.

Link copied to clipboard

Update the service pipeline.

Link copied to clipboard

Update the service sync blocker by resolving it.

Link copied to clipboard

Update the Proton Ops config file.

Link copied to clipboard

Update a service template.

Link copied to clipboard

Update a major or minor version of a service template.

Link copied to clipboard

Update template sync configuration parameters, except for the templateName and templateType. 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.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.