libZSservicesZSamazonka-amplifyZSamazonka-amplify
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.Amplify.ListArtifacts

Description

Returns a list of artifacts for a specified app, branch, and job.

Synopsis

Creating a Request

data ListArtifacts Source #

Describes the request structure for the list artifacts request.

See: newListArtifacts smart constructor.

Constructors

ListArtifacts' 

Fields

  • nextToken :: Maybe Text

    A pagination token. Set to null to start listing artifacts from start. If a non-null pagination token is returned in a result, pass its value in here to list more artifacts.

  • maxResults :: Maybe Natural

    The maximum number of records to list in a single response.

  • appId :: Text

    The unique ID for an Amplify app.

  • branchName :: Text

    The name of a branch that is part of an Amplify app.

  • jobId :: Text

    The unique ID for a job.

Instances

Instances details
Eq ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Read ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Show ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Generic ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Associated Types

type Rep ListArtifacts :: Type -> Type #

NFData ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Methods

rnf :: ListArtifacts -> () #

Hashable ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

AWSRequest ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Associated Types

type AWSResponse ListArtifacts #

ToHeaders ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

ToPath ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

ToQuery ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

type Rep ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

type Rep ListArtifacts = D1 ('MetaData "ListArtifacts" "Amazonka.Amplify.ListArtifacts" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "ListArtifacts'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "branchName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListArtifacts Source # 
Instance details

Defined in Amazonka.Amplify.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 - A pagination token. Set to null to start listing artifacts from start. If a non-null pagination token is returned in a result, pass its value in here to list more artifacts.

$sel:maxResults:ListArtifacts', listArtifacts_maxResults - The maximum number of records to list in a single response.

$sel:appId:ListArtifacts', listArtifacts_appId - The unique ID for an Amplify app.

$sel:branchName:ListArtifacts', listArtifacts_branchName - The name of a branch that is part of an Amplify app.

$sel:jobId:ListArtifacts', listArtifacts_jobId - The unique ID for a job.

Request Lenses

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

A pagination token. Set to null to start listing artifacts from start. If a non-null pagination token is returned in a result, pass its value in here to list more artifacts.

listArtifacts_maxResults :: Lens' ListArtifacts (Maybe Natural) Source #

The maximum number of records to list in a single response.

listArtifacts_appId :: Lens' ListArtifacts Text Source #

The unique ID for an Amplify app.

listArtifacts_branchName :: Lens' ListArtifacts Text Source #

The name of a branch that is part of an Amplify app.

listArtifacts_jobId :: Lens' ListArtifacts Text Source #

The unique ID for a job.

Destructuring the Response

data ListArtifactsResponse Source #

The result structure for the list artifacts request.

See: newListArtifactsResponse smart constructor.

Constructors

ListArtifactsResponse' 

Fields

  • nextToken :: Maybe Text

    A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.

  • httpStatus :: Int

    The response's http status code.

  • artifacts :: [Artifact]

    A list of artifacts.

Instances

Instances details
Eq ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Read ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Show ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Generic ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Associated Types

type Rep ListArtifactsResponse :: Type -> Type #

NFData ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

Methods

rnf :: ListArtifactsResponse -> () #

type Rep ListArtifactsResponse Source # 
Instance details

Defined in Amazonka.Amplify.ListArtifacts

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

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:nextToken:ListArtifacts', listArtifactsResponse_nextToken - A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.

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

$sel:artifacts:ListArtifactsResponse', listArtifactsResponse_artifacts - A list of artifacts.

Response Lenses

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

A pagination token. If a non-null pagination token is returned in a result, pass its value in another request to retrieve more entries.