Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets the cors configuration for a bucket.
Synopsis
- 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
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:
pbcContentMD5
- Undocumented member.pbcBucket
- Undocumented member.pbcCORSConfiguration
- Undocumented member.
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.