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

Description

 
Synopsis

Documentation

data Definition Source #

The application definition for a particular application.

See: newDefinition smart constructor.

Constructors

Definition' 

Fields

  • content :: Maybe Text

    The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.

  • s3Location :: Maybe Text

    The S3 bucket that contains the application definition.

Instances

Instances details
ToJSON Definition Source # 
Instance details

Defined in Amazonka.M2.Types.Definition

Generic Definition Source # 
Instance details

Defined in Amazonka.M2.Types.Definition

Associated Types

type Rep Definition :: Type -> Type #

Read Definition Source # 
Instance details

Defined in Amazonka.M2.Types.Definition

Show Definition Source # 
Instance details

Defined in Amazonka.M2.Types.Definition

NFData Definition Source # 
Instance details

Defined in Amazonka.M2.Types.Definition

Methods

rnf :: Definition -> () #

Eq Definition Source # 
Instance details

Defined in Amazonka.M2.Types.Definition

Hashable Definition Source # 
Instance details

Defined in Amazonka.M2.Types.Definition

type Rep Definition Source # 
Instance details

Defined in Amazonka.M2.Types.Definition

type Rep Definition = D1 ('MetaData "Definition" "Amazonka.M2.Types.Definition" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "Definition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDefinition :: Definition Source #

Create a value of Definition 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:content:Definition', definition_content - The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.

$sel:s3Location:Definition', definition_s3Location - The S3 bucket that contains the application definition.

definition_content :: Lens' Definition (Maybe Text) Source #

The content of the application definition. This is a JSON object that contains the resource configuration/definitions that identify an application.

definition_s3Location :: Lens' Definition (Maybe Text) Source #

The S3 bucket that contains the application definition.