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 |
Updates an existing provisioning artifact's information. This operation will not work on a provisioning artifact associated with a product that has been shared with you.
- updateProvisioningArtifact :: Text -> Text -> UpdateProvisioningArtifact
- data UpdateProvisioningArtifact
- upaName :: Lens' UpdateProvisioningArtifact (Maybe Text)
- upaAcceptLanguage :: Lens' UpdateProvisioningArtifact (Maybe Text)
- upaDescription :: Lens' UpdateProvisioningArtifact (Maybe Text)
- upaProductId :: Lens' UpdateProvisioningArtifact Text
- upaProvisioningArtifactId :: Lens' UpdateProvisioningArtifact Text
- updateProvisioningArtifactResponse :: Int -> UpdateProvisioningArtifactResponse
- data UpdateProvisioningArtifactResponse
- uparsStatus :: Lens' UpdateProvisioningArtifactResponse (Maybe RequestStatus)
- uparsInfo :: Lens' UpdateProvisioningArtifactResponse (HashMap Text Text)
- uparsProvisioningArtifactDetail :: Lens' UpdateProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail)
- uparsResponseStatus :: Lens' UpdateProvisioningArtifactResponse Int
Creating a Request
updateProvisioningArtifact Source #
Creates a value of UpdateProvisioningArtifact
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upaName
- The updated name of the provisioning artifact.upaAcceptLanguage
- 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.upaDescription
- The updated text description of the provisioning artifact.upaProductId
- The product identifier.upaProvisioningArtifactId
- The identifier of the provisioning artifact for the update request.
data UpdateProvisioningArtifact Source #
See: updateProvisioningArtifact
smart constructor.
Request Lenses
upaName :: Lens' UpdateProvisioningArtifact (Maybe Text) Source #
The updated name of the provisioning artifact.
upaAcceptLanguage :: Lens' UpdateProvisioningArtifact (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.
upaDescription :: Lens' UpdateProvisioningArtifact (Maybe Text) Source #
The updated text description of the provisioning artifact.
upaProductId :: Lens' UpdateProvisioningArtifact Text Source #
The product identifier.
upaProvisioningArtifactId :: Lens' UpdateProvisioningArtifact Text Source #
The identifier of the provisioning artifact for the update request.
Destructuring the Response
updateProvisioningArtifactResponse Source #
Creates a value of UpdateProvisioningArtifactResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uparsStatus
- The status of the current request.uparsInfo
- Additional information about the provisioning artifact update request.uparsProvisioningArtifactDetail
- The resulting detailed provisioning artifact information.uparsResponseStatus
- -- | The response status code.
data UpdateProvisioningArtifactResponse Source #
See: updateProvisioningArtifactResponse
smart constructor.
Response Lenses
uparsStatus :: Lens' UpdateProvisioningArtifactResponse (Maybe RequestStatus) Source #
The status of the current request.
uparsInfo :: Lens' UpdateProvisioningArtifactResponse (HashMap Text Text) Source #
Additional information about the provisioning artifact update request.
uparsProvisioningArtifactDetail :: Lens' UpdateProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail) Source #
The resulting detailed provisioning artifact information.
uparsResponseStatus :: Lens' UpdateProvisioningArtifactResponse Int Source #
- - | The response status code.