Skip to content

UpdateWorkteamRequest

Source code in docs_src/capo_sagemaker/types/update_workteam_request.py
class UpdateWorkteamRequest(TypedDict, closed=True):
    workteam_name: NotRequired["capo_sagemaker.types.workteam_name.WorkteamName"]
    """<p>The name of the work team to update.</p>"""
    member_definitions: NotRequired[
        "capo_sagemaker.types.member_definitions.MemberDefinitions"
    ]
    """<p>A list of <code>MemberDefinition</code> objects that contains objects that identify the workers that make up the work team. </p> <p>Workforces can be created using Amazon Cognito or your own OIDC Identity Provider (IdP). For private workforces created using Amazon Cognito use <code>CognitoMemberDefinition</code>. For workforces created using your own OIDC identity provider (IdP) use <code>OidcMemberDefinition</code>. You should not provide input for both of these parameters in a single request.</p> <p>For workforces created using Amazon Cognito, private work teams correspond to Amazon Cognito <i>user groups</i> within the user pool used to create a workforce. All of the <code>CognitoMemberDefinition</code> objects that make up the member definition must have the same <code>ClientId</code> and <code>UserPool</code> values. To add a Amazon Cognito user group to an existing worker pool, see <a href="">Adding groups to a User Pool</a>. For more information about user pools, see <a href="https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html">Amazon Cognito User Pools</a>.</p> <p>For workforces created using your own OIDC IdP, specify the user groups that you want to include in your private work team in <code>OidcMemberDefinition</code> by listing those groups in <code>Groups</code>. Be aware that user groups that are already in the work team must also be listed in <code>Groups</code> when 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. </p>"""
    description: NotRequired["capo_sagemaker.types.string200.String200"]
    """<p>An updated description for the work team.</p>"""
    notification_configuration: NotRequired[
        "capo_sagemaker.types.notification_configuration.NotificationConfiguration"
    ]
    """<p>Configures SNS topic notifications for available or expiring work items</p>"""
    worker_access_configuration: NotRequired[
        "capo_sagemaker.types.worker_access_configuration.WorkerAccessConfiguration"
    ]
    """<p>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.</p>"""

description instance-attribute

description: NotRequired[String200]

An updated description for the work team.

member_definitions instance-attribute

member_definitions: NotRequired[MemberDefinitions]

A list of MemberDefinition objects 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) use OidcMemberDefinition. 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 CognitoMemberDefinition objects that make up the member definition must have the same ClientId and UserPool values. 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 OidcMemberDefinition by listing those groups in Groups. Be aware that user groups that are already in the work team must also be listed in Groups when 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.

notification_configuration instance-attribute

notification_configuration: NotRequired[NotificationConfiguration]

Configures SNS topic notifications for available or expiring work items

worker_access_configuration instance-attribute

worker_access_configuration: NotRequired[WorkerAccessConfiguration]

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.

workteam_name instance-attribute

workteam_name: NotRequired[WorkteamName]

The name of the work team to update.