When updating API Gateway resources using the AWS CLI, some commands include a
For example, the
update-base-path-mapping allows an optional
--patch-operations. For more information about which resources are supported via patch operations, the AWS documentation is here.
How to use the
In the case for updating a base path mapping, a user may need to supply a
The JSON array:
aws apigateway update-base-path-mapping allows for a stringified
json array value for the
--patch-operations argument format applies to the other API Gateway commands as well.