/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the acm-pca-2017-08-22.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.ACMPCA.Model { /// /// Container for the parameters to the DeletePermission operation. /// Revokes permissions on a private CA granted to the Certificate Manager (ACM) service /// principal (acm.amazonaws.com). /// /// /// /// These permissions allow ACM to issue and renew ACM certificates that reside in the /// same Amazon Web Services account as the CA. If you revoke these permissions, ACM will /// no longer renew the affected certificates automatically. /// /// /// /// Permissions can be granted with the CreatePermission /// action and listed with the ListPermissions /// action. /// ///

About Permissions /// ///

///
public partial class DeletePermissionRequest : AmazonACMPCARequest { private string _certificateAuthorityArn; private string _principal; private string _sourceAccount; /// /// Gets and sets the property CertificateAuthorityArn. /// /// The Amazon Resource Number (ARN) of the private CA that issued the permissions. You /// can find the CA's ARN by calling the ListCertificateAuthorities /// action. This must have the following form: /// /// /// /// arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 /// . /// /// [AWSProperty(Required=true, Min=5, Max=200)] public string CertificateAuthorityArn { get { return this._certificateAuthorityArn; } set { this._certificateAuthorityArn = value; } } // Check to see if CertificateAuthorityArn property is set internal bool IsSetCertificateAuthorityArn() { return this._certificateAuthorityArn != null; } /// /// Gets and sets the property Principal. /// /// The Amazon Web Services service or identity that will have its CA permissions revoked. /// At this time, the only valid service principal is acm.amazonaws.com /// /// [AWSProperty(Required=true, Min=0, Max=128)] public string Principal { get { return this._principal; } set { this._principal = value; } } // Check to see if Principal property is set internal bool IsSetPrincipal() { return this._principal != null; } /// /// Gets and sets the property SourceAccount. /// /// The Amazon Web Services account that calls this action. /// /// [AWSProperty(Min=12, Max=12)] public string SourceAccount { get { return this._sourceAccount; } set { this._sourceAccount = value; } } // Check to see if SourceAccount property is set internal bool IsSetSourceAccount() { return this._sourceAccount != null; } } }