Rulestack Tag Resource
POST/v1/config/rulestacks/:rulestackname/tags
Add tags to a specific rulestack resource. You can tag the AWS resources that you manage through rulestacks.
Request
Path Parameters
rulestackname stringrequired
The name of the rulestack.
- application/json
Body
- Array [
- ]
Tags object[]required
Possible values: <= 50
The tags associated with the rulestack.
Key Key (string)required
A unique identifier in the key-value pair. The constant that defines the data set. .
Value Value (string)required
The variable that belongs to the data set.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- InvalidOperationException—Operation failed because it is not valid. For example, when you delete an NGFW or rulestack in use.
- InvalidRequestException—Operation failed due to invalid request. For example, unsupported parameter name or value in the request.
- LimitExceededException—Operation failed due to violation in limit settings.
- ResourceNotFoundException—Unable to locate a resource using the parameters you provided.
- ThrottlingException—Operation failed due to throttling limitations.
- InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
Response object
The API call response.
RuleStackName Rulestackname (string)
Tags object[]
The tags associated with the rulestack.
Key Key (string)required
A unique identifier in the key-value pair. The constant that defines the data set.
Value Value (string)required
The variable that belongs to the data set.
ResponseStatus object
The API call response status.
ErrorCode Errorcode (integer)
Default value: 0
Default value of a successful response is 0. Any other number indicates an error code.
400—HTTP bad request
500—Bad request
Reason Reason (string)
The error description.
{
"Response": {
"RuleStackName": "string",
"Tags": [
{
"Key": "string",
"Value": "string"
}
]
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}
Loading...