Finishes the asynchronous execution of the GetBucketPolicy operation.

C# |
public GetBucketPolicyResponse EndGetBucketPolicy( IAsyncResult asyncResult )

- asyncResult (IAsyncResult)
- The IAsyncResult returned by the call to BeginGetBucketPolicy.

Returns a GetBucketPolicyResponse from S3.

Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |

GetBucketPolicy()()()()