| 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.RedshiftServerLess.GetRecoveryPoint
Description
Returns information about a recovery point.
Synopsis
- data GetRecoveryPoint = GetRecoveryPoint' {}
- newGetRecoveryPoint :: Text -> GetRecoveryPoint
- getRecoveryPoint_recoveryPointId :: Lens' GetRecoveryPoint Text
- data GetRecoveryPointResponse = GetRecoveryPointResponse' {}
- newGetRecoveryPointResponse :: Int -> GetRecoveryPointResponse
- getRecoveryPointResponse_recoveryPoint :: Lens' GetRecoveryPointResponse (Maybe RecoveryPoint)
- getRecoveryPointResponse_httpStatus :: Lens' GetRecoveryPointResponse Int
Creating a Request
data GetRecoveryPoint Source #
See: newGetRecoveryPoint smart constructor.
Constructors
| GetRecoveryPoint' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetRecoveryPoint |
Create a value of GetRecoveryPoint 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:
GetRecoveryPoint, getRecoveryPoint_recoveryPointId - The unique identifier of the recovery point to return information for.
Request Lenses
getRecoveryPoint_recoveryPointId :: Lens' GetRecoveryPoint Text Source #
The unique identifier of the recovery point to return information for.
Destructuring the Response
data GetRecoveryPointResponse Source #
See: newGetRecoveryPointResponse smart constructor.
Constructors
| GetRecoveryPointResponse' | |
Fields
| |
Instances
newGetRecoveryPointResponse Source #
Create a value of GetRecoveryPointResponse 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:recoveryPoint:GetRecoveryPointResponse', getRecoveryPointResponse_recoveryPoint - The returned recovery point object.
$sel:httpStatus:GetRecoveryPointResponse', getRecoveryPointResponse_httpStatus - The response's http status code.
Response Lenses
getRecoveryPointResponse_recoveryPoint :: Lens' GetRecoveryPointResponse (Maybe RecoveryPoint) Source #
The returned recovery point object.
getRecoveryPointResponse_httpStatus :: Lens' GetRecoveryPointResponse Int Source #
The response's http status code.