| 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 |
Amazonka.ImageBuilder.DeleteComponent
Description
Deletes a component build version.
Synopsis
- data DeleteComponent = DeleteComponent' {}
- newDeleteComponent :: Text -> DeleteComponent
- deleteComponent_componentBuildVersionArn :: Lens' DeleteComponent Text
- data DeleteComponentResponse = DeleteComponentResponse' {}
- newDeleteComponentResponse :: Int -> DeleteComponentResponse
- deleteComponentResponse_componentBuildVersionArn :: Lens' DeleteComponentResponse (Maybe Text)
- deleteComponentResponse_requestId :: Lens' DeleteComponentResponse (Maybe Text)
- deleteComponentResponse_httpStatus :: Lens' DeleteComponentResponse Int
Creating a Request
data DeleteComponent Source #
See: newDeleteComponent smart constructor.
Constructors
| DeleteComponent' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteComponent |
Create a value of DeleteComponent 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:
DeleteComponent, deleteComponent_componentBuildVersionArn - The Amazon Resource Name (ARN) of the component build version to delete.
Request Lenses
deleteComponent_componentBuildVersionArn :: Lens' DeleteComponent Text Source #
The Amazon Resource Name (ARN) of the component build version to delete.
Destructuring the Response
data DeleteComponentResponse Source #
See: newDeleteComponentResponse smart constructor.
Constructors
| DeleteComponentResponse' | |
Fields
| |
Instances
newDeleteComponentResponse Source #
Create a value of DeleteComponentResponse 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:
DeleteComponent, deleteComponentResponse_componentBuildVersionArn - The Amazon Resource Name (ARN) of the component build version that was
deleted.
$sel:requestId:DeleteComponentResponse', deleteComponentResponse_requestId - The request ID that uniquely identifies this request.
$sel:httpStatus:DeleteComponentResponse', deleteComponentResponse_httpStatus - The response's http status code.
Response Lenses
deleteComponentResponse_componentBuildVersionArn :: Lens' DeleteComponentResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the component build version that was deleted.
deleteComponentResponse_requestId :: Lens' DeleteComponentResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
deleteComponentResponse_httpStatus :: Lens' DeleteComponentResponse Int Source #
The response's http status code.