Skip to content

Update Authorizer

apigateway_update_authorizer R Documentation

Updates an existing Authorizer resource

Description

Updates an existing Authorizer resource.

Usage

apigateway_update_authorizer(restApiId, authorizerId, patchOperations)

Arguments

restApiId

[required] The string identifier of the associated RestApi.

authorizerId

[required] The identifier of the Authorizer resource.

patchOperations

For more information about supported patch operations, see Patch Operations.

Value

A list with the following syntax:

list(
  id = "string",
  name = "string",
  type = "TOKEN"|"REQUEST"|"COGNITO_USER_POOLS",
  providerARNs = list(
    "string"
  ),
  authType = "string",
  authorizerUri = "string",
  authorizerCredentials = "string",
  identitySource = "string",
  identityValidationExpression = "string",
  authorizerResultTtlInSeconds = 123
)

Request syntax

svc$update_authorizer(
  restApiId = "string",
  authorizerId = "string",
  patchOperations = list(
    list(
      op = "add"|"remove"|"replace"|"move"|"copy"|"test",
      path = "string",
      value = "string",
      from = "string"
    )
  )
)