Amazon.IoT.AmazonIoTClient.GetPolicyVersion C# (CSharp) Method

GetPolicyVersion() public method

Gets information about the specified policy version.
/// An unexpected error has occurred. /// /// The request is not valid. /// /// The specified resource does not exist. /// /// The service is temporarily unavailable. /// /// The rate exceeds the limit. /// /// You are not authorized to perform this operation. ///
public GetPolicyVersion ( string policyName, string policyVersionId ) : GetPolicyVersionResponse
policyName string The name of the policy.
policyVersionId string The policy version ID.
return GetPolicyVersionResponse
        public GetPolicyVersionResponse GetPolicyVersion(string policyName, string policyVersionId)
        {
            var request = new GetPolicyVersionRequest();
            request.PolicyName = policyName;
            request.PolicyVersionId = policyVersionId;
            return GetPolicyVersion(request);
        }

Same methods

AmazonIoTClient::GetPolicyVersion ( GetPolicyVersionRequest request ) : GetPolicyVersionResponse
AmazonIoTClient