amazonka-m2-2.0: Amazon MainframeModernization SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.M2.ListBatchJobDefinitions

Description

Lists all the available batch job definitions based on the batch job resources uploaded during the application creation. You can use the batch job definitions in the list to start a batch job.

This operation returns paginated results.

Synopsis

Creating a Request

data ListBatchJobDefinitions Source #

See: newListBatchJobDefinitions smart constructor.

Constructors

ListBatchJobDefinitions' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of batch job definitions to return.

  • nextToken :: Maybe Text

    A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

  • prefix :: Maybe Text

    If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.

  • applicationId :: Text

    The identifier of the application.

Instances

Instances details
ToHeaders ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

ToPath ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

ToQuery ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

AWSPager ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

AWSRequest ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

Generic ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

Associated Types

type Rep ListBatchJobDefinitions :: Type -> Type #

Read ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

Show ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

NFData ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

Methods

rnf :: ListBatchJobDefinitions -> () #

Eq ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

Hashable ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

type AWSResponse ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

type Rep ListBatchJobDefinitions Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

type Rep ListBatchJobDefinitions = D1 ('MetaData "ListBatchJobDefinitions" "Amazonka.M2.ListBatchJobDefinitions" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "ListBatchJobDefinitions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListBatchJobDefinitions Source #

Create a value of ListBatchJobDefinitions 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:maxResults:ListBatchJobDefinitions', listBatchJobDefinitions_maxResults - The maximum number of batch job definitions to return.

ListBatchJobDefinitions, listBatchJobDefinitions_nextToken - A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

$sel:prefix:ListBatchJobDefinitions', listBatchJobDefinitions_prefix - If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.

ListBatchJobDefinitions, listBatchJobDefinitions_applicationId - The identifier of the application.

Request Lenses

listBatchJobDefinitions_maxResults :: Lens' ListBatchJobDefinitions (Maybe Natural) Source #

The maximum number of batch job definitions to return.

listBatchJobDefinitions_nextToken :: Lens' ListBatchJobDefinitions (Maybe Text) Source #

A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

listBatchJobDefinitions_prefix :: Lens' ListBatchJobDefinitions (Maybe Text) Source #

If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.

Destructuring the Response

data ListBatchJobDefinitionsResponse Source #

See: newListBatchJobDefinitionsResponse smart constructor.

Constructors

ListBatchJobDefinitionsResponse' 

Fields

Instances

Instances details
Generic ListBatchJobDefinitionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

Associated Types

type Rep ListBatchJobDefinitionsResponse :: Type -> Type #

Read ListBatchJobDefinitionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

Show ListBatchJobDefinitionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

NFData ListBatchJobDefinitionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

Eq ListBatchJobDefinitionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

type Rep ListBatchJobDefinitionsResponse Source # 
Instance details

Defined in Amazonka.M2.ListBatchJobDefinitions

type Rep ListBatchJobDefinitionsResponse = D1 ('MetaData "ListBatchJobDefinitionsResponse" "Amazonka.M2.ListBatchJobDefinitions" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "ListBatchJobDefinitionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "batchJobDefinitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchJobDefinition]))))

newListBatchJobDefinitionsResponse Source #

Create a value of ListBatchJobDefinitionsResponse 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:

ListBatchJobDefinitions, listBatchJobDefinitionsResponse_nextToken - If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.

$sel:httpStatus:ListBatchJobDefinitionsResponse', listBatchJobDefinitionsResponse_httpStatus - The response's http status code.

$sel:batchJobDefinitions:ListBatchJobDefinitionsResponse', listBatchJobDefinitionsResponse_batchJobDefinitions - The list of batch job definitions.

Response Lenses

listBatchJobDefinitionsResponse_nextToken :: Lens' ListBatchJobDefinitionsResponse (Maybe Text) Source #

If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.