update_workteam
async
¶
update_workteam(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
32515 32516 32517 32518 32519 32520 32521 32522 32523 32524 32525 32526 32527 32528 32529 32530 32531 32532 32533 32534 32535 32536 32537 32538 32539 32540 32541 32542 32543 32544 32545 32546 32547 32548 32549 32550 32551 32552 32553 32554 32555 32556 32557 32558 32559 32560 32561 32562 32563 32564 32565 32566 32567 32568 32569 32570 32571 32572 32573 32574 32575 32576 32577 32578 32579 32580 32581 32582 32583 | |