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.

CreateProjectInput

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

type CreateProjectInput struct { Description *string `locationName:"description" type:"string"` PlacementTemplate *PlacementTemplate `locationName:"placementTemplate" type:"structure"` ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"` }

Description

Type: *string

An optional description for the project.

PlacementTemplate

An object defining the template for a placement.

ProjectName

Type: *string

The name of the project to create.

ProjectName is a required field

Method

GoString

func (s CreateProjectInput) GoString() string

GoString returns the string representation

SetDescription

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

SetDescription sets the Description field's value.

SetPlacementTemplate

func (s *CreateProjectInput) SetPlacementTemplate(v *PlacementTemplate) *CreateProjectInput

SetPlacementTemplate sets the PlacementTemplate field's value.

SetProjectName

func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput

SetProjectName sets the ProjectName field's value.

String

func (s CreateProjectInput) String() string

String returns the string representation

Validate

func (s *CreateProjectInput) Validate() error

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

On this page: