| 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.
- putBucketCORS :: BucketName -> CORSConfiguration -> PutBucketCORS
- data PutBucketCORS
- pbcContentMD5 :: Lens' PutBucketCORS (Maybe Text)
- pbcBucket :: Lens' PutBucketCORS BucketName
- pbcCORSConfiguration :: Lens' PutBucketCORS CORSConfiguration
- putBucketCORSResponse :: PutBucketCORSResponse
- data PutBucketCORSResponse
Creating a Request
Arguments
| :: BucketName | |
| -> CORSConfiguration | |
| -> 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.
pbcBucket :: Lens' PutBucketCORS BucketName Source
Undocumented member.
pbcCORSConfiguration :: Lens' PutBucketCORS CORSConfiguration 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.