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", # required
  software_to_update: "core", # required, accepts core, ota_agent
  update_agent_log_level: "NONE", # accepts NONE, TRACE, DEBUG, VERBOSE, INFO, WARN, ERROR, FATAL
  update_targets: ["__string"], # required
  update_targets_architecture: "armv6l", # required, accepts armv6l, armv7l, x86_64, aarch64
  update_targets_operating_system: "ubuntu", # required, accepts ubuntu, raspbian, amazon_linux, openwrt
}

Request for the CreateSoftwareUpdateJob API.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1677

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)
  SENSITIVE = []
  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)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1677

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)
  SENSITIVE = []
  include Aws::Structure
end

#software_to_updateString

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

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1677

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)
  SENSITIVE = []
  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)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1677

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)
  SENSITIVE = []
  include Aws::Structure
end

#update_targetsArray<String>

The ARNs of the targets (IoT things or IoT thing groups) that this update will be applied to.

Returns:

  • (Array<String>)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1677

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)
  SENSITIVE = []
  include Aws::Structure
end

#update_targets_architectureString

The architecture of the cores which are the targets of an update.

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1677

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)
  SENSITIVE = []
  include Aws::Structure
end

#update_targets_operating_systemString

The operating system of the cores which are the targets of an update.

Returns:

  • (String)


1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1677

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)
  SENSITIVE = []
  include Aws::Structure
end