| 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 |
Network.AWS.ServiceCatalog.DeleteProvisioningArtifact
Description
Deletes the specified provisioning artifact (also known as a version) for the specified product.
You cannot delete a provisioning artifact associated with a product that was shared with you. You cannot delete the last provisioning artifact for a product, because a product must have at least one provisioning artifact.
- deleteProvisioningArtifact :: Text -> Text -> DeleteProvisioningArtifact
- data DeleteProvisioningArtifact
- dpapAcceptLanguage :: Lens' DeleteProvisioningArtifact (Maybe Text)
- dpapProductId :: Lens' DeleteProvisioningArtifact Text
- dpapProvisioningArtifactId :: Lens' DeleteProvisioningArtifact Text
- deleteProvisioningArtifactResponse :: Int -> DeleteProvisioningArtifactResponse
- data DeleteProvisioningArtifactResponse
- dparsResponseStatus :: Lens' DeleteProvisioningArtifactResponse Int
Creating a Request
deleteProvisioningArtifact Source #
Creates a value of DeleteProvisioningArtifact with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpapAcceptLanguage- The language code. *en- English (default) *jp- Japanese *zh- ChinesedpapProductId- The product identifier.dpapProvisioningArtifactId- The identifier of the provisioning artifact.
data DeleteProvisioningArtifact Source #
See: deleteProvisioningArtifact smart constructor.
Instances
Request Lenses
dpapAcceptLanguage :: Lens' DeleteProvisioningArtifact (Maybe Text) Source #
The language code. * en - English (default) * jp - Japanese * zh - Chinese
dpapProductId :: Lens' DeleteProvisioningArtifact Text Source #
The product identifier.
dpapProvisioningArtifactId :: Lens' DeleteProvisioningArtifact Text Source #
The identifier of the provisioning artifact.
Destructuring the Response
deleteProvisioningArtifactResponse Source #
Arguments
| :: Int | |
| -> DeleteProvisioningArtifactResponse |
Creates a value of DeleteProvisioningArtifactResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dparsResponseStatus- -- | The response status code.
data DeleteProvisioningArtifactResponse Source #
See: deleteProvisioningArtifactResponse smart constructor.
Instances
Response Lenses
dparsResponseStatus :: Lens' DeleteProvisioningArtifactResponse Int Source #
- - | The response status code.