All Products
Search
Document Center

Resource Management:UpdateFilter

Last Updated:Jun 28, 2024

Updates a filter.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
FilterNamestringYes

The name of the filter.

ECS
FilterConfigurationstringYes

The configurations of the filter.

{ "regions": [], "tagFilters": [ [{ "type": "notContainTagKey", "tagKey": "xxx", "tagValue": "" }], [{ "tagKey": "xxx", "tagValue": "xxx" }] ], "resourceTypes": [ "ACS::ECS::AutoSnapshotPolicy" ] }

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F

Examples

Sample success responses

JSONformat

{
  "RequestId": "3C5CDBF6-4DB7-53E9-ADDC-5919E3FACF6F"
}

Error codes

HTTP status codeError codeError messageDescription
409InvalidParameter.FilterConfigurationThe specified parameter FilterConfiguration is not valid.The FilterConfiguration parameter is invalid.
409InvalidParameter.FilterNameThe specified parameter FilterName is not valid.The FilterName parameter is invalid.
409LengthExceedLimit.FilterConfigurationThe length of parameter FilterConfiguration exceed limit.The length of the value specified for the FilterConfiguration parameter exceeds the upper limit.
409LengthExceedLimit.FilterNameThe length of parameter FilterName exceed limit.The length of the value specified for the FilterName parameter exceeds the upper limit.
409NotExists.FilterNameThe filter name of current user not exists.The object indicated by the FilterName parameter does not exist.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history