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 |
Gets the status of the specified copy product operation.
Synopsis
- data DescribeCopyProductStatus = DescribeCopyProductStatus' {}
- newDescribeCopyProductStatus :: Text -> DescribeCopyProductStatus
- describeCopyProductStatus_acceptLanguage :: Lens' DescribeCopyProductStatus (Maybe Text)
- describeCopyProductStatus_copyProductToken :: Lens' DescribeCopyProductStatus Text
- data DescribeCopyProductStatusResponse = DescribeCopyProductStatusResponse' {}
- newDescribeCopyProductStatusResponse :: Int -> DescribeCopyProductStatusResponse
- describeCopyProductStatusResponse_targetProductId :: Lens' DescribeCopyProductStatusResponse (Maybe Text)
- describeCopyProductStatusResponse_copyProductStatus :: Lens' DescribeCopyProductStatusResponse (Maybe CopyProductStatus)
- describeCopyProductStatusResponse_statusDetail :: Lens' DescribeCopyProductStatusResponse (Maybe Text)
- describeCopyProductStatusResponse_httpStatus :: Lens' DescribeCopyProductStatusResponse Int
Creating a Request
data DescribeCopyProductStatus Source #
See: newDescribeCopyProductStatus
smart constructor.
DescribeCopyProductStatus' | |
|
Instances
newDescribeCopyProductStatus Source #
Create a value of DescribeCopyProductStatus
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:acceptLanguage:DescribeCopyProductStatus'
, describeCopyProductStatus_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:copyProductToken:DescribeCopyProductStatus'
, describeCopyProductStatus_copyProductToken
- The token for the copy product operation. This token is returned by
CopyProduct.
Request Lenses
describeCopyProductStatus_acceptLanguage :: Lens' DescribeCopyProductStatus (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
describeCopyProductStatus_copyProductToken :: Lens' DescribeCopyProductStatus Text Source #
The token for the copy product operation. This token is returned by CopyProduct.
Destructuring the Response
data DescribeCopyProductStatusResponse Source #
See: newDescribeCopyProductStatusResponse
smart constructor.
DescribeCopyProductStatusResponse' | |
|
Instances
newDescribeCopyProductStatusResponse Source #
Create a value of DescribeCopyProductStatusResponse
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:targetProductId:DescribeCopyProductStatusResponse'
, describeCopyProductStatusResponse_targetProductId
- The identifier of the copied product.
$sel:copyProductStatus:DescribeCopyProductStatusResponse'
, describeCopyProductStatusResponse_copyProductStatus
- The status of the copy product operation.
$sel:statusDetail:DescribeCopyProductStatusResponse'
, describeCopyProductStatusResponse_statusDetail
- The status message.
$sel:httpStatus:DescribeCopyProductStatusResponse'
, describeCopyProductStatusResponse_httpStatus
- The response's http status code.
Response Lenses
describeCopyProductStatusResponse_targetProductId :: Lens' DescribeCopyProductStatusResponse (Maybe Text) Source #
The identifier of the copied product.
describeCopyProductStatusResponse_copyProductStatus :: Lens' DescribeCopyProductStatusResponse (Maybe CopyProductStatus) Source #
The status of the copy product operation.
describeCopyProductStatusResponse_statusDetail :: Lens' DescribeCopyProductStatusResponse (Maybe Text) Source #
The status message.
describeCopyProductStatusResponse_httpStatus :: Lens' DescribeCopyProductStatusResponse Int Source #
The response's http status code.