---
title: "PATCH /resourcegateways/{resourceGatewayIdentifier}"
method: PATCH
path: "/resourcegateways/{resourceGatewayIdentifier}"
---

# PATCH /resourcegateways/{resourceGatewayIdentifier}

`PATCH /resourcegateways/{resourceGatewayIdentifier}`

Updates the specified resource gateway.

## Path parameters

- `resourceGatewayIdentifier` string, required

## Request body

- object
  - `securityGroupIds` SecurityGroupId[] — The IDs of the security groups associated with the resource gateway.

## Response `200`

Success

- UpdateResourceGatewayResponse
  - `name` string — The name of the resource gateway.
  - `id` string — The ID of the resource gateway.
  - `arn` string — The Amazon Resource Name (ARN) of the resource gateway.
  - `status` 'ACTIVE' | 'CREATE_IN_PROGRESS' | 'UPDATE_IN_PROGRESS' | 'DELETE_IN_PROGRESS' | 'CREATE_FAILED' | 'UPDATE_FAILED' | 'DELETE_FAILED' — The status of the resource gateway.
  - `vpcId` string — The ID of the VPC for the resource gateway.
  - `subnetIds` SubnetId[] — The IDs of the VPC subnets for the resource gateway.
  - `securityGroupIds` SecurityGroupId[] — The IDs of the security groups associated with the resource gateway.
  - `ipAddressType` 'IPV4' | 'IPV6' — The type of IP address used by the resource gateway.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — ConflictException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/vpc-lattice.md) · [All operations](https://skmtc.net/aws/apis/vpc-lattice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/vpc-lattice/versions/bbec5439e0f7/schema)
