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.

PlacementDescription

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

type PlacementDescription struct { Attributes map[string]*string `locationName:"attributes" type:"map" required:"true"` CreatedDate *time.Time `locationName:"createdDate" type:"timestamp" required:"true"` PlacementName *string `locationName:"placementName" min:"1" type:"string" required:"true"` ProjectName *string `locationName:"projectName" min:"1" type:"string" required:"true"` UpdatedDate *time.Time `locationName:"updatedDate" type:"timestamp" required:"true"` }

An object describing a project's placement.

Attributes

Type: map[string]*string

The user-defined attributes associated with the placement.

Attributes is a required field

CreatedDate

Type: *time.Time

The date when the placement was initially created, in UNIX epoch time format.

CreatedDate is a required field

PlacementName

Type: *string

The name of the placement.

PlacementName is a required field

ProjectName

Type: *string

The name of the project containing the placement.

ProjectName is a required field

UpdatedDate

Type: *time.Time

The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.

UpdatedDate is a required field

Method

GoString

func (s PlacementDescription) GoString() string

GoString returns the string representation

SetAttributes

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

SetAttributes sets the Attributes field's value.

SetCreatedDate

func (s *PlacementDescription) SetCreatedDate(v time.Time) *PlacementDescription

SetCreatedDate sets the CreatedDate field's value.

SetPlacementName

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

SetPlacementName sets the PlacementName field's value.

SetProjectName

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

SetProjectName sets the ProjectName field's value.

SetUpdatedDate

func (s *PlacementDescription) SetUpdatedDate(v time.Time) *PlacementDescription

SetUpdatedDate sets the UpdatedDate field's value.

String

func (s PlacementDescription) String() string

String returns the string representation

On this page: