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 DateTimeParameterDeclaration = DateTimeParameterDeclaration' {}
- newDateTimeParameterDeclaration :: Text -> DateTimeParameterDeclaration
- dateTimeParameterDeclaration_defaultValues :: Lens' DateTimeParameterDeclaration (Maybe DateTimeDefaultValues)
- dateTimeParameterDeclaration_timeGranularity :: Lens' DateTimeParameterDeclaration (Maybe TimeGranularity)
- dateTimeParameterDeclaration_valueWhenUnset :: Lens' DateTimeParameterDeclaration (Maybe DateTimeValueWhenUnsetConfiguration)
- dateTimeParameterDeclaration_name :: Lens' DateTimeParameterDeclaration Text
Documentation
data DateTimeParameterDeclaration Source #
A parameter declaration for the DateTime
data type.
See: newDateTimeParameterDeclaration
smart constructor.
DateTimeParameterDeclaration' | |
|
Instances
newDateTimeParameterDeclaration Source #
Create a value of DateTimeParameterDeclaration
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:defaultValues:DateTimeParameterDeclaration'
, dateTimeParameterDeclaration_defaultValues
- The default values of a parameter. If the parameter is a single-value
parameter, a maximum of one default value can be provided.
$sel:timeGranularity:DateTimeParameterDeclaration'
, dateTimeParameterDeclaration_timeGranularity
- The level of time precision that is used to aggregate DateTime
values.
$sel:valueWhenUnset:DateTimeParameterDeclaration'
, dateTimeParameterDeclaration_valueWhenUnset
- The configuration that defines the default value of a DateTime
parameter when a value has not been set.
$sel:name:DateTimeParameterDeclaration'
, dateTimeParameterDeclaration_name
- The name of the parameter that is being declared.
dateTimeParameterDeclaration_defaultValues :: Lens' DateTimeParameterDeclaration (Maybe DateTimeDefaultValues) Source #
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
dateTimeParameterDeclaration_timeGranularity :: Lens' DateTimeParameterDeclaration (Maybe TimeGranularity) Source #
The level of time precision that is used to aggregate DateTime
values.
dateTimeParameterDeclaration_valueWhenUnset :: Lens' DateTimeParameterDeclaration (Maybe DateTimeValueWhenUnsetConfiguration) Source #
The configuration that defines the default value of a DateTime
parameter when a value has not been set.
dateTimeParameterDeclaration_name :: Lens' DateTimeParameterDeclaration Text Source #
The name of the parameter that is being declared.