listComponents

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: ../. 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.

Samples

// The following example lists the component versions that your account owns, filtered to components
// for the Linux platform.
val resp = imagebuilderClient.listComponents {
    owner = Ownership.fromValue("Self")
    filters = listOf<Filter>(
        Filter {
            name = "platform"
            values = listOf<String>(
                "Linux"
            )
        }            
    )
}