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 |
A binary representation of the UEFI variable store. Only non-volatile variables are stored. This is a base64 encoded and zlib compressed binary value that must be properly encoded.
When you use
register-image
to create an AMI, you can create an exact copy of your variable store by
passing the UEFI data in the UefiData
parameter. You can modify the
UEFI data by using the
python-uefivars tool on
GitHub. You can use the tool to convert the UEFI data into a
human-readable format (JSON), which you can inspect and modify, and then
convert back into the binary format to use with register-image.
For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.
Synopsis
- data GetInstanceUefiData = GetInstanceUefiData' {
- dryRun :: Maybe Bool
- instanceId :: Text
- newGetInstanceUefiData :: Text -> GetInstanceUefiData
- getInstanceUefiData_dryRun :: Lens' GetInstanceUefiData (Maybe Bool)
- getInstanceUefiData_instanceId :: Lens' GetInstanceUefiData Text
- data GetInstanceUefiDataResponse = GetInstanceUefiDataResponse' {
- instanceId :: Maybe Text
- uefiData :: Maybe Text
- httpStatus :: Int
- newGetInstanceUefiDataResponse :: Int -> GetInstanceUefiDataResponse
- getInstanceUefiDataResponse_instanceId :: Lens' GetInstanceUefiDataResponse (Maybe Text)
- getInstanceUefiDataResponse_uefiData :: Lens' GetInstanceUefiDataResponse (Maybe Text)
- getInstanceUefiDataResponse_httpStatus :: Lens' GetInstanceUefiDataResponse Int
Creating a Request
data GetInstanceUefiData Source #
See: newGetInstanceUefiData
smart constructor.
GetInstanceUefiData' | |
|
Instances
newGetInstanceUefiData Source #
Create a value of GetInstanceUefiData
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:dryRun:GetInstanceUefiData'
, getInstanceUefiData_dryRun
- Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
GetInstanceUefiData
, getInstanceUefiData_instanceId
- The ID of the instance from which to retrieve the UEFI data.
Request Lenses
getInstanceUefiData_dryRun :: Lens' GetInstanceUefiData (Maybe Bool) Source #
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
getInstanceUefiData_instanceId :: Lens' GetInstanceUefiData Text Source #
The ID of the instance from which to retrieve the UEFI data.
Destructuring the Response
data GetInstanceUefiDataResponse Source #
See: newGetInstanceUefiDataResponse
smart constructor.
GetInstanceUefiDataResponse' | |
|
Instances
newGetInstanceUefiDataResponse Source #
Create a value of GetInstanceUefiDataResponse
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:
GetInstanceUefiData
, getInstanceUefiDataResponse_instanceId
- The ID of the instance from which to retrieve the UEFI data.
$sel:uefiData:GetInstanceUefiDataResponse'
, getInstanceUefiDataResponse_uefiData
- Base64 representation of the non-volatile UEFI variable store.
$sel:httpStatus:GetInstanceUefiDataResponse'
, getInstanceUefiDataResponse_httpStatus
- The response's http status code.
Response Lenses
getInstanceUefiDataResponse_instanceId :: Lens' GetInstanceUefiDataResponse (Maybe Text) Source #
The ID of the instance from which to retrieve the UEFI data.
getInstanceUefiDataResponse_uefiData :: Lens' GetInstanceUefiDataResponse (Maybe Text) Source #
Base64 representation of the non-volatile UEFI variable store.
getInstanceUefiDataResponse_httpStatus :: Lens' GetInstanceUefiDataResponse Int Source #
The response's http status code.