Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for CancelReservedInstancesListing.
- cancelReservedInstancesListing :: Text -> CancelReservedInstancesListing
- data CancelReservedInstancesListing
- crilReservedInstancesListingId :: Lens' CancelReservedInstancesListing Text
- cancelReservedInstancesListingResponse :: Int -> CancelReservedInstancesListingResponse
- data CancelReservedInstancesListingResponse
- crilrsReservedInstancesListings :: Lens' CancelReservedInstancesListingResponse [ReservedInstancesListing]
- crilrsStatus :: 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:
data CancelReservedInstancesListing Source
See: cancelReservedInstancesListing
smart constructor.
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:
data CancelReservedInstancesListingResponse Source
See: cancelReservedInstancesListingResponse
smart constructor.
Response Lenses
crilrsReservedInstancesListings :: Lens' CancelReservedInstancesListingResponse [ReservedInstancesListing] Source
The Reserved Instance listing.
crilrsStatus :: Lens' CancelReservedInstancesListingResponse Int Source
The response status code.