Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 2.3 KB

AwsSettingsControllerApi.md

File metadata and controls

65 lines (45 loc) · 2.3 KB

stcloud.AwsSettingsControllerApi

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

update_using_put

CloudWatchSettingsResponse update_using_put(body, app_id)

Update App's AWS CloudWatch settings

Applicable only for AWS Apps

Example

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)

Parameters

Name Type Description Notes
body CloudWatchSettings dto
app_id int appId

Return type

CloudWatchSettingsResponse

Authorization

api_key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]