Skip to content

Commit 4e6b63b

Browse files
AWS Deadline Cloud service-managed fleets now support storage profiles. With storage profiles, you can map file paths between a workstation and the worker hosts running the job.
1 parent d81a40f commit 4e6b63b

File tree

7 files changed

+42
-1
lines changed

7 files changed

+42
-1
lines changed

generator/ServiceModels/deadline/deadline-2023-10-12.api.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7679,7 +7679,8 @@
76797679
],
76807680
"members":{
76817681
"instanceCapabilities":{"shape":"ServiceManagedEc2InstanceCapabilities"},
7682-
"instanceMarketOptions":{"shape":"ServiceManagedEc2InstanceMarketOptions"}
7682+
"instanceMarketOptions":{"shape":"ServiceManagedEc2InstanceMarketOptions"},
7683+
"storageProfileId":{"shape":"StorageProfileId"}
76837684
}
76847685
},
76857686
"ServiceManagedEc2InstanceCapabilities":{

generator/ServiceModels/deadline/deadline-2023-10-12.docs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3900,6 +3900,7 @@
39003900
"GetStorageProfileForQueueResponse$storageProfileId": "<p>The storage profile ID.</p>",
39013901
"GetStorageProfileRequest$storageProfileId": "<p>The storage profile ID.</p>",
39023902
"GetStorageProfileResponse$storageProfileId": "<p>The storage profile ID.</p>",
3903+
"ServiceManagedEc2FleetConfiguration$storageProfileId": "<p>The storage profile ID.</p>",
39033904
"StorageProfileSummary$storageProfileId": "<p>The storage profile ID.</p>",
39043905
"UpdateStorageProfileRequest$storageProfileId": "<p>The storage profile ID to update.</p>"
39053906
}

generator/ServiceModels/deadline/deadline-2023-10-12.normal.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10359,6 +10359,10 @@
1035910359
"instanceMarketOptions":{
1036010360
"shape":"ServiceManagedEc2InstanceMarketOptions",
1036110361
"documentation":"<p>The Amazon EC2 market type.</p>"
10362+
},
10363+
"storageProfileId":{
10364+
"shape":"StorageProfileId",
10365+
"documentation":"<p>The storage profile ID.</p>"
1036210366
}
1036310367
},
1036410368
"documentation":"<p>The configuration details for a service managed Amazon EC2 fleet.</p>"

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2702,6 +2702,10 @@
27022702
<min>1</min>
27032703
<max>256</max>
27042704
</property-value-rule>
2705+
<property-value-rule>
2706+
<property>Amazon.Deadline.Model.ServiceManagedEc2FleetConfiguration.StorageProfileId</property>
2707+
<pattern>sp-[0-9a-f]{32}</pattern>
2708+
</property-value-rule>
27052709
<property-value-rule>
27062710
<property>Amazon.Deadline.Model.SessionActionSummary.ProgressPercent</property>
27072711
<min>0</min>

sdk/src/Services/Deadline/Generated/Model/Internal/MarshallTransformations/ServiceManagedEc2FleetConfigurationMarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ public void Marshall(ServiceManagedEc2FleetConfiguration requestObject, JsonMars
6868
context.Writer.WriteEndObject();
6969
}
7070

71+
if(requestObject.IsSetStorageProfileId())
72+
{
73+
context.Writer.WritePropertyName("storageProfileId");
74+
context.Writer.WriteStringValue(requestObject.StorageProfileId);
75+
}
76+
7177
}
7278

7379
/// <summary>

sdk/src/Services/Deadline/Generated/Model/Internal/MarshallTransformations/ServiceManagedEc2FleetConfigurationUnmarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ public ServiceManagedEc2FleetConfiguration Unmarshall(JsonUnmarshallerContext co
6868
unmarshalledObject.InstanceMarketOptions = unmarshaller.Unmarshall(context, ref reader);
6969
continue;
7070
}
71+
if (context.TestExpression("storageProfileId", targetDepth))
72+
{
73+
var unmarshaller = StringUnmarshaller.Instance;
74+
unmarshalledObject.StorageProfileId = unmarshaller.Unmarshall(context, ref reader);
75+
continue;
76+
}
7177
}
7278
return unmarshalledObject;
7379
}

sdk/src/Services/Deadline/Generated/Model/ServiceManagedEc2FleetConfiguration.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public partial class ServiceManagedEc2FleetConfiguration
3636
{
3737
private ServiceManagedEc2InstanceCapabilities _instanceCapabilities;
3838
private ServiceManagedEc2InstanceMarketOptions _instanceMarketOptions;
39+
private string _storageProfileId;
3940

4041
/// <summary>
4142
/// Gets and sets the property InstanceCapabilities.
@@ -75,5 +76,23 @@ internal bool IsSetInstanceMarketOptions()
7576
return this._instanceMarketOptions != null;
7677
}
7778

79+
/// <summary>
80+
/// Gets and sets the property StorageProfileId.
81+
/// <para>
82+
/// The storage profile ID.
83+
/// </para>
84+
/// </summary>
85+
public string StorageProfileId
86+
{
87+
get { return this._storageProfileId; }
88+
set { this._storageProfileId = value; }
89+
}
90+
91+
// Check to see if StorageProfileId property is set
92+
internal bool IsSetStorageProfileId()
93+
{
94+
return this._storageProfileId != null;
95+
}
96+
7897
}
7998
}

0 commit comments

Comments
 (0)