Class: Aws::ECRPublic::Types::DeleteRepositoryRequest

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

Overview

Note:

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

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  force: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#forceBoolean

If a repository contains images, forces the deletion.

Returns:

  • (Boolean)


360
361
362
363
364
365
366
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 360

class DeleteRepositoryRequest < Struct.new(
  :registry_id,
  :repository_name,
  :force)
  SENSITIVE = []
  include Aws::Structure
end

#registry_idString

The AWS account ID associated with the public registry that contains the repository to delete. If you do not specify a registry, the default public registry is assumed.

Returns:

  • (String)


360
361
362
363
364
365
366
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 360

class DeleteRepositoryRequest < Struct.new(
  :registry_id,
  :repository_name,
  :force)
  SENSITIVE = []
  include Aws::Structure
end

#repository_nameString

The name of the repository to delete.

Returns:

  • (String)


360
361
362
363
364
365
366
# File 'gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/types.rb', line 360

class DeleteRepositoryRequest < Struct.new(
  :registry_id,
  :repository_name,
  :force)
  SENSITIVE = []
  include Aws::Structure
end