Iot 1Click Projects
This page documents function available when using the Iot_1Click_Projects
module, created with @service Iot_1Click_Projects
.
Index
Main.Iot_1Click_Projects.associate_device_with_placement
Main.Iot_1Click_Projects.create_placement
Main.Iot_1Click_Projects.create_project
Main.Iot_1Click_Projects.delete_placement
Main.Iot_1Click_Projects.delete_project
Main.Iot_1Click_Projects.describe_placement
Main.Iot_1Click_Projects.describe_project
Main.Iot_1Click_Projects.disassociate_device_from_placement
Main.Iot_1Click_Projects.get_devices_in_placement
Main.Iot_1Click_Projects.list_placements
Main.Iot_1Click_Projects.list_projects
Main.Iot_1Click_Projects.list_tags_for_resource
Main.Iot_1Click_Projects.tag_resource
Main.Iot_1Click_Projects.untag_resource
Main.Iot_1Click_Projects.update_placement
Main.Iot_1Click_Projects.update_project
Documentation
Main.Iot_1Click_Projects.associate_device_with_placement
— Methodassociate_device_with_placement(device_id, device_template_name, placement_name, project_name)
associate_device_with_placement(device_id, device_template_name, placement_name, project_name, params::Dict{String,<:Any})
Associates a physical device with a placement.
Arguments
device_id
: 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.device_template_name
: The device template name to associate with the device ID.placement_name
: The name of the placement in which to associate the device.project_name
: The name of the project containing the placement in which to associate the device.
Main.Iot_1Click_Projects.create_placement
— Methodcreate_placement(placement_name, project_name)
create_placement(placement_name, project_name, params::Dict{String,<:Any})
Creates an empty placement.
Arguments
placement_name
: The name of the placement to be created.project_name
: The name of the project in which to create the placement.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"attributes"
: Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.
Main.Iot_1Click_Projects.create_project
— Methodcreate_project(project_name)
create_project(project_name, params::Dict{String,<:Any})
Creates an empty project with a placement template. A project contains zero or more placements that adhere to the placement template defined in the project.
Arguments
project_name
: The name of the project to create.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"description"
: An optional description for the project."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."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.
Main.Iot_1Click_Projects.delete_placement
— Methoddelete_placement(placement_name, project_name)
delete_placement(placement_name, project_name, params::Dict{String,<:Any})
Deletes a placement. To delete a placement, it must not have any devices associated with it. When you delete a placement, all associated data becomes irretrievable.
Arguments
placement_name
: The name of the empty placement to delete.project_name
: The project containing the empty placement to delete.
Main.Iot_1Click_Projects.delete_project
— Methoddelete_project(project_name)
delete_project(project_name, params::Dict{String,<:Any})
Deletes a project. To delete a project, it must not have any placements associated with it. When you delete a project, all associated data becomes irretrievable.
Arguments
project_name
: The name of the empty project to delete.
Main.Iot_1Click_Projects.describe_placement
— Methoddescribe_placement(placement_name, project_name)
describe_placement(placement_name, project_name, params::Dict{String,<:Any})
Describes a placement in a project.
Arguments
placement_name
: The name of the placement within a project.project_name
: The project containing the placement to be described.
Main.Iot_1Click_Projects.describe_project
— Methoddescribe_project(project_name)
describe_project(project_name, params::Dict{String,<:Any})
Returns an object describing a project.
Arguments
project_name
: The name of the project to be described.
Main.Iot_1Click_Projects.disassociate_device_from_placement
— Methoddisassociate_device_from_placement(device_template_name, placement_name, project_name)
disassociate_device_from_placement(device_template_name, placement_name, project_name, params::Dict{String,<:Any})
Removes a physical device from a placement.
Arguments
device_template_name
: The device ID that should be removed from the placement.placement_name
: The name of the placement that the device should be removed from.project_name
: The name of the project that contains the placement.
Main.Iot_1Click_Projects.get_devices_in_placement
— Methodget_devices_in_placement(placement_name, project_name)
get_devices_in_placement(placement_name, project_name, params::Dict{String,<:Any})
Returns an object enumerating the devices in a placement.
Arguments
placement_name
: The name of the placement to get the devices from.project_name
: The name of the project containing the placement.
Main.Iot_1Click_Projects.list_placements
— Methodlist_placements(project_name)
list_placements(project_name, params::Dict{String,<:Any})
Lists the placement(s) of a project.
Arguments
project_name
: The project containing the placements to be listed.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: The maximum number of results to return per request. If not set, a default value of 100 is used."nextToken"
: The token to retrieve the next set of results.
Main.Iot_1Click_Projects.list_projects
— Methodlist_projects()
list_projects(params::Dict{String,<:Any})
Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"maxResults"
: The maximum number of results to return per request. If not set, a default value of 100 is used."nextToken"
: The token to retrieve the next set of results.
Main.Iot_1Click_Projects.list_tags_for_resource
— Methodlist_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})
Lists the tags (metadata key/value pairs) which you have assigned to the resource.
Arguments
resource_arn
: The ARN of the resource whose tags you want to list.
Main.Iot_1Click_Projects.tag_resource
— Methodtag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})
Creates or modifies tags for a resource. Tags are key/value pairs (metadata) that can be used to manage a resource. For more information, see AWS Tagging Strategies.
Arguments
resource_arn
: The ARN of the resouce for which tag(s) should be added or modified.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.
Main.Iot_1Click_Projects.untag_resource
— Methoduntag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})
Removes one or more tags (metadata key/value pairs) from a resource.
Arguments
resource_arn
: The ARN of the resource whose tag you want to remove.tag_keys
: The keys of those tags which you want to remove.
Main.Iot_1Click_Projects.update_placement
— Methodupdate_placement(placement_name, project_name)
update_placement(placement_name, project_name, params::Dict{String,<:Any})
Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., "").
Arguments
placement_name
: The name of the placement to update.project_name
: The name of the project containing the placement to be updated.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"attributes"
: The user-defined object of attributes used to update the placement. The maximum number of key/value pairs is 50.
Main.Iot_1Click_Projects.update_project
— Methodupdate_project(project_name)
update_project(project_name, params::Dict{String,<:Any})
Updates a project associated with your AWS account and region. With the exception of device template names, you can pass just the values that need to be updated because the update request will change only the values that are provided. To clear a value, pass the empty string (i.e., "").
Arguments
project_name
: The name of the project to be updated.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"description"
: An optional user-defined description for the project."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.