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 |
Accept EULAs.
Synopsis
- data AcceptEulas = AcceptEulas' {}
- newAcceptEulas :: Text -> AcceptEulas
- acceptEulas_clientToken :: Lens' AcceptEulas (Maybe Text)
- acceptEulas_eulaIds :: Lens' AcceptEulas (Maybe [Text])
- acceptEulas_studioId :: Lens' AcceptEulas Text
- data AcceptEulasResponse = AcceptEulasResponse' {}
- newAcceptEulasResponse :: Int -> AcceptEulasResponse
- acceptEulasResponse_eulaAcceptances :: Lens' AcceptEulasResponse (Maybe [EulaAcceptance])
- acceptEulasResponse_httpStatus :: Lens' AcceptEulasResponse Int
Creating a Request
data AcceptEulas Source #
A collection of EULA acceptances.
See: newAcceptEulas
smart constructor.
AcceptEulas' | |
|
Instances
Create a value of AcceptEulas
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:clientToken:AcceptEulas'
, acceptEulas_clientToken
- To make an idempotent API request using one of these actions, specify a
client token in the request. You should not reuse the same client token
for other API requests. If you retry a request that completed
successfully using the same client token and the same parameters, the
retry succeeds without performing any further actions. If you retry a
successful request using the same client token, but one or more of the
parameters are different, the retry fails with a ValidationException
error.
$sel:eulaIds:AcceptEulas'
, acceptEulas_eulaIds
- The EULA ID.
$sel:studioId:AcceptEulas'
, acceptEulas_studioId
- The studio ID.
Request Lenses
acceptEulas_clientToken :: Lens' AcceptEulas (Maybe Text) Source #
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
acceptEulas_eulaIds :: Lens' AcceptEulas (Maybe [Text]) Source #
The EULA ID.
acceptEulas_studioId :: Lens' AcceptEulas Text Source #
The studio ID.
Destructuring the Response
data AcceptEulasResponse Source #
See: newAcceptEulasResponse
smart constructor.
AcceptEulasResponse' | |
|
Instances
newAcceptEulasResponse Source #
Create a value of AcceptEulasResponse
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:eulaAcceptances:AcceptEulasResponse'
, acceptEulasResponse_eulaAcceptances
- A collection of EULA acceptances.
$sel:httpStatus:AcceptEulasResponse'
, acceptEulasResponse_httpStatus
- The response's http status code.
Response Lenses
acceptEulasResponse_eulaAcceptances :: Lens' AcceptEulasResponse (Maybe [EulaAcceptance]) Source #
A collection of EULA acceptances.
acceptEulasResponse_httpStatus :: Lens' AcceptEulasResponse Int Source #
The response's http status code.