| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.EC2.CancelReservedInstancesListing
Description
Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace.
For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide .
Synopsis
- cancelReservedInstancesListing :: Text -> CancelReservedInstancesListing
- data CancelReservedInstancesListing
- crilReservedInstancesListingId :: Lens' CancelReservedInstancesListing Text
- cancelReservedInstancesListingResponse :: Int -> CancelReservedInstancesListingResponse
- data CancelReservedInstancesListingResponse
- crilrsReservedInstancesListings :: Lens' CancelReservedInstancesListingResponse [ReservedInstancesListing]
- crilrsResponseStatus :: Lens' CancelReservedInstancesListingResponse Int
Creating a Request
cancelReservedInstancesListing Source #
Creates a value of CancelReservedInstancesListing with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crilReservedInstancesListingId- The ID of the Reserved Instance listing.
data CancelReservedInstancesListing Source #
Contains the parameters for CancelReservedInstancesListing.
See: cancelReservedInstancesListing smart constructor.
Instances
Request Lenses
crilReservedInstancesListingId :: Lens' CancelReservedInstancesListing Text Source #
The ID of the Reserved Instance listing.
Destructuring the Response
cancelReservedInstancesListingResponse Source #
Creates a value of CancelReservedInstancesListingResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crilrsReservedInstancesListings- The Reserved Instance listing.crilrsResponseStatus- -- | The response status code.
data CancelReservedInstancesListingResponse Source #
Contains the output of CancelReservedInstancesListing.
See: cancelReservedInstancesListingResponse smart constructor.
Instances
Response Lenses
crilrsReservedInstancesListings :: Lens' CancelReservedInstancesListingResponse [ReservedInstancesListing] Source #
The Reserved Instance listing.
crilrsResponseStatus :: Lens' CancelReservedInstancesListingResponse Int Source #
- - | The response status code.