Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware assets that allocate resources for Dedicated Hosts.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
list-assets
--outpost-identifier <value>
[--host-id-filter <value>]
[--max-results <value>]
[--next-token <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--outpost-identifier
(string)
The ID or the Amazon Resource Name (ARN) of the Outpost.
--host-id-filter
(list)
A filter for the host ID of Dedicated Hosts on the Outpost.
Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an
OR
, and the request returns all results that match any of the specified values.(string)
Syntax:
"string" "string" ...
--max-results
(integer)
The maximum page size.
--next-token
(string)
The pagination token.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
Assets -> (list)
Information about hardware assets.
(structure)
Information about hardware assets.
AssetId -> (string)
The ID of the asset.
RackId -> (string)
The rack ID of the asset.
AssetType -> (string)
The type of the asset.
ComputeAttributes -> (structure)
Information about compute hardware assets.
HostId -> (string)
The host ID of any Dedicated Hosts on the asset.
AssetLocation -> (structure)
The position of an asset in a rack.
RackElevation -> (float)
The position of an asset in a rack measured in rack units.
NextToken -> (string)
The pagination token.