APIGatewayClient.update_authorizer
rboto-api-gateway==0.4.0 · Service index · Types
Model summary (excerpt): Updates an existing Authorizer resource. For a JWT authorizer, the only JWT patch operation is replace on the path /jwtConfiguration . Its value is the complete configuration as a JSON string in the JwtConfigurationInput shape. This replaces the entire configuration; nothing from the previous configuration is retained. A replace operation on the path /type is supported in both directions.
Install and imports
from rboto import APIGatewayClient
from collections.abc import Sequence
from rboto_api_gateway.types import (
PatchOperation,
UpdateAuthorizerOutput,
)
Signature
async def update_authorizer(
*,
rest_api_id: str,
authorizer_id: str,
patch_operations: Sequence[PatchOperation] | None = None,
) -> UpdateAuthorizerOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
rest_api_id |
Yes | The string identifier of the associated RestApi. |
authorizer_id |
Yes | The identifier of the Authorizer resource. |
patch_operations |
No | For more information about supported patch operations, see Patch Operations . |
Output
UpdateAuthorizerOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
id |
str | None |
Always present | — |
name |
str | None |
Always present | — |
type |
AuthorizerTypeOutput | None |
Always present | AuthorizerTypeOutput |
provider_arns |
list[str] | None |
Always present | — |
auth_type |
str | None |
Always present | — |
authorizer_uri |
str | None |
Always present | — |
authorizer_credentials |
str | None |
Always present | — |
identity_source |
str | None |
Always present | — |
identity_validation_expression |
str | None |
Always present | — |
authorizer_result_ttl_in_seconds |
int | None |
Always present | — |
jwt_configuration |
JwtConfigurationOutput | None |
Always present | JwtConfigurationOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
PatchOperation, UpdateAuthorizerOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_api_gateway.exceptions:
BadRequestError, ConflictError, LimitExceededError, NotFoundError, TooManyRequestsError, UnauthorizedError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.