amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.UpdateWorkteam

Description

Updates an existing work team with new member definitions or description.

Synopsis

Creating a Request

data UpdateWorkteam Source #

See: newUpdateWorkteam smart constructor.

Constructors

UpdateWorkteam' 

Fields

  • description :: Maybe Text

    An updated description for the work team.

  • memberDefinitions :: Maybe (NonEmpty MemberDefinition)

    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 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.

  • notificationConfiguration :: Maybe NotificationConfiguration

    Configures SNS topic notifications for available or expiring work items

  • workteamName :: Text

    The name of the work team to update.

Instances

Instances details
ToJSON UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

ToHeaders UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

ToPath UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

ToQuery UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

AWSRequest UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Associated Types

type AWSResponse UpdateWorkteam #

Generic UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Associated Types

type Rep UpdateWorkteam :: Type -> Type #

Read UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Show UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

NFData UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Methods

rnf :: UpdateWorkteam -> () #

Eq UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Hashable UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

type AWSResponse UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

type Rep UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

type Rep UpdateWorkteam = D1 ('MetaData "UpdateWorkteam" "Amazonka.SageMaker.UpdateWorkteam" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "UpdateWorkteam'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "memberDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty MemberDefinition)))) :*: (S1 ('MetaSel ('Just "notificationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationConfiguration)) :*: S1 ('MetaSel ('Just "workteamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateWorkteam Source #

Create a value of UpdateWorkteam with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

UpdateWorkteam, updateWorkteam_description - An updated description for the work team.

UpdateWorkteam, updateWorkteam_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 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.

UpdateWorkteam, updateWorkteam_notificationConfiguration - Configures SNS topic notifications for available or expiring work items

UpdateWorkteam, updateWorkteam_workteamName - The name of the work team to update.

Request Lenses

updateWorkteam_description :: Lens' UpdateWorkteam (Maybe Text) Source #

An updated description for the work team.

updateWorkteam_memberDefinitions :: Lens' UpdateWorkteam (Maybe (NonEmpty MemberDefinition)) Source #

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 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.

updateWorkteam_notificationConfiguration :: Lens' UpdateWorkteam (Maybe NotificationConfiguration) Source #

Configures SNS topic notifications for available or expiring work items

updateWorkteam_workteamName :: Lens' UpdateWorkteam Text Source #

The name of the work team to update.

Destructuring the Response

data UpdateWorkteamResponse Source #

See: newUpdateWorkteamResponse smart constructor.

Constructors

UpdateWorkteamResponse' 

Fields

Instances

Instances details
Generic UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Associated Types

type Rep UpdateWorkteamResponse :: Type -> Type #

Read UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Show UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

NFData UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Methods

rnf :: UpdateWorkteamResponse -> () #

Eq UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

type Rep UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

type Rep UpdateWorkteamResponse = D1 ('MetaData "UpdateWorkteamResponse" "Amazonka.SageMaker.UpdateWorkteam" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "UpdateWorkteamResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "workteam") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Workteam)))

newUpdateWorkteamResponse Source #

Create a value of UpdateWorkteamResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateWorkteamResponse', updateWorkteamResponse_httpStatus - The response's http status code.

$sel:workteam:UpdateWorkteamResponse', updateWorkteamResponse_workteam - A Workteam object that describes the updated work team.

Response Lenses

updateWorkteamResponse_workteam :: Lens' UpdateWorkteamResponse Workteam Source #

A Workteam object that describes the updated work team.