Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes an artifact. Either ArtifactArn
or Source
must be specified.
Synopsis
- data DeleteArtifact = DeleteArtifact' {}
- newDeleteArtifact :: DeleteArtifact
- deleteArtifact_artifactArn :: Lens' DeleteArtifact (Maybe Text)
- deleteArtifact_source :: Lens' DeleteArtifact (Maybe ArtifactSource)
- data DeleteArtifactResponse = DeleteArtifactResponse' {
- artifactArn :: Maybe Text
- httpStatus :: Int
- newDeleteArtifactResponse :: Int -> DeleteArtifactResponse
- deleteArtifactResponse_artifactArn :: Lens' DeleteArtifactResponse (Maybe Text)
- deleteArtifactResponse_httpStatus :: Lens' DeleteArtifactResponse Int
Creating a Request
data DeleteArtifact Source #
See: newDeleteArtifact
smart constructor.
DeleteArtifact' | |
|
Instances
newDeleteArtifact :: DeleteArtifact Source #
Create a value of DeleteArtifact
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:
DeleteArtifact
, deleteArtifact_artifactArn
- The Amazon Resource Name (ARN) of the artifact to delete.
DeleteArtifact
, deleteArtifact_source
- The URI of the source.
Request Lenses
deleteArtifact_artifactArn :: Lens' DeleteArtifact (Maybe Text) Source #
The Amazon Resource Name (ARN) of the artifact to delete.
deleteArtifact_source :: Lens' DeleteArtifact (Maybe ArtifactSource) Source #
The URI of the source.
Destructuring the Response
data DeleteArtifactResponse Source #
See: newDeleteArtifactResponse
smart constructor.
DeleteArtifactResponse' | |
|
Instances
newDeleteArtifactResponse Source #
Create a value of DeleteArtifactResponse
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:
DeleteArtifact
, deleteArtifactResponse_artifactArn
- The Amazon Resource Name (ARN) of the artifact.
$sel:httpStatus:DeleteArtifactResponse'
, deleteArtifactResponse_httpStatus
- The response's http status code.
Response Lenses
deleteArtifactResponse_artifactArn :: Lens' DeleteArtifactResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the artifact.
deleteArtifactResponse_httpStatus :: Lens' DeleteArtifactResponse Int Source #
The response's http status code.