Class: Aws::ECRPublic::Types::SetImageStatusResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#image_id ⇒ Types::ImageIdentifier

The image ID of the image that the status was set on.



3943
3944
3945
3946
3947
3948
3949
3950
3951
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 3943

class SetImageStatusResponse < Struct.new(
  :repository_name,
  :repository_type,
  :image_id,
  :status,
  :scheduled_deletion_at)
  SENSITIVE = []
  include Aws::Structure
end

#repository_name ⇒ String

The repository name that's associated with the request.

Returns:

  • (String)


3943
3944
3945
3946
3947
3948
3949
3950
3951
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 3943

class SetImageStatusResponse < Struct.new(
  :repository_name,
  :repository_type,
  :image_id,
  :status,
  :scheduled_deletion_at)
  SENSITIVE = []
  include Aws::Structure
end

#repository_type ⇒ String

The type of the repository.

Returns:

  • (String)


3943
3944
3945
3946
3947
3948
3949
3950
3951
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 3943

class SetImageStatusResponse < Struct.new(
  :repository_name,
  :repository_type,
  :image_id,
  :status,
  :scheduled_deletion_at)
  SENSITIVE = []
  include Aws::Structure
end

#scheduled_deletion_at ⇒ Time

The date and time that the deprecated image is scheduled for deletion. This is the time of the SetImageStatus request plus the deprecation period. Amazon ECR deletes the image within 24 hours after this time. Amazon ECR returns this value only when the image status is DEPRECATED.

Returns:

  • (Time)


3943
3944
3945
3946
3947
3948
3949
3950
3951
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 3943

class SetImageStatusResponse < Struct.new(
  :repository_name,
  :repository_type,
  :image_id,
  :status,
  :scheduled_deletion_at)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The status of the image. Valid values:

  • ACTIVE: The image isn't scheduled for deletion.

  • DEPRECATED: The image is scheduled for deletion. Entitled buyers can still pull it until it's deleted.

Returns:

  • (String)


3943
3944
3945
3946
3947
3948
3949
3950
3951
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 3943

class SetImageStatusResponse < Struct.new(
  :repository_name,
  :repository_type,
  :image_id,
  :status,
  :scheduled_deletion_at)
  SENSITIVE = []
  include Aws::Structure
end