Class: Aws::DevOpsAgent::Types::CreateAssetFileRequest

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

Overview

Request structure for creating 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)


965
966
967
968
969
970
971
972
973
974
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 965

class CreateAssetFileRequest < 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 to create the file in

Returns:

  • (String)


965
966
967
968
969
970
971
972
973
974
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 965

class CreateAssetFileRequest < 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 creation

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

Returns:

  • (String)


965
966
967
968
969
970
971
972
973
974
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 965

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

#content ⇒ Types::AssetFileBody

The content of the file to create



965
966
967
968
969
970
971
972
973
974
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 965

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

#metadata ⇒ Hash, ...

Optional metadata describing this file

Returns:

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


965
966
967
968
969
970
971
972
973
974
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 965

class CreateAssetFileRequest < 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

Returns:

  • (String)


965
966
967
968
969
970
971
972
973
974
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 965

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