libZSservicesZSamazonka-mediastoreZSamazonka-mediastore
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaStore.DeleteCorsPolicy

Description

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.

Synopsis

Creating a Request

data DeleteCorsPolicy Source #

See: newDeleteCorsPolicy smart constructor.

Constructors

DeleteCorsPolicy' 

Fields

Instances

Instances details
Eq DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Read DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Show DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Generic DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Associated Types

type Rep DeleteCorsPolicy :: Type -> Type #

NFData DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Methods

rnf :: DeleteCorsPolicy -> () #

Hashable DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

ToJSON DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

AWSRequest DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Associated Types

type AWSResponse DeleteCorsPolicy #

ToHeaders DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

ToPath DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

ToQuery DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

type Rep DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

type Rep DeleteCorsPolicy = D1 ('MetaData "DeleteCorsPolicy" "Amazonka.MediaStore.DeleteCorsPolicy" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "DeleteCorsPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

newDeleteCorsPolicy Source #

Create a value of DeleteCorsPolicy with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:containerName:DeleteCorsPolicy', deleteCorsPolicy_containerName - The name of the container to remove the policy from.

Request Lenses

deleteCorsPolicy_containerName :: Lens' DeleteCorsPolicy Text Source #

The name of the container to remove the policy from.

Destructuring the Response

data DeleteCorsPolicyResponse Source #

See: newDeleteCorsPolicyResponse smart constructor.

Constructors

DeleteCorsPolicyResponse' 

Fields

Instances

Instances details
Eq DeleteCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Read DeleteCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Show DeleteCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Generic DeleteCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

Associated Types

type Rep DeleteCorsPolicyResponse :: Type -> Type #

NFData DeleteCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

type Rep DeleteCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteCorsPolicy

type Rep DeleteCorsPolicyResponse = D1 ('MetaData "DeleteCorsPolicyResponse" "Amazonka.MediaStore.DeleteCorsPolicy" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "DeleteCorsPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteCorsPolicyResponse Source #

Create a value of DeleteCorsPolicyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteCorsPolicyResponse', deleteCorsPolicyResponse_httpStatus - The response's http status code.

Response Lenses