Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Lists the hardware assets for the specified Outpost.
Use filters to return specific results. If you specify multiple filters, the results include only the resources that match all of the specified filters. For a filter where you can specify multiple values, the results include items that match any of the values that you specify for the filter.
Synopsis
- data ListAssets = ListAssets' {}
- newListAssets :: Text -> ListAssets
- listAssets_hostIdFilter :: Lens' ListAssets (Maybe [Text])
- listAssets_maxResults :: Lens' ListAssets (Maybe Natural)
- listAssets_nextToken :: Lens' ListAssets (Maybe Text)
- listAssets_statusFilter :: Lens' ListAssets (Maybe (NonEmpty AssetState))
- listAssets_outpostIdentifier :: Lens' ListAssets Text
- data ListAssetsResponse = ListAssetsResponse' {}
- newListAssetsResponse :: Int -> ListAssetsResponse
- listAssetsResponse_assets :: Lens' ListAssetsResponse (Maybe [AssetInfo])
- listAssetsResponse_nextToken :: Lens' ListAssetsResponse (Maybe Text)
- listAssetsResponse_httpStatus :: Lens' ListAssetsResponse Int
Creating a Request
data ListAssets Source #
See: newListAssets
smart constructor.
ListAssets' | |
|
Instances
Create a value of ListAssets
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hostIdFilter:ListAssets'
, listAssets_hostIdFilter
- Filters the results by the host ID of a Dedicated Host.
$sel:maxResults:ListAssets'
, listAssets_maxResults
- Undocumented member.
ListAssets
, listAssets_nextToken
- Undocumented member.
$sel:statusFilter:ListAssets'
, listAssets_statusFilter
- Filters the results by state.
$sel:outpostIdentifier:ListAssets'
, listAssets_outpostIdentifier
- The ID or the Amazon Resource Name (ARN) of the Outpost.
Request Lenses
listAssets_hostIdFilter :: Lens' ListAssets (Maybe [Text]) Source #
Filters the results by the host ID of a Dedicated Host.
listAssets_maxResults :: Lens' ListAssets (Maybe Natural) Source #
Undocumented member.
listAssets_nextToken :: Lens' ListAssets (Maybe Text) Source #
Undocumented member.
listAssets_statusFilter :: Lens' ListAssets (Maybe (NonEmpty AssetState)) Source #
Filters the results by state.
listAssets_outpostIdentifier :: Lens' ListAssets Text Source #
The ID or the Amazon Resource Name (ARN) of the Outpost.
Destructuring the Response
data ListAssetsResponse Source #
See: newListAssetsResponse
smart constructor.
Instances
newListAssetsResponse Source #
Create a value of ListAssetsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:assets:ListAssetsResponse'
, listAssetsResponse_assets
- Information about the hardware assets.
ListAssets
, listAssetsResponse_nextToken
- Undocumented member.
$sel:httpStatus:ListAssetsResponse'
, listAssetsResponse_httpStatus
- The response's http status code.
Response Lenses
listAssetsResponse_assets :: Lens' ListAssetsResponse (Maybe [AssetInfo]) Source #
Information about the hardware assets.
listAssetsResponse_nextToken :: Lens' ListAssetsResponse (Maybe Text) Source #
Undocumented member.
listAssetsResponse_httpStatus :: Lens' ListAssetsResponse Int Source #
The response's http status code.