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 |
Derived from API version 2018-05-14
of the AWS service descriptions, licensed under Apache 2.0.
The AWS IoT 1-Click Projects API Reference
Synopsis
- defaultService :: Service
- _InternalFailureException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- _ResourceConflictException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _TooManyRequestsException :: AsError a => Fold a ServiceError
- data AssociateDeviceWithPlacement = AssociateDeviceWithPlacement' Text Text Text Text
- newAssociateDeviceWithPlacement :: Text -> Text -> Text -> Text -> AssociateDeviceWithPlacement
- data AssociateDeviceWithPlacementResponse = AssociateDeviceWithPlacementResponse' Int
- newAssociateDeviceWithPlacementResponse :: Int -> AssociateDeviceWithPlacementResponse
- data CreatePlacement = CreatePlacement' (Maybe (HashMap Text Text)) Text Text
- newCreatePlacement :: Text -> Text -> CreatePlacement
- data CreatePlacementResponse = CreatePlacementResponse' Int
- newCreatePlacementResponse :: Int -> CreatePlacementResponse
- data CreateProject = CreateProject' (Maybe Text) (Maybe PlacementTemplate) (Maybe (HashMap Text Text)) Text
- newCreateProject :: Text -> CreateProject
- data CreateProjectResponse = CreateProjectResponse' Int
- newCreateProjectResponse :: Int -> CreateProjectResponse
- data DeletePlacement = DeletePlacement' Text Text
- newDeletePlacement :: Text -> Text -> DeletePlacement
- data DeletePlacementResponse = DeletePlacementResponse' Int
- newDeletePlacementResponse :: Int -> DeletePlacementResponse
- data DeleteProject = DeleteProject' Text
- newDeleteProject :: Text -> DeleteProject
- data DeleteProjectResponse = DeleteProjectResponse' Int
- newDeleteProjectResponse :: Int -> DeleteProjectResponse
- data DescribePlacement = DescribePlacement' Text Text
- newDescribePlacement :: Text -> Text -> DescribePlacement
- data DescribePlacementResponse = DescribePlacementResponse' Int PlacementDescription
- newDescribePlacementResponse :: Int -> PlacementDescription -> DescribePlacementResponse
- data DescribeProject = DescribeProject' Text
- newDescribeProject :: Text -> DescribeProject
- data DescribeProjectResponse = DescribeProjectResponse' Int ProjectDescription
- newDescribeProjectResponse :: Int -> ProjectDescription -> DescribeProjectResponse
- data DisassociateDeviceFromPlacement = DisassociateDeviceFromPlacement' Text Text Text
- newDisassociateDeviceFromPlacement :: Text -> Text -> Text -> DisassociateDeviceFromPlacement
- data DisassociateDeviceFromPlacementResponse = DisassociateDeviceFromPlacementResponse' Int
- newDisassociateDeviceFromPlacementResponse :: Int -> DisassociateDeviceFromPlacementResponse
- data GetDevicesInPlacement = GetDevicesInPlacement' Text Text
- newGetDevicesInPlacement :: Text -> Text -> GetDevicesInPlacement
- data GetDevicesInPlacementResponse = GetDevicesInPlacementResponse' Int (HashMap Text Text)
- newGetDevicesInPlacementResponse :: Int -> GetDevicesInPlacementResponse
- data ListPlacements = ListPlacements' (Maybe Natural) (Maybe Text) Text
- newListPlacements :: Text -> ListPlacements
- data ListPlacementsResponse = ListPlacementsResponse' (Maybe Text) Int [PlacementSummary]
- newListPlacementsResponse :: Int -> ListPlacementsResponse
- data ListProjects = ListProjects' (Maybe Natural) (Maybe Text)
- newListProjects :: ListProjects
- data ListProjectsResponse = ListProjectsResponse' (Maybe Text) Int [ProjectSummary]
- newListProjectsResponse :: Int -> ListProjectsResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text (NonEmpty Text)
- newUntagResource :: Text -> NonEmpty Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data UpdatePlacement = UpdatePlacement' (Maybe (HashMap Text Text)) Text Text
- newUpdatePlacement :: Text -> Text -> UpdatePlacement
- data UpdatePlacementResponse = UpdatePlacementResponse' Int
- newUpdatePlacementResponse :: Int -> UpdatePlacementResponse
- data UpdateProject = UpdateProject' (Maybe Text) (Maybe PlacementTemplate) Text
- newUpdateProject :: Text -> UpdateProject
- data UpdateProjectResponse = UpdateProjectResponse' Int
- newUpdateProjectResponse :: Int -> UpdateProjectResponse
- data DeviceTemplate = DeviceTemplate' (Maybe (HashMap Text Text)) (Maybe Text)
- newDeviceTemplate :: DeviceTemplate
- data PlacementDescription = PlacementDescription' Text Text (HashMap Text Text) POSIX POSIX
- newPlacementDescription :: Text -> Text -> UTCTime -> UTCTime -> PlacementDescription
- data PlacementSummary = PlacementSummary' Text Text POSIX POSIX
- newPlacementSummary :: Text -> Text -> UTCTime -> UTCTime -> PlacementSummary
- data PlacementTemplate = PlacementTemplate' (Maybe (HashMap Text Text)) (Maybe (HashMap Text DeviceTemplate))
- newPlacementTemplate :: PlacementTemplate
- data ProjectDescription = ProjectDescription' (Maybe Text) (Maybe Text) (Maybe PlacementTemplate) (Maybe (HashMap Text Text)) Text POSIX POSIX
- newProjectDescription :: Text -> UTCTime -> UTCTime -> ProjectDescription
- data ProjectSummary = ProjectSummary' (Maybe Text) (Maybe (HashMap Text Text)) Text POSIX POSIX
- newProjectSummary :: Text -> UTCTime -> UTCTime -> ProjectSummary
Service Configuration
defaultService :: Service Source #
API version 2018-05-14
of the Amazon IoT 1-Click Projects Service SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by IoT1ClickProjects
.
InternalFailureException
_InternalFailureException :: AsError a => Fold a ServiceError Source #
InvalidRequestException
_InvalidRequestException :: AsError a => Fold a ServiceError Source #
ResourceConflictException
_ResourceConflictException :: AsError a => Fold a ServiceError Source #
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
TooManyRequestsException
_TooManyRequestsException :: AsError a => Fold a ServiceError Source #
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
AssociateDeviceWithPlacement
data AssociateDeviceWithPlacement Source #
See: newAssociateDeviceWithPlacement
smart constructor.
Instances
newAssociateDeviceWithPlacement Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> AssociateDeviceWithPlacement |
Create a value of AssociateDeviceWithPlacement
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:
AssociateDeviceWithPlacement
, associateDeviceWithPlacement_projectName
- The name of the project containing the placement in which to associate
the device.
AssociateDeviceWithPlacement
, associateDeviceWithPlacement_placementName
- The name of the placement in which to associate the device.
$sel:deviceId:AssociateDeviceWithPlacement'
, associateDeviceWithPlacement_deviceId
- The ID of the physical device to be associated with the given placement
in the project. Note that a mandatory 4 character prefix is required for
all deviceId
values.
$sel:deviceTemplateName:AssociateDeviceWithPlacement'
, associateDeviceWithPlacement_deviceTemplateName
- The device template name to associate with the device ID.
data AssociateDeviceWithPlacementResponse Source #
See: newAssociateDeviceWithPlacementResponse
smart constructor.
Instances
Generic AssociateDeviceWithPlacementResponse Source # | |
Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement type Rep AssociateDeviceWithPlacementResponse :: Type -> Type # | |
Read AssociateDeviceWithPlacementResponse Source # | |
Show AssociateDeviceWithPlacementResponse Source # | |
NFData AssociateDeviceWithPlacementResponse Source # | |
Eq AssociateDeviceWithPlacementResponse Source # | |
type Rep AssociateDeviceWithPlacementResponse Source # | |
Defined in Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement type Rep AssociateDeviceWithPlacementResponse = D1 ('MetaData "AssociateDeviceWithPlacementResponse" "Amazonka.IoT1ClickProjects.AssociateDeviceWithPlacement" "amazonka-iot1click-projects-2.0-KLltusBcTZO1f6G5pKsT1G" 'False) (C1 ('MetaCons "AssociateDeviceWithPlacementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateDeviceWithPlacementResponse Source #
Create a value of AssociateDeviceWithPlacementResponse
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:httpStatus:AssociateDeviceWithPlacementResponse'
, associateDeviceWithPlacementResponse_httpStatus
- The response's http status code.
CreatePlacement
data CreatePlacement Source #
See: newCreatePlacement
smart constructor.
Instances
Create a value of CreatePlacement
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:
CreatePlacement
, createPlacement_attributes
- Optional user-defined key/value pairs providing contextual data (such
as location or function) for the placement.
CreatePlacement
, createPlacement_placementName
- The name of the placement to be created.
CreatePlacement
, createPlacement_projectName
- The name of the project in which to create the placement.
data CreatePlacementResponse Source #
See: newCreatePlacementResponse
smart constructor.
Instances
newCreatePlacementResponse Source #
Create a value of CreatePlacementResponse
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:httpStatus:CreatePlacementResponse'
, createPlacementResponse_httpStatus
- The response's http status code.
CreateProject
data CreateProject Source #
See: newCreateProject
smart constructor.
Instances
Create a value of CreateProject
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:
CreateProject
, createProject_description
- An optional description for the project.
CreateProject
, createProject_placementTemplate
- The schema defining the placement to be created. A placement template
defines placement default attributes and device templates. You cannot
add or remove device templates after the project has been created.
However, you can update callbackOverrides
for the device templates
using the UpdateProject
API.
CreateProject
, createProject_tags
- Optional tags (metadata key/value pairs) to be associated with the
project. For example,
{ {"key1": "value1", "key2": "value2"} }
. For more
information, see
AWS Tagging Strategies.
CreateProject
, createProject_projectName
- The name of the project to create.
data CreateProjectResponse Source #
See: newCreateProjectResponse
smart constructor.
Instances
newCreateProjectResponse Source #
Create a value of CreateProjectResponse
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:httpStatus:CreateProjectResponse'
, createProjectResponse_httpStatus
- The response's http status code.
DeletePlacement
data DeletePlacement Source #
See: newDeletePlacement
smart constructor.
Instances
Create a value of DeletePlacement
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:
DeletePlacement
, deletePlacement_placementName
- The name of the empty placement to delete.
DeletePlacement
, deletePlacement_projectName
- The project containing the empty placement to delete.
data DeletePlacementResponse Source #
See: newDeletePlacementResponse
smart constructor.
Instances
newDeletePlacementResponse Source #
Create a value of DeletePlacementResponse
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:httpStatus:DeletePlacementResponse'
, deletePlacementResponse_httpStatus
- The response's http status code.
DeleteProject
data DeleteProject Source #
See: newDeleteProject
smart constructor.
Instances
Create a value of DeleteProject
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:
DeleteProject
, deleteProject_projectName
- The name of the empty project to delete.
data DeleteProjectResponse Source #
See: newDeleteProjectResponse
smart constructor.
Instances
newDeleteProjectResponse Source #
Create a value of DeleteProjectResponse
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:httpStatus:DeleteProjectResponse'
, deleteProjectResponse_httpStatus
- The response's http status code.
DescribePlacement
data DescribePlacement Source #
See: newDescribePlacement
smart constructor.
Instances
Create a value of DescribePlacement
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:
DescribePlacement
, describePlacement_placementName
- The name of the placement within a project.
DescribePlacement
, describePlacement_projectName
- The project containing the placement to be described.
data DescribePlacementResponse Source #
See: newDescribePlacementResponse
smart constructor.
Instances
newDescribePlacementResponse Source #
Create a value of DescribePlacementResponse
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:httpStatus:DescribePlacementResponse'
, describePlacementResponse_httpStatus
- The response's http status code.
$sel:placement:DescribePlacementResponse'
, describePlacementResponse_placement
- An object describing the placement.
DescribeProject
data DescribeProject Source #
See: newDescribeProject
smart constructor.
Instances
Create a value of DescribeProject
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:
DescribeProject
, describeProject_projectName
- The name of the project to be described.
data DescribeProjectResponse Source #
See: newDescribeProjectResponse
smart constructor.
Instances
newDescribeProjectResponse Source #
Create a value of DescribeProjectResponse
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:httpStatus:DescribeProjectResponse'
, describeProjectResponse_httpStatus
- The response's http status code.
$sel:project:DescribeProjectResponse'
, describeProjectResponse_project
- An object describing the project.
DisassociateDeviceFromPlacement
data DisassociateDeviceFromPlacement Source #
See: newDisassociateDeviceFromPlacement
smart constructor.
Instances
newDisassociateDeviceFromPlacement Source #
:: Text | |
-> Text | |
-> Text | |
-> DisassociateDeviceFromPlacement |
Create a value of DisassociateDeviceFromPlacement
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:
DisassociateDeviceFromPlacement
, disassociateDeviceFromPlacement_projectName
- The name of the project that contains the placement.
DisassociateDeviceFromPlacement
, disassociateDeviceFromPlacement_placementName
- The name of the placement that the device should be removed from.
$sel:deviceTemplateName:DisassociateDeviceFromPlacement'
, disassociateDeviceFromPlacement_deviceTemplateName
- The device ID that should be removed from the placement.
data DisassociateDeviceFromPlacementResponse Source #
See: newDisassociateDeviceFromPlacementResponse
smart constructor.
Instances
Generic DisassociateDeviceFromPlacementResponse Source # | |
Read DisassociateDeviceFromPlacementResponse Source # | |
Show DisassociateDeviceFromPlacementResponse Source # | |
NFData DisassociateDeviceFromPlacementResponse Source # | |
Eq DisassociateDeviceFromPlacementResponse Source # | |
type Rep DisassociateDeviceFromPlacementResponse Source # | |
Defined in Amazonka.IoT1ClickProjects.DisassociateDeviceFromPlacement type Rep DisassociateDeviceFromPlacementResponse = D1 ('MetaData "DisassociateDeviceFromPlacementResponse" "Amazonka.IoT1ClickProjects.DisassociateDeviceFromPlacement" "amazonka-iot1click-projects-2.0-KLltusBcTZO1f6G5pKsT1G" 'False) (C1 ('MetaCons "DisassociateDeviceFromPlacementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateDeviceFromPlacementResponse Source #
Create a value of DisassociateDeviceFromPlacementResponse
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:httpStatus:DisassociateDeviceFromPlacementResponse'
, disassociateDeviceFromPlacementResponse_httpStatus
- The response's http status code.
GetDevicesInPlacement
data GetDevicesInPlacement Source #
See: newGetDevicesInPlacement
smart constructor.
Instances
newGetDevicesInPlacement Source #
Create a value of GetDevicesInPlacement
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:
GetDevicesInPlacement
, getDevicesInPlacement_projectName
- The name of the project containing the placement.
GetDevicesInPlacement
, getDevicesInPlacement_placementName
- The name of the placement to get the devices from.
data GetDevicesInPlacementResponse Source #
See: newGetDevicesInPlacementResponse
smart constructor.
Instances
newGetDevicesInPlacementResponse Source #
Create a value of GetDevicesInPlacementResponse
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:httpStatus:GetDevicesInPlacementResponse'
, getDevicesInPlacementResponse_httpStatus
- The response's http status code.
$sel:devices:GetDevicesInPlacementResponse'
, getDevicesInPlacementResponse_devices
- An object containing the devices (zero or more) within the placement.
ListPlacements (Paginated)
data ListPlacements Source #
See: newListPlacements
smart constructor.
Instances
Create a value of ListPlacements
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:maxResults:ListPlacements'
, listPlacements_maxResults
- The maximum number of results to return per request. If not set, a
default value of 100 is used.
ListPlacements
, listPlacements_nextToken
- The token to retrieve the next set of results.
ListPlacements
, listPlacements_projectName
- The project containing the placements to be listed.
data ListPlacementsResponse Source #
See: newListPlacementsResponse
smart constructor.
Instances
newListPlacementsResponse Source #
Create a value of ListPlacementsResponse
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:
ListPlacements
, listPlacementsResponse_nextToken
- The token used to retrieve the next set of results - will be effectively
empty if there are no further results.
$sel:httpStatus:ListPlacementsResponse'
, listPlacementsResponse_httpStatus
- The response's http status code.
$sel:placements:ListPlacementsResponse'
, listPlacementsResponse_placements
- An object listing the requested placements.
ListProjects (Paginated)
data ListProjects Source #
See: newListProjects
smart constructor.
Instances
newListProjects :: ListProjects Source #
Create a value of ListProjects
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:maxResults:ListProjects'
, listProjects_maxResults
- The maximum number of results to return per request. If not set, a
default value of 100 is used.
ListProjects
, listProjects_nextToken
- The token to retrieve the next set of results.
data ListProjectsResponse Source #
See: newListProjectsResponse
smart constructor.
Instances
newListProjectsResponse Source #
Create a value of ListProjectsResponse
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:
ListProjects
, listProjectsResponse_nextToken
- The token used to retrieve the next set of results - will be effectively
empty if there are no further results.
$sel:httpStatus:ListProjectsResponse'
, listProjectsResponse_httpStatus
- The response's http status code.
$sel:projects:ListProjectsResponse'
, listProjectsResponse_projects
- An object containing the list of projects.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
Create a value of ListTagsForResource
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:resourceArn:ListTagsForResource'
, listTagsForResource_resourceArn
- The ARN of the resource whose tags you want to list.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse
smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse
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:
ListTagsForResourceResponse
, listTagsForResourceResponse_tags
- The tags (metadata key/value pairs) which you have assigned to the
resource.
$sel:httpStatus:ListTagsForResourceResponse'
, listTagsForResourceResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Instances
Create a value of TagResource
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:resourceArn:TagResource'
, tagResource_resourceArn
- The ARN of the resouce for which tag(s) should be added or modified.
TagResource
, tagResource_tags
- The new or modifying tag(s) for the resource. See
AWS IoT 1-Click Service Limits
for the maximum number of tags allowed per resource.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Instances
newTagResourceResponse Source #
Create a value of TagResourceResponse
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:httpStatus:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Instances
Create a value of UntagResource
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:resourceArn:UntagResource'
, untagResource_resourceArn
- The ARN of the resource whose tag you want to remove.
$sel:tagKeys:UntagResource'
, untagResource_tagKeys
- The keys of those tags which you want to remove.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:httpStatus:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
UpdatePlacement
data UpdatePlacement Source #
See: newUpdatePlacement
smart constructor.
Instances
Create a value of UpdatePlacement
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:
UpdatePlacement
, updatePlacement_attributes
- The user-defined object of attributes used to update the placement. The
maximum number of key/value pairs is 50.
UpdatePlacement
, updatePlacement_placementName
- The name of the placement to update.
UpdatePlacement
, updatePlacement_projectName
- The name of the project containing the placement to be updated.
data UpdatePlacementResponse Source #
See: newUpdatePlacementResponse
smart constructor.
Instances
newUpdatePlacementResponse Source #
Create a value of UpdatePlacementResponse
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:httpStatus:UpdatePlacementResponse'
, updatePlacementResponse_httpStatus
- The response's http status code.
UpdateProject
data UpdateProject Source #
See: newUpdateProject
smart constructor.
Instances
Create a value of UpdateProject
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:
UpdateProject
, updateProject_description
- An optional user-defined description for the project.
UpdateProject
, updateProject_placementTemplate
- An object defining the project update. Once a project has been created,
you cannot add device template names to the project. However, for a
given placementTemplate
, you can update the associated
callbackOverrides
for the device definition using this API.
UpdateProject
, updateProject_projectName
- The name of the project to be updated.
data UpdateProjectResponse Source #
See: newUpdateProjectResponse
smart constructor.
Instances
newUpdateProjectResponse Source #
Create a value of UpdateProjectResponse
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:httpStatus:UpdateProjectResponse'
, updateProjectResponse_httpStatus
- The response's http status code.
Types
DeviceTemplate
data DeviceTemplate Source #
An object representing a device for a placement template (see PlacementTemplate).
See: newDeviceTemplate
smart constructor.
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:callbackOverrides:DeviceTemplate'
, deviceTemplate_callbackOverrides
- An optional Lambda function to invoke instead of the default Lambda
function provided by the placement template.
$sel:deviceType:DeviceTemplate'
, deviceTemplate_deviceType
- The device type, which currently must be "button"
.
PlacementDescription
data PlacementDescription Source #
An object describing a project's placement.
See: newPlacementDescription
smart constructor.
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.
PlacementSummary
data PlacementSummary Source #
An object providing summary information for a particular placement.
See: newPlacementSummary
smart constructor.
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.
PlacementTemplate
data PlacementTemplate Source #
An object defining the template for a placement.
See: newPlacementTemplate
smart constructor.
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:defaultAttributes:PlacementTemplate'
, placementTemplate_defaultAttributes
- The default attributes (key/value pairs) to be applied to all
placements using this template.
$sel:deviceTemplates:PlacementTemplate'
, placementTemplate_deviceTemplates
- An object specifying the DeviceTemplate for all placements using this
(PlacementTemplate) 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' (Maybe Text) (Maybe Text) (Maybe PlacementTemplate) (Maybe (HashMap Text Text)) Text POSIX POSIX |
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:description:ProjectDescription'
, projectDescription_description
- The description of the project.
$sel:placementTemplate:ProjectDescription'
, projectDescription_placementTemplate
- An object describing the project's placement specifications.
$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.
ProjectSummary
data ProjectSummary Source #
An object providing summary information for a particular project for an associated AWS account and region.
See: newProjectSummary
smart constructor.
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.