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 |
Creates a signed, short-term URL that can be passed to a Selenium
RemoteWebDriver
constructor.
Synopsis
- data CreateTestGridUrl = CreateTestGridUrl' {}
- newCreateTestGridUrl :: Text -> Natural -> CreateTestGridUrl
- createTestGridUrl_projectArn :: Lens' CreateTestGridUrl Text
- createTestGridUrl_expiresInSeconds :: Lens' CreateTestGridUrl Natural
- data CreateTestGridUrlResponse = CreateTestGridUrlResponse' {}
- newCreateTestGridUrlResponse :: Int -> CreateTestGridUrlResponse
- createTestGridUrlResponse_expires :: Lens' CreateTestGridUrlResponse (Maybe UTCTime)
- createTestGridUrlResponse_url :: Lens' CreateTestGridUrlResponse (Maybe Text)
- createTestGridUrlResponse_httpStatus :: Lens' CreateTestGridUrlResponse Int
Creating a Request
data CreateTestGridUrl Source #
See: newCreateTestGridUrl
smart constructor.
CreateTestGridUrl' | |
|
Instances
:: Text | |
-> Natural | |
-> CreateTestGridUrl |
Create a value of CreateTestGridUrl
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:projectArn:CreateTestGridUrl'
, createTestGridUrl_projectArn
- ARN (from CreateTestGridProject or ListTestGridProjects) to associate
with the short-term URL.
$sel:expiresInSeconds:CreateTestGridUrl'
, createTestGridUrl_expiresInSeconds
- Lifetime, in seconds, of the URL.
Request Lenses
createTestGridUrl_projectArn :: Lens' CreateTestGridUrl Text Source #
ARN (from CreateTestGridProject or ListTestGridProjects) to associate with the short-term URL.
createTestGridUrl_expiresInSeconds :: Lens' CreateTestGridUrl Natural Source #
Lifetime, in seconds, of the URL.
Destructuring the Response
data CreateTestGridUrlResponse Source #
See: newCreateTestGridUrlResponse
smart constructor.
Instances
newCreateTestGridUrlResponse Source #
Create a value of CreateTestGridUrlResponse
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:expires:CreateTestGridUrlResponse'
, createTestGridUrlResponse_expires
- The number of seconds the URL from CreateTestGridUrlResult$url stays
active.
$sel:url:CreateTestGridUrlResponse'
, createTestGridUrlResponse_url
- A signed URL, expiring in CreateTestGridUrlRequest$expiresInSeconds
seconds, to be passed to a RemoteWebDriver
.
$sel:httpStatus:CreateTestGridUrlResponse'
, createTestGridUrlResponse_httpStatus
- The response's http status code.
Response Lenses
createTestGridUrlResponse_expires :: Lens' CreateTestGridUrlResponse (Maybe UTCTime) Source #
The number of seconds the URL from CreateTestGridUrlResult$url stays active.
createTestGridUrlResponse_url :: Lens' CreateTestGridUrlResponse (Maybe Text) Source #
A signed URL, expiring in CreateTestGridUrlRequest$expiresInSeconds
seconds, to be passed to a RemoteWebDriver
.
createTestGridUrlResponse_httpStatus :: Lens' CreateTestGridUrlResponse Int Source #
The response's http status code.