Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves information about a specified product, run with administrator access.
- describeProductAsAdmin :: Text -> DescribeProductAsAdmin
- data DescribeProductAsAdmin
- dpaaAcceptLanguage :: Lens' DescribeProductAsAdmin (Maybe Text)
- dpaaId :: Lens' DescribeProductAsAdmin Text
- describeProductAsAdminResponse :: Int -> DescribeProductAsAdminResponse
- data DescribeProductAsAdminResponse
- dpaarsProductViewDetail :: Lens' DescribeProductAsAdminResponse (Maybe ProductViewDetail)
- dpaarsTags :: Lens' DescribeProductAsAdminResponse [Tag]
- dpaarsResponseStatus :: Lens' DescribeProductAsAdminResponse Int
Creating a Request
describeProductAsAdmin Source #
Creates a value of DescribeProductAsAdmin
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpaaAcceptLanguage
- The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.dpaaId
- The identifier of the product for which to retrieve information.
data DescribeProductAsAdmin Source #
See: describeProductAsAdmin
smart constructor.
Request Lenses
dpaaAcceptLanguage :: Lens' DescribeProductAsAdmin (Maybe Text) Source #
The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.
dpaaId :: Lens' DescribeProductAsAdmin Text Source #
The identifier of the product for which to retrieve information.
Destructuring the Response
describeProductAsAdminResponse Source #
Creates a value of DescribeProductAsAdminResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpaarsProductViewDetail
- Detailed product view information.dpaarsTags
- Tags associated with the product.dpaarsResponseStatus
- -- | The response status code.
data DescribeProductAsAdminResponse Source #
See: describeProductAsAdminResponse
smart constructor.
Response Lenses
dpaarsProductViewDetail :: Lens' DescribeProductAsAdminResponse (Maybe ProductViewDetail) Source #
Detailed product view information.
dpaarsTags :: Lens' DescribeProductAsAdminResponse [Tag] Source #
Tags associated with the product.
dpaarsResponseStatus :: Lens' DescribeProductAsAdminResponse Int Source #
- - | The response status code.