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 |
Delete an expired reservation.
Synopsis
- data DeleteReservation = DeleteReservation' {}
- newDeleteReservation :: Text -> DeleteReservation
- deleteReservation_reservationId :: Lens' DeleteReservation Text
- data DeleteReservationResponse = DeleteReservationResponse' {
- arn :: Maybe Text
- count :: Maybe Int
- currencyCode :: Maybe Text
- duration :: Maybe Int
- durationUnits :: Maybe OfferingDurationUnits
- end :: Maybe Text
- fixedPrice :: Maybe Double
- name :: Maybe Text
- offeringDescription :: Maybe Text
- offeringId :: Maybe Text
- offeringType :: Maybe OfferingType
- region :: Maybe Text
- renewalSettings :: Maybe RenewalSettings
- reservationId :: Maybe Text
- resourceSpecification :: Maybe ReservationResourceSpecification
- start :: Maybe Text
- state :: Maybe ReservationState
- tags :: Maybe (HashMap Text Text)
- usagePrice :: Maybe Double
- httpStatus :: Int
- newDeleteReservationResponse :: Int -> DeleteReservationResponse
- deleteReservationResponse_arn :: Lens' DeleteReservationResponse (Maybe Text)
- deleteReservationResponse_count :: Lens' DeleteReservationResponse (Maybe Int)
- deleteReservationResponse_currencyCode :: Lens' DeleteReservationResponse (Maybe Text)
- deleteReservationResponse_duration :: Lens' DeleteReservationResponse (Maybe Int)
- deleteReservationResponse_durationUnits :: Lens' DeleteReservationResponse (Maybe OfferingDurationUnits)
- deleteReservationResponse_end :: Lens' DeleteReservationResponse (Maybe Text)
- deleteReservationResponse_fixedPrice :: Lens' DeleteReservationResponse (Maybe Double)
- deleteReservationResponse_name :: Lens' DeleteReservationResponse (Maybe Text)
- deleteReservationResponse_offeringDescription :: Lens' DeleteReservationResponse (Maybe Text)
- deleteReservationResponse_offeringId :: Lens' DeleteReservationResponse (Maybe Text)
- deleteReservationResponse_offeringType :: Lens' DeleteReservationResponse (Maybe OfferingType)
- deleteReservationResponse_region :: Lens' DeleteReservationResponse (Maybe Text)
- deleteReservationResponse_renewalSettings :: Lens' DeleteReservationResponse (Maybe RenewalSettings)
- deleteReservationResponse_reservationId :: Lens' DeleteReservationResponse (Maybe Text)
- deleteReservationResponse_resourceSpecification :: Lens' DeleteReservationResponse (Maybe ReservationResourceSpecification)
- deleteReservationResponse_start :: Lens' DeleteReservationResponse (Maybe Text)
- deleteReservationResponse_state :: Lens' DeleteReservationResponse (Maybe ReservationState)
- deleteReservationResponse_tags :: Lens' DeleteReservationResponse (Maybe (HashMap Text Text))
- deleteReservationResponse_usagePrice :: Lens' DeleteReservationResponse (Maybe Double)
- deleteReservationResponse_httpStatus :: Lens' DeleteReservationResponse Int
Creating a Request
data DeleteReservation Source #
Placeholder documentation for DeleteReservationRequest
See: newDeleteReservation
smart constructor.
DeleteReservation' | |
|
Instances
Create a value of DeleteReservation
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:
DeleteReservation
, deleteReservation_reservationId
- Unique reservation ID, e.g. '1234567'
Request Lenses
deleteReservation_reservationId :: Lens' DeleteReservation Text Source #
Unique reservation ID, e.g. '1234567'
Destructuring the Response
data DeleteReservationResponse Source #
Placeholder documentation for DeleteReservationResponse
See: newDeleteReservationResponse
smart constructor.
DeleteReservationResponse' | |
|
Instances
newDeleteReservationResponse Source #
Create a value of DeleteReservationResponse
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:
DeleteReservationResponse
, deleteReservationResponse_arn
- Unique reservation ARN, e.g.
'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
DeleteReservationResponse
, deleteReservationResponse_count
- Number of reserved resources
DeleteReservationResponse
, deleteReservationResponse_currencyCode
- Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
'USD'
DeleteReservationResponse
, deleteReservationResponse_duration
- Lease duration, e.g. '12'
DeleteReservationResponse
, deleteReservationResponse_durationUnits
- Units for duration, e.g. 'MONTHS'
DeleteReservationResponse
, deleteReservationResponse_end
- Reservation UTC end date and time in ISO-8601 format, e.g.
'2019-03-01T00:00:00'
DeleteReservationResponse
, deleteReservationResponse_fixedPrice
- One-time charge for each reserved resource, e.g. '0.0' for a
NO_UPFRONT offering
DeleteReservationResponse
, deleteReservationResponse_name
- User specified reservation name
DeleteReservationResponse
, deleteReservationResponse_offeringDescription
- Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and
standard VQ in US West (Oregon)'
DeleteReservationResponse
, deleteReservationResponse_offeringId
- Unique offering ID, e.g. '87654321'
DeleteReservationResponse
, deleteReservationResponse_offeringType
- Offering type, e.g. 'NO_UPFRONT'
DeleteReservationResponse
, deleteReservationResponse_region
- AWS region, e.g. 'us-west-2'
DeleteReservationResponse
, deleteReservationResponse_renewalSettings
- Renewal settings for the reservation
DeleteReservation
, deleteReservationResponse_reservationId
- Unique reservation ID, e.g. '1234567'
DeleteReservationResponse
, deleteReservationResponse_resourceSpecification
- Resource configuration details
DeleteReservationResponse
, deleteReservationResponse_start
- Reservation UTC start date and time in ISO-8601 format, e.g.
'2018-03-01T00:00:00'
DeleteReservationResponse
, deleteReservationResponse_state
- Current state of reservation, e.g. 'ACTIVE'
DeleteReservationResponse
, deleteReservationResponse_tags
- A collection of key-value pairs
DeleteReservationResponse
, deleteReservationResponse_usagePrice
- Recurring usage charge for each reserved resource, e.g. '157.0'
$sel:httpStatus:DeleteReservationResponse'
, deleteReservationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteReservationResponse_arn :: Lens' DeleteReservationResponse (Maybe Text) Source #
Unique reservation ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:reservation:1234567'
deleteReservationResponse_count :: Lens' DeleteReservationResponse (Maybe Int) Source #
Number of reserved resources
deleteReservationResponse_currencyCode :: Lens' DeleteReservationResponse (Maybe Text) Source #
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
deleteReservationResponse_duration :: Lens' DeleteReservationResponse (Maybe Int) Source #
Lease duration, e.g. '12'
deleteReservationResponse_durationUnits :: Lens' DeleteReservationResponse (Maybe OfferingDurationUnits) Source #
Units for duration, e.g. 'MONTHS'
deleteReservationResponse_end :: Lens' DeleteReservationResponse (Maybe Text) Source #
Reservation UTC end date and time in ISO-8601 format, e.g. '2019-03-01T00:00:00'
deleteReservationResponse_fixedPrice :: Lens' DeleteReservationResponse (Maybe Double) Source #
One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
deleteReservationResponse_name :: Lens' DeleteReservationResponse (Maybe Text) Source #
User specified reservation name
deleteReservationResponse_offeringDescription :: Lens' DeleteReservationResponse (Maybe Text) Source #
Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
deleteReservationResponse_offeringId :: Lens' DeleteReservationResponse (Maybe Text) Source #
Unique offering ID, e.g. '87654321'
deleteReservationResponse_offeringType :: Lens' DeleteReservationResponse (Maybe OfferingType) Source #
Offering type, e.g. 'NO_UPFRONT'
deleteReservationResponse_region :: Lens' DeleteReservationResponse (Maybe Text) Source #
AWS region, e.g. 'us-west-2'
deleteReservationResponse_renewalSettings :: Lens' DeleteReservationResponse (Maybe RenewalSettings) Source #
Renewal settings for the reservation
deleteReservationResponse_reservationId :: Lens' DeleteReservationResponse (Maybe Text) Source #
Unique reservation ID, e.g. '1234567'
deleteReservationResponse_resourceSpecification :: Lens' DeleteReservationResponse (Maybe ReservationResourceSpecification) Source #
Resource configuration details
deleteReservationResponse_start :: Lens' DeleteReservationResponse (Maybe Text) Source #
Reservation UTC start date and time in ISO-8601 format, e.g. '2018-03-01T00:00:00'
deleteReservationResponse_state :: Lens' DeleteReservationResponse (Maybe ReservationState) Source #
Current state of reservation, e.g. 'ACTIVE'
deleteReservationResponse_tags :: Lens' DeleteReservationResponse (Maybe (HashMap Text Text)) Source #
A collection of key-value pairs
deleteReservationResponse_usagePrice :: Lens' DeleteReservationResponse (Maybe Double) Source #
Recurring usage charge for each reserved resource, e.g. '157.0'
deleteReservationResponse_httpStatus :: Lens' DeleteReservationResponse Int Source #
The response's http status code.