InventoryItem

public struct InventoryItem : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The time the inventory information was collected.

    Declaration

    Swift

    public let captureTime: String
  • The inventory data of the inventory type.

    Declaration

    Swift

    public let content: [[String : String]]?
  • MD5 hash of the inventory item type contents. The content hash is used to determine whether to update inventory information. The PutInventory API does not update the inventory item type contents if the MD5 hash has not changed since last update.

    Declaration

    Swift

    public let contentHash: String?
  • A map of associated properties for a specified inventory type. For example, with this attribute, you can specify the ExecutionId, ExecutionType, ComplianceType properties of the AWS:ComplianceItem type.

    Declaration

    Swift

    public let context: [String : String]?
  • The schema version for the inventory item.

    Declaration

    Swift

    public let schemaVersion: 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.

    Declaration

    Swift

    public let typeName: String
  • Undocumented

    Declaration

    Swift

    public init(captureTime: String, content: [[String : String]]? = nil, contentHash: String? = nil, context: [String : String]? = nil, schemaVersion: String, typeName: String)
  • Declaration

    Swift

    public func validate(name: String) throws