update_channel_namespace
¶
update_channel_namespace(
api_id: String,
name: Namespace,
*,
config_overrides: Optional[AppSyncClientConfig] = None,
subscribe_auth_modes: Optional[AuthModes] = None,
publish_auth_modes: Optional[AuthModes] = None,
code_handlers: Optional[Code] = None,
handler_configs: Optional[HandlerConfigs] = None,
) -> UpdateChannelNamespaceResponse
Updates a ChannelNamespace associated with an Api.
Parameters:
-
api_id(String) –The
ApiID. -
name(Namespace) –The name of the
ChannelNamespace. -
subscribe_auth_modes(Optional[AuthModes], default:None) –The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default
Apiauthorization configuration. -
publish_auth_modes(Optional[AuthModes], default:None) –The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default
Apiauthorization configuration. -
code_handlers(Optional[Code], default:None) –The event handler functions that run custom business logic to process published events and subscribe requests.
-
handler_configs(Optional[HandlerConfigs], default:None) –The configuration for the
OnPublishandOnSubscribehandlers.
Raises:
-
AccessDeniedException–You don't have access to perform this operation on this resource.
-
BadRequestException–The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
-
ConcurrentModificationException–Another modification is in progress at this time and it must complete before you can make your change.
-
InternalFailureException–An internal AppSync error occurred. Try your request again.
-
NotFoundException–The resource specified in the request was not found. Check the resource, and then try again.
-
UnauthorizedException–You aren't authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appsync/_services/app_sync.py
4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 | |