Skip to content

Commit e094eab

Browse files
author
awstools
committed
feat(client-deadline): Add support for VPC resource endpoints in Service Managed Fleets
1 parent ccb7908 commit e094eab

File tree

11 files changed

+292
-100
lines changed

11 files changed

+292
-100
lines changed

clients/client-deadline/src/commands/CreateFleetCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ export interface CreateFleetCommandOutput extends CreateFleetResponse, __Metadat
141141
* instanceMarketOptions: { // ServiceManagedEc2InstanceMarketOptions
142142
* type: "on-demand" || "spot", // required
143143
* },
144+
* vpcConfiguration: { // VpcConfiguration
145+
* resourceConfigurationArns: [ // VpcResourceConfigurationArns
146+
* "STRING_VALUE",
147+
* ],
148+
* },
144149
* storageProfileId: "STRING_VALUE",
145150
* },
146151
* },

clients/client-deadline/src/commands/GetFleetCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ export interface GetFleetCommandOutput extends GetFleetResponse, __MetadataBeare
150150
* // instanceMarketOptions: { // ServiceManagedEc2InstanceMarketOptions
151151
* // type: "on-demand" || "spot", // required
152152
* // },
153+
* // vpcConfiguration: { // VpcConfiguration
154+
* // resourceConfigurationArns: [ // VpcResourceConfigurationArns
155+
* // "STRING_VALUE",
156+
* // ],
157+
* // },
153158
* // storageProfileId: "STRING_VALUE",
154159
* // },
155160
* // },

clients/client-deadline/src/commands/ListFleetsCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@ export interface ListFleetsCommandOutput extends ListFleetsResponse, __MetadataB
155155
* // instanceMarketOptions: { // ServiceManagedEc2InstanceMarketOptions
156156
* // type: "on-demand" || "spot", // required
157157
* // },
158+
* // vpcConfiguration: { // VpcConfiguration
159+
* // resourceConfigurationArns: [ // VpcResourceConfigurationArns
160+
* // "STRING_VALUE",
161+
* // ],
162+
* // },
158163
* // storageProfileId: "STRING_VALUE",
159164
* // },
160165
* // },

clients/client-deadline/src/commands/SearchJobsCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ export interface SearchJobsCommandOutput extends SearchJobsResponse, __MetadataB
134134
* // createdAt: new Date("TIMESTAMP"),
135135
* // endedAt: new Date("TIMESTAMP"),
136136
* // startedAt: new Date("TIMESTAMP"),
137+
* // updatedAt: new Date("TIMESTAMP"),
138+
* // updatedBy: "STRING_VALUE",
137139
* // jobParameters: { // JobParameters
138140
* // "<keys>": { // JobParameter Union: only one key present
139141
* // int: "STRING_VALUE",

clients/client-deadline/src/commands/SearchStepsCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,11 @@ export interface SearchStepsCommandOutput extends SearchStepsResponse, __Metadat
130130
* // },
131131
* // taskFailureRetryCount: Number("int"),
132132
* // createdAt: new Date("TIMESTAMP"),
133+
* // createdBy: "STRING_VALUE",
133134
* // startedAt: new Date("TIMESTAMP"),
134135
* // endedAt: new Date("TIMESTAMP"),
136+
* // updatedAt: new Date("TIMESTAMP"),
137+
* // updatedBy: "STRING_VALUE",
135138
* // parameterSpace: { // ParameterSpace
136139
* // parameters: [ // StepParameterList // required
137140
* // { // StepParameter

clients/client-deadline/src/commands/SearchTasksCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ export interface SearchTasksCommandOutput extends SearchTasksResponse, __Metadat
135135
* // failureRetryCount: Number("int"),
136136
* // startedAt: new Date("TIMESTAMP"),
137137
* // endedAt: new Date("TIMESTAMP"),
138+
* // updatedAt: new Date("TIMESTAMP"),
139+
* // updatedBy: "STRING_VALUE",
138140
* // },
139141
* // ],
140142
* // nextItemOffset: Number("int"),

clients/client-deadline/src/commands/UpdateFleetCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ export interface UpdateFleetCommandOutput extends UpdateFleetResponse, __Metadat
142142
* instanceMarketOptions: { // ServiceManagedEc2InstanceMarketOptions
143143
* type: "on-demand" || "spot", // required
144144
* },
145+
* vpcConfiguration: { // VpcConfiguration
146+
* resourceConfigurationArns: [ // VpcResourceConfigurationArns
147+
* "STRING_VALUE",
148+
* ],
149+
* },
145150
* storageProfileId: "STRING_VALUE",
146151
* },
147152
* },

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

Lines changed: 18 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -3281,6 +3281,18 @@ export interface ServiceManagedEc2InstanceMarketOptions {
32813281
type: Ec2MarketType | undefined;
32823282
}
32833283

3284+
/**
3285+
* <p>The configuration options for a service managed fleet's VPC.</p>
3286+
* @public
3287+
*/
3288+
export interface VpcConfiguration {
3289+
/**
3290+
* <p>The ARNs of the VPC Lattice resource configurations attached to the fleet.</p>
3291+
* @public
3292+
*/
3293+
resourceConfigurationArns?: string[] | undefined;
3294+
}
3295+
32843296
/**
32853297
* <p>The configuration details for a service managed Amazon EC2 fleet.</p>
32863298
* @public
@@ -3298,6 +3310,12 @@ export interface ServiceManagedEc2FleetConfiguration {
32983310
*/
32993311
instanceMarketOptions: ServiceManagedEc2InstanceMarketOptions | undefined;
33003312

3313+
/**
3314+
* <p>The VPC configuration details for a service managed Amazon EC2 fleet.</p>
3315+
* @public
3316+
*/
3317+
vpcConfiguration?: VpcConfiguration | undefined;
3318+
33013319
/**
33023320
* <p>The storage profile ID.</p>
33033321
* @public
@@ -8440,102 +8458,6 @@ export interface ListStepsRequest {
84408458
maxResults?: number | undefined;
84418459
}
84428460

8443-
/**
8444-
* <p>The details for a step.</p>
8445-
* @public
8446-
*/
8447-
export interface StepSummary {
8448-
/**
8449-
* <p>The step ID.</p>
8450-
* @public
8451-
*/
8452-
stepId: string | undefined;
8453-
8454-
/**
8455-
* <p>The name of the step.</p>
8456-
* @public
8457-
*/
8458-
name: string | undefined;
8459-
8460-
/**
8461-
* <p>The life cycle status.</p>
8462-
* @public
8463-
*/
8464-
lifecycleStatus: StepLifecycleStatus | undefined;
8465-
8466-
/**
8467-
* <p>A message that describes the lifecycle of the step.</p>
8468-
* @public
8469-
*/
8470-
lifecycleStatusMessage?: string | undefined;
8471-
8472-
/**
8473-
* <p>The task run status for the job.</p> <ul> <li> <p> <code>PENDING</code>–pending and waiting for resources.</p> </li> <li> <p> <code>READY</code>–ready to process.</p> </li> <li> <p> <code>ASSIGNED</code>–assigned and will run next on a worker.</p> </li> <li> <p> <code>SCHEDULED</code>–scheduled to run on a worker.</p> </li> <li> <p> <code>INTERRUPTING</code>–being interrupted.</p> </li> <li> <p> <code>RUNNING</code>–running on a worker.</p> </li> <li> <p> <code>SUSPENDED</code>–the task is suspended.</p> </li> <li> <p> <code>CANCELED</code>–the task has been canceled.</p> </li> <li> <p> <code>FAILED</code>–the task has failed.</p> </li> <li> <p> <code>SUCCEEDED</code>–the task has succeeded.</p> </li> </ul>
8474-
* @public
8475-
*/
8476-
taskRunStatus: TaskRunStatus | undefined;
8477-
8478-
/**
8479-
* <p>The number of tasks running on the job.</p>
8480-
* @public
8481-
*/
8482-
taskRunStatusCounts: Partial<Record<TaskRunStatus, number>> | undefined;
8483-
8484-
/**
8485-
* <p>The total number of times tasks from the step failed and were retried.</p>
8486-
* @public
8487-
*/
8488-
taskFailureRetryCount?: number | undefined;
8489-
8490-
/**
8491-
* <p>The task status to start with on the job.</p>
8492-
* @public
8493-
*/
8494-
targetTaskRunStatus?: StepTargetTaskRunStatus | undefined;
8495-
8496-
/**
8497-
* <p>The date and time the resource was created.</p>
8498-
* @public
8499-
*/
8500-
createdAt: Date | undefined;
8501-
8502-
/**
8503-
* <p>The user or system that created this resource.</p>
8504-
* @public
8505-
*/
8506-
createdBy: string | undefined;
8507-
8508-
/**
8509-
* <p>The date and time the resource was updated.</p>
8510-
* @public
8511-
*/
8512-
updatedAt?: Date | undefined;
8513-
8514-
/**
8515-
* <p>The user or system that updated this resource.</p>
8516-
* @public
8517-
*/
8518-
updatedBy?: string | undefined;
8519-
8520-
/**
8521-
* <p>The date and time the resource started running.</p>
8522-
* @public
8523-
*/
8524-
startedAt?: Date | undefined;
8525-
8526-
/**
8527-
* <p>The date and time the resource ended running.</p>
8528-
* @public
8529-
*/
8530-
endedAt?: Date | undefined;
8531-
8532-
/**
8533-
* <p>The number of dependencies for the step.</p>
8534-
* @public
8535-
*/
8536-
dependencyCounts?: DependencyCounts | undefined;
8537-
}
8538-
85398461
/**
85408462
* @internal
85418463
*/

0 commit comments

Comments
 (0)