修改伸缩组事件通知。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ModifyNotificationConfiguration | 要执行的操作,取值:ModifyNotificationConfiguration。 |
Version | String | 是 | 2020-01-01 | API的版本,取值:2020-01-01。 |
EventTypes.N | Array of String | 是 | ScaleOutSuccess | 事件通知类型。
|
ScalingGroupId | String | 是 | ScaleOutSuccess | 伸缩组ID。您可以调用DescribeScalingGroups查询伸缩组ID。 |
本接口无特有的返回参数。更多信息请见返回结构。
GET /?Action=ModifyNotificationConfiguration&EventTypes.1=ScaleOutSuccess&ScalingGroupId=ScaleOutSuccess&Version=2020-01-01 HTTP/1.1 Host: open.volcengineapi.com X-Date: 20240507T094844Z Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240507/cn-beijing/auto_scaling/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f
{ "ResponseMetadata": { "RequestId": "2024050717485002818022104766EB7D", "Version": "2020-01-01", "Service": "auto_scaling", "Region": "cn-beijing" }, "Result": {} }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
---|---|---|
400 | MissingParameter.ScalingGroupId | 伸缩组ID不能为空。 |
400 | MissingParameter.EventTypes | 事件类型不能为空。 |
400 | InvalidEventType.Malformed | 指定的事件类型不合法。 |
400 | InvalidNotificationType.Malformed | 指定的通知类型不合法。 |
404 | InvalidScalingGroupId.NotificationConfigurationNotFound | 指定的伸缩组通知配置不存在。 |
500 | InternalError | 内部错误,请重试。如果多次尝试失败,请提交工单。 |