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 |
Deletes the cross-origin resource sharing (CORS) configuration information that is set for the container.
To use this operation, you must have permission to perform the MediaStore:DeleteCorsPolicy
action. The container owner has this permission by default and can grant this permission to others.
Creating a Request
Creates a value of DeleteCORSPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcpContainerName
- The name of the container to remove the policy from.
data DeleteCORSPolicy Source #
See: deleteCORSPolicy
smart constructor.
Request Lenses
dcpContainerName :: Lens' DeleteCORSPolicy Text Source #
The name of the container to remove the policy from.
Destructuring the Response
deleteCORSPolicyResponse Source #
Creates a value of DeleteCORSPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcorsprsResponseStatus
- -- | The response status code.
data DeleteCORSPolicyResponse Source #
See: deleteCORSPolicyResponse
smart constructor.
Response Lenses
dcorsprsResponseStatus :: Lens' DeleteCORSPolicyResponse Int Source #
- - | The response status code.