Update A Firewall Resource Subnet Mappings
PUT/v1/config/ngfirewalls/:ngfirewallname/subnets
Update the subnet ID associated with a NGFW.
Request
Path Parameters
The name of the NGFW.
- application/json
Body
- Array [
- ]
- Array [
- ]
The unique ID of the account.
AssociateSubnetMappings object[]
Associate the subnets to NGFW.
The data center in a region available for use by the AWS customer.
The unique ID of the subnet in your VPC.
DisassociateSubnetMappings object[]
Disassociate the subnet from NGFW.
The data center in a region available for use by the AWS customer.
The unique ID of the subnet in your VPC.
Refresh token.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- InvalidRequestException—Operation failed due to invalid request. For example, unsupported parameter name or value in the request.
- 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.
The unique ID of the account.
Name of the NGFW, unique in a region for each customer.
The public subnets for your NGFW. Each subnet must belong to a different Availability Zone in the VPC. NGFW creates a firewall endpoint in each subnet.
Refresh token.
ResponseStatus object
The API call response status.
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
The error description.
{
"Response": {
"AccountId": "string",
"FirewallName": "string",
"SubnetMappings": [
{}
],
"UpdateToken": "string"
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}