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.
The output from the GetPolicy operation.
Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z
public class GetPolicyResponse : AmazonWebServiceResponse
The GetPolicyResponse type exposes the following members
| Name | Description | |
|---|---|---|
|
GetPolicyResponse() |
| Name | Type | Description | |
|---|---|---|---|
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
CreationDate | System.DateTime |
Gets and sets the property CreationDate. The date the policy was created. |
|
DefaultVersionId | System.String |
Gets and sets the property DefaultVersionId. The default policy version ID. |
|
GenerationId | System.String |
Gets and sets the property GenerationId. The generation ID of the policy. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
|
LastModifiedDate | System.DateTime |
Gets and sets the property LastModifiedDate. The date the policy was last modified. |
|
PolicyArn | System.String |
Gets and sets the property PolicyArn. The policy ARN. |
|
PolicyDocument | System.String |
Gets and sets the property PolicyDocument. The JSON document that describes the policy. |
|
PolicyName | System.String |
Gets and sets the property PolicyName. The policy name. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5