Skip to content

Commit c7d93e0

Browse files
author
awstools
committed
feat(client-mgn): Adds support for new storeSnapshotOnLocalZone field in ReplicationConfiguration and updateReplicationConfiguration
1 parent 8604ad9 commit c7d93e0

File tree

8 files changed

+79
-10
lines changed

8 files changed

+79
-10
lines changed

clients/client-mgn/src/commands/CreateReplicationConfigurationTemplateCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export interface CreateReplicationConfigurationTemplateCommandOutput extends Rep
6161
* "<keys>": "STRING_VALUE",
6262
* },
6363
* internetProtocol: "STRING_VALUE",
64+
* storeSnapshotOnLocalZone: true || false,
6465
* };
6566
* const command = new CreateReplicationConfigurationTemplateCommand(input);
6667
* const response = await client.send(command);
@@ -88,6 +89,7 @@ export interface CreateReplicationConfigurationTemplateCommandOutput extends Rep
8889
* // "<keys>": "STRING_VALUE",
8990
* // },
9091
* // internetProtocol: "STRING_VALUE",
92+
* // storeSnapshotOnLocalZone: true || false,
9193
* // };
9294
*
9395
* ```

clients/client-mgn/src/commands/DescribeReplicationConfigurationTemplatesCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export interface DescribeReplicationConfigurationTemplatesCommandOutput extends
7474
* // "<keys>": "STRING_VALUE",
7575
* // },
7676
* // internetProtocol: "STRING_VALUE",
77+
* // storeSnapshotOnLocalZone: true || false,
7778
* // },
7879
* // ],
7980
* // nextToken: "STRING_VALUE",

clients/client-mgn/src/commands/GetReplicationConfigurationCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export interface GetReplicationConfigurationCommandOutput extends ReplicationCon
7272
* // },
7373
* // useFipsEndpoint: true || false,
7474
* // internetProtocol: "STRING_VALUE",
75+
* // storeSnapshotOnLocalZone: true || false,
7576
* // };
7677
*
7778
* ```

clients/client-mgn/src/commands/UpdateReplicationConfigurationCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export interface UpdateReplicationConfigurationCommandOutput extends Replication
6767
* useFipsEndpoint: true || false,
6868
* accountID: "STRING_VALUE",
6969
* internetProtocol: "STRING_VALUE",
70+
* storeSnapshotOnLocalZone: true || false,
7071
* };
7172
* const command = new UpdateReplicationConfigurationCommand(input);
7273
* const response = await client.send(command);
@@ -100,6 +101,7 @@ export interface UpdateReplicationConfigurationCommandOutput extends Replication
100101
* // },
101102
* // useFipsEndpoint: true || false,
102103
* // internetProtocol: "STRING_VALUE",
104+
* // storeSnapshotOnLocalZone: true || false,
103105
* // };
104106
*
105107
* ```

clients/client-mgn/src/commands/UpdateReplicationConfigurationTemplateCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export interface UpdateReplicationConfigurationTemplateCommandOutput extends Rep
6060
* },
6161
* useFipsEndpoint: true || false,
6262
* internetProtocol: "STRING_VALUE",
63+
* storeSnapshotOnLocalZone: true || false,
6364
* };
6465
* const command = new UpdateReplicationConfigurationTemplateCommand(input);
6566
* const response = await client.send(command);
@@ -87,6 +88,7 @@ export interface UpdateReplicationConfigurationTemplateCommandOutput extends Rep
8788
* // "<keys>": "STRING_VALUE",
8889
* // },
8990
* // internetProtocol: "STRING_VALUE",
91+
* // storeSnapshotOnLocalZone: true || false,
9092
* // };
9193
*
9294
* ```

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2556,6 +2556,12 @@ export interface CreateReplicationConfigurationTemplateRequest {
25562556
* @public
25572557
*/
25582558
internetProtocol?: InternetProtocol | undefined;
2559+
2560+
/**
2561+
* <p>Request to store snapshot on local zone during Replication Settings template creation.</p>
2562+
* @public
2563+
*/
2564+
storeSnapshotOnLocalZone?: boolean | undefined;
25592565
}
25602566

25612567
/**
@@ -2663,6 +2669,12 @@ export interface ReplicationConfigurationTemplate {
26632669
* @public
26642670
*/
26652671
internetProtocol?: InternetProtocol | undefined;
2672+
2673+
/**
2674+
* <p>Replication Configuration template store snapshot on local zone.</p>
2675+
* @public
2676+
*/
2677+
storeSnapshotOnLocalZone?: boolean | undefined;
26662678
}
26672679

26682680
/**
@@ -2820,6 +2832,12 @@ export interface UpdateReplicationConfigurationTemplateRequest {
28202832
* @public
28212833
*/
28222834
internetProtocol?: InternetProtocol | undefined;
2835+
2836+
/**
2837+
* <p>Update replication configuration template store snapshot on local zone request.</p>
2838+
* @public
2839+
*/
2840+
storeSnapshotOnLocalZone?: boolean | undefined;
28232841
}
28242842

28252843
/**
@@ -3870,6 +3888,12 @@ export interface ReplicationConfiguration {
38703888
* @public
38713889
*/
38723890
internetProtocol?: InternetProtocol | undefined;
3891+
3892+
/**
3893+
* <p>Replication Configuration store snapshot on local zone.</p>
3894+
* @public
3895+
*/
3896+
storeSnapshotOnLocalZone?: boolean | undefined;
38733897
}
38743898

38753899
/**
@@ -4522,6 +4546,12 @@ export interface UpdateReplicationConfigurationRequest {
45224546
* @public
45234547
*/
45244548
internetProtocol?: InternetProtocol | undefined;
4549+
4550+
/**
4551+
* <p>Update replication configuration store snapshot on local zone.</p>
4552+
* @public
4553+
*/
4554+
storeSnapshotOnLocalZone?: boolean | undefined;
45254555
}
45264556

45274557
/**

clients/client-mgn/src/schemas/schemas_0.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ const _sOKP = "s3OutputKeyPrefix";
491491
const _sP = "sourceProperties";
492492
const _sSID = "sourceServerIDs";
493493
const _sSIDo = "sourceServerID";
494+
const _sSOLZ = "storeSnapshotOnLocalZone";
494495
const _sST = "sourceServerTags";
495496
const _sVC = "smallVolumeConf";
496497
const _sVMS = "smallVolumeMaxSize";
@@ -693,8 +694,8 @@ export var CreateLaunchConfigurationTemplateRequest$: StaticStructureSchema = [3
693694
];
694695
export var CreateReplicationConfigurationTemplateRequest$: StaticStructureSchema = [3, n0, _CRCTR,
695696
0,
696-
[_sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _eE, _bT, _dPR, _cPIP, _sAT, _eEKA, _uFE, _t, _iP],
697-
[0, 2, 64 | 0, 0, 2, 0, 0, 1, 0, 2, [() => TagsMap, 0], 0, 2, [() => TagsMap, 0], 0], 11
697+
[_sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _eE, _bT, _dPR, _cPIP, _sAT, _eEKA, _uFE, _t, _iP, _sSOLZ],
698+
[0, 2, 64 | 0, 0, 2, 0, 0, 1, 0, 2, [() => TagsMap, 0], 0, 2, [() => TagsMap, 0], 0, 2], 11
698699
];
699700
export var CreateWaveRequest$: StaticStructureSchema = [3, n0, _CWR,
700701
0,
@@ -1283,8 +1284,8 @@ export var RemoveTemplateActionResponse$: StaticStructureSchema = [3, n0, _RTARe
12831284
];
12841285
export var ReplicationConfiguration$: StaticStructureSchema = [3, n0, _RC,
12851286
0,
1286-
[_sSIDo, _n, _sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _rD, _eE, _eEKA, _bT, _dPR, _cPIP, _sAT, _uFE, _iP],
1287-
[0, 0, 0, 2, 64 | 0, 0, 2, 0, () => ReplicationConfigurationReplicatedDisks, 0, 0, 1, 0, 2, [() => TagsMap, 0], 2, 0]
1287+
[_sSIDo, _n, _sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _rD, _eE, _eEKA, _bT, _dPR, _cPIP, _sAT, _uFE, _iP, _sSOLZ],
1288+
[0, 0, 0, 2, 64 | 0, 0, 2, 0, () => ReplicationConfigurationReplicatedDisks, 0, 0, 1, 0, 2, [() => TagsMap, 0], 2, 0, 2]
12881289
];
12891290
export var ReplicationConfigurationReplicatedDisk$: StaticStructureSchema = [3, n0, _RCRD,
12901291
0,
@@ -1293,8 +1294,8 @@ export var ReplicationConfigurationReplicatedDisk$: StaticStructureSchema = [3,
12931294
];
12941295
export var ReplicationConfigurationTemplate$: StaticStructureSchema = [3, n0, _RCT,
12951296
0,
1296-
[_rCTID, _a, _sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _eE, _eEKA, _bT, _dPR, _cPIP, _sAT, _uFE, _t, _iP],
1297-
[0, 0, 0, 2, 64 | 0, 0, 2, 0, 0, 0, 1, 0, 2, [() => TagsMap, 0], 2, [() => TagsMap, 0], 0], 1
1297+
[_rCTID, _a, _sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _eE, _eEKA, _bT, _dPR, _cPIP, _sAT, _uFE, _t, _iP, _sSOLZ],
1298+
[0, 0, 0, 2, 64 | 0, 0, 2, 0, 0, 0, 1, 0, 2, [() => TagsMap, 0], 2, [() => TagsMap, 0], 0, 2], 1
12981299
];
12991300
export var ResumeReplicationRequest$: StaticStructureSchema = [3, n0, _RRR,
13001301
0,
@@ -1458,13 +1459,13 @@ export var UpdateLaunchConfigurationTemplateRequest$: StaticStructureSchema = [3
14581459
];
14591460
export var UpdateReplicationConfigurationRequest$: StaticStructureSchema = [3, n0, _URCR,
14601461
0,
1461-
[_sSIDo, _n, _sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _rD, _eE, _eEKA, _bT, _dPR, _cPIP, _sAT, _uFE, _aIDc, _iP],
1462-
[0, 0, 0, 2, 64 | 0, 0, 2, 0, () => ReplicationConfigurationReplicatedDisks, 0, 0, 1, 0, 2, [() => TagsMap, 0], 2, 0, 0], 1
1462+
[_sSIDo, _n, _sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _rD, _eE, _eEKA, _bT, _dPR, _cPIP, _sAT, _uFE, _aIDc, _iP, _sSOLZ],
1463+
[0, 0, 0, 2, 64 | 0, 0, 2, 0, () => ReplicationConfigurationReplicatedDisks, 0, 0, 1, 0, 2, [() => TagsMap, 0], 2, 0, 0, 2], 1
14631464
];
14641465
export var UpdateReplicationConfigurationTemplateRequest$: StaticStructureSchema = [3, n0, _URCTR,
14651466
0,
1466-
[_rCTID, _a, _sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _eE, _eEKA, _bT, _dPR, _cPIP, _sAT, _uFE, _iP],
1467-
[0, 0, 0, 2, 64 | 0, 0, 2, 0, 0, 0, 1, 0, 2, [() => TagsMap, 0], 2, 0], 1
1467+
[_rCTID, _a, _sASI, _aDSG, _rSSGID, _rSIT, _uDRS, _dLSDT, _eE, _eEKA, _bT, _dPR, _cPIP, _sAT, _uFE, _iP, _sSOLZ],
1468+
[0, 0, 0, 2, 64 | 0, 0, 2, 0, 0, 0, 1, 0, 2, [() => TagsMap, 0], 2, 0, 2], 1
14681469
];
14691470
export var UpdateSourceServerReplicationTypeRequest$: StaticStructureSchema = [3, n0, _USSRTR,
14701471
0,

codegen/sdk-codegen/aws-models/mgn.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,6 +2309,12 @@
23092309
"traits": {
23102310
"smithy.api#documentation": "<p>Request to configure the internet protocol to IPv4 or IPv6.</p>"
23112311
}
2312+
},
2313+
"storeSnapshotOnLocalZone": {
2314+
"target": "smithy.api#Boolean",
2315+
"traits": {
2316+
"smithy.api#documentation": "<p>Request to store snapshot on local zone during Replication Settings template creation.</p>"
2317+
}
23122318
}
23132319
}
23142320
},
@@ -7562,6 +7568,12 @@
75627568
"traits": {
75637569
"smithy.api#documentation": "<p>Replication Configuration internet protocol.</p>"
75647570
}
7571+
},
7572+
"storeSnapshotOnLocalZone": {
7573+
"target": "smithy.api#Boolean",
7574+
"traits": {
7575+
"smithy.api#documentation": "<p>Replication Configuration store snapshot on local zone.</p>"
7576+
}
75657577
}
75667578
}
75677579
},
@@ -7811,6 +7823,12 @@
78117823
"traits": {
78127824
"smithy.api#documentation": "<p>Replication Configuration template internet protocol.</p>"
78137825
}
7826+
},
7827+
"storeSnapshotOnLocalZone": {
7828+
"target": "smithy.api#Boolean",
7829+
"traits": {
7830+
"smithy.api#documentation": "<p>Replication Configuration template store snapshot on local zone.</p>"
7831+
}
78147832
}
78157833
}
78167834
},
@@ -10183,6 +10201,12 @@
1018310201
"traits": {
1018410202
"smithy.api#documentation": "<p>Update replication configuration internet protocol.</p>"
1018510203
}
10204+
},
10205+
"storeSnapshotOnLocalZone": {
10206+
"target": "smithy.api#Boolean",
10207+
"traits": {
10208+
"smithy.api#documentation": "<p>Update replication configuration store snapshot on local zone.</p>"
10209+
}
1018610210
}
1018710211
}
1018810212
},
@@ -10317,6 +10341,12 @@
1031710341
"traits": {
1031810342
"smithy.api#documentation": "<p>Update replication configuration template internet protocol request.</p>"
1031910343
}
10344+
},
10345+
"storeSnapshotOnLocalZone": {
10346+
"target": "smithy.api#Boolean",
10347+
"traits": {
10348+
"smithy.api#documentation": "<p>Update replication configuration template store snapshot on local zone request.</p>"
10349+
}
1032010350
}
1032110351
}
1032210352
},

0 commit comments

Comments
 (0)