Skip to content

Commit 366c96e

Browse files
author
awstools
committed
feat(client-drs): Outpost ARN added to Source Server and Recovery Instance
1 parent 1f77365 commit 366c96e

File tree

9 files changed

+77
-0
lines changed

9 files changed

+77
-0
lines changed

clients/client-drs/src/commands/CreateExtendedSourceServerCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export interface CreateExtendedSourceServerCommandOutput extends CreateExtendedS
8585
* // rawError: "STRING_VALUE",
8686
* // },
8787
* // stagingAvailabilityZone: "STRING_VALUE",
88+
* // stagingOutpostArn: "STRING_VALUE",
8889
* // },
8990
* // lifeCycle: { // LifeCycle
9091
* // addedToServiceDateTime: "STRING_VALUE",
@@ -146,6 +147,7 @@ export interface CreateExtendedSourceServerCommandOutput extends CreateExtendedS
146147
* // originAccountID: "STRING_VALUE",
147148
* // originRegion: "STRING_VALUE",
148149
* // originAvailabilityZone: "STRING_VALUE",
150+
* // sourceOutpostArn: "STRING_VALUE",
149151
* // },
150152
* // replicationDirection: "STRING_VALUE",
151153
* // reversedDirectionSourceServerArn: "STRING_VALUE",

clients/client-drs/src/commands/DescribeRecoveryInstancesCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export interface DescribeRecoveryInstancesCommandOutput extends DescribeRecovery
104104
* // rawError: "STRING_VALUE",
105105
* // },
106106
* // stagingAvailabilityZone: "STRING_VALUE",
107+
* // stagingOutpostArn: "STRING_VALUE",
107108
* // },
108109
* // recoveryInstanceProperties: { // RecoveryInstanceProperties
109110
* // lastUpdatedDateTime: "STRING_VALUE",
@@ -145,6 +146,7 @@ export interface DescribeRecoveryInstancesCommandOutput extends DescribeRecovery
145146
* // originEnvironment: "STRING_VALUE",
146147
* // originAvailabilityZone: "STRING_VALUE",
147148
* // agentVersion: "STRING_VALUE",
149+
* // sourceOutpostArn: "STRING_VALUE",
148150
* // },
149151
* // ],
150152
* // };

clients/client-drs/src/commands/DescribeSourceServersCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export interface DescribeSourceServersCommandOutput extends DescribeSourceServer
9292
* // rawError: "STRING_VALUE",
9393
* // },
9494
* // stagingAvailabilityZone: "STRING_VALUE",
95+
* // stagingOutpostArn: "STRING_VALUE",
9596
* // },
9697
* // lifeCycle: { // LifeCycle
9798
* // addedToServiceDateTime: "STRING_VALUE",
@@ -153,6 +154,7 @@ export interface DescribeSourceServersCommandOutput extends DescribeSourceServer
153154
* // originAccountID: "STRING_VALUE",
154155
* // originRegion: "STRING_VALUE",
155156
* // originAvailabilityZone: "STRING_VALUE",
157+
* // sourceOutpostArn: "STRING_VALUE",
156158
* // },
157159
* // replicationDirection: "STRING_VALUE",
158160
* // reversedDirectionSourceServerArn: "STRING_VALUE",

clients/client-drs/src/commands/DisconnectSourceServerCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export interface DisconnectSourceServerCommandOutput extends SourceServer, __Met
7676
* // rawError: "STRING_VALUE",
7777
* // },
7878
* // stagingAvailabilityZone: "STRING_VALUE",
79+
* // stagingOutpostArn: "STRING_VALUE",
7980
* // },
8081
* // lifeCycle: { // LifeCycle
8182
* // addedToServiceDateTime: "STRING_VALUE",
@@ -137,6 +138,7 @@ export interface DisconnectSourceServerCommandOutput extends SourceServer, __Met
137138
* // originAccountID: "STRING_VALUE",
138139
* // originRegion: "STRING_VALUE",
139140
* // originAvailabilityZone: "STRING_VALUE",
141+
* // sourceOutpostArn: "STRING_VALUE",
140142
* // },
141143
* // replicationDirection: "STRING_VALUE",
142144
* // reversedDirectionSourceServerArn: "STRING_VALUE",

clients/client-drs/src/commands/RetryDataReplicationCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export interface RetryDataReplicationCommandOutput extends SourceServer, __Metad
8080
* // rawError: "STRING_VALUE",
8181
* // },
8282
* // stagingAvailabilityZone: "STRING_VALUE",
83+
* // stagingOutpostArn: "STRING_VALUE",
8384
* // },
8485
* // lifeCycle: { // LifeCycle
8586
* // addedToServiceDateTime: "STRING_VALUE",
@@ -141,6 +142,7 @@ export interface RetryDataReplicationCommandOutput extends SourceServer, __Metad
141142
* // originAccountID: "STRING_VALUE",
142143
* // originRegion: "STRING_VALUE",
143144
* // originAvailabilityZone: "STRING_VALUE",
145+
* // sourceOutpostArn: "STRING_VALUE",
144146
* // },
145147
* // replicationDirection: "STRING_VALUE",
146148
* // reversedDirectionSourceServerArn: "STRING_VALUE",

clients/client-drs/src/commands/StartReplicationCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export interface StartReplicationCommandOutput extends StartReplicationResponse,
8181
* // rawError: "STRING_VALUE",
8282
* // },
8383
* // stagingAvailabilityZone: "STRING_VALUE",
84+
* // stagingOutpostArn: "STRING_VALUE",
8485
* // },
8586
* // lifeCycle: { // LifeCycle
8687
* // addedToServiceDateTime: "STRING_VALUE",
@@ -142,6 +143,7 @@ export interface StartReplicationCommandOutput extends StartReplicationResponse,
142143
* // originAccountID: "STRING_VALUE",
143144
* // originRegion: "STRING_VALUE",
144145
* // originAvailabilityZone: "STRING_VALUE",
146+
* // sourceOutpostArn: "STRING_VALUE",
145147
* // },
146148
* // replicationDirection: "STRING_VALUE",
147149
* // reversedDirectionSourceServerArn: "STRING_VALUE",

clients/client-drs/src/commands/StopReplicationCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export interface StopReplicationCommandOutput extends StopReplicationResponse, _
8181
* // rawError: "STRING_VALUE",
8282
* // },
8383
* // stagingAvailabilityZone: "STRING_VALUE",
84+
* // stagingOutpostArn: "STRING_VALUE",
8485
* // },
8586
* // lifeCycle: { // LifeCycle
8687
* // addedToServiceDateTime: "STRING_VALUE",
@@ -142,6 +143,7 @@ export interface StopReplicationCommandOutput extends StopReplicationResponse, _
142143
* // originAccountID: "STRING_VALUE",
143144
* // originRegion: "STRING_VALUE",
144145
* // originAvailabilityZone: "STRING_VALUE",
146+
* // sourceOutpostArn: "STRING_VALUE",
145147
* // },
146148
* // replicationDirection: "STRING_VALUE",
147149
* // reversedDirectionSourceServerArn: "STRING_VALUE",

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ export const VolumeStatus = {
10341034
CONTAINS_MARKETPLACE_PRODUCT_CODES: "CONTAINS_MARKETPLACE_PRODUCT_CODES",
10351035
MISSING_VOLUME_ATTRIBUTES: "MISSING_VOLUME_ATTRIBUTES",
10361036
MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE: "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE",
1037+
PENDING: "PENDING",
10371038
REGULAR: "REGULAR",
10381039
} as const;
10391040

@@ -1130,6 +1131,12 @@ export interface DataReplicationInfo {
11301131
* @public
11311132
*/
11321133
stagingAvailabilityZone?: string;
1134+
1135+
/**
1136+
* <p>The ARN of the staging Outpost</p>
1137+
* @public
1138+
*/
1139+
stagingOutpostArn?: string;
11331140
}
11341141

11351142
/**
@@ -1276,6 +1283,12 @@ export interface SourceCloudProperties {
12761283
* @public
12771284
*/
12781285
originAvailabilityZone?: string;
1286+
1287+
/**
1288+
* <p>The ARN of the source Outpost</p>
1289+
* @public
1290+
*/
1291+
sourceOutpostArn?: string;
12791292
}
12801293

12811294
/**
@@ -2811,6 +2824,12 @@ export interface RecoveryInstanceDataReplicationInfo {
28112824
* @public
28122825
*/
28132826
stagingAvailabilityZone?: string;
2827+
2828+
/**
2829+
* <p>The ARN of the staging Outpost</p>
2830+
* @public
2831+
*/
2832+
stagingOutpostArn?: string;
28142833
}
28152834

28162835
/**
@@ -3111,6 +3130,12 @@ export interface RecoveryInstance {
31113130
* @public
31123131
*/
31133132
agentVersion?: string;
3133+
3134+
/**
3135+
* <p>The ARN of the source Outpost</p>
3136+
* @public
3137+
*/
3138+
sourceOutpostArn?: string;
31143139
}
31153140

31163141
/**

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,12 @@
872872
"traits": {
873873
"smithy.api#documentation": "<p>AWS Availability zone into which data is being replicated.</p>"
874874
}
875+
},
876+
"stagingOutpostArn": {
877+
"target": "com.amazonaws.drs#OutpostARN",
878+
"traits": {
879+
"smithy.api#documentation": "<p>The ARN of the staging Outpost</p>"
880+
}
875881
}
876882
},
877883
"traits": {
@@ -5550,6 +5556,16 @@
55505556
]
55515557
}
55525558
},
5559+
"com.amazonaws.drs#OutpostARN": {
5560+
"type": "string",
5561+
"traits": {
5562+
"smithy.api#length": {
5563+
"min": 20,
5564+
"max": 255
5565+
},
5566+
"smithy.api#pattern": "^arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:outpost/op-[a-f0-9]{17}$"
5567+
}
5568+
},
55535569
"com.amazonaws.drs#PITPolicy": {
55545570
"type": "list",
55555571
"member": {
@@ -6029,6 +6045,12 @@
60296045
"traits": {
60306046
"smithy.api#documentation": "<p>The version of the DRS agent installed on the recovery instance</p>"
60316047
}
6048+
},
6049+
"sourceOutpostArn": {
6050+
"target": "com.amazonaws.drs#OutpostARN",
6051+
"traits": {
6052+
"smithy.api#documentation": "<p>The ARN of the source Outpost</p>"
6053+
}
60326054
}
60336055
},
60346056
"traits": {
@@ -6099,6 +6121,12 @@
60996121
"traits": {
61006122
"smithy.api#documentation": "<p>AWS Availability zone into which data is being replicated.</p>"
61016123
}
6124+
},
6125+
"stagingOutpostArn": {
6126+
"target": "com.amazonaws.drs#OutpostARN",
6127+
"traits": {
6128+
"smithy.api#documentation": "<p>The ARN of the staging Outpost</p>"
6129+
}
61026130
}
61036131
},
61046132
"traits": {
@@ -7450,6 +7478,12 @@
74507478
"traits": {
74517479
"smithy.api#documentation": "<p>AWS Availability Zone for an EC2-originated Source Server.</p>"
74527480
}
7481+
},
7482+
"sourceOutpostArn": {
7483+
"target": "com.amazonaws.drs#OutpostARN",
7484+
"traits": {
7485+
"smithy.api#documentation": "<p>The ARN of the source Outpost</p>"
7486+
}
74537487
}
74547488
},
74557489
"traits": {
@@ -9538,6 +9572,10 @@
95389572
{
95399573
"value": "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE",
95409574
"name": "MISSING_VOLUME_ATTRIBUTES_AND_PRECHECK_UNAVAILABLE"
9575+
},
9576+
{
9577+
"value": "PENDING",
9578+
"name": "PENDING"
95419579
}
95429580
]
95439581
}

0 commit comments

Comments
 (0)