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