| 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.Snowball.GetSoftwareUpdates
Description
Returns an Amazon S3 presigned URL for an update file associated with a
specified JobId.
Synopsis
- data GetSoftwareUpdates = GetSoftwareUpdates' {}
- newGetSoftwareUpdates :: Text -> GetSoftwareUpdates
- getSoftwareUpdates_jobId :: Lens' GetSoftwareUpdates Text
- data GetSoftwareUpdatesResponse = GetSoftwareUpdatesResponse' {
- updatesURI :: Maybe Text
- httpStatus :: Int
- newGetSoftwareUpdatesResponse :: Int -> GetSoftwareUpdatesResponse
- getSoftwareUpdatesResponse_updatesURI :: Lens' GetSoftwareUpdatesResponse (Maybe Text)
- getSoftwareUpdatesResponse_httpStatus :: Lens' GetSoftwareUpdatesResponse Int
Creating a Request
data GetSoftwareUpdates Source #
See: newGetSoftwareUpdates smart constructor.
Constructors
| GetSoftwareUpdates' | |
Instances
newGetSoftwareUpdates Source #
Arguments
| :: Text | |
| -> GetSoftwareUpdates |
Create a value of GetSoftwareUpdates 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:
GetSoftwareUpdates, getSoftwareUpdates_jobId - The ID for a job that you want to get the software update file for, for
example JID123e4567-e89b-12d3-a456-426655440000.
Request Lenses
getSoftwareUpdates_jobId :: Lens' GetSoftwareUpdates Text Source #
The ID for a job that you want to get the software update file for, for
example JID123e4567-e89b-12d3-a456-426655440000.
Destructuring the Response
data GetSoftwareUpdatesResponse Source #
See: newGetSoftwareUpdatesResponse smart constructor.
Constructors
| GetSoftwareUpdatesResponse' | |
Fields
| |
Instances
newGetSoftwareUpdatesResponse Source #
Create a value of GetSoftwareUpdatesResponse 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:updatesURI:GetSoftwareUpdatesResponse', getSoftwareUpdatesResponse_updatesURI - The Amazon S3 presigned URL for the update file associated with the
specified JobId value. The software update will be available for 2
days after this request is made. To access an update after the 2 days
have passed, you'll have to make another call to GetSoftwareUpdates.
$sel:httpStatus:GetSoftwareUpdatesResponse', getSoftwareUpdatesResponse_httpStatus - The response's http status code.
Response Lenses
getSoftwareUpdatesResponse_updatesURI :: Lens' GetSoftwareUpdatesResponse (Maybe Text) Source #
The Amazon S3 presigned URL for the update file associated with the
specified JobId value. The software update will be available for 2
days after this request is made. To access an update after the 2 days
have passed, you'll have to make another call to GetSoftwareUpdates.
getSoftwareUpdatesResponse_httpStatus :: Lens' GetSoftwareUpdatesResponse Int Source #
The response's http status code.