Returns the list of components that you have access to¶
Description¶
Returns the list of components that you have access to. By default, the response doesn't include components in the DEPRECATED state. To list deprecated components, use the status filter with the value DEPRECATED.
The semantic version has four nodes: \<major>.\<minor>.\<patch>/\<build>. You can assign values for the first three, and can filter on all of them.
Filtering: You can use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
Usage¶
Arguments¶
-
ownerFilters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, components from the Amazon Web Services Marketplace, third party components, or components that other accounts have shared with you.
-
filtersUse the following filters to streamline results:
descriptionnameplatformproductCodesstatussupportedOsVersiontypeversion
-
byNameSpecifies whether to return one entry per component name, with all versions of each component aggregated. Defaults to
false, which returns one entry per component version. You can't combine this option with theversionfilter. -
maxResultsThe maximum number of items to return in a single request.
-
nextTokenA token to specify where to start paginating. Use the
nextTokenvalue from a previously truncated response.
Value¶
A list with the following syntax:
list(
requestId = "string",
componentVersionList = list(
list(
arn = "string",
name = "string",
version = "string",
description = "string",
platform = "Windows"|"Linux"|"macOS",
supportedOsVersions = list(
"string"
),
type = "BUILD"|"TEST",
owner = "string",
dateCreated = "string",
status = "DEPRECATED"|"DISABLED"|"ACTIVE",
productCodes = list(
list(
productCodeId = "string",
productCodeType = "marketplace"
)
)
)
),
nextToken = "string"
)