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 |
Synopsis
- data ReservedInstancesListing = ReservedInstancesListing' {
- clientToken :: Maybe Text
- createDate :: Maybe ISO8601
- instanceCounts :: Maybe [InstanceCount]
- priceSchedules :: Maybe [PriceSchedule]
- reservedInstancesId :: Maybe Text
- reservedInstancesListingId :: Maybe Text
- status :: Maybe ListingStatus
- statusMessage :: Maybe Text
- tags :: Maybe [Tag]
- updateDate :: Maybe ISO8601
- newReservedInstancesListing :: ReservedInstancesListing
- reservedInstancesListing_clientToken :: Lens' ReservedInstancesListing (Maybe Text)
- reservedInstancesListing_createDate :: Lens' ReservedInstancesListing (Maybe UTCTime)
- reservedInstancesListing_instanceCounts :: Lens' ReservedInstancesListing (Maybe [InstanceCount])
- reservedInstancesListing_priceSchedules :: Lens' ReservedInstancesListing (Maybe [PriceSchedule])
- reservedInstancesListing_reservedInstancesId :: Lens' ReservedInstancesListing (Maybe Text)
- reservedInstancesListing_reservedInstancesListingId :: Lens' ReservedInstancesListing (Maybe Text)
- reservedInstancesListing_status :: Lens' ReservedInstancesListing (Maybe ListingStatus)
- reservedInstancesListing_statusMessage :: Lens' ReservedInstancesListing (Maybe Text)
- reservedInstancesListing_tags :: Lens' ReservedInstancesListing (Maybe [Tag])
- reservedInstancesListing_updateDate :: Lens' ReservedInstancesListing (Maybe UTCTime)
Documentation
data ReservedInstancesListing Source #
Describes a Reserved Instance listing.
See: newReservedInstancesListing
smart constructor.
ReservedInstancesListing' | |
|
Instances
newReservedInstancesListing :: ReservedInstancesListing Source #
Create a value of ReservedInstancesListing
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:clientToken:ReservedInstancesListing'
, reservedInstancesListing_clientToken
- A unique, case-sensitive key supplied by the client to ensure that the
request is idempotent. For more information, see
Ensuring Idempotency.
$sel:createDate:ReservedInstancesListing'
, reservedInstancesListing_createDate
- The time the listing was created.
$sel:instanceCounts:ReservedInstancesListing'
, reservedInstancesListing_instanceCounts
- The number of instances in this state.
$sel:priceSchedules:ReservedInstancesListing'
, reservedInstancesListing_priceSchedules
- The price of the Reserved Instance listing.
$sel:reservedInstancesId:ReservedInstancesListing'
, reservedInstancesListing_reservedInstancesId
- The ID of the Reserved Instance.
$sel:reservedInstancesListingId:ReservedInstancesListing'
, reservedInstancesListing_reservedInstancesListingId
- The ID of the Reserved Instance listing.
$sel:status:ReservedInstancesListing'
, reservedInstancesListing_status
- The status of the Reserved Instance listing.
$sel:statusMessage:ReservedInstancesListing'
, reservedInstancesListing_statusMessage
- The reason for the current status of the Reserved Instance listing. The
response can be blank.
$sel:tags:ReservedInstancesListing'
, reservedInstancesListing_tags
- Any tags assigned to the resource.
$sel:updateDate:ReservedInstancesListing'
, reservedInstancesListing_updateDate
- The last modified timestamp of the listing.
reservedInstancesListing_clientToken :: Lens' ReservedInstancesListing (Maybe Text) Source #
A unique, case-sensitive key supplied by the client to ensure that the request is idempotent. For more information, see Ensuring Idempotency.
reservedInstancesListing_createDate :: Lens' ReservedInstancesListing (Maybe UTCTime) Source #
The time the listing was created.
reservedInstancesListing_instanceCounts :: Lens' ReservedInstancesListing (Maybe [InstanceCount]) Source #
The number of instances in this state.
reservedInstancesListing_priceSchedules :: Lens' ReservedInstancesListing (Maybe [PriceSchedule]) Source #
The price of the Reserved Instance listing.
reservedInstancesListing_reservedInstancesId :: Lens' ReservedInstancesListing (Maybe Text) Source #
The ID of the Reserved Instance.
reservedInstancesListing_reservedInstancesListingId :: Lens' ReservedInstancesListing (Maybe Text) Source #
The ID of the Reserved Instance listing.
reservedInstancesListing_status :: Lens' ReservedInstancesListing (Maybe ListingStatus) Source #
The status of the Reserved Instance listing.
reservedInstancesListing_statusMessage :: Lens' ReservedInstancesListing (Maybe Text) Source #
The reason for the current status of the Reserved Instance listing. The response can be blank.
reservedInstancesListing_tags :: Lens' ReservedInstancesListing (Maybe [Tag]) Source #
Any tags assigned to the resource.
reservedInstancesListing_updateDate :: Lens' ReservedInstancesListing (Maybe UTCTime) Source #
The last modified timestamp of the listing.