amazonka-glacier-2.0: Amazon Glacier SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Glacier.DeleteVaultAccessPolicy

Description

This operation deletes the access policy associated with the specified vault. The operation is eventually consistent; that is, it might take some time for Amazon S3 Glacier to completely remove the access policy, and you might still see the effect of the policy for a short time after you send the delete request.

This operation is idempotent. You can invoke delete multiple times, even if there is no policy associated with the vault. For more information about vault access policies, see Amazon Glacier Access Control with Vault Access Policies.

Synopsis

Creating a Request

data DeleteVaultAccessPolicy Source #

DeleteVaultAccessPolicy input.

See: newDeleteVaultAccessPolicy smart constructor.

Constructors

DeleteVaultAccessPolicy' 

Fields

  • accountId :: Text

    The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

  • vaultName :: Text

    The name of the vault.

Instances

Instances details
ToHeaders DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

ToPath DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

ToQuery DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

AWSRequest DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Generic DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Associated Types

type Rep DeleteVaultAccessPolicy :: Type -> Type #

Read DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Show DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

NFData DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Methods

rnf :: DeleteVaultAccessPolicy -> () #

Eq DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Hashable DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

type AWSResponse DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

type Rep DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

type Rep DeleteVaultAccessPolicy = D1 ('MetaData "DeleteVaultAccessPolicy" "Amazonka.Glacier.DeleteVaultAccessPolicy" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "DeleteVaultAccessPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteVaultAccessPolicy Source #

Create a value of DeleteVaultAccessPolicy 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:accountId:DeleteVaultAccessPolicy', deleteVaultAccessPolicy_accountId - The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

DeleteVaultAccessPolicy, deleteVaultAccessPolicy_vaultName - The name of the vault.

Request Lenses

deleteVaultAccessPolicy_accountId :: Lens' DeleteVaultAccessPolicy Text Source #

The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

Destructuring the Response

data DeleteVaultAccessPolicyResponse Source #

See: newDeleteVaultAccessPolicyResponse smart constructor.

Instances

Instances details
Generic DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Associated Types

type Rep DeleteVaultAccessPolicyResponse :: Type -> Type #

Read DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Show DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

NFData DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Eq DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

type Rep DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

type Rep DeleteVaultAccessPolicyResponse = D1 ('MetaData "DeleteVaultAccessPolicyResponse" "Amazonka.Glacier.DeleteVaultAccessPolicy" "amazonka-glacier-2.0-17Kmjv8nUJeKOtbrjLyy76" 'False) (C1 ('MetaCons "DeleteVaultAccessPolicyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteVaultAccessPolicyResponse :: DeleteVaultAccessPolicyResponse Source #

Create a value of DeleteVaultAccessPolicyResponse with all optional fields omitted.

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