Skip to content

Commit 3897c1b

Browse files
Add support for VPC resource endpoints in Service Managed Fleets
1 parent 99f13b8 commit 3897c1b

15 files changed

+525
-1
lines changed

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

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5576,6 +5576,8 @@
55765576
"createdAt":{"shape":"CreatedAt"},
55775577
"endedAt":{"shape":"EndedAt"},
55785578
"startedAt":{"shape":"StartedAt"},
5579+
"updatedAt":{"shape":"UpdatedAt"},
5580+
"updatedBy":{"shape":"UpdatedBy"},
55795581
"jobParameters":{"shape":"JobParameters"},
55805582
"maxWorkerCount":{"shape":"MaxWorkerCount"},
55815583
"sourceJobId":{"shape":"JobId"}
@@ -7685,6 +7687,7 @@
76857687
"members":{
76867688
"instanceCapabilities":{"shape":"ServiceManagedEc2InstanceCapabilities"},
76877689
"instanceMarketOptions":{"shape":"ServiceManagedEc2InstanceMarketOptions"},
7690+
"vpcConfiguration":{"shape":"VpcConfiguration"},
76887691
"storageProfileId":{"shape":"StorageProfileId"}
76897692
}
76907693
},
@@ -8186,8 +8189,11 @@
81868189
"taskRunStatusCounts":{"shape":"TaskRunStatusCounts"},
81878190
"taskFailureRetryCount":{"shape":"TaskFailureRetryCount"},
81888191
"createdAt":{"shape":"CreatedAt"},
8192+
"createdBy":{"shape":"CreatedBy"},
81898193
"startedAt":{"shape":"StartedAt"},
81908194
"endedAt":{"shape":"EndedAt"},
8195+
"updatedAt":{"shape":"UpdatedAt"},
8196+
"updatedBy":{"shape":"UpdatedBy"},
81918197
"parameterSpace":{"shape":"ParameterSpace"}
81928198
}
81938199
},
@@ -8469,7 +8475,9 @@
84698475
"parameters":{"shape":"TaskParameters"},
84708476
"failureRetryCount":{"shape":"TaskRetryCount"},
84718477
"startedAt":{"shape":"StartedAt"},
8472-
"endedAt":{"shape":"EndedAt"}
8478+
"endedAt":{"shape":"EndedAt"},
8479+
"updatedAt":{"shape":"UpdatedAt"},
8480+
"updatedBy":{"shape":"UpdatedBy"}
84738481
}
84748482
},
84758483
"TaskSummaries":{
@@ -9309,12 +9317,27 @@
93099317
"OTHER"
93109318
]
93119319
},
9320+
"VpcConfiguration":{
9321+
"type":"structure",
9322+
"members":{
9323+
"resourceConfigurationArns":{"shape":"VpcResourceConfigurationArns"}
9324+
}
9325+
},
93129326
"VpcId":{
93139327
"type":"string",
93149328
"max":32,
93159329
"min":1,
93169330
"pattern":"vpc-[\\w]{1,120}"
93179331
},
9332+
"VpcResourceConfigurationArn":{
9333+
"type":"string",
9334+
"max":2048,
9335+
"min":1
9336+
},
9337+
"VpcResourceConfigurationArns":{
9338+
"type":"list",
9339+
"member":{"shape":"VpcResourceConfigurationArn"}
9340+
},
93189341
"WindowsUser":{
93199342
"type":"structure",
93209343
"required":[

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@
831831
"QueueFleetAssociationSummary$createdBy": "<p>The user or system that created this resource.</p>",
832832
"QueueLimitAssociationSummary$createdBy": "<p>The user identifier of the person that created the association.</p>",
833833
"QueueSummary$createdBy": "<p>The user or system that created this resource.</p>",
834+
"StepSearchSummary$createdBy": "<p>The user or system that created this resource.</p>",
834835
"StepSummary$createdBy": "<p>The user or system that created this resource.</p>",
835836
"TaskSummary$createdBy": "<p>The user or system that created this resource.</p>",
836837
"WorkerSearchSummary$createdBy": "<p>The user or system that created this resource.</p>",
@@ -4547,14 +4548,17 @@
45474548
"GetStorageProfileResponse$updatedAt": "<p>The date and time the resource was updated.</p>",
45484549
"GetTaskResponse$updatedAt": "<p>The date and time the resource was updated.</p>",
45494550
"GetWorkerResponse$updatedAt": "<p>The date and time the resource was updated.</p>",
4551+
"JobSearchSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
45504552
"JobSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
45514553
"LimitSummary$updatedAt": "<p>The Unix timestamp of the date and time that the limit was last updated.</p>",
45524554
"MonitorSummary$updatedAt": "<p>The UNIX timestamp of the date and time that the monitor was last updated.</p>",
45534555
"QueueFleetAssociationSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
45544556
"QueueLimitAssociationSummary$updatedAt": "<p>The Unix timestamp of the date and time that the association was last updated.</p>",
45554557
"QueueSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
45564558
"SessionSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
4559+
"StepSearchSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
45574560
"StepSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
4561+
"TaskSearchSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
45584562
"TaskSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
45594563
"WorkerSearchSummary$updatedAt": "<p>The date and time the resource was updated.</p>",
45604564
"WorkerSummary$updatedAt": "<p>The date and time the resource was updated.</p>"
@@ -4581,14 +4585,17 @@
45814585
"GetStorageProfileResponse$updatedBy": "<p>The user or system that updated this resource.</p>",
45824586
"GetTaskResponse$updatedBy": "<p>The user or system that updated this resource.</p>",
45834587
"GetWorkerResponse$updatedBy": "<p>The user or system that updated this resource.</p>",
4588+
"JobSearchSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
45844589
"JobSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
45854590
"LimitSummary$updatedBy": "<p>The user identifier of the person that last updated the limit.</p>",
45864591
"MonitorSummary$updatedBy": "<p>The user name of the person that last updated the monitor.</p>",
45874592
"QueueFleetAssociationSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
45884593
"QueueLimitAssociationSummary$updatedBy": "<p>The user identifier of the person that updated the association.</p>",
45894594
"QueueSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
45904595
"SessionSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
4596+
"StepSearchSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
45914597
"StepSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
4598+
"TaskSearchSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
45924599
"TaskSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
45934600
"WorkerSearchSummary$updatedBy": "<p>The user or system that updated this resource.</p>",
45944601
"WorkerSummary$updatedBy": "<p>The user or system that updated this resource.</p>"
@@ -4699,6 +4706,12 @@
46994706
"ValidationException$reason": "<p>The reason that the request failed validation.</p>"
47004707
}
47014708
},
4709+
"VpcConfiguration": {
4710+
"base": "<p>The configuration options for a service managed fleet's VPC.</p>",
4711+
"refs": {
4712+
"ServiceManagedEc2FleetConfiguration$vpcConfiguration": "<p>The VPC configuration details for a service managed Amazon EC2 fleet.</p>"
4713+
}
4714+
},
47024715
"VpcId": {
47034716
"base": null,
47044717
"refs": {
@@ -4707,6 +4720,18 @@
47074720
"LicenseEndpointSummary$vpcId": "<p>The VCP(virtual private cloud) ID associated with the license endpoint.</p>"
47084721
}
47094722
},
4723+
"VpcResourceConfigurationArn": {
4724+
"base": null,
4725+
"refs": {
4726+
"VpcResourceConfigurationArns$member": null
4727+
}
4728+
},
4729+
"VpcResourceConfigurationArns": {
4730+
"base": null,
4731+
"refs": {
4732+
"VpcConfiguration$resourceConfigurationArns": "<p>The ARNs of the VPC Lattice resource configurations attached to the fleet.</p>"
4733+
}
4734+
},
47104735
"WindowsUser": {
47114736
"base": "<p>The Windows user details.</p>",
47124737
"refs": {

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

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7454,6 +7454,14 @@
74547454
"shape":"StartedAt",
74557455
"documentation":"<p>The date and time the resource started running.</p>"
74567456
},
7457+
"updatedAt":{
7458+
"shape":"UpdatedAt",
7459+
"documentation":"<p>The date and time the resource was updated.</p>"
7460+
},
7461+
"updatedBy":{
7462+
"shape":"UpdatedBy",
7463+
"documentation":"<p>The user or system that updated this resource.</p>"
7464+
},
74577465
"jobParameters":{
74587466
"shape":"JobParameters",
74597467
"documentation":"<p>The job parameters.</p>"
@@ -10380,6 +10388,10 @@
1038010388
"shape":"ServiceManagedEc2InstanceMarketOptions",
1038110389
"documentation":"<p>The Amazon EC2 market type.</p>"
1038210390
},
10391+
"vpcConfiguration":{
10392+
"shape":"VpcConfiguration",
10393+
"documentation":"<p>The VPC configuration details for a service managed Amazon EC2 fleet.</p>"
10394+
},
1038310395
"storageProfileId":{
1038410396
"shape":"StorageProfileId",
1038510397
"documentation":"<p>The storage profile ID.</p>"
@@ -11223,6 +11235,10 @@
1122311235
"shape":"CreatedAt",
1122411236
"documentation":"<p>The date and time the resource was created.</p>"
1122511237
},
11238+
"createdBy":{
11239+
"shape":"CreatedBy",
11240+
"documentation":"<p>The user or system that created this resource.</p>"
11241+
},
1122611242
"startedAt":{
1122711243
"shape":"StartedAt",
1122811244
"documentation":"<p>The date and time the resource started running.</p>"
@@ -11231,6 +11247,14 @@
1123111247
"shape":"EndedAt",
1123211248
"documentation":"<p>The date and time the resource ended running.</p>"
1123311249
},
11250+
"updatedAt":{
11251+
"shape":"UpdatedAt",
11252+
"documentation":"<p>The date and time the resource was updated.</p>"
11253+
},
11254+
"updatedBy":{
11255+
"shape":"UpdatedBy",
11256+
"documentation":"<p>The user or system that updated this resource.</p>"
11257+
},
1123411258
"parameterSpace":{
1123511259
"shape":"ParameterSpace",
1123611260
"documentation":"<p>The parameters and combination expressions for the search.</p>"
@@ -11674,6 +11698,14 @@
1167411698
"endedAt":{
1167511699
"shape":"EndedAt",
1167611700
"documentation":"<p>The date and time the resource ended running.</p>"
11701+
},
11702+
"updatedAt":{
11703+
"shape":"UpdatedAt",
11704+
"documentation":"<p>The date and time the resource was updated.</p>"
11705+
},
11706+
"updatedBy":{
11707+
"shape":"UpdatedBy",
11708+
"documentation":"<p>The user or system that updated this resource.</p>"
1167711709
}
1167811710
},
1167911711
"documentation":"<p>The details of a task search.</p>"
@@ -12854,12 +12886,31 @@
1285412886
"OTHER"
1285512887
]
1285612888
},
12889+
"VpcConfiguration":{
12890+
"type":"structure",
12891+
"members":{
12892+
"resourceConfigurationArns":{
12893+
"shape":"VpcResourceConfigurationArns",
12894+
"documentation":"<p>The ARNs of the VPC Lattice resource configurations attached to the fleet.</p>"
12895+
}
12896+
},
12897+
"documentation":"<p>The configuration options for a service managed fleet's VPC.</p>"
12898+
},
1285712899
"VpcId":{
1285812900
"type":"string",
1285912901
"max":32,
1286012902
"min":1,
1286112903
"pattern":"vpc-[\\w]{1,120}"
1286212904
},
12905+
"VpcResourceConfigurationArn":{
12906+
"type":"string",
12907+
"max":2048,
12908+
"min":1
12909+
},
12910+
"VpcResourceConfigurationArns":{
12911+
"type":"list",
12912+
"member":{"shape":"VpcResourceConfigurationArn"}
12913+
},
1286312914
"WindowsUser":{
1286412915
"type":"structure",
1286512916
"required":[

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,18 @@ public JobSearchSummary Unmarshall(JsonUnmarshallerContext context, ref Streamin
170170
unmarshalledObject.TaskRunStatusCounts = unmarshaller.Unmarshall(context, ref reader);
171171
continue;
172172
}
173+
if (context.TestExpression("updatedAt", targetDepth))
174+
{
175+
var unmarshaller = NullableDateTimeUnmarshaller.Instance;
176+
unmarshalledObject.UpdatedAt = unmarshaller.Unmarshall(context, ref reader);
177+
continue;
178+
}
179+
if (context.TestExpression("updatedBy", targetDepth))
180+
{
181+
var unmarshaller = StringUnmarshaller.Instance;
182+
unmarshalledObject.UpdatedBy = unmarshaller.Unmarshall(context, ref reader);
183+
continue;
184+
}
173185
}
174186
return unmarshalledObject;
175187
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,17 @@ public void Marshall(ServiceManagedEc2FleetConfiguration requestObject, JsonMars
7474
context.Writer.WriteStringValue(requestObject.StorageProfileId);
7575
}
7676

77+
if(requestObject.IsSetVpcConfiguration())
78+
{
79+
context.Writer.WritePropertyName("vpcConfiguration");
80+
context.Writer.WriteStartObject();
81+
82+
var marshaller = VpcConfigurationMarshaller.Instance;
83+
marshaller.Marshall(requestObject.VpcConfiguration, context);
84+
85+
context.Writer.WriteEndObject();
86+
}
87+
7788
}
7889

7990
/// <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
@@ -74,6 +74,12 @@ public ServiceManagedEc2FleetConfiguration Unmarshall(JsonUnmarshallerContext co
7474
unmarshalledObject.StorageProfileId = unmarshaller.Unmarshall(context, ref reader);
7575
continue;
7676
}
77+
if (context.TestExpression("vpcConfiguration", targetDepth))
78+
{
79+
var unmarshaller = VpcConfigurationUnmarshaller.Instance;
80+
unmarshalledObject.VpcConfiguration = unmarshaller.Unmarshall(context, ref reader);
81+
continue;
82+
}
7783
}
7884
return unmarshalledObject;
7985
}

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ public StepSearchSummary Unmarshall(JsonUnmarshallerContext context, ref Streami
6262
unmarshalledObject.CreatedAt = unmarshaller.Unmarshall(context, ref reader);
6363
continue;
6464
}
65+
if (context.TestExpression("createdBy", targetDepth))
66+
{
67+
var unmarshaller = StringUnmarshaller.Instance;
68+
unmarshalledObject.CreatedBy = unmarshaller.Unmarshall(context, ref reader);
69+
continue;
70+
}
6571
if (context.TestExpression("endedAt", targetDepth))
6672
{
6773
var unmarshaller = NullableDateTimeUnmarshaller.Instance;
@@ -140,6 +146,18 @@ public StepSearchSummary Unmarshall(JsonUnmarshallerContext context, ref Streami
140146
unmarshalledObject.TaskRunStatusCounts = unmarshaller.Unmarshall(context, ref reader);
141147
continue;
142148
}
149+
if (context.TestExpression("updatedAt", targetDepth))
150+
{
151+
var unmarshaller = NullableDateTimeUnmarshaller.Instance;
152+
unmarshalledObject.UpdatedAt = unmarshaller.Unmarshall(context, ref reader);
153+
continue;
154+
}
155+
if (context.TestExpression("updatedBy", targetDepth))
156+
{
157+
var unmarshaller = StringUnmarshaller.Instance;
158+
unmarshalledObject.UpdatedBy = unmarshaller.Unmarshall(context, ref reader);
159+
continue;
160+
}
143161
}
144162
return unmarshalledObject;
145163
}

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,18 @@ public TaskSearchSummary Unmarshall(JsonUnmarshallerContext context, ref Streami
116116
unmarshalledObject.TaskId = unmarshaller.Unmarshall(context, ref reader);
117117
continue;
118118
}
119+
if (context.TestExpression("updatedAt", targetDepth))
120+
{
121+
var unmarshaller = NullableDateTimeUnmarshaller.Instance;
122+
unmarshalledObject.UpdatedAt = unmarshaller.Unmarshall(context, ref reader);
123+
continue;
124+
}
125+
if (context.TestExpression("updatedBy", targetDepth))
126+
{
127+
var unmarshaller = StringUnmarshaller.Instance;
128+
unmarshalledObject.UpdatedBy = unmarshaller.Unmarshall(context, ref reader);
129+
continue;
130+
}
119131
}
120132
return unmarshalledObject;
121133
}

0 commit comments

Comments
 (0)