update_workteam
¶
update_workteam(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
workteam_name: Optional[WorkteamName] = None,
member_definitions: Optional[MemberDefinitions] = None,
description: Optional[String200] = None,
notification_configuration: Optional[NotificationConfiguration] = None,
worker_access_configuration: Optional[WorkerAccessConfiguration] = None,
) -> UpdateWorkteamResponse
Updates an existing work team with new member definitions or description.
Parameters:
-
workteam_name(Optional[WorkteamName], default:None) –The name of the work team to update.
-
member_definitions(Optional[MemberDefinitions], default:None) –A list of
MemberDefinitionobjects that contains objects that identify the workers that make up the work team.Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). For private workforces created using Amazon Cognito use
CognitoMemberDefinition. For workforces created using your own OIDC identity provider (IdP) useOidcMemberDefinition. You should not provide input for both of these parameters in a single request.For workforces created using Amazon Cognito, private work teams correspond to Amazon Cognito user groups within the user pool used to create a workforce. All of the
CognitoMemberDefinitionobjects that make up the member definition must have the sameClientIdandUserPoolvalues. To add a Amazon Cognito user group to an existing worker pool, see Adding groups to a User Pool. For more information about user pools, see Amazon Cognito User Pools.For workforces created using your own OIDC IdP, specify the user groups that you want to include in your private work team in
OidcMemberDefinitionby listing those groups inGroups. Be aware that user groups that are already in the work team must also be listed inGroupswhen you make this request to remain on the work team. If you do not include these user groups, they will no longer be associated with the work team you update. -
description(Optional[String200], default:None) –An updated description for the work team.
-
notification_configuration(Optional[NotificationConfiguration], default:None) –Configures SNS topic notifications for available or expiring work items
-
worker_access_configuration(Optional[WorkerAccessConfiguration], default:None) –Use this optional parameter to constrain access to an Amazon S3 resource based on the IP address using supported IAM global condition keys. The Amazon S3 resource is accessed in the worker portal using a Amazon S3 presigned URL.
Raises:
-
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
32097 32098 32099 32100 32101 32102 32103 32104 32105 32106 32107 32108 32109 32110 32111 32112 32113 32114 32115 32116 32117 32118 32119 32120 32121 32122 32123 32124 32125 32126 32127 32128 32129 32130 32131 32132 32133 32134 32135 32136 32137 32138 32139 32140 32141 32142 32143 32144 32145 32146 32147 32148 32149 32150 32151 32152 32153 32154 32155 32156 32157 32158 32159 32160 32161 32162 32163 32164 | |