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.
Retrieves a resource policy that you created in a PutResourcePolicy request.
For .NET Core this operation is only available in asynchronous form. Please refer to DescribeResourcePolicyAsync.
Namespace: Amazon.NetworkFirewall
Assembly: AWSSDK.NetworkFirewall.dll
Version: 3.x.y.z
public abstract DescribeResourcePolicyResponse DescribeResourcePolicy( DescribeResourcePolicyRequest request )
Container for the necessary parameters to execute the DescribeResourcePolicy service method.
Exception | Condition |
---|---|
InternalServerErrorException | Your request is valid, but Network Firewall couldn't perform the operation because of a system problem. Retry your request. |
InvalidRequestException | The operation failed because of a problem with your request. Examples include: You specified an unsupported parameter name or value. You tried to update a property with a value that isn't among the available types. Your request references an ARN that is malformed, or corresponds to a resource that isn't valid in the context of the request. |
ResourceNotFoundException | Unable to locate a resource using the parameters that you provided. |
ThrottlingException | Unable to process the request due to throttling limitations. |
.NET Framework:
Supported in: 4.5 and newer, 3.5