Class: Aws::ECR::Errors::InvalidLayerPartException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidLayerPartException

Returns a new instance of InvalidLayerPartException.

Parameters:



162
163
164
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 162

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#last_valid_byte_receivedString

Returns:

  • (String)


182
183
184
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 182

def last_valid_byte_received
  @data[:last_valid_byte_received]
end

#messageString

Returns:

  • (String)


187
188
189
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 187

def message
  @message || @data[:message]
end

#registry_idString

Returns:

  • (String)


167
168
169
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 167

def registry_id
  @data[:registry_id]
end

#repository_nameString

Returns:

  • (String)


172
173
174
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 172

def repository_name
  @data[:repository_name]
end

#upload_idString

Returns:

  • (String)


177
178
179
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/errors.rb', line 177

def upload_id
  @data[:upload_id]
end