Class: Aws::IoT::Types::UpdatePackageRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Constant Summary collapse

SENSITIVE =
[:description]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don’t reuse this client token if a new idempotent request is required.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


17920
17921
17922
17923
17924
17925
17926
17927
17928
# File 'lib/aws-sdk-iot/types.rb', line 17920

class UpdatePackageRequest < Struct.new(
  :package_name,
  :description,
  :default_version_name,
  :unset_default_version,
  :client_token)
  SENSITIVE = [:description]
  include Aws::Structure
end

#default_version_nameString

The name of the default package version.

Note: You cannot name a ‘defaultVersion` and set `unsetDefaultVersion` equal to `true` at the same time.

Returns:

  • (String)


17920
17921
17922
17923
17924
17925
17926
17927
17928
# File 'lib/aws-sdk-iot/types.rb', line 17920

class UpdatePackageRequest < Struct.new(
  :package_name,
  :description,
  :default_version_name,
  :unset_default_version,
  :client_token)
  SENSITIVE = [:description]
  include Aws::Structure
end

#descriptionString

The package description.

Returns:

  • (String)


17920
17921
17922
17923
17924
17925
17926
17927
17928
# File 'lib/aws-sdk-iot/types.rb', line 17920

class UpdatePackageRequest < Struct.new(
  :package_name,
  :description,
  :default_version_name,
  :unset_default_version,
  :client_token)
  SENSITIVE = [:description]
  include Aws::Structure
end

#package_nameString

The name of the target software package.

Returns:

  • (String)


17920
17921
17922
17923
17924
17925
17926
17927
17928
# File 'lib/aws-sdk-iot/types.rb', line 17920

class UpdatePackageRequest < Struct.new(
  :package_name,
  :description,
  :default_version_name,
  :unset_default_version,
  :client_token)
  SENSITIVE = [:description]
  include Aws::Structure
end

#unset_default_versionBoolean

Indicates whether you want to remove the named default package version from the software package. Set as ‘true` to remove the default package version.

Note: You cannot name a ‘defaultVersion` and set `unsetDefaultVersion` equal to `true` at the same time.

Returns:

  • (Boolean)


17920
17921
17922
17923
17924
17925
17926
17927
17928
# File 'lib/aws-sdk-iot/types.rb', line 17920

class UpdatePackageRequest < Struct.new(
  :package_name,
  :description,
  :default_version_name,
  :unset_default_version,
  :client_token)
  SENSITIVE = [:description]
  include Aws::Structure
end