Skip to content

Commit 3790f8f

Browse files
AWS Backup is adding support for integration of its logically air-gapped vaults with the AWS Organizations Multi-party approval capability.
1 parent 58b9244 commit 3790f8f

File tree

57 files changed

+5851
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+5851
-64
lines changed

generator/ServiceModels/backup/backup-2018-11-15.api.json

Lines changed: 281 additions & 11 deletions
Large diffs are not rendered by default.

generator/ServiceModels/backup/backup-2018-11-15.docs.json

Lines changed: 114 additions & 2 deletions
Large diffs are not rendered by default.

generator/ServiceModels/backup/backup-2018-11-15.normal.json

Lines changed: 384 additions & 11 deletions
Large diffs are not rendered by default.

generator/ServiceModels/backup/backup-2018-11-15.paginators.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@
109109
"output_token": "NextToken",
110110
"limit_key": "MaxResults"
111111
},
112+
"ListRestoreAccessBackupVaults": {
113+
"input_token": "NextToken",
114+
"output_token": "NextToken",
115+
"limit_key": "MaxResults",
116+
"result_key": "RestoreAccessBackupVaults"
117+
},
112118
"ListRestoreJobSummaries": {
113119
"input_token": "NextToken",
114120
"output_token": "NextToken",

sdk/code-analysis/ServiceAnalysis/Backup/Generated/PropertyValueRules.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<?xml version="1.0" encoding="utf-16"?>
22
<property-value-rules>
3+
<property-value-rule>
4+
<property>Amazon.Backup.Model.AssociateBackupVaultMpaApprovalTeamRequest.BackupVaultName</property>
5+
</property-value-rule>
36
<property-value-rule>
47
<property>Amazon.Backup.Model.CreateBackupVaultRequest.BackupVaultName</property>
58
</property-value-rule>
@@ -48,6 +51,12 @@
4851
<max>256</max>
4952
<pattern>[a-zA-Z][_a-zA-Z0-9]*</pattern>
5053
</property-value-rule>
54+
<property-value-rule>
55+
<property>Amazon.Backup.Model.CreateRestoreAccessBackupVaultRequest.BackupVaultName</property>
56+
</property-value-rule>
57+
<property-value-rule>
58+
<property>Amazon.Backup.Model.CreateRestoreAccessBackupVaultResponse.RestoreAccessBackupVaultName</property>
59+
</property-value-rule>
5160
<property-value-rule>
5261
<property>Amazon.Backup.Model.DeleteBackupVaultAccessPolicyRequest.BackupVaultName</property>
5362
</property-value-rule>
@@ -129,6 +138,9 @@
129138
<property-value-rule>
130139
<property>Amazon.Backup.Model.DescribeRestoreJobResponse.ResourceType</property>
131140
</property-value-rule>
141+
<property-value-rule>
142+
<property>Amazon.Backup.Model.DisassociateBackupVaultMpaApprovalTeamRequest.BackupVaultName</property>
143+
</property-value-rule>
132144
<property-value-rule>
133145
<property>Amazon.Backup.Model.DisassociateRecoveryPointRequest.BackupVaultName</property>
134146
</property-value-rule>
@@ -312,6 +324,14 @@
312324
<min>1</min>
313325
<max>1000</max>
314326
</property-value-rule>
327+
<property-value-rule>
328+
<property>Amazon.Backup.Model.ListRestoreAccessBackupVaultsRequest.BackupVaultName</property>
329+
</property-value-rule>
330+
<property-value-rule>
331+
<property>Amazon.Backup.Model.ListRestoreAccessBackupVaultsRequest.MaxResults</property>
332+
<min>1</min>
333+
<max>1000</max>
334+
</property-value-rule>
315335
<property-value-rule>
316336
<property>Amazon.Backup.Model.ListRestoreJobsRequest.ByAccountId</property>
317337
<pattern>^[0-9]{12}$</pattern>
@@ -365,6 +385,9 @@
365385
<property-value-rule>
366386
<property>Amazon.Backup.Model.PutBackupVaultNotificationsRequest.BackupVaultName</property>
367387
</property-value-rule>
388+
<property-value-rule>
389+
<property>Amazon.Backup.Model.RevokeRestoreAccessBackupVaultRequest.BackupVaultName</property>
390+
</property-value-rule>
368391
<property-value-rule>
369392
<property>Amazon.Backup.Model.StartBackupJobRequest.BackupVaultName</property>
370393
</property-value-rule>
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the backup-2018-11-15.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
#pragma warning disable CS0612,CS0618,CS1570
30+
namespace Amazon.Backup.Model
31+
{
32+
/// <summary>
33+
/// Container for the parameters to the AssociateBackupVaultMpaApprovalTeam operation.
34+
/// Associates an MPA approval team with a backup vault.
35+
/// </summary>
36+
public partial class AssociateBackupVaultMpaApprovalTeamRequest : AmazonBackupRequest
37+
{
38+
private string _backupVaultName;
39+
private string _mpaApprovalTeamArn;
40+
private string _requesterComment;
41+
42+
/// <summary>
43+
/// Gets and sets the property BackupVaultName.
44+
/// <para>
45+
/// The name of the backup vault to associate with the MPA approval team.
46+
/// </para>
47+
/// </summary>
48+
[AWSProperty(Required=true)]
49+
public string BackupVaultName
50+
{
51+
get { return this._backupVaultName; }
52+
set { this._backupVaultName = value; }
53+
}
54+
55+
// Check to see if BackupVaultName property is set
56+
internal bool IsSetBackupVaultName()
57+
{
58+
return this._backupVaultName != null;
59+
}
60+
61+
/// <summary>
62+
/// Gets and sets the property MpaApprovalTeamArn.
63+
/// <para>
64+
/// The Amazon Resource Name (ARN) of the MPA approval team to associate with the backup
65+
/// vault.
66+
/// </para>
67+
/// </summary>
68+
[AWSProperty(Required=true)]
69+
public string MpaApprovalTeamArn
70+
{
71+
get { return this._mpaApprovalTeamArn; }
72+
set { this._mpaApprovalTeamArn = value; }
73+
}
74+
75+
// Check to see if MpaApprovalTeamArn property is set
76+
internal bool IsSetMpaApprovalTeamArn()
77+
{
78+
return this._mpaApprovalTeamArn != null;
79+
}
80+
81+
/// <summary>
82+
/// Gets and sets the property RequesterComment.
83+
/// <para>
84+
/// A comment provided by the requester explaining the association request.
85+
/// </para>
86+
/// </summary>
87+
[AWSProperty(Sensitive=true)]
88+
public string RequesterComment
89+
{
90+
get { return this._requesterComment; }
91+
set { this._requesterComment = value; }
92+
}
93+
94+
// Check to see if RequesterComment property is set
95+
internal bool IsSetRequesterComment()
96+
{
97+
return this._requesterComment != null;
98+
}
99+
100+
}
101+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the backup-2018-11-15.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
#pragma warning disable CS0612,CS0618,CS1570
30+
namespace Amazon.Backup.Model
31+
{
32+
/// <summary>
33+
/// This is the response object from the AssociateBackupVaultMpaApprovalTeam operation.
34+
/// </summary>
35+
public partial class AssociateBackupVaultMpaApprovalTeamResponse : AmazonWebServiceResponse
36+
{
37+
38+
}
39+
}
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
/*
17+
* Do not modify this file. This file is generated from the backup-2018-11-15.normal.json service model.
18+
*/
19+
using System;
20+
using System.Collections.Generic;
21+
using System.Xml.Serialization;
22+
using System.Text;
23+
using System.IO;
24+
using System.Net;
25+
26+
using Amazon.Runtime;
27+
using Amazon.Runtime.Internal;
28+
29+
#pragma warning disable CS0612,CS0618,CS1570
30+
namespace Amazon.Backup.Model
31+
{
32+
/// <summary>
33+
/// Container for the parameters to the CreateRestoreAccessBackupVault operation.
34+
/// Creates a restore access backup vault that provides temporary access to recovery points
35+
/// in a logically air-gapped backup vault, subject to MPA approval.
36+
/// </summary>
37+
public partial class CreateRestoreAccessBackupVaultRequest : AmazonBackupRequest
38+
{
39+
private string _backupVaultName;
40+
private Dictionary<string, string> _backupVaultTags = AWSConfigs.InitializeCollections ? new Dictionary<string, string>() : null;
41+
private string _creatorRequestId;
42+
private string _requesterComment;
43+
private string _sourceBackupVaultArn;
44+
45+
/// <summary>
46+
/// Gets and sets the property BackupVaultName.
47+
/// <para>
48+
/// The name of the backup vault to associate with an MPA approval team.
49+
/// </para>
50+
/// </summary>
51+
public string BackupVaultName
52+
{
53+
get { return this._backupVaultName; }
54+
set { this._backupVaultName = value; }
55+
}
56+
57+
// Check to see if BackupVaultName property is set
58+
internal bool IsSetBackupVaultName()
59+
{
60+
return this._backupVaultName != null;
61+
}
62+
63+
/// <summary>
64+
/// Gets and sets the property BackupVaultTags.
65+
/// <para>
66+
/// Optional tags to assign to the restore access backup vault.
67+
/// </para>
68+
/// </summary>
69+
[AWSProperty(Sensitive=true)]
70+
public Dictionary<string, string> BackupVaultTags
71+
{
72+
get { return this._backupVaultTags; }
73+
set { this._backupVaultTags = value; }
74+
}
75+
76+
// Check to see if BackupVaultTags property is set
77+
internal bool IsSetBackupVaultTags()
78+
{
79+
return this._backupVaultTags != null && (this._backupVaultTags.Count > 0 || !AWSConfigs.InitializeCollections);
80+
}
81+
82+
/// <summary>
83+
/// Gets and sets the property CreatorRequestId.
84+
/// <para>
85+
/// A unique string that identifies the request and allows failed requests to be retried
86+
/// without the risk of executing the operation twice.
87+
/// </para>
88+
/// </summary>
89+
public string CreatorRequestId
90+
{
91+
get { return this._creatorRequestId; }
92+
set { this._creatorRequestId = value; }
93+
}
94+
95+
// Check to see if CreatorRequestId property is set
96+
internal bool IsSetCreatorRequestId()
97+
{
98+
return this._creatorRequestId != null;
99+
}
100+
101+
/// <summary>
102+
/// Gets and sets the property RequesterComment.
103+
/// <para>
104+
/// A comment explaining the reason for requesting restore access to the backup vault.
105+
/// </para>
106+
/// </summary>
107+
[AWSProperty(Sensitive=true)]
108+
public string RequesterComment
109+
{
110+
get { return this._requesterComment; }
111+
set { this._requesterComment = value; }
112+
}
113+
114+
// Check to see if RequesterComment property is set
115+
internal bool IsSetRequesterComment()
116+
{
117+
return this._requesterComment != null;
118+
}
119+
120+
/// <summary>
121+
/// Gets and sets the property SourceBackupVaultArn.
122+
/// <para>
123+
/// The ARN of the source backup vault containing the recovery points to which temporary
124+
/// access is requested.
125+
/// </para>
126+
/// </summary>
127+
[AWSProperty(Required=true)]
128+
public string SourceBackupVaultArn
129+
{
130+
get { return this._sourceBackupVaultArn; }
131+
set { this._sourceBackupVaultArn = value; }
132+
}
133+
134+
// Check to see if SourceBackupVaultArn property is set
135+
internal bool IsSetSourceBackupVaultArn()
136+
{
137+
return this._sourceBackupVaultArn != null;
138+
}
139+
140+
}
141+
}

0 commit comments

Comments
 (0)