Class: Aws::DevOpsAgent::Types::UpdateAssetFileRequest

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

Overview

Request structure for updating an asset file

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_space_id ⇒ String

The unique identifier for the agent space containing the asset

Returns:

  • (String)


7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 7050

class UpdateAssetFileRequest < Struct.new(
  :agent_space_id,
  :asset_id,
  :path,
  :content,
  :metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#asset_id ⇒ String

The unique identifier of the asset containing the file

Returns:

  • (String)


7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 7050

class UpdateAssetFileRequest < Struct.new(
  :agent_space_id,
  :asset_id,
  :path,
  :content,
  :metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_token ⇒ String

A unique, case-sensitive identifier used for idempotent asset file update

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

Returns:

  • (String)


7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 7050

class UpdateAssetFileRequest < Struct.new(
  :agent_space_id,
  :asset_id,
  :path,
  :content,
  :metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#content ⇒ Types::AssetFileBody

Updated file content. If omitted, the existing content is unchanged.



7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 7050

class UpdateAssetFileRequest < Struct.new(
  :agent_space_id,
  :asset_id,
  :path,
  :content,
  :metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#metadata ⇒ Hash, ...

Metadata fields to update. Only the fields present in this document are updated. Omitted fields retain their current values.

Returns:

  • (Hash, Array, String, Numeric, Boolean)


7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 7050

class UpdateAssetFileRequest < Struct.new(
  :agent_space_id,
  :asset_id,
  :path,
  :content,
  :metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#path ⇒ String

The path of the file within the asset to update

Returns:

  • (String)


7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 7050

class UpdateAssetFileRequest < Struct.new(
  :agent_space_id,
  :asset_id,
  :path,
  :content,
  :metadata,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end