Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data RawString = RawString' {}
- newRawString :: RawString
- rawString_content :: Lens' RawString (Maybe Text)
- rawString_sha256 :: Lens' RawString (Maybe Text)
Documentation
A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted string. For AWS Lambda deployments, the revision is the same as the AppSpec file.
See: newRawString
smart constructor.
Instances
Eq RawString Source # | |
Read RawString Source # | |
Show RawString Source # | |
Generic RawString Source # | |
NFData RawString Source # | |
Defined in Amazonka.CodeDeploy.Types.RawString | |
Hashable RawString Source # | |
Defined in Amazonka.CodeDeploy.Types.RawString | |
ToJSON RawString Source # | |
Defined in Amazonka.CodeDeploy.Types.RawString | |
FromJSON RawString Source # | |
type Rep RawString Source # | |
Defined in Amazonka.CodeDeploy.Types.RawString type Rep RawString = D1 ('MetaData "RawString" "Amazonka.CodeDeploy.Types.RawString" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" '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.