| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.S3.GetBucketCORS
Description
Returns the cors configuration for the bucket.
See: AWS API Reference for GetBucketCORS.
Creating a Request
Arguments
| :: BucketName | |
| -> GetBucketCORS |
Creates a value of GetBucketCORS with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBucketCORS Source
See: getBucketCORS smart constructor.
Instances
Request Lenses
gbcBucket :: Lens' GetBucketCORS BucketName Source
Undocumented member.
Destructuring the Response
Arguments
| :: Int | |
| -> GetBucketCORSResponse |
Creates a value of GetBucketCORSResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBucketCORSResponse Source
See: getBucketCORSResponse smart constructor.
Response Lenses
gbcrsCORSRules :: Lens' GetBucketCORSResponse [CORSRule] Source
Undocumented member.
gbcrsResponseStatus :: Lens' GetBucketCORSResponse Int Source
The response status code.