Amazon.IoT.AmazonIoTClient.GetPolicy C# (CSharp) Метод

GetPolicy() публичный Метод

Gets information about the specified policy with the policy document of the default 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 GetPolicy ( string policyName ) : GetPolicyResponse
policyName string The name of the policy.
Результат GetPolicyResponse
        public GetPolicyResponse GetPolicy(string policyName)
        {
            var request = new GetPolicyRequest();
            request.PolicyName = policyName;
            return GetPolicy(request);
        }

Same methods

AmazonIoTClient::GetPolicy ( GetPolicyRequest request ) : GetPolicyResponse
AmazonIoTClient