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 the bundle details for the requested bundle id.
Synopsis
- data DescribeBundle = DescribeBundle' {}
- newDescribeBundle :: Text -> DescribeBundle
- describeBundle_bundleId :: Lens' DescribeBundle Text
- data DescribeBundleResponse = DescribeBundleResponse' {}
- newDescribeBundleResponse :: Int -> DescribeBundleResponse
- describeBundleResponse_details :: Lens' DescribeBundleResponse (Maybe BundleDetails)
- describeBundleResponse_httpStatus :: Lens' DescribeBundleResponse Int
Creating a Request
data DescribeBundle Source #
Request structure to request the details of a specific bundle.
See: newDescribeBundle
smart constructor.
Instances
Create a value of DescribeBundle
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:bundleId:DescribeBundle'
, describeBundle_bundleId
- Unique bundle identifier.
Request Lenses
describeBundle_bundleId :: Lens' DescribeBundle Text Source #
Unique bundle identifier.
Destructuring the Response
data DescribeBundleResponse Source #
Result structure contains the details of the bundle.
See: newDescribeBundleResponse
smart constructor.
DescribeBundleResponse' | |
|
Instances
newDescribeBundleResponse Source #
Create a value of DescribeBundleResponse
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:details:DescribeBundleResponse'
, describeBundleResponse_details
- The details of the bundle.
$sel:httpStatus:DescribeBundleResponse'
, describeBundleResponse_httpStatus
- The response's http status code.
Response Lenses
describeBundleResponse_details :: Lens' DescribeBundleResponse (Maybe BundleDetails) Source #
The details of the bundle.
describeBundleResponse_httpStatus :: Lens' DescribeBundleResponse Int Source #
The response's http status code.