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 |
Synopsis
- data Parameter = Parameter' {}
- newParameter :: Text -> ParameterType -> Text -> Integer -> Parameter
- parameter_arn :: Lens' Parameter (Maybe Text)
- parameter_dataType :: Lens' Parameter (Maybe Text)
- parameter_lastModifiedDate :: Lens' Parameter (Maybe UTCTime)
- parameter_selector :: Lens' Parameter (Maybe Text)
- parameter_sourceResult :: Lens' Parameter (Maybe Text)
- parameter_name :: Lens' Parameter Text
- parameter_type :: Lens' Parameter ParameterType
- parameter_value :: Lens' Parameter Text
- parameter_version :: Lens' Parameter Integer
Documentation
An Amazon Web Services Systems Manager parameter in Parameter Store.
See: newParameter
smart constructor.
Parameter' | |
|
Instances
:: Text | |
-> ParameterType | |
-> Text | |
-> Integer | |
-> Parameter |
Create a value of Parameter
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:arn:Parameter'
, parameter_arn
- The Amazon Resource Name (ARN) of the parameter.
$sel:dataType:Parameter'
, parameter_dataType
- The data type of the parameter, such as text
or aws:ec2:image
. The
default is text
.
$sel:lastModifiedDate:Parameter'
, parameter_lastModifiedDate
- Date the parameter was last changed or updated and the parameter version
was created.
$sel:selector:Parameter'
, parameter_selector
- Either the version number or the label used to retrieve the parameter
value. Specify selectors by using one of the following formats:
parameter_name:version
parameter_name:label
$sel:sourceResult:Parameter'
, parameter_sourceResult
- Applies to parameters that reference information in other Amazon Web
Services services. SourceResult
is the raw result or response from the
source.
$sel:name:Parameter'
, parameter_name
- The name of the parameter.
$sel:type':Parameter'
, parameter_type
- The type of parameter. Valid values include the following: String
,
StringList
, and SecureString
.
If type is StringList
, the system returns a comma-separated string
with no spaces between commas in the Value
field.
$sel:value:Parameter'
, parameter_value
- The parameter value.
If type is StringList
, the system returns a comma-separated string
with no spaces between commas in the Value
field.
$sel:version:Parameter'
, parameter_version
- The parameter version.
parameter_arn :: Lens' Parameter (Maybe Text) Source #
The Amazon Resource Name (ARN) of the parameter.
parameter_dataType :: Lens' Parameter (Maybe Text) Source #
The data type of the parameter, such as text
or aws:ec2:image
. The
default is text
.
parameter_lastModifiedDate :: Lens' Parameter (Maybe UTCTime) Source #
Date the parameter was last changed or updated and the parameter version was created.
parameter_selector :: Lens' Parameter (Maybe Text) Source #
Either the version number or the label used to retrieve the parameter value. Specify selectors by using one of the following formats:
parameter_name:version
parameter_name:label
parameter_sourceResult :: Lens' Parameter (Maybe Text) Source #
Applies to parameters that reference information in other Amazon Web
Services services. SourceResult
is the raw result or response from the
source.
parameter_type :: Lens' Parameter ParameterType Source #
The type of parameter. Valid values include the following: String
,
StringList
, and SecureString
.
If type is StringList
, the system returns a comma-separated string
with no spaces between commas in the Value
field.