You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Greengrass::Types::CreateSoftwareUpdateJobRequest

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

Overview

Note:

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

{
  amzn_client_token: "__string",
  s3_url_signer_role: "S3UrlSignerRole",
  software_to_update: "core", # accepts core, ota_agent
  update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
  update_targets: ["__string"],
  update_targets_architecture: "armv7l", # accepts armv7l, x86_64, aarch64
  update_targets_operating_system: "ubuntu", # accepts ubuntu, raspbian, amazon_linux
}

Request for the CreateSoftwareUpdateJob API

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1160

class CreateSoftwareUpdateJobRequest < Struct.new(
  :amzn_client_token,
  :s3_url_signer_role,
  :software_to_update,
  :update_agent_log_level,
  :update_targets,
  :update_targets_architecture,
  :update_targets_operating_system)
  include Aws::Structure
end

#s3_url_signer_roleString

The IAM Role that Greengrass will use to create pre-signed URLs pointing towards the update artifact.

Returns:

  • (String)


1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1160

class CreateSoftwareUpdateJobRequest < Struct.new(
  :amzn_client_token,
  :s3_url_signer_role,
  :software_to_update,
  :update_agent_log_level,
  :update_targets,
  :update_targets_architecture,
  :update_targets_operating_system)
  include Aws::Structure
end

#software_to_updateString

The piece of software on the Greengrass Core that will be updated.

Returns:

  • (String)


1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1160

class CreateSoftwareUpdateJobRequest < Struct.new(
  :amzn_client_token,
  :s3_url_signer_role,
  :software_to_update,
  :update_agent_log_level,
  :update_targets,
  :update_targets_architecture,
  :update_targets_operating_system)
  include Aws::Structure
end

#update_agent_log_levelString

The minimum level of log statements that should be logged by the OTA Agent during an update.

Returns:

  • (String)


1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1160

class CreateSoftwareUpdateJobRequest < Struct.new(
  :amzn_client_token,
  :s3_url_signer_role,
  :software_to_update,
  :update_agent_log_level,
  :update_targets,
  :update_targets_architecture,
  :update_targets_operating_system)
  include Aws::Structure
end

#update_targetsArray<String>

The target arns that this update will be applied to.

Returns:

  • (Array<String>)


1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1160

class CreateSoftwareUpdateJobRequest < Struct.new(
  :amzn_client_token,
  :s3_url_signer_role,
  :software_to_update,
  :update_agent_log_level,
  :update_targets,
  :update_targets_architecture,
  :update_targets_operating_system)
  include Aws::Structure
end

#update_targets_architectureString

The architecture of the Cores in the targets of an update

Returns:

  • (String)


1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1160

class CreateSoftwareUpdateJobRequest < Struct.new(
  :amzn_client_token,
  :s3_url_signer_role,
  :software_to_update,
  :update_agent_log_level,
  :update_targets,
  :update_targets_architecture,
  :update_targets_operating_system)
  include Aws::Structure
end

#update_targets_operating_systemString

The operating system of the Cores in the targets of an update

Returns:

  • (String)


1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1160

class CreateSoftwareUpdateJobRequest < Struct.new(
  :amzn_client_token,
  :s3_url_signer_role,
  :software_to_update,
  :update_agent_log_level,
  :update_targets,
  :update_targets_architecture,
  :update_targets_operating_system)
  include Aws::Structure
end