libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • notificationConfiguration :: Maybe NotificationConfiguration

    Configures SNS topic notifications for available or expiring work items

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

  • description :: Maybe Text

    An updated description for the work team.

  • workteamName :: Text

    The name of the work team to update.

Instances

Instances details
Eq UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Read UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Show UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Generic UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Associated Types

type Rep UpdateWorkteam :: Type -> Type #

NFData UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Methods

rnf :: UpdateWorkteam -> () #

Hashable UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

ToJSON UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

AWSRequest UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Associated Types

type AWSResponse 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

type Rep UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

type Rep UpdateWorkteam = D1 ('MetaData "UpdateWorkteam" "Amazonka.SageMaker.UpdateWorkteam" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "UpdateWorkteam'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "notificationConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationConfiguration)) :*: S1 ('MetaSel ('Just "memberDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty MemberDefinition)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "workteamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateWorkteam Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

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:

$sel:notificationConfiguration:UpdateWorkteam', updateWorkteam_notificationConfiguration - Configures SNS topic notifications for available or expiring work items

$sel:memberDefinitions: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.

$sel:description:UpdateWorkteam', updateWorkteam_description - An updated description for the work team.

$sel:workteamName:UpdateWorkteam', updateWorkteam_workteamName - The name of the work team to update.

Request Lenses

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

Configures SNS topic notifications for available or expiring work items

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_description :: Lens' UpdateWorkteam (Maybe Text) Source #

An updated description for the work team.

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
Eq UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Read UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Show UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Generic UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Associated Types

type Rep UpdateWorkteamResponse :: Type -> Type #

NFData UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

Methods

rnf :: UpdateWorkteamResponse -> () #

type Rep UpdateWorkteamResponse Source # 
Instance details

Defined in Amazonka.SageMaker.UpdateWorkteam

type Rep UpdateWorkteamResponse = D1 ('MetaData "UpdateWorkteamResponse" "Amazonka.SageMaker.UpdateWorkteam" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" '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.