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
10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 | |