Skip to content

UpdateWorkforceRequest

Source code in docs_src/capo_sagemaker/types/update_workforce_request.py
class UpdateWorkforceRequest(TypedDict, closed=True):
    workforce_name: NotRequired["capo_sagemaker.types.workforce_name.WorkforceName"]
    """<p>The name of the private workforce that you want to update. You can find your workforce name by using the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListWorkforces.html">ListWorkforces</a> operation.</p>"""
    source_ip_config: NotRequired[
        "capo_sagemaker.types.source_ip_config.SourceIpConfig"
    ]
    """<p>A list of one to ten worker IP address ranges (<a href="https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html">CIDRs</a>) that can be used to access tasks assigned to this workforce.</p> <p>Maximum: Ten CIDR values</p>"""
    oidc_config: NotRequired["capo_sagemaker.types.oidc_config.OidcConfig"]
    """<p>Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.</p>"""
    workforce_vpc_config: NotRequired[
        "capo_sagemaker.types.workforce_vpc_config_request.WorkforceVpcConfigRequest"
    ]
    """<p>Use this parameter to update your VPC configuration for a workforce.</p>"""
    ip_address_type: NotRequired[
        "capo_sagemaker.types.workforce_ip_address_type.WorkforceIpAddressType"
    ]
    """<p>Use this parameter to specify whether you want <code>IPv4</code> only or <code>dualstack</code> (<code>IPv4</code> and <code>IPv6</code>) to support your labeling workforce.</p>"""

ip_address_type instance-attribute

ip_address_type: NotRequired[WorkforceIpAddressType]

Use this parameter to specify whether you want IPv4 only or dualstack (IPv4 and IPv6) to support your labeling workforce.

oidc_config instance-attribute

oidc_config: NotRequired[OidcConfig]

Use this parameter to update your OIDC Identity Provider (IdP) configuration for a workforce made using your own IdP.

source_ip_config instance-attribute

source_ip_config: NotRequired[SourceIpConfig]

A list of one to ten worker IP address ranges (CIDRs) that can be used to access tasks assigned to this workforce.

Maximum: Ten CIDR values

workforce_name instance-attribute

workforce_name: NotRequired[WorkforceName]

The name of the private workforce that you want to update. You can find your workforce name by using the ListWorkforces operation.

workforce_vpc_config instance-attribute

workforce_vpc_config: NotRequired[WorkforceVpcConfigRequest]

Use this parameter to update your VPC configuration for a workforce.