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.

UpdatePlacementInput

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

type UpdatePlacementInput struct { Attributes map[string]*string `locationName:"attributes" type:"map"` PlacementName *string `location:"uri" 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

The user-defined object of attributes used to update the placement. The maximum number of key/value pairs is 50.

PlacementName

Type: *string

The name of the placement to update.

PlacementName is a required field

ProjectName

Type: *string

The name of the project containing the placement to be updated.

ProjectName is a required field

Method

GoString

func (s UpdatePlacementInput) GoString() string

GoString returns the string representation

SetAttributes

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

SetAttributes sets the Attributes field's value.

SetPlacementName

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

SetPlacementName sets the PlacementName field's value.

SetProjectName

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

SetProjectName sets the ProjectName field's value.

String

func (s UpdatePlacementInput) String() string

String returns the string representation

Validate

func (s *UpdatePlacementInput) Validate() error

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

On this page: