Copyright | (c) 2013-2017 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 |
Deletes the specified provisioning artifact. This operation does not work on a provisioning artifact associated with a product that has been shared with you, or on the last provisioning artifact associated with a product (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 for the delete request. This is sometimes referred to as the product version.
data DeleteProvisioningArtifact Source #
See: deleteProvisioningArtifact
smart constructor.
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 for the delete request. This is sometimes referred to as the product version.
Destructuring the Response
deleteProvisioningArtifactResponse Source #
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.
Response Lenses
dparsResponseStatus :: Lens' DeleteProvisioningArtifactResponse Int Source #
- - | The response status code.