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.

AddCustomAttributesInput

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

type AddCustomAttributesInput struct { CustomAttributes []*SchemaAttributeType `min:"1" type:"list" required:"true"` UserPoolId *string `min:"1" type:"string" required:"true"` }

Represents the request to add custom attributes.

CustomAttributes

Contains information about the schema attribute.

UserPoolId

Type: *string

The user pool ID for the user pool where you want to add custom attributes.

UserPoolId is a required field

Method

GoString

func (s AddCustomAttributesInput) GoString() string

GoString returns the string representation

SetCustomAttributes

func (s *AddCustomAttributesInput) SetCustomAttributes(v []*SchemaAttributeType) *AddCustomAttributesInput

SetCustomAttributes sets the CustomAttributes field's value.

SetUserPoolId

func (s *AddCustomAttributesInput) SetUserPoolId(v string) *AddCustomAttributesInput

SetUserPoolId sets the UserPoolId field's value.

String

func (s AddCustomAttributesInput) String() string

String returns the string representation

Validate

func (s *AddCustomAttributesInput) Validate() error

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

On this page: