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 |
Displays the details of an offering. The response includes the offering description, duration, outbound bandwidth, price, and Amazon Resource Name (ARN).
Synopsis
- data DescribeOffering = DescribeOffering' {
- offeringArn :: Text
- newDescribeOffering :: Text -> DescribeOffering
- describeOffering_offeringArn :: Lens' DescribeOffering Text
- data DescribeOfferingResponse = DescribeOfferingResponse' {
- offering :: Maybe Offering
- httpStatus :: Int
- newDescribeOfferingResponse :: Int -> DescribeOfferingResponse
- describeOfferingResponse_offering :: Lens' DescribeOfferingResponse (Maybe Offering)
- describeOfferingResponse_httpStatus :: Lens' DescribeOfferingResponse Int
Creating a Request
data DescribeOffering Source #
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:offeringArn:DescribeOffering'
, describeOffering_offeringArn
- The Amazon Resource Name (ARN) of the offering.
Request Lenses
describeOffering_offeringArn :: Lens' DescribeOffering Text Source #
The Amazon Resource Name (ARN) of the offering.
Destructuring the Response
data DescribeOfferingResponse Source #
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:offering:DescribeOfferingResponse'
, describeOfferingResponse_offering
- Undocumented member.
$sel:httpStatus:DescribeOfferingResponse'
, describeOfferingResponse_httpStatus
- The response's http status code.
Response Lenses
describeOfferingResponse_offering :: Lens' DescribeOfferingResponse (Maybe Offering) Source #
Undocumented member.
describeOfferingResponse_httpStatus :: Lens' DescribeOfferingResponse Int Source #
The response's http status code.