Update Workteam
sagemaker_update_workteam | R Documentation |
Updates an existing work team with new member definitions or description¶
Description¶
Updates an existing work team with new member definitions or description.
Usage¶
sagemaker_update_workteam(WorkteamName, MemberDefinitions, Description,
NotificationConfiguration, WorkerAccessConfiguration)
Arguments¶
WorkteamName
[required] The name of the work team to update.
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) 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
CognitoMemberDefinition
objects that make up the member definition must have the sameClientId
andUserPool
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 inGroups
. Be aware that user groups that are already in the work team must also be listed inGroups
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.Description
An updated description for the work team.
NotificationConfiguration
Configures SNS topic notifications for available or expiring work items
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.
Value¶
A list with the following syntax:
list(
Workteam = list(
WorkteamName = "string",
MemberDefinitions = list(
list(
CognitoMemberDefinition = list(
UserPool = "string",
UserGroup = "string",
ClientId = "string"
),
OidcMemberDefinition = list(
Groups = list(
"string"
)
)
)
),
WorkteamArn = "string",
WorkforceArn = "string",
ProductListingIds = list(
"string"
),
Description = "string",
SubDomain = "string",
CreateDate = as.POSIXct(
"2015-01-01"
),
LastUpdatedDate = as.POSIXct(
"2015-01-01"
),
NotificationConfiguration = list(
NotificationTopicArn = "string"
),
WorkerAccessConfiguration = list(
S3Presign = list(
IamPolicyConstraints = list(
SourceIp = "Enabled"|"Disabled",
VpcSourceIp = "Enabled"|"Disabled"
)
)
)
)
)
Request syntax¶
svc$update_workteam(
WorkteamName = "string",
MemberDefinitions = list(
list(
CognitoMemberDefinition = list(
UserPool = "string",
UserGroup = "string",
ClientId = "string"
),
OidcMemberDefinition = list(
Groups = list(
"string"
)
)
)
),
Description = "string",
NotificationConfiguration = list(
NotificationTopicArn = "string"
),
WorkerAccessConfiguration = list(
S3Presign = list(
IamPolicyConstraints = list(
SourceIp = "Enabled"|"Disabled",
VpcSourceIp = "Enabled"|"Disabled"
)
)
)
)