| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.Types.RawString
Description
Synopsis
- data RawString = RawString' {}
- newRawString :: RawString
- rawString_content :: Lens' RawString (Maybe Text)
- rawString_sha256 :: Lens' RawString (Maybe Text)
Documentation
A revision for an Lambda deployment that is a YAML-formatted or JSON-formatted string. For Lambda deployments, the revision is the same as the AppSpec file.
See: newRawString smart constructor.
Constructors
| RawString' | |
Instances
| FromJSON RawString Source # | |
| ToJSON RawString Source # | |
Defined in Amazonka.CodeDeploy.Types.RawString | |
| Generic RawString Source # | |
| Read RawString Source # | |
| Show RawString Source # | |
| NFData RawString Source # | |
Defined in Amazonka.CodeDeploy.Types.RawString | |
| Eq RawString Source # | |
| Hashable RawString Source # | |
Defined in Amazonka.CodeDeploy.Types.RawString | |
| type Rep RawString Source # | |
Defined in Amazonka.CodeDeploy.Types.RawString type Rep RawString = D1 ('MetaData "RawString" "Amazonka.CodeDeploy.Types.RawString" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "RawString'" 'PrefixI 'True) (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sha256") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newRawString :: RawString Source #
Create a value of RawString 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:RawString', rawString_content - The YAML-formatted or JSON-formatted revision string. It includes
information about which Lambda function to update and optional Lambda
functions that validate deployment lifecycle events.
$sel:sha256:RawString', rawString_sha256 - The SHA256 hash value of the revision content.