Skip to content

CreateWorkteamRequest

Source code in docs_src/capo_sagemaker/types/create_workteam_request.py
class CreateWorkteamRequest(TypedDict, closed=True):
    workteam_name: NotRequired["capo_sagemaker.types.workteam_name.WorkteamName"]
    """<p>The name of the work team. Use this name to identify the work team.</p>"""
    workforce_name: NotRequired["capo_sagemaker.types.workforce_name.WorkforceName"]
    """<p>The name of the workforce.</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>. Do 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>.</p>"""
    description: NotRequired["capo_sagemaker.types.string200.String200"]
    """<p>A description of the work team.</p>"""
    notification_configuration: NotRequired[
        "capo_sagemaker.types.notification_configuration.NotificationConfiguration"
    ]
    """<p>Configures notification of workers regarding 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>"""
    tags: NotRequired["capo_sagemaker.types.tag_list.TagList"]
    """<p>An array of key-value pairs.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html">Resource Tag</a> and <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a> in the <i> Amazon Web Services Billing and Cost Management User Guide</i>.</p>"""

description instance-attribute

description: NotRequired[String200]

A description of 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. Do 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.

notification_configuration instance-attribute

notification_configuration: NotRequired[NotificationConfiguration]

Configures notification of workers regarding available or expiring work items.

tags instance-attribute

tags: NotRequired[TagList]

An array of key-value pairs.

For more information, see Resource Tag and Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.

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.

workforce_name instance-attribute

workforce_name: NotRequired[WorkforceName]

The name of the workforce.

workteam_name instance-attribute

workteam_name: NotRequired[WorkteamName]

The name of the work team. Use this name to identify the work team.