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 |
Amazonka.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.
Synopsis
- data DeleteProvisioningArtifact = DeleteProvisioningArtifact' {}
- newDeleteProvisioningArtifact :: Text -> Text -> DeleteProvisioningArtifact
- deleteProvisioningArtifact_acceptLanguage :: Lens' DeleteProvisioningArtifact (Maybe Text)
- deleteProvisioningArtifact_productId :: Lens' DeleteProvisioningArtifact Text
- deleteProvisioningArtifact_provisioningArtifactId :: Lens' DeleteProvisioningArtifact Text
- data DeleteProvisioningArtifactResponse = DeleteProvisioningArtifactResponse' {
- httpStatus :: Int
- newDeleteProvisioningArtifactResponse :: Int -> DeleteProvisioningArtifactResponse
- deleteProvisioningArtifactResponse_httpStatus :: Lens' DeleteProvisioningArtifactResponse Int
Creating a Request
data DeleteProvisioningArtifact Source #
See: newDeleteProvisioningArtifact
smart constructor.
Constructors
DeleteProvisioningArtifact' | |
Fields
|
Instances
newDeleteProvisioningArtifact Source #
Arguments
:: Text | |
-> Text | |
-> DeleteProvisioningArtifact |
Create a value of DeleteProvisioningArtifact
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:DeleteProvisioningArtifact'
, deleteProvisioningArtifact_acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinese
$sel:productId:DeleteProvisioningArtifact'
, deleteProvisioningArtifact_productId
- The product identifier.
$sel:provisioningArtifactId:DeleteProvisioningArtifact'
, deleteProvisioningArtifact_provisioningArtifactId
- The identifier of the provisioning artifact.
Request Lenses
deleteProvisioningArtifact_acceptLanguage :: Lens' DeleteProvisioningArtifact (Maybe Text) Source #
The language code.
en
- English (default)jp
- Japanesezh
- Chinese
deleteProvisioningArtifact_productId :: Lens' DeleteProvisioningArtifact Text Source #
The product identifier.
deleteProvisioningArtifact_provisioningArtifactId :: Lens' DeleteProvisioningArtifact Text Source #
The identifier of the provisioning artifact.
Destructuring the Response
data DeleteProvisioningArtifactResponse Source #
See: newDeleteProvisioningArtifactResponse
smart constructor.
Constructors
DeleteProvisioningArtifactResponse' | |
Fields
|
Instances
newDeleteProvisioningArtifactResponse Source #
Arguments
:: Int | |
-> DeleteProvisioningArtifactResponse |
Create a value of DeleteProvisioningArtifactResponse
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:httpStatus:DeleteProvisioningArtifactResponse'
, deleteProvisioningArtifactResponse_httpStatus
- The response's http status code.
Response Lenses
deleteProvisioningArtifactResponse_httpStatus :: Lens' DeleteProvisioningArtifactResponse Int Source #
The response's http status code.