put_events_configuration
async
¶
put_events_configuration(
account_id: NonEmptyString,
bot_id: NonEmptyString,
*,
config_overrides: Optional[AsyncChimeClientConfig] = None,
outbound_events_https_endpoint: Optional[SensitiveString] = None,
lambda_function_arn: Optional[SensitiveString] = None,
) -> PutEventsConfigurationResponse
Creates an events configuration that allows a bot to receive outgoing events sent by Amazon Chime. Choose either an HTTPS endpoint or a Lambda function ARN. For more information, see Bot.
Parameters:
-
account_id(NonEmptyString) –The Amazon Chime account ID.
-
bot_id(NonEmptyString) –The bot ID.
-
outbound_events_https_endpoint(Optional[SensitiveString], default:None) –HTTPS endpoint that allows the bot to receive outgoing events.
-
lambda_function_arn(Optional[SensitiveString], default:None) –Lambda function ARN that allows the bot to receive outgoing events.
Raises:
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–One or more of the resources in the request does not exist in the system.
-
ResourceLimitExceededException–The request exceeds the resource limit.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
UnauthorizedClientException–The client is not currently authorized to make the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime/_services/async_chime.py
3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 | |