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.GetCorsPolicy

Description

Returns 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:GetCorsPolicy action. By default, the container owner has this permission and can grant it to others.

Synopsis

Creating a Request

data GetCorsPolicy Source #

See: newGetCorsPolicy smart constructor.

Constructors

GetCorsPolicy' 

Fields

Instances

Instances details
Eq GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Read GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Show GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Generic GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Associated Types

type Rep GetCorsPolicy :: Type -> Type #

NFData GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Methods

rnf :: GetCorsPolicy -> () #

Hashable GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

ToJSON GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

AWSRequest GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Associated Types

type AWSResponse GetCorsPolicy #

ToHeaders GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

ToPath GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

ToQuery GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

type Rep GetCorsPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

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

Defined in Amazonka.MediaStore.GetCorsPolicy

newGetCorsPolicy Source #

Create a value of GetCorsPolicy 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:GetCorsPolicy', getCorsPolicy_containerName - The name of the container that the policy is assigned to.

Request Lenses

getCorsPolicy_containerName :: Lens' GetCorsPolicy Text Source #

The name of the container that the policy is assigned to.

Destructuring the Response

data GetCorsPolicyResponse Source #

See: newGetCorsPolicyResponse smart constructor.

Constructors

GetCorsPolicyResponse' 

Fields

Instances

Instances details
Eq GetCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Read GetCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Show GetCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Generic GetCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Associated Types

type Rep GetCorsPolicyResponse :: Type -> Type #

NFData GetCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

Methods

rnf :: GetCorsPolicyResponse -> () #

type Rep GetCorsPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetCorsPolicy

type Rep GetCorsPolicyResponse = D1 ('MetaData "GetCorsPolicyResponse" "Amazonka.MediaStore.GetCorsPolicy" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "GetCorsPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "corsPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty CorsRule))))

newGetCorsPolicyResponse Source #

Create a value of GetCorsPolicyResponse 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:GetCorsPolicyResponse', getCorsPolicyResponse_httpStatus - The response's http status code.

$sel:corsPolicy:GetCorsPolicyResponse', getCorsPolicyResponse_corsPolicy - The CORS policy assigned to the container.

Response Lenses