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.Types.Artifact

Description

 
Synopsis

Documentation

data Artifact Source #

Represents the output of a test. Examples of artifacts include logs and screenshots.

See: newArtifact smart constructor.

Constructors

Artifact' 

Fields

  • arn :: Maybe Text

    The artifact's ARN.

  • url :: Maybe Text

    The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file.

  • extension :: Maybe Text

    The artifact's file extension.

  • name :: Maybe Text

    The artifact's name.

  • type' :: Maybe ArtifactType

    The artifact's type.

    Allowed values include the following:

    • UNKNOWN
    • SCREENSHOT
    • DEVICE_LOG
    • MESSAGE_LOG
    • VIDEO_LOG
    • RESULT_LOG
    • SERVICE_LOG
    • WEBKIT_LOG
    • INSTRUMENTATION_OUTPUT
    • EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.
    • CALABASH_JSON_OUTPUT
    • CALABASH_PRETTY_OUTPUT
    • CALABASH_STANDARD_OUTPUT
    • CALABASH_JAVA_XML_OUTPUT
    • AUTOMATION_OUTPUT
    • APPIUM_SERVER_OUTPUT
    • APPIUM_JAVA_OUTPUT
    • APPIUM_JAVA_XML_OUTPUT
    • APPIUM_PYTHON_OUTPUT
    • APPIUM_PYTHON_XML_OUTPUT
    • EXPLORER_EVENT_LOG
    • EXPLORER_SUMMARY_LOG
    • APPLICATION_CRASH_REPORT
    • XCTEST_LOG
    • VIDEO
    • CUSTOMER_ARTIFACT
    • CUSTOMER_ARTIFACT_LOG
    • TESTSPEC_OUTPUT

Instances

Instances details
Eq Artifact Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Artifact

Read Artifact Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Artifact

Show Artifact Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Artifact

Generic Artifact Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Artifact

Associated Types

type Rep Artifact :: Type -> Type #

Methods

from :: Artifact -> Rep Artifact x #

to :: Rep Artifact x -> Artifact #

NFData Artifact Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Artifact

Methods

rnf :: Artifact -> () #

Hashable Artifact Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Artifact

Methods

hashWithSalt :: Int -> Artifact -> Int #

hash :: Artifact -> Int #

FromJSON Artifact Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Artifact

type Rep Artifact Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Artifact

type Rep Artifact = D1 ('MetaData "Artifact" "Amazonka.DeviceFarm.Types.Artifact" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "Artifact'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "extension") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ArtifactType))))))

newArtifact :: Artifact Source #

Create a value of Artifact 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:arn:Artifact', artifact_arn - The artifact's ARN.

$sel:url:Artifact', artifact_url - The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file.

$sel:extension:Artifact', artifact_extension - The artifact's file extension.

$sel:name:Artifact', artifact_name - The artifact's name.

$sel:type':Artifact', artifact_type - The artifact's type.

Allowed values include the following:

  • UNKNOWN
  • SCREENSHOT
  • DEVICE_LOG
  • MESSAGE_LOG
  • VIDEO_LOG
  • RESULT_LOG
  • SERVICE_LOG
  • WEBKIT_LOG
  • INSTRUMENTATION_OUTPUT
  • EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.
  • CALABASH_JSON_OUTPUT
  • CALABASH_PRETTY_OUTPUT
  • CALABASH_STANDARD_OUTPUT
  • CALABASH_JAVA_XML_OUTPUT
  • AUTOMATION_OUTPUT
  • APPIUM_SERVER_OUTPUT
  • APPIUM_JAVA_OUTPUT
  • APPIUM_JAVA_XML_OUTPUT
  • APPIUM_PYTHON_OUTPUT
  • APPIUM_PYTHON_XML_OUTPUT
  • EXPLORER_EVENT_LOG
  • EXPLORER_SUMMARY_LOG
  • APPLICATION_CRASH_REPORT
  • XCTEST_LOG
  • VIDEO
  • CUSTOMER_ARTIFACT
  • CUSTOMER_ARTIFACT_LOG
  • TESTSPEC_OUTPUT

artifact_arn :: Lens' Artifact (Maybe Text) Source #

The artifact's ARN.

artifact_url :: Lens' Artifact (Maybe Text) Source #

The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file.

artifact_extension :: Lens' Artifact (Maybe Text) Source #

The artifact's file extension.

artifact_name :: Lens' Artifact (Maybe Text) Source #

The artifact's name.

artifact_type :: Lens' Artifact (Maybe ArtifactType) Source #

The artifact's type.

Allowed values include the following:

  • UNKNOWN
  • SCREENSHOT
  • DEVICE_LOG
  • MESSAGE_LOG
  • VIDEO_LOG
  • RESULT_LOG
  • SERVICE_LOG
  • WEBKIT_LOG
  • INSTRUMENTATION_OUTPUT
  • EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.
  • CALABASH_JSON_OUTPUT
  • CALABASH_PRETTY_OUTPUT
  • CALABASH_STANDARD_OUTPUT
  • CALABASH_JAVA_XML_OUTPUT
  • AUTOMATION_OUTPUT
  • APPIUM_SERVER_OUTPUT
  • APPIUM_JAVA_OUTPUT
  • APPIUM_JAVA_XML_OUTPUT
  • APPIUM_PYTHON_OUTPUT
  • APPIUM_PYTHON_XML_OUTPUT
  • EXPLORER_EVENT_LOG
  • EXPLORER_SUMMARY_LOG
  • APPLICATION_CRASH_REPORT
  • XCTEST_LOG
  • VIDEO
  • CUSTOMER_ARTIFACT
  • CUSTOMER_ARTIFACT_LOG
  • TESTSPEC_OUTPUT