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.ListArtifacts

Description

Gets information about artifacts.

This operation returns paginated results.

Synopsis

Creating a Request

data ListArtifacts Source #

Represents a request to the list artifacts operation.

See: newListArtifacts smart constructor.

Constructors

ListArtifacts' 

Fields

  • nextToken :: Maybe Text

    An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

  • arn :: Text

    The run, job, suite, or test ARN.

  • type' :: ArtifactCategory

    The artifacts' type.

    Allowed values include:

    • FILE
    • LOG
    • SCREENSHOT

Instances

Instances details
Eq ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Read ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Show ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Generic ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Associated Types

type Rep ListArtifacts :: Type -> Type #

NFData ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Methods

rnf :: ListArtifacts -> () #

Hashable ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

ToJSON ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

AWSPager ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

AWSRequest ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Associated Types

type AWSResponse ListArtifacts #

ToHeaders ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

ToPath ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

ToQuery ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

type Rep ListArtifacts Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

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

Defined in Amazonka.DeviceFarm.ListArtifacts

newListArtifacts Source #

Create a value of ListArtifacts 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:nextToken:ListArtifacts', listArtifacts_nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

$sel:arn:ListArtifacts', listArtifacts_arn - The run, job, suite, or test ARN.

$sel:type':ListArtifacts', listArtifacts_type - The artifacts' type.

Allowed values include:

  • FILE
  • LOG
  • SCREENSHOT

Request Lenses

listArtifacts_nextToken :: Lens' ListArtifacts (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

listArtifacts_arn :: Lens' ListArtifacts Text Source #

The run, job, suite, or test ARN.

listArtifacts_type :: Lens' ListArtifacts ArtifactCategory Source #

The artifacts' type.

Allowed values include:

  • FILE
  • LOG
  • SCREENSHOT

Destructuring the Response

data ListArtifactsResponse Source #

Represents the result of a list artifacts operation.

See: newListArtifactsResponse smart constructor.

Constructors

ListArtifactsResponse' 

Fields

  • artifacts :: Maybe [Artifact]

    Information about the artifacts.

  • nextToken :: Maybe Text

    If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Read ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Show ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Generic ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Associated Types

type Rep ListArtifactsResponse :: Type -> Type #

NFData ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

Methods

rnf :: ListArtifactsResponse -> () #

type Rep ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.DeviceFarm.ListArtifacts

type Rep ListArtifactsResponse = D1 ('MetaData "ListArtifactsResponse" "Amazonka.DeviceFarm.ListArtifacts" "libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm" 'False) (C1 ('MetaCons "ListArtifactsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "artifacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Artifact])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListArtifactsResponse Source #

Create a value of ListArtifactsResponse 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:artifacts:ListArtifactsResponse', listArtifactsResponse_artifacts - Information about the artifacts.

$sel:nextToken:ListArtifacts', listArtifactsResponse_nextToken - If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.

$sel:httpStatus:ListArtifactsResponse', listArtifactsResponse_httpStatus - The response's http status code.

Response Lenses

listArtifactsResponse_nextToken :: Lens' ListArtifactsResponse (Maybe Text) Source #

If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.