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 |
Get Eula.
Synopsis
- data GetEula = GetEula' {}
- newGetEula :: Text -> GetEula
- getEula_eulaId :: Lens' GetEula Text
- data GetEulaResponse = GetEulaResponse' {
- eula :: Maybe Eula
- httpStatus :: Int
- newGetEulaResponse :: Int -> GetEulaResponse
- getEulaResponse_eula :: Lens' GetEulaResponse (Maybe Eula)
- getEulaResponse_httpStatus :: Lens' GetEulaResponse Int
Creating a Request
See: newGetEula
smart constructor.
Instances
Eq GetEula Source # | |
Read GetEula Source # | |
Show GetEula Source # | |
Generic GetEula Source # | |
NFData GetEula Source # | |
Defined in Amazonka.Nimble.GetEula | |
Hashable GetEula Source # | |
Defined in Amazonka.Nimble.GetEula | |
AWSRequest GetEula Source # | |
Defined in Amazonka.Nimble.GetEula type AWSResponse GetEula # request :: GetEula -> Request GetEula # response :: MonadResource m => Logger -> Service -> Proxy GetEula -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetEula))) # | |
ToHeaders GetEula Source # | |
Defined in Amazonka.Nimble.GetEula | |
ToPath GetEula Source # | |
Defined in Amazonka.Nimble.GetEula toPath :: GetEula -> ByteString # | |
ToQuery GetEula Source # | |
Defined in Amazonka.Nimble.GetEula toQuery :: GetEula -> QueryString # | |
type Rep GetEula Source # | |
Defined in Amazonka.Nimble.GetEula | |
type AWSResponse GetEula Source # | |
Defined in Amazonka.Nimble.GetEula |
Create a value of GetEula
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:eulaId:GetEula'
, getEula_eulaId
- The EULA ID.
Request Lenses
Destructuring the Response
data GetEulaResponse Source #
See: newGetEulaResponse
smart constructor.
GetEulaResponse' | |
|
Instances
Create a value of GetEulaResponse
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:eula:GetEulaResponse'
, getEulaResponse_eula
- The EULA.
$sel:httpStatus:GetEulaResponse'
, getEulaResponse_httpStatus
- The response's http status code.
Response Lenses
getEulaResponse_eula :: Lens' GetEulaResponse (Maybe Eula) Source #
The EULA.
getEulaResponse_httpStatus :: Lens' GetEulaResponse Int Source #
The response's http status code.