Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists resources managed using Systems Manager inventory.
This operation returns paginated results.
Synopsis
- data ListResourceInventory = ListResourceInventory' {
- filters :: Maybe [InventoryFilter]
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- newListResourceInventory :: ListResourceInventory
- listResourceInventory_filters :: Lens' ListResourceInventory (Maybe [InventoryFilter])
- listResourceInventory_nextToken :: Lens' ListResourceInventory (Maybe Text)
- listResourceInventory_maxResults :: Lens' ListResourceInventory (Maybe Int)
- data ListResourceInventoryResponse = ListResourceInventoryResponse' {}
- newListResourceInventoryResponse :: Int -> ListResourceInventoryResponse
- listResourceInventoryResponse_resourceInventoryList :: Lens' ListResourceInventoryResponse (Maybe [ResourceInventory])
- listResourceInventoryResponse_nextToken :: Lens' ListResourceInventoryResponse (Maybe Text)
- listResourceInventoryResponse_httpStatus :: Lens' ListResourceInventoryResponse Int
Creating a Request
data ListResourceInventory Source #
See: newListResourceInventory
smart constructor.
ListResourceInventory' | |
|
Instances
newListResourceInventory :: ListResourceInventory Source #
Create a value of ListResourceInventory
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:filters:ListResourceInventory'
, listResourceInventory_filters
- Filters to scope the results. The following filters and logical
operators are supported:
account_id
- The ID of the Amazon Web Services account that owns the resource. Logical operators areEQUALS
|NOT_EQUALS
.application_name
- The name of the application. Logical operators areEQUALS
|BEGINS_WITH
.license_included
- The type of license included. Logical operators areEQUALS
|NOT_EQUALS
. Possible values aresql-server-enterprise
|sql-server-standard
|sql-server-web
|windows-server-datacenter
.platform
- The platform of the resource. Logical operators areEQUALS
|BEGINS_WITH
.resource_id
- The ID of the resource. Logical operators areEQUALS
|NOT_EQUALS
.tag:<key>
- The key/value combination of a tag assigned to the resource. Logical operators areEQUALS
(single account) orEQUALS
|NOT_EQUALS
(cross account).
$sel:nextToken:ListResourceInventory'
, listResourceInventory_nextToken
- Token for the next set of results.
$sel:maxResults:ListResourceInventory'
, listResourceInventory_maxResults
- Maximum number of results to return in a single call.
Request Lenses
listResourceInventory_filters :: Lens' ListResourceInventory (Maybe [InventoryFilter]) Source #
Filters to scope the results. The following filters and logical operators are supported:
account_id
- The ID of the Amazon Web Services account that owns the resource. Logical operators areEQUALS
|NOT_EQUALS
.application_name
- The name of the application. Logical operators areEQUALS
|BEGINS_WITH
.license_included
- The type of license included. Logical operators areEQUALS
|NOT_EQUALS
. Possible values aresql-server-enterprise
|sql-server-standard
|sql-server-web
|windows-server-datacenter
.platform
- The platform of the resource. Logical operators areEQUALS
|BEGINS_WITH
.resource_id
- The ID of the resource. Logical operators areEQUALS
|NOT_EQUALS
.tag:<key>
- The key/value combination of a tag assigned to the resource. Logical operators areEQUALS
(single account) orEQUALS
|NOT_EQUALS
(cross account).
listResourceInventory_nextToken :: Lens' ListResourceInventory (Maybe Text) Source #
Token for the next set of results.
listResourceInventory_maxResults :: Lens' ListResourceInventory (Maybe Int) Source #
Maximum number of results to return in a single call.
Destructuring the Response
data ListResourceInventoryResponse Source #
See: newListResourceInventoryResponse
smart constructor.
ListResourceInventoryResponse' | |
|
Instances
newListResourceInventoryResponse Source #
Create a value of ListResourceInventoryResponse
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:resourceInventoryList:ListResourceInventoryResponse'
, listResourceInventoryResponse_resourceInventoryList
- Information about the resources.
$sel:nextToken:ListResourceInventory'
, listResourceInventoryResponse_nextToken
- Token for the next set of results.
$sel:httpStatus:ListResourceInventoryResponse'
, listResourceInventoryResponse_httpStatus
- The response's http status code.
Response Lenses
listResourceInventoryResponse_resourceInventoryList :: Lens' ListResourceInventoryResponse (Maybe [ResourceInventory]) Source #
Information about the resources.
listResourceInventoryResponse_nextToken :: Lens' ListResourceInventoryResponse (Maybe Text) Source #
Token for the next set of results.
listResourceInventoryResponse_httpStatus :: Lens' ListResourceInventoryResponse Int Source #
The response's http status code.