Update Rest Api
| apigateway_update_rest_api | R Documentation |
Changes information about the specified API¶
Description¶
Changes information about the specified API.
Usage¶
apigateway_update_rest_api(restApiId, patchOperations)
Arguments¶
restApiId |
[required] The string identifier of the associated RestApi. |
patchOperations |
For more information about supported patch operations, see Patch Operations. |
Value¶
A list with the following syntax:
list(
id = "string",
name = "string",
description = "string",
createdDate = as.POSIXct(
"2015-01-01"
),
version = "string",
warnings = list(
"string"
),
binaryMediaTypes = list(
"string"
),
minimumCompressionSize = 123,
apiKeySource = "HEADER"|"AUTHORIZER",
endpointConfiguration = list(
types = list(
"REGIONAL"|"EDGE"|"PRIVATE"
),
ipAddressType = "ipv4"|"dualstack",
vpcEndpointIds = list(
"string"
)
),
policy = "string",
tags = list(
"string"
),
disableExecuteApiEndpoint = TRUE|FALSE,
rootResourceId = "string",
securityPolicy = "TLS_1_0"|"TLS_1_2"|"SecurityPolicy_TLS13_1_3_2025_09"|"SecurityPolicy_TLS13_1_3_FIPS_2025_09"|"SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09"|"SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09"|"SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09"|"SecurityPolicy_TLS13_1_2_PQ_2025_09"|"SecurityPolicy_TLS13_1_2_2021_06"|"SecurityPolicy_TLS13_2025_EDGE"|"SecurityPolicy_TLS12_PFS_2025_EDGE"|"SecurityPolicy_TLS12_2018_EDGE",
endpointAccessMode = "BASIC"|"STRICT",
apiStatus = "UPDATING"|"AVAILABLE"|"PENDING"|"FAILED",
apiStatusMessage = "string"
)
Request syntax¶
svc$update_rest_api(
restApiId = "string",
patchOperations = list(
list(
op = "add"|"remove"|"replace"|"move"|"copy"|"test",
path = "string",
value = "string",
from = "string"
)
)
)