Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Updates the specified provisioning artifact (also known as a version) for the specified product.
You cannot update a provisioning artifact for a product that was shared with you.
Synopsis
- updateProvisioningArtifact :: Text -> Text -> UpdateProvisioningArtifact
- data UpdateProvisioningArtifact
- upaActive :: Lens' UpdateProvisioningArtifact (Maybe Bool)
- 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:
upaActive
- Indicates whether the product version is active.upaName
- The updated name of the provisioning artifact.upaAcceptLanguage
- The language code. *en
- English (default) *jp
- Japanese *zh
- ChineseupaDescription
- The updated description of the provisioning artifact.upaProductId
- The product identifier.upaProvisioningArtifactId
- The identifier of the provisioning artifact.
data UpdateProvisioningArtifact Source #
See: updateProvisioningArtifact
smart constructor.
Instances
Request Lenses
upaActive :: Lens' UpdateProvisioningArtifact (Maybe Bool) Source #
Indicates whether the product version is active.
upaName :: Lens' UpdateProvisioningArtifact (Maybe Text) Source #
The updated name of the provisioning artifact.
upaAcceptLanguage :: Lens' UpdateProvisioningArtifact (Maybe Text) Source #
The language code. * en
- English (default) * jp
- Japanese * zh
- Chinese
upaDescription :: Lens' UpdateProvisioningArtifact (Maybe Text) Source #
The updated description of the provisioning artifact.
upaProductId :: Lens' UpdateProvisioningArtifact Text Source #
The product identifier.
upaProvisioningArtifactId :: Lens' UpdateProvisioningArtifact Text Source #
The identifier of the provisioning artifact.
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
- The URL of the CloudFormation template in Amazon S3.uparsProvisioningArtifactDetail
- Information about the provisioning artifact.uparsResponseStatus
- -- | The response status code.
data UpdateProvisioningArtifactResponse Source #
See: updateProvisioningArtifactResponse
smart constructor.
Instances
Response Lenses
uparsStatus :: Lens' UpdateProvisioningArtifactResponse (Maybe RequestStatus) Source #
The status of the current request.
uparsInfo :: Lens' UpdateProvisioningArtifactResponse (HashMap Text Text) Source #
The URL of the CloudFormation template in Amazon S3.
uparsProvisioningArtifactDetail :: Lens' UpdateProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail) Source #
Information about the provisioning artifact.
uparsResponseStatus :: Lens' UpdateProvisioningArtifactResponse Int Source #
- - | The response status code.