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.

CreatePlacementInput

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

type CreatePlacementInput struct { Attributes map[string]*string `locationName:"attributes" type:"map"` PlacementName *string `locationName:"placementName" min:"1" type:"string" required:"true"` ProjectName *string `location:"uri" locationName:"projectName" min:"1" type:"string" required:"true"` }

Attributes

Type: map[string]*string

Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.

PlacementName

Type: *string

The name of the placement to be created.

PlacementName is a required field

ProjectName

Type: *string

The name of the project in which to create the placement.

ProjectName is a required field

Method

GoString

func (s CreatePlacementInput) GoString() string

GoString returns the string representation

SetAttributes

func (s *CreatePlacementInput) SetAttributes(v map[string]*string) *CreatePlacementInput

SetAttributes sets the Attributes field's value.

SetPlacementName

func (s *CreatePlacementInput) SetPlacementName(v string) *CreatePlacementInput

SetPlacementName sets the PlacementName field's value.

SetProjectName

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

SetProjectName sets the ProjectName field's value.

String

func (s CreatePlacementInput) String() string

String returns the string representation

Validate

func (s *CreatePlacementInput) Validate() error

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

On this page: