Paws::SageMaker::CreateWorkteam - Arguments for method CreateWorkteam on Paws::SageMaker


This class represents the parameters used for calling the method CreateWorkteam on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method CreateWorkteam.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateWorkteam.


    my $api.sagemaker = Paws->service('SageMaker');
    my $CreateWorkteamResponse = $api . sagemaker->CreateWorkteam(
      Description       => 'MyString200',
      MemberDefinitions => [
          CognitoMemberDefinition => {
            ClientId  => 'MyCognitoClientId',     # min: 1, max: 128
            UserGroup => 'MyCognitoUserGroup',    # min: 1, max: 128
            UserPool  => 'MyCognitoUserPool',     # min: 1, max: 55

          },    # OPTIONAL
      WorkteamName => 'MyWorkteamName',
      Tags         => [
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256

      ],                            # OPTIONAL

    # Results:
    my $WorkteamArn = $CreateWorkteamResponse->WorkteamArn;

    # Returns a L<Paws::SageMaker::CreateWorkteamResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED Description => Str

A description of the work team.

REQUIRED MemberDefinitions => ArrayRef[Paws::SageMaker::MemberDefinition]

A list of MemberDefinition objects that contains objects that identify the Amazon Cognito user pool that makes up the work team. For more information, see Amazon Cognito User Pools (

All of the CognitoMemberDefinition objects that make up the member definition must have the same ClientId and UserPool values.

Tags => ArrayRef[Paws::SageMaker::Tag]

REQUIRED WorkteamName => Str

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


This class forms part of Paws, documenting arguments for method CreateWorkteam in Paws::SageMaker


The source code is located here:

Please report bugs to: