From dc2038427663f3e8792beb6bbf142fc14d450b8e Mon Sep 17 00:00:00 2001 From: Vladimir Kuznetsov Date: Thu, 20 Feb 2025 15:08:18 +0300 Subject: [PATCH] paas: add stop, start, restart, synchronize paas service methods --- botocore/data/paas/2022-09-06/service-2.json | 134 ++++++++++++++++++- 1 file changed, 132 insertions(+), 2 deletions(-) diff --git a/botocore/data/paas/2022-09-06/service-2.json b/botocore/data/paas/2022-09-06/service-2.json index 19626e18e4..a3a8934e06 100644 --- a/botocore/data/paas/2022-09-06/service-2.json +++ b/botocore/data/paas/2022-09-06/service-2.json @@ -411,6 +411,46 @@ "output": {"shape": "PatchServiceParametersResponse"}, "documentation": "

Modifies the PaaS service parameters.

" }, + "RestartService": { + "name": "RestartService", + "http": { + "method": "PUT", + "requestUri": "/services/{serviceId}/restart" + }, + "input": {"shape": "RestartServiceRequest"}, + "output": {"shape": "RestartServiceResponse"}, + "documentation": "

Restart service.

" + }, + "StartService": { + "name": "StartService", + "http": { + "method": "PUT", + "requestUri": "/services/{serviceId}/start" + }, + "input": {"shape": "StartServiceRequest"}, + "output": {"shape": "StartServiceResponse"}, + "documentation": "

Start service.

" + }, + "StopService": { + "name": "StopService", + "http": { + "method": "PUT", + "requestUri": "/services/{serviceId}/stop" + }, + "input": {"shape": "StopServiceRequest"}, + "output": {"shape": "StopServiceResponse"}, + "documentation": "

Stop service.

" + }, + "SynchronizeServiceStatus": { + "name": "SynchronizeServiceStatus", + "http": { + "method": "PUT", + "requestUri": "/services/{serviceId}/synchronize-status" + }, + "input": {"shape": "SynchronizeServiceStatusRequest"}, + "output": {"shape": "SynchronizeServiceStatusResponse"}, + "documentation": "

Synchronize service status.

" + }, "CreatePrometheusRoute": { "name": "CreatePrometheusRoute", "http": { @@ -1729,6 +1769,29 @@ } }, "None": {"type": "none"}, + "RestartServiceResponse": { + "type": "structure", + "members": { + "service": { + "shape": "Service", + "documentation": "

The full description of the specified service.

" + } + } + }, + "RestartServiceRequest": { + "type": "structure", + "required": [ + "serviceId" + ], + "members": { + "serviceId": { + "shape": "String", + "documentation": "

The ID of the service to restart.

", + "location": "uri", + "locationName": "serviceId" + } + } + }, "SecurityGroup": { "type": "structure", "members": { @@ -1799,6 +1862,52 @@ "type": "list", "member": {"shape": "ServiceEndpoint"} }, + "StartServiceResponse": { + "type": "structure", + "members": { + "service": { + "shape": "Service", + "documentation": "

The full description of the specified service.

" + } + } + }, + "StartServiceRequest": { + "type": "structure", + "required": [ + "serviceId" + ], + "members": { + "serviceId": { + "shape": "String", + "documentation": "

The ID of the service to start.

", + "location": "uri", + "locationName": "serviceId" + } + } + }, + "StopServiceResponse": { + "type": "structure", + "members": { + "service": { + "shape": "Service", + "documentation": "

The full description of the specified service.

" + } + } + }, + "StopServiceRequest": { + "type": "structure", + "required": [ + "serviceId" + ], + "members": { + "serviceId": { + "shape": "String", + "documentation": "

The ID of the service to stop.

", + "location": "uri", + "locationName": "serviceId" + } + } + }, "String": {"type": "string"}, "StringList": { "type": "list", @@ -1839,6 +1948,29 @@ "max":50, "min":1 }, + "SynchronizeServiceStatusResponse": { + "type": "structure", + "members": { + "service": { + "shape": "Service", + "documentation": "

The full description of the specified service.

" + } + } + }, + "SynchronizeServiceStatusRequest": { + "type": "structure", + "required": [ + "serviceId" + ], + "members": { + "serviceId": { + "shape": "String", + "documentation": "

The ID of the service to synchronize its status.

", + "location": "uri", + "locationName": "serviceId" + } + } + }, "Timestamp": {"type": "timestamp"}, "UserCompactResponse": { "type": "structure", @@ -2124,7 +2256,6 @@ } } }, - "CreatePrometheusScrapeJobRequest": { "type": "structure", "required": [ @@ -2244,7 +2375,6 @@ } } }, - "CreateNotificationChannelRequest": { "type": "structure", "required": [