You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2663,7 +2663,7 @@ extension BackupClient {
2663
2663
2664
2664
/// Performs the `DescribeGlobalSettings` operation on the `Backup` service.
2665
2665
///
2666
-
/// Describes whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not a member of an Organizations organization. Example: describe-global-settings --region us-west-2
2666
+
/// Describes whether the Amazon Web Services account has enabled different cross-account management options, including cross-account backup, multi-party approval, and delegated administrator. Returns an error if the account is not a member of an Organizations organization. Example: describe-global-settings --region us-west-2
/// Performs the `UpdateGlobalSettings` operation on the `Backup` service.
7573
7573
///
7574
-
/// Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not an Organizations management account. Use the DescribeGlobalSettings API to determine the current settings.
7574
+
/// Updates whether the Amazon Web Services account has enabled different cross-account management options, including cross-account backup, multi-party approval, and delegated administrator. Returns an error if the account is not an Organizations management account. Use the DescribeGlobalSettings API to determine the current settings.
Copy file name to clipboardExpand all lines: Sources/Services/AWSBackup/Sources/AWSBackup/Models.swift
+29-5Lines changed: 29 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -160,7 +160,7 @@ extension BackupClientTypes {
160
160
161
161
/// The backup options for each resource type.
162
162
public struct AdvancedBackupSetting: Swift.Sendable {
163
-
/// Specifies the backup option for a selected resource. This option is available for Windows VSS backup jobs and S3 backups. Valid values: Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup option and create a Windows VSS backup. Set to "WindowsVSS":"disabled" to create a regular backup. The WindowsVSS option is not enabled by default. For S3 backups, set to "S3BackupACLs":"disabled" to exclude ACLs from the backup, or "S3BackupObjectTags":"disabled" to exclude object tags from the backup. By default, both ACLs and object tags are included in S3 backups. If you specify an invalid option, you get an InvalidParameterValueException exception. For more information about Windows VSS backups, see [Creating a VSS-Enabled Windows Backup](https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html).
163
+
/// Specifies the backup option for a selected resource. This option is available for Windows VSS backup jobs and S3 backups. Valid values: Set to "WindowsVSS":"enabled" to enable the WindowsVSS backup option and create a Windows VSS backup. Set to "WindowsVSS":"disabled" to create a regular backup. The WindowsVSS option is not enabled by default. For S3 backups, set to "BackupACLs":"disabled" to exclude ACLs from the backup, or "BackupObjectTags":"disabled" to exclude object tags from the backup. By default, both ACLs and object tags are included in S3 backups. If you specify an invalid option, you get an InvalidParameterValueException exception. For more information about Windows VSS backups, see [Creating a VSS-Enabled Windows Backup](https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html).
164
164
public var backupOptions: [Swift.String: Swift.String]?
165
165
/// Specifies an object containing resource type and backup options. The only supported resource type is Amazon EC2 instances with Windows Volume Shadow Copy Service (VSS). For a CloudFormation example, see the [sample CloudFormation template to enable Windows VSS](https://docs.aws.amazon.com/aws-backup/latest/devguide/integrate-cloudformation-with-aws-backup.html) in the Backup User Guide. Valid values: EC2.
166
166
public var resourceType: Swift.String?
@@ -660,6 +660,8 @@ extension BackupClientTypes {
660
660
///
661
661
/// * For Amazon EFS, this value refers to the delta bytes transferred during a backup.
662
662
///
663
+
/// * For Amazon EKS, this value refers to the size of your nested EKS recovery point.
664
+
///
663
665
/// * Amazon FSx does not populate this value from the operation GetBackupJobStatus for FSx file systems.
public var listOfTags: [BackupClientTypes.Condition]?
1404
1406
/// The Amazon Resource Names (ARNs) of the resources to exclude from a backup plan. The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards. If you need to exclude many resources from a backup plan, consider a different resource selection strategy, such as assigning only one or a few resource types or refining your resource selection using tags.
1405
1407
public var notResources: [Swift.String]?
1406
-
/// The Amazon Resource Names (ARNs) of the resources to assign to a backup plan. The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards. If you need to assign many resources to a backup plan, consider a different resource selection strategy, such as assigning all resources of a resource type or refining your resource selection using tags. If you specify multiple ARNs, the resources much match any of the ARNs (OR logic).
1408
+
/// The Amazon Resource Names (ARNs) of the resources to assign to a backup plan. The maximum number of ARNs is 500 without wildcards, or 30 ARNs with wildcards. If you need to assign many resources to a backup plan, consider a different resource selection strategy, such as assigning all resources of a resource type or refining your resource selection using tags. If you specify multiple ARNs, the resources much match any of the ARNs (OR logic). When using wildcards in ARN patterns for backup selections, the asterisk (*) must appear at the end of the ARN string (prefix pattern). For example, arn:aws:s3:::my-bucket-* is valid, but arn:aws:s3:::*-logs is not supported.
1407
1409
public var resources: [Swift.String]?
1408
1410
/// The display name of a resource selection document. Must contain 1 to 50 alphanumeric or '-_.' characters.
1409
1411
/// This member is required.
@@ -3421,6 +3423,8 @@ public struct DescribeBackupJobOutput: Swift.Sendable {
3421
3423
///
3422
3424
/// * For Amazon EFS, this value refers to the delta bytes transferred during a backup.
3423
3425
///
3426
+
/// * For Amazon EKS, this value refers to the size of your nested EKS recovery point.
3427
+
///
3424
3428
/// * Amazon FSx does not populate this value from the operation GetBackupJobStatus for FSx file systems.
3425
3429
///
3426
3430
/// * An Amazon RDS instance will show as 0.
@@ -3796,8 +3800,14 @@ public struct DescribeGlobalSettingsInput: Swift.Sendable {
3796
3800
3797
3801
public struct DescribeGlobalSettingsOutput: Swift.Sendable {
3798
3802
/// The status of the flags isCrossAccountBackupEnabled, isMpaEnabled ('Mpa' refers to multi-party approval), and isDelegatedAdministratorEnabled.
3803
+
///
3804
+
/// * isCrossAccountBackupEnabled: Allow accounts in your organization to copy backups to other accounts.
3805
+
///
3806
+
/// * isMpaEnabled: Add cross-account access to your organization with the option to assign a Multi-party approval team to a logically air-gapped vault.
3807
+
///
3808
+
/// * isDelegatedAdministratorEnabled: Allow Backup to automatically synchronize delegated administrator permissions with Organizations.
3799
3809
public var globalSettings: [Swift.String: Swift.String]?
3800
-
/// The date and time that the flag isCrossAccountBackupEnabled was last updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of LastUpdateTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
3810
+
/// The date and time that the supported flags were last updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of LastUpdateTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
3801
3811
public var lastUpdateTime: Foundation.Date?
3802
3812
3803
3813
public init(
@@ -5636,6 +5646,8 @@ public struct GetSupportedResourceTypesOutput: Swift.Sendable {
5636
5646
///
5637
5647
/// * EFS for Amazon Elastic File System
5638
5648
///
5649
+
/// * EKS for Amazon Elastic Kubernetes Service
5650
+
///
5639
5651
/// * FSx for Amazon FSx
5640
5652
///
5641
5653
/// * Neptune for Amazon Neptune
@@ -5762,6 +5774,8 @@ public struct ListBackupJobsInput: Swift.Sendable {
5762
5774
///
5763
5775
/// * EFS for Amazon Elastic File System
5764
5776
///
5777
+
/// * EKS for Amazon Elastic Kubernetes Service
5778
+
///
5765
5779
/// * FSx for Amazon FSx
5766
5780
///
5767
5781
/// * Neptune for Amazon Neptune
@@ -6106,6 +6120,8 @@ public struct ListCopyJobsInput: Swift.Sendable {
6106
6120
///
6107
6121
/// * EFS for Amazon Elastic File System
6108
6122
///
6123
+
/// * EKS for Amazon Elastic Kubernetes Service
6124
+
///
6109
6125
/// * FSx for Amazon FSx
6110
6126
///
6111
6127
/// * Neptune for Amazon Neptune
@@ -6622,6 +6638,8 @@ public struct ListRecoveryPointsByBackupVaultInput: Swift.Sendable {
6622
6638
///
6623
6639
/// * EFS for Amazon Elastic File System
6624
6640
///
6641
+
/// * EKS for Amazon Elastic Kubernetes Service
6642
+
///
6625
6643
/// * FSx for Amazon FSx
6626
6644
///
6627
6645
/// * Neptune for Amazon Neptune
@@ -7211,6 +7229,8 @@ public struct ListRestoreJobsInput: Swift.Sendable {
7211
7229
///
7212
7230
/// * EFS for Amazon Elastic File System
7213
7231
///
7232
+
/// * EKS for Amazon Elastic Kubernetes Service
7233
+
///
7214
7234
/// * FSx for Amazon FSx
7215
7235
///
7216
7236
/// * Neptune for Amazon Neptune
@@ -8209,7 +8229,7 @@ public struct PutBackupVaultLockConfigurationInput: Swift.Sendable {
8209
8229
/// The Backup Vault Lock configuration that specifies the name of the backup vault it protects.
8210
8230
/// This member is required.
8211
8231
public var backupVaultName: Swift.String?
8212
-
/// The Backup Vault Lock configuration that specifies the number of days before the lock date. For example, setting ChangeableForDays to 30 on Jan. 1, 2022 at 8pm UTC will set the lock date to Jan. 31, 2022 at 8pm UTC. Backup enforces a 72-hour cooling-off period before Vault Lock takes effect and becomes immutable. Therefore, you must set ChangeableForDays to 3 or greater. Before the lock date, you can delete Vault Lock from the vault using DeleteBackupVaultLockConfiguration or change the Vault Lock configuration using PutBackupVaultLockConfiguration. On and after the lock date, the Vault Lock becomes immutable and cannot be changed or deleted. If this parameter is not specified, you can delete Vault Lock from the vault using DeleteBackupVaultLockConfiguration or change the Vault Lock configuration using PutBackupVaultLockConfiguration at any time.
8232
+
/// The Backup Vault Lock configuration that specifies the number of days before the lock date. For example, setting ChangeableForDays to 30 on Jan. 1, 2022 at 8pm UTC will set the lock date to Jan. 31, 2022 at 8pm UTC. Backup enforces a 72-hour cooling-off period before Vault Lock takes effect and becomes immutable. Therefore, you must set ChangeableForDays to 3 or greater. The maximum value you can specify is 36,500 days (approximately 100 years). Before the lock date, you can delete Vault Lock from the vault using DeleteBackupVaultLockConfiguration or change the Vault Lock configuration using PutBackupVaultLockConfiguration. On and after the lock date, the Vault Lock becomes immutable and cannot be changed or deleted. If this parameter is not specified, you can delete Vault Lock from the vault using DeleteBackupVaultLockConfiguration or change the Vault Lock configuration using PutBackupVaultLockConfiguration at any time.
8213
8233
public var changeableForDays: Swift.Int?
8214
8234
/// The Backup Vault Lock configuration that specifies the maximum retention period that the vault retains its recovery points. This setting can be useful if, for example, your organization's policies require you to destroy certain data after retaining it for four years (1460 days). If this parameter is not included, Vault Lock does not enforce a maximum retention period on the recovery points in the vault. If this parameter is included without a value, Vault Lock will not enforce a maximum retention period. If this parameter is specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault. The longest maximum retention period you can specify is 36500 days (approximately 100 years). Recovery points already saved in the vault prior to Vault Lock are not affected.
8215
8235
public var maxRetentionDays: Swift.Int?
@@ -8520,6 +8540,8 @@ public struct StartRestoreJobInput: Swift.Sendable {
8520
8540
///
8521
8541
/// * [Metadata for Amazon EFS](https://docs.aws.amazon.com/aws-backup/latest/devguide/restoring-efs.html#efs-restore-cli)
8522
8542
///
8543
+
/// * [Metadata for Amazon EKS](https://docs.aws.amazon.com/aws-backup/latest/devguide/restoring-eks.html#eks-restore-backup-section)
8544
+
///
8523
8545
/// * [Metadata for Amazon FSx](https://docs.aws.amazon.com/aws-backup/latest/devguide/restoring-fsx.html#fsx-restore-cli)
8524
8546
///
8525
8547
/// * [Metadata for Amazon Neptune](https://docs.aws.amazon.com/aws-backup/latest/devguide/restoring-nep.html#nep-restore-cli)
@@ -8556,6 +8578,8 @@ public struct StartRestoreJobInput: Swift.Sendable {
8556
8578
///
8557
8579
/// * EFS - Amazon Elastic File System
8558
8580
///
8581
+
/// * EKS - Amazon Elastic Kubernetes Service
8582
+
///
8559
8583
/// * FSx - Amazon FSx
8560
8584
///
8561
8585
/// * Neptune - Amazon Neptune
@@ -8820,7 +8844,7 @@ public struct UpdateFrameworkOutput: Swift.Sendable {
8820
8844
}
8821
8845
8822
8846
public struct UpdateGlobalSettingsInput: Swift.Sendable {
8823
-
/// Inputs can include: A value for isCrossAccountBackupEnabled and a Region. Example: update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2. A value for Multi-party approval, styled as "Mpa": isMpaEnabled. Values can be true or false. Example: update-global-settings --global-settings isMpaEnabled=false --region us-west-2. A value for Backup Service-Linked Role creation, styled asisDelegatedAdministratorEnabled. Values can be true or false. Example: update-global-settings --global-settings isDelegatedAdministratorEnabled=false --region us-west-2.
8847
+
/// Inputs can include: A value for isCrossAccountBackupEnabled. Values can be true or false. Example: update-global-settings --global-settings isCrossAccountBackupEnabled=false. A value for Multi-party approval, styled as isMpaEnabled. Values can be true or false. Example: update-global-settings --global-settings isMpaEnabled=false. A value for Backup Service-Linked Role creation, styled as isDelegatedAdministratorEnabled. Values can be true or false. Example: update-global-settings --global-settings isDelegatedAdministratorEnabled=false.
8824
8848
public var globalSettings: [Swift.String: Swift.String]?
0 commit comments