accept_page
async
¶
accept_page(
page_id: SsmContactsArn,
accept_type: AcceptType,
accept_code: AcceptCode,
*,
config_overrides: Optional[AsyncSSMContactsClientConfig] = None,
contact_channel_id: Optional[SsmContactsArn] = None,
note: Optional[ReceiptInfo] = None,
accept_code_validation: Optional[AcceptCodeValidation] = None,
) -> AcceptPageResult
Used to acknowledge an engagement to a contact channel during an incident.
Parameters:
-
page_id(SsmContactsArn) –The Amazon Resource Name (ARN) of the engagement to a contact channel.
-
contact_channel_id(Optional[SsmContactsArn], default:None) –The ARN of the contact channel.
-
accept_type(AcceptType) –The type indicates if the page was
DELIVEREDorREAD. -
note(Optional[ReceiptInfo], default:None) –Information provided by the user when the user acknowledges the page.
-
accept_code(AcceptCode) –A 6-digit code used to acknowledge the page.
-
accept_code_validation(Optional[AcceptCodeValidation], default:None) –An optional field that Incident Manager uses to
ENFORCEAcceptCodevalidation when acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the AcceptCode in the console. Enforcing AcceptCode validation causes Incident Manager to verify that the code entered by the user matches the code sent by Incident Manager with the page.Incident Manager can also
IGNOREAcceptCodevalidation. IgnoringAcceptCodevalidation causes Incident Manager to accept any value entered for theAcceptCode.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this operation.
-
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.