start_engagement
¶
start_engagement(
contact_id: SsmContactsArn,
sender: Sender,
subject: Subject,
content: Content,
*,
config_overrides: Optional[SSMContactsClientConfig] = None,
public_subject: Optional[PublicSubject] = None,
public_content: Optional[PublicContent] = None,
incident_id: Optional[IncidentId] = None,
idempotency_token: Optional[IdempotencyToken] = None,
) -> StartEngagementResult
Starts an engagement to a contact or escalation plan. The engagement engages each contact specified in the incident.
Parameters:
-
contact_id(SsmContactsArn) –The Amazon Resource Name (ARN) of the contact being engaged.
-
sender(Sender) –The user that started the engagement.
-
subject(Subject) –The secure subject of the message that was sent to the contact. Use this field for engagements to
VOICEorEMAIL. -
content(Content) –The secure content of the message that was sent to the contact. Use this field for engagements to
VOICEorEMAIL. -
public_subject(Optional[PublicSubject], default:None) –The insecure subject of the message that was sent to the contact. Use this field for engagements to
SMS. -
public_content(Optional[PublicContent], default:None) –The insecure content of the message that was sent to the contact. Use this field for engagements to
SMS. -
incident_id(Optional[IncidentId], default:None) –The ARN of the incident that the engagement is part of.
-
idempotency_token(Optional[IdempotencyToken], default:None) –A token ensuring that the operation is called only once with the specified details.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this operation.
-
DataEncryptionException–The operation failed to due an encryption key error.
-
InternalServerException–Unexpected error occurred while processing the request.
-
ResourceNotFoundException–Request references a resource that doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm_contacts/_services/ssm_contacts.py
2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 | |