Class: Aws::ECR::Types::CompleteLayerUploadRequest

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 CompleteLayerUploadRequest data as a hash:

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  upload_id: "UploadId", # required
  layer_digests: ["LayerDigest"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#layer_digestsArray<String>

The ‘sha256` digest of the image layer.

Returns:

  • (Array<String>)


246
247
248
249
250
251
252
# File 'lib/aws-sdk-ecr/types.rb', line 246

class CompleteLayerUploadRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :layer_digests)
  include Aws::Structure
end

#registry_idString

The AWS account ID associated with the registry to which to upload layers. If you do not specify a registry, the default registry is assumed.

Returns:

  • (String)


246
247
248
249
250
251
252
# File 'lib/aws-sdk-ecr/types.rb', line 246

class CompleteLayerUploadRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :layer_digests)
  include Aws::Structure
end

#repository_nameString

The name of the repository to associate with the image layer.

Returns:

  • (String)


246
247
248
249
250
251
252
# File 'lib/aws-sdk-ecr/types.rb', line 246

class CompleteLayerUploadRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :layer_digests)
  include Aws::Structure
end

#upload_idString

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

Returns:

  • (String)


246
247
248
249
250
251
252
# File 'lib/aws-sdk-ecr/types.rb', line 246

class CompleteLayerUploadRequest < Struct.new(
  :registry_id,
  :repository_name,
  :upload_id,
  :layer_digests)
  include Aws::Structure
end