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
- defaultService :: Service
- _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- data DeviceTemplate = DeviceTemplate' {
- deviceType :: Maybe Text
- callbackOverrides :: Maybe (HashMap Text Text)
- newDeviceTemplate :: DeviceTemplate
- deviceTemplate_deviceType :: Lens' DeviceTemplate (Maybe Text)
- deviceTemplate_callbackOverrides :: Lens' DeviceTemplate (Maybe (HashMap Text Text))
- data PlacementDescription = PlacementDescription' {}
- newPlacementDescription :: Text -> Text -> UTCTime -> UTCTime -> PlacementDescription
- placementDescription_projectName :: Lens' PlacementDescription Text
- placementDescription_placementName :: Lens' PlacementDescription Text
- placementDescription_attributes :: Lens' PlacementDescription (HashMap Text Text)
- placementDescription_createdDate :: Lens' PlacementDescription UTCTime
- placementDescription_updatedDate :: Lens' PlacementDescription UTCTime
- data PlacementSummary = PlacementSummary' {
- projectName :: Text
- placementName :: Text
- createdDate :: POSIX
- updatedDate :: POSIX
- newPlacementSummary :: Text -> Text -> UTCTime -> UTCTime -> PlacementSummary
- placementSummary_projectName :: Lens' PlacementSummary Text
- placementSummary_placementName :: Lens' PlacementSummary Text
- placementSummary_createdDate :: Lens' PlacementSummary UTCTime
- placementSummary_updatedDate :: Lens' PlacementSummary UTCTime
- data PlacementTemplate = PlacementTemplate' {}
- newPlacementTemplate :: PlacementTemplate
- placementTemplate_deviceTemplates :: Lens' PlacementTemplate (Maybe (HashMap Text DeviceTemplate))
- placementTemplate_defaultAttributes :: Lens' PlacementTemplate (Maybe (HashMap Text Text))
- data ProjectDescription = ProjectDescription' {
- arn :: Maybe Text
- placementTemplate :: Maybe PlacementTemplate
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- projectName :: Text
- createdDate :: POSIX
- updatedDate :: POSIX
- newProjectDescription :: Text -> UTCTime -> UTCTime -> ProjectDescription
- projectDescription_arn :: Lens' ProjectDescription (Maybe Text)
- projectDescription_placementTemplate :: Lens' ProjectDescription (Maybe PlacementTemplate)
- projectDescription_description :: Lens' ProjectDescription (Maybe Text)
- projectDescription_tags :: Lens' ProjectDescription (Maybe (HashMap Text Text))
- projectDescription_projectName :: Lens' ProjectDescription Text
- projectDescription_createdDate :: Lens' ProjectDescription UTCTime
- projectDescription_updatedDate :: Lens' ProjectDescription UTCTime
- data ProjectSummary = ProjectSummary' {
- arn :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- projectName :: Text
- createdDate :: POSIX
- updatedDate :: POSIX
- newProjectSummary :: Text -> UTCTime -> UTCTime -> ProjectSummary
- projectSummary_arn :: Lens' ProjectSummary (Maybe Text)
- projectSummary_tags :: Lens' ProjectSummary (Maybe (HashMap Text Text))
- projectSummary_projectName :: Lens' ProjectSummary Text
- projectSummary_createdDate :: Lens' ProjectSummary UTCTime
- projectSummary_updatedDate :: Lens' ProjectSummary UTCTime
Service Configuration
defaultService :: Service Source #
API version 2018-05-14
of the Amazon IoT 1-Click Projects Service SDK configuration.
Errors
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
_InternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError Source #
_ResourceConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
DeviceTemplate
data DeviceTemplate Source #
An object representing a device for a placement template (see PlacementTemplate).
See: newDeviceTemplate
smart constructor.
DeviceTemplate' | |
|
Instances
newDeviceTemplate :: DeviceTemplate Source #
Create a value of DeviceTemplate
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:deviceType:DeviceTemplate'
, deviceTemplate_deviceType
- The device type, which currently must be "button"
.
$sel:callbackOverrides:DeviceTemplate'
, deviceTemplate_callbackOverrides
- An optional Lambda function to invoke instead of the default Lambda
function provided by the placement template.
deviceTemplate_deviceType :: Lens' DeviceTemplate (Maybe Text) Source #
The device type, which currently must be "button"
.
deviceTemplate_callbackOverrides :: Lens' DeviceTemplate (Maybe (HashMap Text Text)) Source #
An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
PlacementDescription
data PlacementDescription Source #
An object describing a project's placement.
See: newPlacementDescription
smart constructor.
PlacementDescription' | |
|
Instances
newPlacementDescription Source #
:: Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> PlacementDescription |
Create a value of PlacementDescription
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:projectName:PlacementDescription'
, placementDescription_projectName
- The name of the project containing the placement.
$sel:placementName:PlacementDescription'
, placementDescription_placementName
- The name of the placement.
$sel:attributes:PlacementDescription'
, placementDescription_attributes
- The user-defined attributes associated with the placement.
$sel:createdDate:PlacementDescription'
, placementDescription_createdDate
- The date when the placement was initially created, in UNIX epoch time
format.
$sel:updatedDate:PlacementDescription'
, placementDescription_updatedDate
- The date when the placement was last updated, in UNIX epoch time format.
If the placement was not updated, then createdDate
and updatedDate
are the same.
placementDescription_projectName :: Lens' PlacementDescription Text Source #
The name of the project containing the placement.
placementDescription_placementName :: Lens' PlacementDescription Text Source #
The name of the placement.
placementDescription_attributes :: Lens' PlacementDescription (HashMap Text Text) Source #
The user-defined attributes associated with the placement.
placementDescription_createdDate :: Lens' PlacementDescription UTCTime Source #
The date when the placement was initially created, in UNIX epoch time format.
placementDescription_updatedDate :: Lens' PlacementDescription UTCTime Source #
The date when the placement was last updated, in UNIX epoch time format.
If the placement was not updated, then createdDate
and updatedDate
are the same.
PlacementSummary
data PlacementSummary Source #
An object providing summary information for a particular placement.
See: newPlacementSummary
smart constructor.
PlacementSummary' | |
|
Instances
:: Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> PlacementSummary |
Create a value of PlacementSummary
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:projectName:PlacementSummary'
, placementSummary_projectName
- The name of the project containing the placement.
$sel:placementName:PlacementSummary'
, placementSummary_placementName
- The name of the placement being summarized.
$sel:createdDate:PlacementSummary'
, placementSummary_createdDate
- The date when the placement was originally created, in UNIX epoch time
format.
$sel:updatedDate:PlacementSummary'
, placementSummary_updatedDate
- The date when the placement was last updated, in UNIX epoch time format.
If the placement was not updated, then createdDate
and updatedDate
are the same.
placementSummary_projectName :: Lens' PlacementSummary Text Source #
The name of the project containing the placement.
placementSummary_placementName :: Lens' PlacementSummary Text Source #
The name of the placement being summarized.
placementSummary_createdDate :: Lens' PlacementSummary UTCTime Source #
The date when the placement was originally created, in UNIX epoch time format.
placementSummary_updatedDate :: Lens' PlacementSummary UTCTime Source #
The date when the placement was last updated, in UNIX epoch time format.
If the placement was not updated, then createdDate
and updatedDate
are the same.
PlacementTemplate
data PlacementTemplate Source #
An object defining the template for a placement.
See: newPlacementTemplate
smart constructor.
PlacementTemplate' | |
|
Instances
newPlacementTemplate :: PlacementTemplate Source #
Create a value of PlacementTemplate
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:deviceTemplates:PlacementTemplate'
, placementTemplate_deviceTemplates
- An object specifying the DeviceTemplate for all placements using this
(PlacementTemplate) template.
$sel:defaultAttributes:PlacementTemplate'
, placementTemplate_defaultAttributes
- The default attributes (key/value pairs) to be applied to all
placements using this template.
placementTemplate_deviceTemplates :: Lens' PlacementTemplate (Maybe (HashMap Text DeviceTemplate)) Source #
An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.
placementTemplate_defaultAttributes :: Lens' PlacementTemplate (Maybe (HashMap Text Text)) Source #
The default attributes (key/value pairs) to be applied to all placements using this template.
ProjectDescription
data ProjectDescription Source #
An object providing detailed information for a particular project associated with an AWS account and region.
See: newProjectDescription
smart constructor.
ProjectDescription' | |
|
Instances
newProjectDescription Source #
:: Text | |
-> UTCTime | |
-> UTCTime | |
-> ProjectDescription |
Create a value of ProjectDescription
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:ProjectDescription'
, projectDescription_arn
- The ARN of the project.
$sel:placementTemplate:ProjectDescription'
, projectDescription_placementTemplate
- An object describing the project's placement specifications.
$sel:description:ProjectDescription'
, projectDescription_description
- The description of the project.
$sel:tags:ProjectDescription'
, projectDescription_tags
- The tags (metadata key/value pairs) associated with the project.
$sel:projectName:ProjectDescription'
, projectDescription_projectName
- The name of the project for which to obtain information from.
$sel:createdDate:ProjectDescription'
, projectDescription_createdDate
- The date when the project was originally created, in UNIX epoch time
format.
$sel:updatedDate:ProjectDescription'
, projectDescription_updatedDate
- The date when the project was last updated, in UNIX epoch time format.
If the project was not updated, then createdDate
and updatedDate
are
the same.
projectDescription_arn :: Lens' ProjectDescription (Maybe Text) Source #
The ARN of the project.
projectDescription_placementTemplate :: Lens' ProjectDescription (Maybe PlacementTemplate) Source #
An object describing the project's placement specifications.
projectDescription_description :: Lens' ProjectDescription (Maybe Text) Source #
The description of the project.
projectDescription_tags :: Lens' ProjectDescription (Maybe (HashMap Text Text)) Source #
The tags (metadata key/value pairs) associated with the project.
projectDescription_projectName :: Lens' ProjectDescription Text Source #
The name of the project for which to obtain information from.
projectDescription_createdDate :: Lens' ProjectDescription UTCTime Source #
The date when the project was originally created, in UNIX epoch time format.
projectDescription_updatedDate :: Lens' ProjectDescription UTCTime Source #
The date when the project was last updated, in UNIX epoch time format.
If the project was not updated, then createdDate
and updatedDate
are
the same.
ProjectSummary
data ProjectSummary Source #
An object providing summary information for a particular project for an associated AWS account and region.
See: newProjectSummary
smart constructor.
ProjectSummary' | |
|
Instances
:: Text | |
-> UTCTime | |
-> UTCTime | |
-> ProjectSummary |
Create a value of ProjectSummary
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:ProjectSummary'
, projectSummary_arn
- The ARN of the project.
$sel:tags:ProjectSummary'
, projectSummary_tags
- The tags (metadata key/value pairs) associated with the project.
$sel:projectName:ProjectSummary'
, projectSummary_projectName
- The name of the project being summarized.
$sel:createdDate:ProjectSummary'
, projectSummary_createdDate
- The date when the project was originally created, in UNIX epoch time
format.
$sel:updatedDate:ProjectSummary'
, projectSummary_updatedDate
- The date when the project was last updated, in UNIX epoch time format.
If the project was not updated, then createdDate
and updatedDate
are
the same.
projectSummary_arn :: Lens' ProjectSummary (Maybe Text) Source #
The ARN of the project.
projectSummary_tags :: Lens' ProjectSummary (Maybe (HashMap Text Text)) Source #
The tags (metadata key/value pairs) associated with the project.
projectSummary_projectName :: Lens' ProjectSummary Text Source #
The name of the project being summarized.
projectSummary_createdDate :: Lens' ProjectSummary UTCTime Source #
The date when the project was originally created, in UNIX epoch time format.
projectSummary_updatedDate :: Lens' ProjectSummary UTCTime Source #
The date when the project was last updated, in UNIX epoch time format.
If the project was not updated, then createdDate
and updatedDate
are
the same.