You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/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 'gems/aws-sdk-ecr/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 'gems/aws-sdk-ecr/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 'gems/aws-sdk-ecr/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 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 246

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