Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogDefinitionOutput ¶
type CatalogDefinitionOutput struct {
Catalog *CatalogEntity `json:"catalog,omitempty"`
// Time of the catalog definition creation.
CreationTime string `json:"creationTime,omitempty"`
// Total number of versions.
TotalVersions string `json:"totalVersions,omitempty"`
}
CatalogDefinitionOutput Catalog request definitions.
type CatalogEntity ¶
type CatalogEntity struct {
// Name of the catalog.
Name string `json:"name,omitempty"`
// Description string about the catalog.
Description string `json:"description,omitempty"`
}
CatalogEntity Definition for catalog entity.
type CatalogInput ¶
type CatalogInput struct {
// Name of the catalog.
Name string `json:"name,omitempty"`
// Description string about the catalog.
Description string `json:"description,omitempty"`
}
CatalogInput Definition for catalog input.
type CatalogItem ¶
type CatalogItem struct {
// Name of the catalog.
Name string `json:"name,omitempty"`
// Description string about the catalog.
Description string `json:"description,omitempty"`
// Identifier of the catalog, optional in get response as the request already has catalogId.
CatalogId string `json:"catalogId,omitempty"`
Links *smapiv1.Links `json:"_links,omitempty"`
}
CatalogItem Definition for catalog entity.
type CatalogResponse ¶
type CatalogResponse struct {
// ID of the catalog created.
CatalogId string `json:"catalogId,omitempty"`
}
CatalogResponse CatalogId information.
type CatalogStatus ¶
type CatalogStatus struct {
LastUpdateRequest *LastUpdateRequest `json:"lastUpdateRequest,omitempty"`
}
CatalogStatus Defines the structure for catalog status response.
type CatalogStatusType ¶
type CatalogStatusType string
CatalogStatusType Status of last modification request for a resource.
func CatalogStatusType_FAILED ¶
func CatalogStatusType_FAILED() CatalogStatusType
func CatalogStatusType_IN_PROGRESS ¶
func CatalogStatusType_IN_PROGRESS() CatalogStatusType
func CatalogStatusType_SUCCEEDED ¶
func CatalogStatusType_SUCCEEDED() CatalogStatusType
type DefinitionData ¶
type DefinitionData struct {
Catalog *CatalogInput `json:"catalog,omitempty"`
// The vendorId that the catalog should belong to.
VendorId string `json:"vendorId,omitempty"`
}
DefinitionData Catalog request definitions.
type LastUpdateRequest ¶
type LastUpdateRequest struct {
Status *CatalogStatusType `json:"status,omitempty"`
// The version id of the entity returned.
Version string `json:"version,omitempty"`
Errors []*skill.StandardizedError `json:"errors,omitempty"`
}
LastUpdateRequest Contains attributes related to last modification request of a resource.
type ListCatalogResponse ¶
type ListCatalogResponse struct {
Links *smapiv1.Links `json:"_links,omitempty"`
/*
List of catalogs.
*/
Catalogs []*CatalogItem `json:"catalogs,omitempty"`
IsTruncated bool `json:"isTruncated,omitempty"`
NextToken string `json:"nextToken,omitempty"`
TotalCount int `json:"totalCount,omitempty"`
}
ListCatalogResponse List of catalog versions of a skill for the vendor.
type UpdateRequest ¶
type UpdateRequest struct {
// The catalog name.
Name string `json:"name,omitempty"`
// The catalog description with a 255 character maximum.
Description string `json:"description,omitempty"`
}
UpdateRequest Catalog update request object.
Click to show internal directories.
Click to hide internal directories.