AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteRepositoryPermissionsPolicy operation.
Deletes the resource policy that is set on a repository. After a resource policy
is deleted, the permissions allowed and denied by the deleted policy are removed.
The effect of deleting a resource policy might not be immediate.
Use DeleteRepositoryPermissionsPolicy
with caution. After a policy is deleted,
Amazon Web Services users, roles, and accounts lose permissions to perform the repository
actions granted by the deleted policy.
Namespace: Amazon.CodeArtifact.Model
Assembly: AWSSDK.CodeArtifact.dll
Version: 3.x.y.z
public class DeleteRepositoryPermissionsPolicyRequest : AmazonCodeArtifactRequest IAmazonWebServiceRequest
The DeleteRepositoryPermissionsPolicyRequest type exposes the following members
Name | Description | |
---|---|---|
DeleteRepositoryPermissionsPolicyRequest() |
Name | Type | Description | |
---|---|---|---|
Domain | System.String |
Gets and sets the property Domain. The name of the domain that contains the repository associated with the resource policy to be deleted. |
|
DomainOwner | System.String |
Gets and sets the property DomainOwner. The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces. |
|
PolicyRevision | System.String |
Gets and sets the property PolicyRevision. The revision of the repository's resource policy to be deleted. This revision is used for optimistic locking, which prevents others from accidentally overwriting your changes to the repository's resource policy. |
|
Repository | System.String |
Gets and sets the property Repository. The name of the repository that is associated with the resource policy to be deleted |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5