AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateWorkteamInput

import "github.com/aws/aws-sdk-go/service/sagemaker"

type CreateWorkteamInput struct { Description *string `min:"1" type:"string" required:"true"` MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"` Tags []*Tag `type:"list"` WorkteamName *string `min:"1" type:"string" required:"true"` }

Description

Type: *string

A description of the work team.

Description is a required field

MemberDefinitions

Defines the Amazon Cognito user group that is part of a work team.

Tags

Describes a tag.

WorkteamName

Type: *string

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

WorkteamName is a required field

Method

GoString

func (s CreateWorkteamInput) GoString() string

GoString returns the string representation

SetDescription

func (s *CreateWorkteamInput) SetDescription(v string) *CreateWorkteamInput

SetDescription sets the Description field's value.

SetMemberDefinitions

func (s *CreateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *CreateWorkteamInput

SetMemberDefinitions sets the MemberDefinitions field's value.

SetTags

func (s *CreateWorkteamInput) SetTags(v []*Tag) *CreateWorkteamInput

SetTags sets the Tags field's value.

SetWorkteamName

func (s *CreateWorkteamInput) SetWorkteamName(v string) *CreateWorkteamInput

SetWorkteamName sets the WorkteamName field's value.

String

func (s CreateWorkteamInput) String() string

String returns the string representation

Validate

func (s *CreateWorkteamInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: