libZSservicesZSamazonka-backupZSamazonka-backup
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.Backup.GetBackupVaultAccessPolicy

Description

Returns the access policy document that is associated with the named backup vault.

Synopsis

Creating a Request

data GetBackupVaultAccessPolicy Source #

See: newGetBackupVaultAccessPolicy smart constructor.

Constructors

GetBackupVaultAccessPolicy' 

Fields

  • backupVaultName :: Text

    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Instances

Instances details
Eq GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

Read GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

Show GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

Generic GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

Associated Types

type Rep GetBackupVaultAccessPolicy :: Type -> Type #

NFData GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

Hashable GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

AWSRequest GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

ToHeaders GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

ToPath GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

ToQuery GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

type Rep GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

type Rep GetBackupVaultAccessPolicy = D1 ('MetaData "GetBackupVaultAccessPolicy" "Amazonka.Backup.GetBackupVaultAccessPolicy" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetBackupVaultAccessPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupVaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetBackupVaultAccessPolicy Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

newGetBackupVaultAccessPolicy Source #

Create a value of GetBackupVaultAccessPolicy 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:backupVaultName:GetBackupVaultAccessPolicy', getBackupVaultAccessPolicy_backupVaultName - The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Request Lenses

getBackupVaultAccessPolicy_backupVaultName :: Lens' GetBackupVaultAccessPolicy Text Source #

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Destructuring the Response

data GetBackupVaultAccessPolicyResponse Source #

Constructors

GetBackupVaultAccessPolicyResponse' 

Fields

  • backupVaultArn :: Maybe Text

    An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

  • policy :: Maybe Text

    The backup vault access policy document in JSON format.

  • backupVaultName :: Maybe Text

    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetBackupVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

Read GetBackupVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

Show GetBackupVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

Generic GetBackupVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

Associated Types

type Rep GetBackupVaultAccessPolicyResponse :: Type -> Type #

NFData GetBackupVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

type Rep GetBackupVaultAccessPolicyResponse Source # 
Instance details

Defined in Amazonka.Backup.GetBackupVaultAccessPolicy

type Rep GetBackupVaultAccessPolicyResponse = D1 ('MetaData "GetBackupVaultAccessPolicyResponse" "Amazonka.Backup.GetBackupVaultAccessPolicy" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "GetBackupVaultAccessPolicyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "backupVaultArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "backupVaultName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetBackupVaultAccessPolicyResponse Source #

Create a value of GetBackupVaultAccessPolicyResponse 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:backupVaultArn:GetBackupVaultAccessPolicyResponse', getBackupVaultAccessPolicyResponse_backupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

$sel:policy:GetBackupVaultAccessPolicyResponse', getBackupVaultAccessPolicyResponse_policy - The backup vault access policy document in JSON format.

$sel:backupVaultName:GetBackupVaultAccessPolicy', getBackupVaultAccessPolicyResponse_backupVaultName - The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.

$sel:httpStatus:GetBackupVaultAccessPolicyResponse', getBackupVaultAccessPolicyResponse_httpStatus - The response's http status code.

Response Lenses

getBackupVaultAccessPolicyResponse_backupVaultArn :: Lens' GetBackupVaultAccessPolicyResponse (Maybe Text) Source #

An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

getBackupVaultAccessPolicyResponse_policy :: Lens' GetBackupVaultAccessPolicyResponse (Maybe Text) Source #

The backup vault access policy document in JSON format.

getBackupVaultAccessPolicyResponse_backupVaultName :: Lens' GetBackupVaultAccessPolicyResponse (Maybe Text) Source #

The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.