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(bodyapp_id)
Update App's AWS CloudWatch settings
Applicable only for AWS Apps
# load the gem
require 'SematextCloud'
# setup authorization
SematextCloud.configure do |config|
# Configure API key authorization: api_key
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = SematextCloud::AwsSettingsControllerApi.new
body = SematextCloud::CloudWatchSettings.new # CloudWatchSettings | dto
app_id = 789 # Integer | appId
begin
#Update App's AWS CloudWatch settings
result = api_instance.update_using_put(bodyapp_id)
p result
rescue SematextCloud::ApiError => e
puts "Exception when calling AwsSettingsControllerApi->update_using_put: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | CloudWatchSettings | dto | |
app_id | Integer | appId |
- Content-Type: application/json
- Accept: application/json