libZSservicesZSamazonka-glacierZSamazonka-glacier
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.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
Eq DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Read DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Show 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 #

NFData DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Methods

rnf :: DeleteVaultAccessPolicy -> () #

Hashable DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

AWSRequest DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

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

type Rep DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

type Rep DeleteVaultAccessPolicy = D1 ('MetaData "DeleteVaultAccessPolicy" "Amazonka.Glacier.DeleteVaultAccessPolicy" "libZSservicesZSamazonka-glacierZSamazonka-glacier" 'False) (C1 ('MetaCons "DeleteVaultAccessPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "vaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

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.

$sel:vaultName: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
Eq DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Read DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Show DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Generic DeleteVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Glacier.DeleteVaultAccessPolicy

Associated Types

type Rep DeleteVaultAccessPolicyResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-glacierZSamazonka-glacier" '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.