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 |
Get details for an offering.
Synopsis
- data DescribeOffering = DescribeOffering' {
- offeringId :: Text
- newDescribeOffering :: Text -> DescribeOffering
- describeOffering_offeringId :: Lens' DescribeOffering Text
- data DescribeOfferingResponse = DescribeOfferingResponse' {
- resourceSpecification :: Maybe ReservationResourceSpecification
- currencyCode :: Maybe Text
- arn :: 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
- httpStatus :: Int
- newDescribeOfferingResponse :: Int -> DescribeOfferingResponse
- describeOfferingResponse_resourceSpecification :: Lens' DescribeOfferingResponse (Maybe ReservationResourceSpecification)
- describeOfferingResponse_currencyCode :: Lens' DescribeOfferingResponse (Maybe Text)
- describeOfferingResponse_arn :: Lens' DescribeOfferingResponse (Maybe Text)
- describeOfferingResponse_offeringId :: Lens' DescribeOfferingResponse (Maybe Text)
- describeOfferingResponse_region :: Lens' DescribeOfferingResponse (Maybe Text)
- describeOfferingResponse_offeringType :: Lens' DescribeOfferingResponse (Maybe OfferingType)
- describeOfferingResponse_usagePrice :: Lens' DescribeOfferingResponse (Maybe Double)
- describeOfferingResponse_fixedPrice :: Lens' DescribeOfferingResponse (Maybe Double)
- describeOfferingResponse_durationUnits :: Lens' DescribeOfferingResponse (Maybe OfferingDurationUnits)
- describeOfferingResponse_offeringDescription :: Lens' DescribeOfferingResponse (Maybe Text)
- describeOfferingResponse_duration :: Lens' DescribeOfferingResponse (Maybe Int)
- describeOfferingResponse_httpStatus :: Lens' DescribeOfferingResponse Int
Creating a Request
data DescribeOffering Source #
Placeholder documentation for DescribeOfferingRequest
See: newDescribeOffering
smart constructor.
DescribeOffering' | |
|
Instances
Create a value of DescribeOffering
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:offeringId:DescribeOffering'
, describeOffering_offeringId
- Unique offering ID, e.g. '87654321'
Request Lenses
describeOffering_offeringId :: Lens' DescribeOffering Text Source #
Unique offering ID, e.g. '87654321'
Destructuring the Response
data DescribeOfferingResponse Source #
Placeholder documentation for DescribeOfferingResponse
See: newDescribeOfferingResponse
smart constructor.
DescribeOfferingResponse' | |
|
Instances
newDescribeOfferingResponse Source #
Create a value of DescribeOfferingResponse
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:resourceSpecification:DescribeOfferingResponse'
, describeOfferingResponse_resourceSpecification
- Resource configuration details
$sel:currencyCode:DescribeOfferingResponse'
, describeOfferingResponse_currencyCode
- Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.
'USD'
$sel:arn:DescribeOfferingResponse'
, describeOfferingResponse_arn
- Unique offering ARN, e.g.
'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
$sel:offeringId:DescribeOffering'
, describeOfferingResponse_offeringId
- Unique offering ID, e.g. '87654321'
$sel:region:DescribeOfferingResponse'
, describeOfferingResponse_region
- AWS region, e.g. 'us-west-2'
$sel:offeringType:DescribeOfferingResponse'
, describeOfferingResponse_offeringType
- Offering type, e.g. 'NO_UPFRONT'
$sel:usagePrice:DescribeOfferingResponse'
, describeOfferingResponse_usagePrice
- Recurring usage charge for each reserved resource, e.g. '157.0'
$sel:fixedPrice:DescribeOfferingResponse'
, describeOfferingResponse_fixedPrice
- One-time charge for each reserved resource, e.g. '0.0' for a
NO_UPFRONT offering
$sel:durationUnits:DescribeOfferingResponse'
, describeOfferingResponse_durationUnits
- Units for duration, e.g. 'MONTHS'
$sel:offeringDescription:DescribeOfferingResponse'
, describeOfferingResponse_offeringDescription
- Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and
standard VQ in US West (Oregon)'
$sel:duration:DescribeOfferingResponse'
, describeOfferingResponse_duration
- Lease duration, e.g. '12'
$sel:httpStatus:DescribeOfferingResponse'
, describeOfferingResponse_httpStatus
- The response's http status code.
Response Lenses
describeOfferingResponse_resourceSpecification :: Lens' DescribeOfferingResponse (Maybe ReservationResourceSpecification) Source #
Resource configuration details
describeOfferingResponse_currencyCode :: Lens' DescribeOfferingResponse (Maybe Text) Source #
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'
describeOfferingResponse_arn :: Lens' DescribeOfferingResponse (Maybe Text) Source #
Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'
describeOfferingResponse_offeringId :: Lens' DescribeOfferingResponse (Maybe Text) Source #
Unique offering ID, e.g. '87654321'
describeOfferingResponse_region :: Lens' DescribeOfferingResponse (Maybe Text) Source #
AWS region, e.g. 'us-west-2'
describeOfferingResponse_offeringType :: Lens' DescribeOfferingResponse (Maybe OfferingType) Source #
Offering type, e.g. 'NO_UPFRONT'
describeOfferingResponse_usagePrice :: Lens' DescribeOfferingResponse (Maybe Double) Source #
Recurring usage charge for each reserved resource, e.g. '157.0'
describeOfferingResponse_fixedPrice :: Lens' DescribeOfferingResponse (Maybe Double) Source #
One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering
describeOfferingResponse_durationUnits :: Lens' DescribeOfferingResponse (Maybe OfferingDurationUnits) Source #
Units for duration, e.g. 'MONTHS'
describeOfferingResponse_offeringDescription :: Lens' DescribeOfferingResponse (Maybe Text) Source #
Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'
describeOfferingResponse_duration :: Lens' DescribeOfferingResponse (Maybe Int) Source #
Lease duration, e.g. '12'
describeOfferingResponse_httpStatus :: Lens' DescribeOfferingResponse Int Source #
The response's http status code.