start_access_request
async
¶
start_access_request(
reason: String1to256,
targets: Targets,
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
tags: Optional[TagList] = None,
) -> StartAccessRequestResponse
Starts the workflow for just-in-time node access sessions.
Parameters:
-
reason(String1to256) –A brief description explaining why you are requesting access to the node.
-
targets(Targets) –The node you are requesting access to.
-
tags(Optional[TagList], default:None) –Key-value pairs of metadata you want to assign to the access request.
Raises:
-
AccessDeniedException–The requester doesn't have permissions to perform the requested operation.
-
InternalServerError–An error occurred on the server side.
-
ResourceNotFoundException–The specified parameter to be shared could not be found.
-
ServiceQuotaExceededException–The request exceeds the service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account.
-
ThrottlingException–The request or operation couldn't be performed because the service is throttling requests.
-
ValidationException–The request isn't valid. Verify that you entered valid contents for the command and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/async_ssm.py
10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 | |