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 |
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.
DeleteProvisioningArtifact' | |
|
Instances
newDeleteProvisioningArtifact Source #
:: 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.
DeleteProvisioningArtifactResponse' | |
|
Instances
Eq DeleteProvisioningArtifactResponse Source # | |
Read DeleteProvisioningArtifactResponse Source # | |
Show DeleteProvisioningArtifactResponse Source # | |
Generic DeleteProvisioningArtifactResponse Source # | |
NFData DeleteProvisioningArtifactResponse Source # | |
Defined in Amazonka.ServiceCatalog.DeleteProvisioningArtifact rnf :: DeleteProvisioningArtifactResponse -> () # | |
type Rep DeleteProvisioningArtifactResponse Source # | |
Defined in Amazonka.ServiceCatalog.DeleteProvisioningArtifact type Rep DeleteProvisioningArtifactResponse = D1 ('MetaData "DeleteProvisioningArtifactResponse" "Amazonka.ServiceCatalog.DeleteProvisioningArtifact" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DeleteProvisioningArtifactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteProvisioningArtifactResponse Source #
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.