v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484319348.7 KB

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.

You can't delete a service instance (remove it from the spec) if it has an attached component.

For more information about components, see Proton components in the Proton User Guide.

post/#X-Amz-Target=AwsProton20200720.UpdateService

Headers

X-Amz-Target'AwsProton20200720.UpdateService' required

Request body

descriptionstring password

The edited service description.

namestring required

The name of the service to edit.

specstring password

Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. <i>Don't</i> include edits to the existing service instances or pipeline. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-svc-update.html">Edit a service</a> in the <i>Proton User Guide</i>.

Response

Success