Class: Aws::ECR::Types::UploadLayerPartRequest

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

Overview

Note:

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

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  upload_id: "UploadId", # required
  part_first_byte: 1, # required
  part_last_byte: 1, # required
  layer_part_blob: "data", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#layer_part_blobString

The base64-encoded layer part payload.

Returns:

  • (String)


1244
1245
1246
1247
1248
1249
1250
1251
1252
# File 'lib/aws-sdk-ecr/types.rb', line 1244

class UploadLayerPartRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :part_first_byte,
  :part_last_byte,
  :layer_part_blob)
  include Aws::Structure
end

#part_first_byteInteger

The integer value of the first byte of the layer part.

Returns:

  • (Integer)


1244
1245
1246
1247
1248
1249
1250
1251
1252
# File 'lib/aws-sdk-ecr/types.rb', line 1244

class UploadLayerPartRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :part_first_byte,
  :part_last_byte,
  :layer_part_blob)
  include Aws::Structure
end

#part_last_byteInteger

The integer value of the last byte of the layer part.

Returns:

  • (Integer)


1244
1245
1246
1247
1248
1249
1250
1251
1252
# File 'lib/aws-sdk-ecr/types.rb', line 1244

class UploadLayerPartRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :part_first_byte,
  :part_last_byte,
  :layer_part_blob)
  include Aws::Structure
end

#registry_idString

The AWS account ID associated with the registry that you are uploading layer parts to. If you do not specify a registry, the default registry is assumed.

Returns:

  • (String)


1244
1245
1246
1247
1248
1249
1250
1251
1252
# File 'lib/aws-sdk-ecr/types.rb', line 1244

class UploadLayerPartRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :part_first_byte,
  :part_last_byte,
  :layer_part_blob)
  include Aws::Structure
end

#repository_nameString

The name of the repository that you are uploading layer parts to.

Returns:

  • (String)


1244
1245
1246
1247
1248
1249
1250
1251
1252
# File 'lib/aws-sdk-ecr/types.rb', line 1244

class UploadLayerPartRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :part_first_byte,
  :part_last_byte,
  :layer_part_blob)
  include Aws::Structure
end

#upload_idString

The upload ID from a previous InitiateLayerUpload operation to associate with the layer part upload.

Returns:

  • (String)


1244
1245
1246
1247
1248
1249
1250
1251
1252
# File 'lib/aws-sdk-ecr/types.rb', line 1244

class UploadLayerPartRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :part_first_byte,
  :part_last_byte,
  :layer_part_blob)
  include Aws::Structure
end