All URIs are relative to /
Method | HTTP request | Description |
---|---|---|
update_using_put | PUT /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings |
CloudWatchSettingsResponse update_using_put(body, app_id)
Update App's AWS CloudWatch settings
Applicable only for AWS Apps
from __future__ import print_function
import time
import stcloud
from stcloud.rest import ApiException
from pprint import pprint
# Configure API key authorization: api_key
configuration = stcloud.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = stcloud.AwsSettingsControllerApi(stcloud.ApiClient(configuration))
body = stcloud.CloudWatchSettings() # CloudWatchSettings | dto
app_id = 789 # int | appId
try:
# Update App's AWS CloudWatch settings
api_response = api_instance.update_using_put(body, app_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling AwsSettingsControllerApi->update_using_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | CloudWatchSettings | dto | |
app_id | int | appId |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]