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 |
Describes a specific delete inventory operation.
This operation returns paginated results.
Synopsis
- data DescribeInventoryDeletions = DescribeInventoryDeletions' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- deletionId :: Maybe Text
- newDescribeInventoryDeletions :: DescribeInventoryDeletions
- describeInventoryDeletions_nextToken :: Lens' DescribeInventoryDeletions (Maybe Text)
- describeInventoryDeletions_maxResults :: Lens' DescribeInventoryDeletions (Maybe Natural)
- describeInventoryDeletions_deletionId :: Lens' DescribeInventoryDeletions (Maybe Text)
- data DescribeInventoryDeletionsResponse = DescribeInventoryDeletionsResponse' {}
- newDescribeInventoryDeletionsResponse :: Int -> DescribeInventoryDeletionsResponse
- describeInventoryDeletionsResponse_inventoryDeletions :: Lens' DescribeInventoryDeletionsResponse (Maybe [InventoryDeletionStatusItem])
- describeInventoryDeletionsResponse_nextToken :: Lens' DescribeInventoryDeletionsResponse (Maybe Text)
- describeInventoryDeletionsResponse_httpStatus :: Lens' DescribeInventoryDeletionsResponse Int
Creating a Request
data DescribeInventoryDeletions Source #
See: newDescribeInventoryDeletions
smart constructor.
DescribeInventoryDeletions' | |
|
Instances
newDescribeInventoryDeletions :: DescribeInventoryDeletions Source #
Create a value of DescribeInventoryDeletions
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:nextToken:DescribeInventoryDeletions'
, describeInventoryDeletions_nextToken
- A token to start the list. Use this token to get the next set of
results.
$sel:maxResults:DescribeInventoryDeletions'
, describeInventoryDeletions_maxResults
- The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
$sel:deletionId:DescribeInventoryDeletions'
, describeInventoryDeletions_deletionId
- Specify the delete inventory ID for which you want information. This ID
was returned by the DeleteInventory
operation.
Request Lenses
describeInventoryDeletions_nextToken :: Lens' DescribeInventoryDeletions (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
describeInventoryDeletions_maxResults :: Lens' DescribeInventoryDeletions (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
describeInventoryDeletions_deletionId :: Lens' DescribeInventoryDeletions (Maybe Text) Source #
Specify the delete inventory ID for which you want information. This ID
was returned by the DeleteInventory
operation.
Destructuring the Response
data DescribeInventoryDeletionsResponse Source #
See: newDescribeInventoryDeletionsResponse
smart constructor.
DescribeInventoryDeletionsResponse' | |
|
Instances
newDescribeInventoryDeletionsResponse Source #
Create a value of DescribeInventoryDeletionsResponse
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:inventoryDeletions:DescribeInventoryDeletionsResponse'
, describeInventoryDeletionsResponse_inventoryDeletions
- A list of status items for deleted inventory.
$sel:nextToken:DescribeInventoryDeletions'
, describeInventoryDeletionsResponse_nextToken
- The token for the next set of items to return. Use this token to get the
next set of results.
$sel:httpStatus:DescribeInventoryDeletionsResponse'
, describeInventoryDeletionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeInventoryDeletionsResponse_inventoryDeletions :: Lens' DescribeInventoryDeletionsResponse (Maybe [InventoryDeletionStatusItem]) Source #
A list of status items for deleted inventory.
describeInventoryDeletionsResponse_nextToken :: Lens' DescribeInventoryDeletionsResponse (Maybe Text) Source #
The token for the next set of items to return. Use this token to get the next set of results.
describeInventoryDeletionsResponse_httpStatus :: Lens' DescribeInventoryDeletionsResponse Int Source #
The response's http status code.