Class: Aws::IoT1ClickProjects::Types::UpdateProjectRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/types.rb

Overview

Note:

When making an API call, you may pass UpdateProjectRequest data as a hash:

{
  project_name: "ProjectName", # required
  description: "Description",
  placement_template: {
    default_attributes: {
      "AttributeName" => "AttributeDefaultValue",
    },
    device_templates: {
      "DeviceTemplateName" => {
        device_type: "DeviceType",
        callback_overrides: {
          "DeviceCallbackKey" => "DeviceCallbackValue",
        },
      },
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

An optional user-defined description for the project.

Returns:

  • (String)


837
838
839
840
841
842
843
# File 'gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/types.rb', line 837

class UpdateProjectRequest < Struct.new(
  :project_name,
  :description,
  :placement_template)
  SENSITIVE = []
  include Aws::Structure
end

#placement_templateTypes::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.



837
838
839
840
841
842
843
# File 'gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/types.rb', line 837

class UpdateProjectRequest < Struct.new(
  :project_name,
  :description,
  :placement_template)
  SENSITIVE = []
  include Aws::Structure
end

#project_nameString

The name of the project to be updated.

Returns:

  • (String)


837
838
839
840
841
842
843
# File 'gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/types.rb', line 837

class UpdateProjectRequest < Struct.new(
  :project_name,
  :description,
  :placement_template)
  SENSITIVE = []
  include Aws::Structure
end