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.

InventoryItemSchema

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

type InventoryItemSchema struct { Attributes []*InventoryItemAttribute `min:"1" type:"list" required:"true"` DisplayName *string `type:"string"` TypeName *string `min:"1" type:"string" required:"true"` Version *string `type:"string"` }

The inventory item schema definition. Users can use this to compose inventory query filters.

Attributes

Attributes are the entries within the inventory item content. It contains name and value.

DisplayName

Type: *string

The alias name of the inventory type. The alias name is used for display purposes.

TypeName

Type: *string

The name of the inventory type. Default inventory item type names start with AWS. Custom inventory type names will start with Custom. Default inventory item types include the following: AWS:AWSComponent, AWS:Application, AWS:InstanceInformation, AWS:Network, and AWS:WindowsUpdate.

TypeName is a required field

Version

Type: *string

The schema version for the inventory item.

Method

GoString

func (s InventoryItemSchema) GoString() string

GoString returns the string representation

SetAttributes

func (s *InventoryItemSchema) SetAttributes(v []*InventoryItemAttribute) *InventoryItemSchema

SetAttributes sets the Attributes field's value.

SetDisplayName

func (s *InventoryItemSchema) SetDisplayName(v string) *InventoryItemSchema

SetDisplayName sets the DisplayName field's value.

SetTypeName

func (s *InventoryItemSchema) SetTypeName(v string) *InventoryItemSchema

SetTypeName sets the TypeName field's value.

SetVersion

func (s *InventoryItemSchema) SetVersion(v string) *InventoryItemSchema

SetVersion sets the Version field's value.

String

func (s InventoryItemSchema) String() string

String returns the string representation

On this page: