| 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 |
Amazonka.LicenseManager.ListResourceInventory
Description
Lists resources managed using Systems Manager inventory.
This operation returns paginated results.
Synopsis
- data ListResourceInventory = ListResourceInventory' {
- filters :: Maybe [InventoryFilter]
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- newListResourceInventory :: ListResourceInventory
- listResourceInventory_filters :: Lens' ListResourceInventory (Maybe [InventoryFilter])
- listResourceInventory_maxResults :: Lens' ListResourceInventory (Maybe Int)
- listResourceInventory_nextToken :: Lens' ListResourceInventory (Maybe Text)
- data ListResourceInventoryResponse = ListResourceInventoryResponse' {}
- newListResourceInventoryResponse :: Int -> ListResourceInventoryResponse
- listResourceInventoryResponse_nextToken :: Lens' ListResourceInventoryResponse (Maybe Text)
- listResourceInventoryResponse_resourceInventoryList :: Lens' ListResourceInventoryResponse (Maybe [ResourceInventory])
- listResourceInventoryResponse_httpStatus :: Lens' ListResourceInventoryResponse Int
Creating a Request
data ListResourceInventory Source #
See: newListResourceInventory smart constructor.
Constructors
| ListResourceInventory' | |
Fields
| |
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:maxResults:ListResourceInventory', listResourceInventory_maxResults - Maximum number of results to return in a single call.
ListResourceInventory, listResourceInventory_nextToken - Token for the next set of results.
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_maxResults :: Lens' ListResourceInventory (Maybe Int) Source #
Maximum number of results to return in a single call.
listResourceInventory_nextToken :: Lens' ListResourceInventory (Maybe Text) Source #
Token for the next set of results.
Destructuring the Response
data ListResourceInventoryResponse Source #
See: newListResourceInventoryResponse smart constructor.
Constructors
| ListResourceInventoryResponse' | |
Fields
| |
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:
ListResourceInventory, listResourceInventoryResponse_nextToken - Token for the next set of results.
$sel:resourceInventoryList:ListResourceInventoryResponse', listResourceInventoryResponse_resourceInventoryList - Information about the resources.
$sel:httpStatus:ListResourceInventoryResponse', listResourceInventoryResponse_httpStatus - The response's http status code.
Response Lenses
listResourceInventoryResponse_nextToken :: Lens' ListResourceInventoryResponse (Maybe Text) Source #
Token for the next set of results.
listResourceInventoryResponse_resourceInventoryList :: Lens' ListResourceInventoryResponse (Maybe [ResourceInventory]) Source #
Information about the resources.
listResourceInventoryResponse_httpStatus :: Lens' ListResourceInventoryResponse Int Source #
The response's http status code.