Class: Aws::IoT::Types::CreateOTAUpdateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CreateOTAUpdateRequest
- Defined in:
- gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#additional_parameters ⇒ Hash<String,String>
A list of additional OTA update parameters, which are name-value pairs.
-
#aws_job_abort_config ⇒ Types::AwsJobAbortConfig
The criteria that determine when and how a job abort takes place.
-
#aws_job_executions_rollout_config ⇒ Types::AwsJobExecutionsRolloutConfig
Configuration for the rollout of OTA updates.
-
#aws_job_presigned_url_config ⇒ Types::AwsJobPresignedUrlConfig
Configuration information for pre-signed URLs.
-
#aws_job_timeout_config ⇒ Types::AwsJobTimeoutConfig
Specifies the amount of time each device has to finish its execution of the job.
-
#description ⇒ String
The description of the OTA update.
-
#files ⇒ Array<Types::OTAUpdateFile>
The files to be streamed by the OTA update.
-
#ota_update_id ⇒ String
The ID of the OTA update to be created.
-
#protocols ⇒ Array<String>
The protocol used to transfer the OTA update image.
-
#role_arn ⇒ String
The IAM role that grants Amazon Web Services IoT Core access to the Amazon S3, IoT jobs and Amazon Web Services Code Signing resources to create an OTA update job.
-
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage updates.
-
#target_selection ⇒ String
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT).
-
#targets ⇒ Array<String>
The devices targeted to receive OTA updates.
Instance Attribute Details
#additional_parameters ⇒ Hash<String,String>
A list of additional OTA update parameters, which are name-value pairs. They won't be sent to devices as a part of the Job document.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#aws_job_abort_config ⇒ Types::AwsJobAbortConfig
The criteria that determine when and how a job abort takes place.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#aws_job_executions_rollout_config ⇒ Types::AwsJobExecutionsRolloutConfig
Configuration for the rollout of OTA updates.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#aws_job_presigned_url_config ⇒ Types::AwsJobPresignedUrlConfig
Configuration information for pre-signed URLs.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#aws_job_timeout_config ⇒ Types::AwsJobTimeoutConfig
Specifies the amount of time each device has to finish its execution
of the job. A timer is started when the job execution status is set
to IN_PROGRESS
. If the job execution status is not set to another
terminal state before the timer expires, it will be automatically
set to TIMED_OUT
.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The description of the OTA update.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#files ⇒ Array<Types::OTAUpdateFile>
The files to be streamed by the OTA update.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#ota_update_id ⇒ String
The ID of the OTA update to be created.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#protocols ⇒ Array<String>
The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device can choose the protocol.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#role_arn ⇒ String
The IAM role that grants Amazon Web Services IoT Core access to the Amazon S3, IoT jobs and Amazon Web Services Code Signing resources to create an OTA update job.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
Metadata which can be used to manage updates.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#target_selection ⇒ String
Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |
#targets ⇒ Array<String>
The devices targeted to receive OTA updates.
3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3728 class CreateOTAUpdateRequest < Struct.new( :ota_update_id, :description, :targets, :protocols, :target_selection, :aws_job_executions_rollout_config, :aws_job_presigned_url_config, :aws_job_abort_config, :aws_job_timeout_config, :files, :role_arn, :additional_parameters, :tags) SENSITIVE = [] include Aws::Structure end |