| 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.PutBucketCORS
Description
Sets the cors configuration for a bucket.
See: AWS API Reference for PutBucketCORS.
Creating a Request
Arguments
| :: BucketName | |
| -> PutBucketCORS |
Creates a value of PutBucketCORS with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutBucketCORS Source
See: putBucketCORS smart constructor.
Instances
Request Lenses
pbcContentMD5 :: Lens' PutBucketCORS (Maybe Text) Source
Undocumented member.
pbcCORSConfiguration :: Lens' PutBucketCORS (Maybe CORSConfiguration) Source
Undocumented member.
pbcBucket :: Lens' PutBucketCORS BucketName Source
Undocumented member.
Destructuring the Response
putBucketCORSResponse :: PutBucketCORSResponse Source
Creates a value of PutBucketCORSResponse with the minimum fields required to make a request.
data PutBucketCORSResponse Source
See: putBucketCORSResponse smart constructor.