update_channel
async
¶
update_channel(
channel: ChannelArn,
*,
config_overrides: Optional[AsyncCloudTrailClientConfig] = None,
destinations: Optional[Destinations] = None,
name: Optional[ChannelName] = None,
) -> UpdateChannelResponse
CloudTrail Lake will no longer be open to new customers starting May 31, 2026. If you would like to use CloudTrail Lake, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see CloudTrail Lake availability change.
Updates a channel specified by a required channel ARN or UUID.
Parameters:
-
channel(ChannelArn) –The ARN or ID (the ARN suffix) of the channel that you want to update.
-
destinations(Optional[Destinations], default:None) –The ARNs of event data stores that you want to log events arriving through the channel.
-
name(Optional[ChannelName], default:None) –Changes the name of the channel.
Raises:
-
ChannelAlreadyExistsException–This exception is thrown when the provided channel already exists.
-
ChannelARNInvalidException–This exception is thrown when the specified value of
ChannelARNis not valid. -
ChannelNotFoundException–This exception is thrown when CloudTrail cannot find the specified channel.
-
EventDataStoreARNInvalidException–The specified event data store ARN is not valid or does not map to an event data store in your account.
-
EventDataStoreNotFoundException–The specified event data store was not found.
-
InactiveEventDataStoreException–The event data store is inactive.
-
InvalidEventDataStoreCategoryException–This exception is thrown when event categories of specified event data stores are not valid.
-
InvalidParameterException–The request includes a parameter that is not valid.
-
OperationNotPermittedException–This exception is thrown when the requested operation is not permitted.
-
UnsupportedOperationException–This exception is thrown when the requested operation is not supported.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudtrail/_services/async_cloud_trail.py
4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 | |