| 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 |
Amazonka.Outposts.GetCatalogItem
Description
Gets information about the specified catalog item.
Synopsis
- data GetCatalogItem = GetCatalogItem' {}
- newGetCatalogItem :: Text -> GetCatalogItem
- getCatalogItem_catalogItemId :: Lens' GetCatalogItem Text
- data GetCatalogItemResponse = GetCatalogItemResponse' {}
- newGetCatalogItemResponse :: Int -> GetCatalogItemResponse
- getCatalogItemResponse_catalogItem :: Lens' GetCatalogItemResponse (Maybe CatalogItem)
- getCatalogItemResponse_httpStatus :: Lens' GetCatalogItemResponse Int
Creating a Request
data GetCatalogItem Source #
See: newGetCatalogItem smart constructor.
Constructors
| GetCatalogItem' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetCatalogItem |
Create a value of GetCatalogItem 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:
GetCatalogItem, getCatalogItem_catalogItemId - The ID of the catalog item.
Request Lenses
getCatalogItem_catalogItemId :: Lens' GetCatalogItem Text Source #
The ID of the catalog item.
Destructuring the Response
data GetCatalogItemResponse Source #
See: newGetCatalogItemResponse smart constructor.
Constructors
| GetCatalogItemResponse' | |
Fields
| |
Instances
newGetCatalogItemResponse Source #
Create a value of GetCatalogItemResponse 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:catalogItem:GetCatalogItemResponse', getCatalogItemResponse_catalogItem - Information about this catalog item.
$sel:httpStatus:GetCatalogItemResponse', getCatalogItemResponse_httpStatus - The response's http status code.
Response Lenses
getCatalogItemResponse_catalogItem :: Lens' GetCatalogItemResponse (Maybe CatalogItem) Source #
Information about this catalog item.
getCatalogItemResponse_httpStatus :: Lens' GetCatalogItemResponse Int Source #
The response's http status code.