Skip to content

Commit 2aea1bc

Browse files
author
awstools
committed
feat(client-backup): This release adds support for authentication using IAM user identity instead of passed IAM role, identified by excluding the IamRoleArn field in the StartRestoreJob API. This feature applies to only resource clients with a destructive restore nature (e.g. SAP HANA).
1 parent 9e0ae99 commit 2aea1bc

File tree

4 files changed

+61
-65
lines changed

4 files changed

+61
-65
lines changed

clients/client-backup/src/Backup.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,10 +2424,9 @@ export class Backup extends BackupClient {
24242424
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
24252425
* cold after days” setting. The “transition to cold after days” setting cannot be changed
24262426
* after a backup has been transitioned to cold.</p>
2427-
* <p>Only resource types that support full Backup management can transition their
2428-
* backups to cold storage. Those resource types are listed in the "Full Backup
2429-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
2430-
* availability by resource</a> table. Backup ignores this expression for
2427+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
2428+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
2429+
* Feature availability by resource</a> table. Backup ignores this expression for
24312430
* other resource types.</p>
24322431
* <p>This operation does not support continuous backups.</p>
24332432
*/

clients/client-backup/src/commands/UpdateRecoveryPointLifecycleCommand.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ export interface UpdateRecoveryPointLifecycleCommandOutput
3333
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
3434
* cold after days” setting. The “transition to cold after days” setting cannot be changed
3535
* after a backup has been transitioned to cold.</p>
36-
* <p>Only resource types that support full Backup management can transition their
37-
* backups to cold storage. Those resource types are listed in the "Full Backup
38-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
39-
* availability by resource</a> table. Backup ignores this expression for
36+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
37+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
38+
* Feature availability by resource</a> table. Backup ignores this expression for
4039
* other resource types.</p>
4140
* <p>This operation does not support continuous backups.</p>
4241
* @example

clients/client-backup/src/models/models_0.ts

Lines changed: 42 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,9 @@ export namespace BackupJob {
290290
* days. Therefore, on the console, the “retention” setting must be 90 days greater than the
291291
* “transition to cold after days” setting. The “transition to cold after days” setting cannot
292292
* be changed after a backup has been transitioned to cold.</p>
293-
* <p>Only resource types that support full Backup management can transition their
294-
* backups to cold storage. Those resource types are listed in the "Full Backup
295-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
296-
* availability by resource</a> table. Backup ignores this expression for
293+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
294+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
295+
* Feature availability by resource</a> table. Backup ignores this expression for
297296
* other resource types.</p>
298297
*/
299298
export interface Lifecycle {
@@ -330,10 +329,9 @@ export interface CopyAction {
330329
* days. Therefore, on the console, the “retention” setting must be 90 days greater than the
331330
* “transition to cold after days” setting. The “transition to cold after days” setting cannot
332331
* be changed after a backup has been transitioned to cold.</p>
333-
* <p>Only resource types that support full Backup management can transition their
334-
* backups to cold storage. Those resource types are listed in the "Full Backup
335-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
336-
* availability by resource</a> table. Backup ignores this expression for
332+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
333+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
334+
* Feature availability by resource</a> table. Backup ignores this expression for
337335
* other resource types.</p>
338336
*/
339337
Lifecycle?: Lifecycle;
@@ -403,10 +401,9 @@ export interface BackupRule {
403401
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
404402
* cold after days” setting. The “transition to cold after days” setting cannot be changed
405403
* after a backup has been transitioned to cold. </p>
406-
* <p>Only resource types that support full Backup management can transition their
407-
* backups to cold storage. Those resource types are listed in the "Full Backup
408-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
409-
* availability by resource</a> table. Backup ignores this expression for
404+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
405+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
406+
* Feature availability by resource</a> table. Backup ignores this expression for
410407
* other resource types.</p>
411408
*/
412409
Lifecycle?: Lifecycle;
@@ -525,10 +522,9 @@ export interface BackupRuleInput {
525522
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
526523
* cold after days” setting. The “transition to cold after days” setting cannot be changed
527524
* after a backup has been transitioned to cold.</p>
528-
* <p>Only resource types that support full Backup management can transition their
529-
* backups to cold storage. Those resource types are listed in the "Full Backup
530-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
531-
* availability by resource</a> table. Backup ignores this expression for
525+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
526+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
527+
* Feature availability by resource</a> table. Backup ignores this expression for
532528
* other resource types.</p>
533529
*/
534530
Lifecycle?: Lifecycle;
@@ -804,6 +800,9 @@ export namespace Condition {
804800

805801
/**
806802
* <p>Used to specify a set of resources to a backup plan.</p>
803+
* <p>Specifying your desired <code>Conditions</code>, <code>ListOfTags</code>, <code>NotResources</code>,
804+
* and/or <code>Resources</code> is recommended. If none of these are specified, Backup will attempt to
805+
* select all supported and opted-in storage resources, which could have unintended cost implications.</p>
807806
*/
808807
export interface BackupSelection {
809808
/**
@@ -829,7 +828,10 @@ export interface BackupSelection {
829828

830829
/**
831830
* <p>A list of conditions that you define to assign resources to your backup plans using
832-
* tags. For example, <code>"StringEquals": {"Department": "accounting"</code>. Condition
831+
* tags. For example, <code>"StringEquals": {
832+
* "ConditionKey": "aws:ResourceTag/CreatedByCryo",
833+
* "ConditionValue": "true"
834+
* },</code>. Condition
833835
* operators are case sensitive.</p>
834836
* <p>
835837
* <code>ListOfTags</code> differs from <code>Conditions</code> as follows:</p>
@@ -860,7 +862,10 @@ export interface BackupSelection {
860862

861863
/**
862864
* <p>A list of conditions that you define to assign resources to your backup plans using
863-
* tags. For example, <code>"StringEquals": {"Department": "accounting"</code>. Condition
865+
* tags. For example, <code>"StringEquals": {
866+
* "ConditionKey": "aws:ResourceTag/CreatedByCryo",
867+
* "ConditionValue": "true"
868+
* },</code>. Condition
864869
* operators are case sensitive.</p>
865870
* <p>
866871
* <code>Conditions</code> differs from <code>ListOfTags</code> as follows:</p>
@@ -1077,10 +1082,9 @@ export namespace BackupVaultListMember {
10771082
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
10781083
* cold after days” setting. The “transition to cold after days” setting cannot be changed
10791084
* after a backup has been transitioned to cold.</p>
1080-
* <p>Only resource types that support full Backup management can transition their
1081-
* backups to cold storage. Those resource types are listed in the "Full Backup
1082-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
1083-
* availability by resource</a> table. Backup ignores this expression for
1085+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
1086+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
1087+
* Feature availability by resource</a> table. Backup ignores this expression for
10841088
* other resource types.</p>
10851089
*/
10861090
export interface CalculatedLifecycle {
@@ -2889,10 +2893,9 @@ export interface DescribeRecoveryPointOutput {
28892893
* minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the
28902894
* “transition to cold after days” setting. The “transition to cold after days” setting cannot
28912895
* be changed after a backup has been transitioned to cold. </p>
2892-
* <p>Only resource types that support full Backup management can transition their
2893-
* backups to cold storage. Those resource types are listed in the "Full Backup
2894-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
2895-
* availability by resource</a> table. Backup ignores this expression for
2896+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
2897+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
2898+
* Feature availability by resource</a> table. Backup ignores this expression for
28962899
* other resource types.</p>
28972900
*/
28982901
Lifecycle?: Lifecycle;
@@ -4750,10 +4753,9 @@ export interface RecoveryPointByBackupVault {
47504753
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
47514754
* cold after days” setting. The “transition to cold after days” setting cannot be changed
47524755
* after a backup has been transitioned to cold. </p>
4753-
* <p>Only resource types that support full Backup management can transition their
4754-
* backups to cold storage. Those resource types are listed in the "Full Backup
4755-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
4756-
* availability by resource</a> table. Backup ignores this expression for
4756+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
4757+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
4758+
* Feature availability by resource</a> table. Backup ignores this expression for
47574759
* other resource types.</p>
47584760
*/
47594761
Lifecycle?: Lifecycle;
@@ -5491,10 +5493,9 @@ export interface StartBackupJobInput {
54915493
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
54925494
* cold after days” setting. The “transition to cold after days” setting cannot be changed
54935495
* after a backup has been transitioned to cold. </p>
5494-
* <p>Only resource types that support full Backup management can transition their
5495-
* backups to cold storage. Those resource types are listed in the "Full Backup
5496-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
5497-
* availability by resource</a> table. Backup ignores this expression for
5496+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
5497+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
5498+
* Feature availability by resource</a> table. Backup ignores this expression for
54985499
* other resource types.</p>
54995500
*/
55005501
Lifecycle?: Lifecycle;
@@ -5598,10 +5599,9 @@ export interface StartCopyJobInput {
55985599
* days. Therefore, on the console, the “retention” setting must be 90 days greater than the
55995600
* “transition to cold after days” setting. The “transition to cold after days” setting cannot
56005601
* be changed after a backup has been transitioned to cold.</p>
5601-
* <p>Only resource types that support full Backup management can transition their
5602-
* backups to cold storage. Those resource types are listed in the "Full Backup
5603-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
5604-
* availability by resource</a> table. Backup ignores this expression for
5602+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
5603+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
5604+
* Feature availability by resource</a> table. Backup ignores this expression for
56055605
* other resource types.</p>
56065606
*/
56075607
Lifecycle?: Lifecycle;
@@ -5745,7 +5745,7 @@ export interface StartRestoreJobInput {
57455745
* the target recovery point; for example,
57465746
* <code>arn:aws:iam::123456789012:role/S3Access</code>.</p>
57475747
*/
5748-
IamRoleArn: string | undefined;
5748+
IamRoleArn?: string;
57495749

57505750
/**
57515751
* <p>A customer-chosen string that you can use to distinguish between otherwise identical
@@ -6105,10 +6105,9 @@ export interface UpdateRecoveryPointLifecycleOutput {
61056105
* days. Therefore, the “retention” setting must be 90 days greater than the “transition to
61066106
* cold after days” setting. The “transition to cold after days” setting cannot be changed
61076107
* after a backup has been transitioned to cold.</p>
6108-
* <p>Only resource types that support full Backup management can transition their
6109-
* backups to cold storage. Those resource types are listed in the "Full Backup
6110-
* management" section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource"> Feature
6111-
* availability by resource</a> table. Backup ignores this expression for
6108+
* <p>Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage"
6109+
* section of the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource">
6110+
* Feature availability by resource</a> table. Backup ignores this expression for
61126111
* other resource types.</p>
61136112
*/
61146113
Lifecycle?: Lifecycle;

0 commit comments

Comments
 (0)