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