libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DeviceFarm.CreateTestGridUrl

Description

Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver constructor.

Synopsis

Creating a Request

data CreateTestGridUrl Source #

See: newCreateTestGridUrl smart constructor.

Constructors

CreateTestGridUrl' 

Fields

Instances

Instances details
Eq CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

Read CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

Show CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

Generic CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

Associated Types

type Rep CreateTestGridUrl :: Type -> Type #

NFData CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

Methods

rnf :: CreateTestGridUrl -> () #

Hashable CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

ToJSON CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

AWSRequest CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

Associated Types

type AWSResponse CreateTestGridUrl #

ToHeaders CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

ToPath CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

ToQuery CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

type Rep CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

type Rep CreateTestGridUrl = D1 ('MetaData "CreateTestGridUrl" "Amazonka.DeviceFarm.CreateTestGridUrl" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "CreateTestGridUrl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "expiresInSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))
type AWSResponse CreateTestGridUrl Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

newCreateTestGridUrl Source #

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.

Destructuring the Response

data CreateTestGridUrlResponse Source #

See: newCreateTestGridUrlResponse smart constructor.

Constructors

CreateTestGridUrlResponse' 

Fields

  • expires :: Maybe POSIX

    The number of seconds the URL from CreateTestGridUrlResult$url stays active.

  • url :: Maybe (Sensitive Text)

    A signed URL, expiring in CreateTestGridUrlRequest$expiresInSeconds seconds, to be passed to a RemoteWebDriver.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateTestGridUrlResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

Show CreateTestGridUrlResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

Generic CreateTestGridUrlResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

Associated Types

type Rep CreateTestGridUrlResponse :: Type -> Type #

NFData CreateTestGridUrlResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

type Rep CreateTestGridUrlResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.CreateTestGridUrl

type Rep CreateTestGridUrlResponse = D1 ('MetaData "CreateTestGridUrlResponse" "Amazonka.DeviceFarm.CreateTestGridUrl" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "CreateTestGridUrlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expires") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.