update_approval_team
async
¶
update_approval_team(
arn: ApprovalTeamArn,
*,
config_overrides: Optional[AsyncMPAClientConfig] = None,
approval_strategy: Optional[ApprovalStrategy] = None,
approvers: Optional[ApprovalTeamRequestApprovers] = None,
description: Optional[Description] = None,
update_actions: Optional[UpdateActions] = None,
) -> UpdateApprovalTeamResponse
Updates an approval team. You can request to update the team description, approval threshold, and approvers in the team.
Updates require team approval
Updates to an active team must be approved by the team.
Parameters:
-
approval_strategy(Optional[ApprovalStrategy], default:None) –An
ApprovalStrategyobject. Contains details for how the team grants approval. -
approvers(Optional[ApprovalTeamRequestApprovers], default:None) –An array of
ApprovalTeamRequestApproverobjects. Contains details for the approvers in the team. -
description(Optional[Description], default:None) –Description for the team.
-
arn(ApprovalTeamArn) –Amazon Resource Name (ARN) for the team.
-
update_actions(Optional[UpdateActions], default:None) –A list of
UpdateActionto perform when updating the team.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action. Check your permissions, and try again.
-
ConflictException–The request cannot be completed because it conflicts with the current state of a resource.
-
InternalServerException–The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.
-
ResourceNotFoundException–The specified resource doesn't exist. Check the resource ID, and try again.
-
ServiceQuotaExceededException–The request exceeds the service quota for your account. Request a quota increase or reduce your request size.
-
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_mpa/_services/async_mpa.py
896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 | |