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 |
Returns the cors configuration for the bucket.
Synopsis
Creating a Request
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:
gbcBucket
- Undocumented member.
data GetBucketCORS Source #
See: getBucketCORS
smart constructor.
Instances
Request Lenses
gbcBucket :: Lens' GetBucketCORS BucketName Source #
Undocumented member.
Destructuring the Response
getBucketCORSResponse Source #
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:
gbcrsCORSRules
- Undocumented member.gbcrsResponseStatus
- -- | The response status code.
data GetBucketCORSResponse Source #
See: getBucketCORSResponse
smart constructor.
Instances
Response Lenses
gbcrsCORSRules :: Lens' GetBucketCORSResponse [CORSRule] Source #
Undocumented member.
gbcrsResponseStatus :: Lens' GetBucketCORSResponse Int Source #
- - | The response status code.