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 a specific snapshot of a virtual private server (or instance).
The delete instance snapshot
operation supports tag-based access
control via resource tags applied to the resource identified by
instance snapshot name
. For more information, see the
Amazon Lightsail Developer Guide.
Synopsis
- data DeleteInstanceSnapshot = DeleteInstanceSnapshot' {}
- newDeleteInstanceSnapshot :: Text -> DeleteInstanceSnapshot
- deleteInstanceSnapshot_instanceSnapshotName :: Lens' DeleteInstanceSnapshot Text
- data DeleteInstanceSnapshotResponse = DeleteInstanceSnapshotResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newDeleteInstanceSnapshotResponse :: Int -> DeleteInstanceSnapshotResponse
- deleteInstanceSnapshotResponse_operations :: Lens' DeleteInstanceSnapshotResponse (Maybe [Operation])
- deleteInstanceSnapshotResponse_httpStatus :: Lens' DeleteInstanceSnapshotResponse Int
Creating a Request
data DeleteInstanceSnapshot Source #
See: newDeleteInstanceSnapshot
smart constructor.
DeleteInstanceSnapshot' | |
|
Instances
newDeleteInstanceSnapshot Source #
Create a value of DeleteInstanceSnapshot
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:instanceSnapshotName:DeleteInstanceSnapshot'
, deleteInstanceSnapshot_instanceSnapshotName
- The name of the snapshot to delete.
Request Lenses
deleteInstanceSnapshot_instanceSnapshotName :: Lens' DeleteInstanceSnapshot Text Source #
The name of the snapshot to delete.
Destructuring the Response
data DeleteInstanceSnapshotResponse Source #
See: newDeleteInstanceSnapshotResponse
smart constructor.
DeleteInstanceSnapshotResponse' | |
|
Instances
Eq DeleteInstanceSnapshotResponse Source # | |
Read DeleteInstanceSnapshotResponse Source # | |
Show DeleteInstanceSnapshotResponse Source # | |
Defined in Amazonka.Lightsail.DeleteInstanceSnapshot | |
Generic DeleteInstanceSnapshotResponse Source # | |
NFData DeleteInstanceSnapshotResponse Source # | |
Defined in Amazonka.Lightsail.DeleteInstanceSnapshot rnf :: DeleteInstanceSnapshotResponse -> () # | |
type Rep DeleteInstanceSnapshotResponse Source # | |
Defined in Amazonka.Lightsail.DeleteInstanceSnapshot type Rep DeleteInstanceSnapshotResponse = D1 ('MetaData "DeleteInstanceSnapshotResponse" "Amazonka.Lightsail.DeleteInstanceSnapshot" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DeleteInstanceSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteInstanceSnapshotResponse Source #
Create a value of DeleteInstanceSnapshotResponse
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:operations:DeleteInstanceSnapshotResponse'
, deleteInstanceSnapshotResponse_operations
- An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:DeleteInstanceSnapshotResponse'
, deleteInstanceSnapshotResponse_httpStatus
- The response's http status code.
Response Lenses
deleteInstanceSnapshotResponse_operations :: Lens' DeleteInstanceSnapshotResponse (Maybe [Operation]) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
deleteInstanceSnapshotResponse_httpStatus :: Lens' DeleteInstanceSnapshotResponse Int Source #
The response's http status code.