Update a PrefixList
Update the prefix list associated with a rulestack.
Path Parameters
- rulestackname string required
The name of the rulestack.
- name string required
The name of the prefix list.
- application/json
Request Body
- AuditComment Auditcomment
Possible values:
<= 512 characters
The prefix list audit remarks.
- Description Description
Possible values:
<= 512 characters
A description of the prefix list.
- PrefixList string[] required
The prefix list details.
- UpdateToken Updatetoken
Refresh token.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Response object
The API call response.
Name NameName of the prefix list.
PrefixListEntry object
The prefix list entry.
AuditComment AuditcommentAudit remarks.
Description DescriptionThe prefix list description.
PrefixList string[] requiredPrefix list.
UpdateToken UpdatetokenDefault value:
1
Refresh token.
RuleStackName RulestacknameName of the rulestack.
ResponseStatus object
The API call response status.
ErrorCode ErrorcodeDefault value:
0
Default value of a successful response is 0. Any other number indicates an error code.
400—HTTP bad request
- 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.
- AccessDeniedException—You do not have sufficient access to perform this action.
500—Bad request
- InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
- InsufficientCapacityException—AWS currently does not have enough capacity to fulfill your request.
Reason ReasonThe error description.
{
"Response": {
"Name": "string",
"PrefixListEntry": {
"AuditComment": "string",
"Description": "string",
"PrefixList": [
"string"
],
"UpdateToken": "1"
},
"RuleStackName": "string"
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}
Loading...