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

Class: Aws::ECR::Types::DeleteRepositoryPolicyRequest

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#registry_idString

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

Returns:

  • (String)


386
387
388
389
390
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 386

class DeleteRepositoryPolicyRequest < Struct.new(
  :registry_id,
  :repository_name)
  include Aws::Structure
end

#repository_nameString

The name of the repository that is associated with the repository policy to delete.

Returns:

  • (String)


386
387
388
389
390
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 386

class DeleteRepositoryPolicyRequest < Struct.new(
  :registry_id,
  :repository_name)
  include Aws::Structure
end