update_channel
¶
update_channel(
channel: ChannelArn,
*,
config_overrides: Optional[CloudTrailClientConfig] = 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/cloud_trail.py
4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 | |