@aws-sdk/client-deadline 3.1021.0 → 3.1023.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AcceleratorName, AcceleratorType, AutoScalingMode, AutoScalingStatus, BudgetActionType, BudgetStatus, ComparisonOperator, CompletedStatus, CpuArchitectureType, CreateJobTargetTaskRunStatus, CustomerManagedFleetOperatingSystemFamily, DeadlinePrincipalType, DefaultQueueBudgetAction, DependencyConsumerResolutionStatus, DesiredWorkerStatus, Ec2MarketType, EnvironmentTemplateType, FileSystemLocationType, FleetStatus, JobAttachmentsFileSystem, JobEntityErrorCode, JobLifecycleStatus, JobTargetTaskRunStatus, JobTemplateType, LicenseEndpointStatus, MembershipLevel, PathFormat, QueueBlockedReason, QueueFleetAssociationStatus, QueueLimitAssociationStatus, QueueStatus, RangeConstraint, RunAs, ServiceManagedFleetOperatingSystemFamily, SessionActionStatus, SessionLifecycleStatus, SessionLifecycleTargetStatus, SessionsStatisticsAggregationStatus, StepLifecycleStatus, StepParameterType, StepTargetTaskRunStatus, StorageProfileOperatingSystemFamily, TagPropagationMode, TaskRunStatus, TaskTargetRunStatus, UpdatedWorkerStatus, UpdateJobLifecycleStatus, UsageType, WorkerStatus } from "./enums";
2
+ import type { AcceleratorName, AcceleratorType, AutoScalingMode, AutoScalingStatus, BudgetActionType, BudgetStatus, ComparisonOperator, CompletedStatus, CpuArchitectureType, CreateJobTargetTaskRunStatus, CustomerManagedFleetOperatingSystemFamily, DeadlinePrincipalType, DefaultQueueBudgetAction, DependencyConsumerResolutionStatus, DesiredWorkerStatus, Ec2MarketType, EnvironmentTemplateType, FileSystemLocationType, FleetStatus, JobAttachmentsFileSystem, JobEntityErrorCode, JobLifecycleStatus, JobTargetTaskRunStatus, JobTemplateType, MembershipLevel, PathFormat, QueueBlockedReason, QueueFleetAssociationStatus, QueueLimitAssociationStatus, QueueStatus, RangeConstraint, RunAs, ServiceManagedFleetOperatingSystemFamily, SessionActionStatus, SessionLifecycleStatus, SessionLifecycleTargetStatus, StepLifecycleStatus, StepParameterType, StepTargetTaskRunStatus, StorageProfileOperatingSystemFamily, TagPropagationMode, TaskRunStatus, TaskTargetRunStatus, UpdatedWorkerStatus, UpdateJobLifecycleStatus, UsageType, WorkerStatus } from "./enums";
3
3
  /**
4
4
  * <p>Defines the maximum and minimum number of GPU accelerators required for a worker instance..</p>
5
5
  * @public
@@ -2074,22 +2074,22 @@ export interface CreateFarmResponse {
2074
2074
  farmId: string | undefined;
2075
2075
  }
2076
2076
  /**
2077
- * <p>The auto scaling configuration options for a customer managed fleet.</p>
2077
+ * <p>The auto scaling configuration settings for a customer managed fleet.</p>
2078
2078
  * @public
2079
2079
  */
2080
2080
  export interface CustomerManagedAutoScalingConfiguration {
2081
2081
  /**
2082
- * <p>The number of standby workers to maintain for the fleet.</p>
2082
+ * <p>The number of idle workers maintained and ready to process incoming tasks. The default is 0.</p>
2083
2083
  * @public
2084
2084
  */
2085
2085
  standbyWorkerCount?: number | undefined;
2086
2086
  /**
2087
- * <p>The duration in seconds that a worker can be idle before it is scaled down.</p>
2087
+ * <p>The number of seconds that a worker can remain idle before it is shut down. The default is 300 seconds (5 minutes).</p>
2088
2088
  * @public
2089
2089
  */
2090
2090
  workerIdleDurationSeconds?: number | undefined;
2091
2091
  /**
2092
- * <p>The number of workers that can be scaled out per minute.</p>
2092
+ * <p>The number of workers that can be added per minute to the fleet. The default is a service-defined value that balances efficiency with cost.</p>
2093
2093
  * @public
2094
2094
  */
2095
2095
  scaleOutWorkersPerMinute?: number | undefined;
@@ -2225,7 +2225,7 @@ export interface CustomerManagedFleetConfiguration {
2225
2225
  */
2226
2226
  mode: AutoScalingMode | undefined;
2227
2227
  /**
2228
- * <p>The auto scaling configuration options for the customer managed fleet.</p>
2228
+ * <p>The auto scaling configuration settings for the customer managed fleet.</p>
2229
2229
  * @public
2230
2230
  */
2231
2231
  autoScalingConfiguration?: CustomerManagedAutoScalingConfiguration | undefined;
@@ -2246,22 +2246,22 @@ export interface CustomerManagedFleetConfiguration {
2246
2246
  tagPropagationMode?: TagPropagationMode | undefined;
2247
2247
  }
2248
2248
  /**
2249
- * <p>The auto scaling configuration options for a service managed EC2 fleet.</p>
2249
+ * <p>The auto scaling configuration settings for a service managed EC2 fleet.</p>
2250
2250
  * @public
2251
2251
  */
2252
2252
  export interface ServiceManagedEc2AutoScalingConfiguration {
2253
2253
  /**
2254
- * <p>The number of standby workers to maintain for the fleet.</p>
2254
+ * <p>The number of idle workers maintained and ready to process incoming tasks. The default is 0.</p>
2255
2255
  * @public
2256
2256
  */
2257
2257
  standbyWorkerCount?: number | undefined;
2258
2258
  /**
2259
- * <p>The duration in seconds that a worker can be idle before it is scaled down.</p>
2259
+ * <p>The number of seconds that a worker can remain idle before it is shut down. The default is 300 seconds (5 minutes).</p>
2260
2260
  * @public
2261
2261
  */
2262
2262
  workerIdleDurationSeconds?: number | undefined;
2263
2263
  /**
2264
- * <p>The number of workers that can be scaled out per minute.</p>
2264
+ * <p>The number of workers that can be added per minute to the fleet. The default is a service-defined value that balances efficiency with cost.</p>
2265
2265
  * @public
2266
2266
  */
2267
2267
  scaleOutWorkersPerMinute?: number | undefined;
@@ -2391,7 +2391,7 @@ export interface ServiceManagedEc2FleetConfiguration {
2391
2391
  */
2392
2392
  storageProfileId?: string | undefined;
2393
2393
  /**
2394
- * <p>The auto scaling configuration options for the service managed EC2 fleet.</p>
2394
+ * <p>The auto scaling configuration settings for the service managed EC2 fleet.</p>
2395
2395
  * @public
2396
2396
  */
2397
2397
  autoScalingConfiguration?: ServiceManagedEc2AutoScalingConfiguration | undefined;
@@ -2767,6 +2767,201 @@ export interface CreateMonitorResponse {
2767
2767
  */
2768
2768
  identityCenterApplicationArn: string | undefined;
2769
2769
  }
2770
+ /**
2771
+ * <p>Configuration for priority balanced scheduling. Workers are distributed evenly across all jobs at the highest priority level.</p>
2772
+ * @public
2773
+ */
2774
+ export interface PriorityBalancedSchedulingConfiguration {
2775
+ /**
2776
+ * <p>The rendering task buffer controls worker stickiness. A worker only switches from its current job to another job at the same priority if the other job has fewer rendering tasks by more than this buffer value. Higher values make workers stickier to their current jobs. The default value is <code>1</code>.</p>
2777
+ * @public
2778
+ */
2779
+ renderingTaskBuffer?: number | undefined;
2780
+ }
2781
+ /**
2782
+ * <p>Configuration for priority first-in, first-out (FIFO) scheduling. Workers are assigned to the highest-priority job first. When multiple jobs share the same priority, the job submitted earliest receives workers first.</p>
2783
+ * @public
2784
+ */
2785
+ export interface PriorityFifoSchedulingConfiguration {
2786
+ }
2787
+ /**
2788
+ * <p>Specifies that jobs at the maximum priority (100) are always scheduled first.</p>
2789
+ * @public
2790
+ */
2791
+ export interface SchedulingMaxPriorityOverrideAlwaysScheduleFirst {
2792
+ }
2793
+ /**
2794
+ * <p>Defines the override behavior for jobs at the maximum priority (100) in weighted balanced scheduling.</p>
2795
+ * @public
2796
+ */
2797
+ export type SchedulingMaxPriorityOverride = SchedulingMaxPriorityOverride.AlwaysScheduleFirstMember | SchedulingMaxPriorityOverride.$UnknownMember;
2798
+ /**
2799
+ * @public
2800
+ */
2801
+ export declare namespace SchedulingMaxPriorityOverride {
2802
+ /**
2803
+ * <p>Jobs at the maximum priority (100) are always scheduled before other jobs, regardless of the weighted scheduling formula. If multiple jobs have priority 100, ties are broken using the standard weighted formula.</p>
2804
+ * @public
2805
+ */
2806
+ interface AlwaysScheduleFirstMember {
2807
+ alwaysScheduleFirst: SchedulingMaxPriorityOverrideAlwaysScheduleFirst;
2808
+ $unknown?: never;
2809
+ }
2810
+ /**
2811
+ * @public
2812
+ */
2813
+ interface $UnknownMember {
2814
+ alwaysScheduleFirst?: never;
2815
+ $unknown: [string, any];
2816
+ }
2817
+ /**
2818
+ * @deprecated unused in schema-serde mode.
2819
+ *
2820
+ */
2821
+ interface Visitor<T> {
2822
+ alwaysScheduleFirst: (value: SchedulingMaxPriorityOverrideAlwaysScheduleFirst) => T;
2823
+ _: (name: string, value: any) => T;
2824
+ }
2825
+ }
2826
+ /**
2827
+ * <p>Specifies that jobs at the minimum priority (0) are always scheduled last.</p>
2828
+ * @public
2829
+ */
2830
+ export interface SchedulingMinPriorityOverrideAlwaysScheduleLast {
2831
+ }
2832
+ /**
2833
+ * <p>Defines the override behavior for jobs at the minimum priority (0) in weighted balanced scheduling.</p>
2834
+ * @public
2835
+ */
2836
+ export type SchedulingMinPriorityOverride = SchedulingMinPriorityOverride.AlwaysScheduleLastMember | SchedulingMinPriorityOverride.$UnknownMember;
2837
+ /**
2838
+ * @public
2839
+ */
2840
+ export declare namespace SchedulingMinPriorityOverride {
2841
+ /**
2842
+ * <p>Jobs at the minimum priority (0) are always scheduled after all other jobs, regardless of the weighted scheduling formula. If multiple jobs have priority 0, ties are broken using the standard weighted formula.</p>
2843
+ * @public
2844
+ */
2845
+ interface AlwaysScheduleLastMember {
2846
+ alwaysScheduleLast: SchedulingMinPriorityOverrideAlwaysScheduleLast;
2847
+ $unknown?: never;
2848
+ }
2849
+ /**
2850
+ * @public
2851
+ */
2852
+ interface $UnknownMember {
2853
+ alwaysScheduleLast?: never;
2854
+ $unknown: [string, any];
2855
+ }
2856
+ /**
2857
+ * @deprecated unused in schema-serde mode.
2858
+ *
2859
+ */
2860
+ interface Visitor<T> {
2861
+ alwaysScheduleLast: (value: SchedulingMinPriorityOverrideAlwaysScheduleLast) => T;
2862
+ _: (name: string, value: any) => T;
2863
+ }
2864
+ }
2865
+ /**
2866
+ * <p>Configuration for weighted balanced scheduling. Workers are assigned to jobs based on a weighted formula:</p> <p> <code>weight = (priority * priorityWeight) + (errors * errorWeight) + ((currentTime - submissionTime) * submissionTimeWeight) + ((renderingTasks - renderingTaskBuffer) * renderingTaskWeight)</code> </p> <p>The job with the highest calculated weight is scheduled first. Workers are distributed evenly amongst jobs with the same weight.</p>
2867
+ * @public
2868
+ */
2869
+ export interface WeightedBalancedSchedulingConfiguration {
2870
+ /**
2871
+ * <p>The weight applied to job priority in the scheduling formula. Higher values give more influence to job priority. A value of <code>0</code> means priority is ignored. The default value is <code>100.0</code>.</p>
2872
+ * @public
2873
+ */
2874
+ priorityWeight?: number | undefined;
2875
+ /**
2876
+ * <p>The weight applied to the number of errors on a job. A negative value means jobs without errors are scheduled first. A value of <code>0</code> means errors are ignored. The default value is <code>-10.0</code>.</p>
2877
+ * @public
2878
+ */
2879
+ errorWeight?: number | undefined;
2880
+ /**
2881
+ * <p>The weight applied to job submission time. A positive value means earlier jobs are scheduled first. A value of <code>0</code> means submission time is ignored. The default value is <code>3.0</code>.</p>
2882
+ * @public
2883
+ */
2884
+ submissionTimeWeight?: number | undefined;
2885
+ /**
2886
+ * <p>The weight applied to the number of tasks currently rendering on a job. A negative value means jobs that are not already rendering are scheduled next. A value of <code>0</code> means the rendering state is ignored. The default value is <code>-100.0</code>.</p>
2887
+ * @public
2888
+ */
2889
+ renderingTaskWeight?: number | undefined;
2890
+ /**
2891
+ * <p>The rendering task buffer is subtracted from the number of rendering tasks before applying the rendering task weight. This creates a stickiness effect where workers prefer to stay with their current job. Higher values make workers stickier. The default value is <code>1</code>. The buffer is only applied in the weight calculation for a job if the worker is currently assigned to that job.</p>
2892
+ * @public
2893
+ */
2894
+ renderingTaskBuffer?: number | undefined;
2895
+ /**
2896
+ * <p>Overrides the weighted scheduling formula for jobs at the maximum priority (100). When set, jobs with priority 100 are always scheduled first regardless of their calculated weight. When absent, maximum priority jobs use the standard weighted formula.</p>
2897
+ * @public
2898
+ */
2899
+ maxPriorityOverride?: SchedulingMaxPriorityOverride | undefined;
2900
+ /**
2901
+ * <p>Overrides the weighted scheduling formula for jobs at the minimum priority (0). When set, jobs with priority 0 are always scheduled last regardless of their calculated weight. When absent, minimum priority jobs use the standard weighted formula.</p>
2902
+ * @public
2903
+ */
2904
+ minPriorityOverride?: SchedulingMinPriorityOverride | undefined;
2905
+ }
2906
+ /**
2907
+ * <p>The scheduling configuration for a queue. Defines the strategy used to assign workers to jobs.</p>
2908
+ * @public
2909
+ */
2910
+ export type SchedulingConfiguration = SchedulingConfiguration.PriorityBalancedMember | SchedulingConfiguration.PriorityFifoMember | SchedulingConfiguration.WeightedBalancedMember | SchedulingConfiguration.$UnknownMember;
2911
+ /**
2912
+ * @public
2913
+ */
2914
+ export declare namespace SchedulingConfiguration {
2915
+ /**
2916
+ * <p>Workers are assigned to the highest-priority job first. When multiple jobs share the same priority, the job submitted earliest receives workers first. This is the default scheduling configuration for new queues.</p>
2917
+ * @public
2918
+ */
2919
+ interface PriorityFifoMember {
2920
+ priorityFifo: PriorityFifoSchedulingConfiguration;
2921
+ priorityBalanced?: never;
2922
+ weightedBalanced?: never;
2923
+ $unknown?: never;
2924
+ }
2925
+ /**
2926
+ * <p>Workers are distributed evenly across all jobs at the highest priority level. When workers cannot be evenly divided, the extra workers are assigned to the jobs submitted earliest. If a job has fewer remaining tasks than its share of workers, the surplus workers are redistributed to other jobs at the same priority level.</p>
2927
+ * @public
2928
+ */
2929
+ interface PriorityBalancedMember {
2930
+ priorityFifo?: never;
2931
+ priorityBalanced: PriorityBalancedSchedulingConfiguration;
2932
+ weightedBalanced?: never;
2933
+ $unknown?: never;
2934
+ }
2935
+ /**
2936
+ * <p>Workers are assigned to jobs based on a weighted formula that considers job priority, error count, submission time, and the number of tasks currently rendering. Each factor has a configurable weight that determines its influence on scheduling decisions.</p>
2937
+ * @public
2938
+ */
2939
+ interface WeightedBalancedMember {
2940
+ priorityFifo?: never;
2941
+ priorityBalanced?: never;
2942
+ weightedBalanced: WeightedBalancedSchedulingConfiguration;
2943
+ $unknown?: never;
2944
+ }
2945
+ /**
2946
+ * @public
2947
+ */
2948
+ interface $UnknownMember {
2949
+ priorityFifo?: never;
2950
+ priorityBalanced?: never;
2951
+ weightedBalanced?: never;
2952
+ $unknown: [string, any];
2953
+ }
2954
+ /**
2955
+ * @deprecated unused in schema-serde mode.
2956
+ *
2957
+ */
2958
+ interface Visitor<T> {
2959
+ priorityFifo: (value: PriorityFifoSchedulingConfiguration) => T;
2960
+ priorityBalanced: (value: PriorityBalancedSchedulingConfiguration) => T;
2961
+ weightedBalanced: (value: WeightedBalancedSchedulingConfiguration) => T;
2962
+ _: (name: string, value: any) => T;
2963
+ }
2964
+ }
2770
2965
  /**
2771
2966
  * Shared displayName + description for Create operations where both are present.
2772
2967
  * displayName is @required here - this mixin is Create-only by design (Update has optional displayName).
@@ -2828,6 +3023,11 @@ export interface CreateQueueRequest {
2828
3023
  * @public
2829
3024
  */
2830
3025
  tags?: Record<string, string> | undefined;
3026
+ /**
3027
+ * <p>The scheduling configuration for the queue. This configuration determines how workers are assigned to jobs in the queue.</p> <p>If not specified, the queue defaults to the <code>priorityFifo</code> scheduling configuration.</p>
3028
+ * @public
3029
+ */
3030
+ schedulingConfiguration?: SchedulingConfiguration | undefined;
2831
3031
  }
2832
3032
  /**
2833
3033
  * Mixin that adds an optional ARN field to response structures.
@@ -4863,6 +5063,11 @@ export interface GetQueueResponse {
4863
5063
  * @public
4864
5064
  */
4865
5065
  jobRunAsUser?: JobRunAsUser | undefined;
5066
+ /**
5067
+ * <p>The scheduling configuration for the queue. This configuration determines how workers are assigned to jobs in the queue.</p>
5068
+ * @public
5069
+ */
5070
+ schedulingConfiguration?: SchedulingConfiguration | undefined;
4866
5071
  }
4867
5072
  /**
4868
5073
  * @public
@@ -7382,6 +7587,11 @@ export interface UpdateQueueRequest {
7382
7587
  * @public
7383
7588
  */
7384
7589
  allowedStorageProfileIdsToRemove?: string[] | undefined;
7590
+ /**
7591
+ * <p>The scheduling configuration for the queue. This configuration determines how workers are assigned to jobs in the queue.</p> <p>When updating the scheduling configuration, the entire configuration is replaced.</p> <p>In-progress tasks run to completion before the new scheduling configuration takes effect.</p>
7592
+ * @public
7593
+ */
7594
+ schedulingConfiguration?: SchedulingConfiguration | undefined;
7385
7595
  }
7386
7596
  /**
7387
7597
  * @public
@@ -7790,132 +8000,3 @@ export interface Statistics {
7790
8000
  */
7791
8001
  aggregationEndTime?: Date | undefined;
7792
8002
  }
7793
- /**
7794
- * Shared pagination field for List operation outputs (nextToken).
7795
- * @public
7796
- */
7797
- export interface GetSessionsStatisticsAggregationResponse {
7798
- /**
7799
- * <p>The statistics for the specified fleets or queues.</p>
7800
- * @public
7801
- */
7802
- statistics?: Statistics[] | undefined;
7803
- /**
7804
- * <p>The status of the aggregated results. An aggregation may fail or time out if the results are too large. If this happens, you can call the <code>StartSessionsStatisticsAggregation</code> operation after you reduce the aggregation time frame, reduce the number of queues or fleets in the aggregation, or increase the period length.</p> <p>If you call the <code>StartSessionsStatisticsAggregation </code> operation when the status is <code>IN_PROGRESS</code>, you will receive a <code>ThrottlingException</code>.</p>
7805
- * @public
7806
- */
7807
- status: SessionsStatisticsAggregationStatus | undefined;
7808
- /**
7809
- * <p>A message that describes the status.</p>
7810
- * @public
7811
- */
7812
- statusMessage?: string | undefined;
7813
- /**
7814
- * <p>If Deadline Cloud returns <code>nextToken</code>, then there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then <code>nextToken</code> is set to <code>null</code>. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 <code>ValidationException</code> error.</p>
7815
- * @public
7816
- */
7817
- nextToken?: string | undefined;
7818
- }
7819
- /**
7820
- * @public
7821
- */
7822
- export interface DeleteLicenseEndpointRequest {
7823
- /**
7824
- * <p>The license endpoint ID of the license endpoint to delete.</p>
7825
- * @public
7826
- */
7827
- licenseEndpointId: string | undefined;
7828
- }
7829
- /**
7830
- * @public
7831
- */
7832
- export interface DeleteLicenseEndpointResponse {
7833
- }
7834
- /**
7835
- * @public
7836
- */
7837
- export interface DeleteMeteredProductRequest {
7838
- /**
7839
- * <p>The ID of the license endpoint from which to remove the metered product.</p>
7840
- * @public
7841
- */
7842
- licenseEndpointId: string | undefined;
7843
- /**
7844
- * <p>The product ID to remove from the license endpoint.</p>
7845
- * @public
7846
- */
7847
- productId: string | undefined;
7848
- }
7849
- /**
7850
- * @public
7851
- */
7852
- export interface DeleteMeteredProductResponse {
7853
- }
7854
- /**
7855
- * @public
7856
- */
7857
- export interface GetLicenseEndpointRequest {
7858
- /**
7859
- * <p>The license endpoint ID.</p>
7860
- * @public
7861
- */
7862
- licenseEndpointId: string | undefined;
7863
- }
7864
- /**
7865
- * Mixin that adds an optional ARN field to response structures.
7866
- * Apply to SummaryMixins (flows into Get, Summary, and BatchGet) and Create outputs.
7867
- * @public
7868
- */
7869
- export interface GetLicenseEndpointResponse {
7870
- /**
7871
- * <p>The license endpoint ID.</p>
7872
- * @public
7873
- */
7874
- licenseEndpointId: string | undefined;
7875
- /**
7876
- * <p>The status of the license endpoint.</p>
7877
- * @public
7878
- */
7879
- status: LicenseEndpointStatus | undefined;
7880
- /**
7881
- * <p>The status message of the license endpoint.</p>
7882
- * @public
7883
- */
7884
- statusMessage: string | undefined;
7885
- /**
7886
- * <p>The VPC (virtual private cloud) ID associated with the license endpoint.</p>
7887
- * @public
7888
- */
7889
- vpcId?: string | undefined;
7890
- /**
7891
- * <p>The DNS name.</p>
7892
- * @public
7893
- */
7894
- dnsName?: string | undefined;
7895
- /**
7896
- * <p>The subnet IDs.</p>
7897
- * @public
7898
- */
7899
- subnetIds?: string[] | undefined;
7900
- /**
7901
- * <p>The security group IDs for the license endpoint.</p>
7902
- * @public
7903
- */
7904
- securityGroupIds?: string[] | undefined;
7905
- }
7906
- /**
7907
- * Shared pagination fields for List operation inputs (nextToken + maxResults).
7908
- * @public
7909
- */
7910
- export interface ListLicenseEndpointsRequest {
7911
- /**
7912
- * <p>The token for the next set of results, or <code>null</code> to start from the beginning.</p>
7913
- * @public
7914
- */
7915
- nextToken?: string | undefined;
7916
- /**
7917
- * <p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>
7918
- * @public
7919
- */
7920
- maxResults?: number | undefined;
7921
- }
@@ -1,5 +1,134 @@
1
- import type { ComparisonOperator, JobLifecycleStatus, JobTargetTaskRunStatus, LicenseEndpointStatus, LogicalOperator, Period, QueueFleetAssociationStatus, QueueLimitAssociationStatus, SearchTermMatchingType, SortOrder, StepLifecycleStatus, StepTargetTaskRunStatus, TaskRunStatus, TaskTargetRunStatus, UpdateQueueFleetAssociationStatus, UpdateQueueLimitAssociationStatus, UsageGroupByField, UsageStatistic, WorkerStatus } from "./enums";
2
- import type { DateTimeFilterExpression, HostPropertiesResponse, JobParameter, ParameterSpace, TaskParameterValue } from "./models_0";
1
+ import type { ComparisonOperator, JobLifecycleStatus, JobTargetTaskRunStatus, LicenseEndpointStatus, LogicalOperator, Period, QueueFleetAssociationStatus, QueueLimitAssociationStatus, SearchTermMatchingType, SessionsStatisticsAggregationStatus, SortOrder, StepLifecycleStatus, StepTargetTaskRunStatus, TaskRunStatus, TaskTargetRunStatus, UpdateQueueFleetAssociationStatus, UpdateQueueLimitAssociationStatus, UsageGroupByField, UsageStatistic, WorkerStatus } from "./enums";
2
+ import type { DateTimeFilterExpression, HostPropertiesResponse, JobParameter, ParameterSpace, Statistics, TaskParameterValue } from "./models_0";
3
+ /**
4
+ * Shared pagination field for List operation outputs (nextToken).
5
+ * @public
6
+ */
7
+ export interface GetSessionsStatisticsAggregationResponse {
8
+ /**
9
+ * <p>The statistics for the specified fleets or queues.</p>
10
+ * @public
11
+ */
12
+ statistics?: Statistics[] | undefined;
13
+ /**
14
+ * <p>The status of the aggregated results. An aggregation may fail or time out if the results are too large. If this happens, you can call the <code>StartSessionsStatisticsAggregation</code> operation after you reduce the aggregation time frame, reduce the number of queues or fleets in the aggregation, or increase the period length.</p> <p>If you call the <code>StartSessionsStatisticsAggregation </code> operation when the status is <code>IN_PROGRESS</code>, you will receive a <code>ThrottlingException</code>.</p>
15
+ * @public
16
+ */
17
+ status: SessionsStatisticsAggregationStatus | undefined;
18
+ /**
19
+ * <p>A message that describes the status.</p>
20
+ * @public
21
+ */
22
+ statusMessage?: string | undefined;
23
+ /**
24
+ * <p>If Deadline Cloud returns <code>nextToken</code>, then there are more results available. The value of <code>nextToken</code> is a unique pagination token for each page. To retrieve the next page, call the operation again using the returned token. Keep all other arguments unchanged. If no results remain, then <code>nextToken</code> is set to <code>null</code>. Each pagination token expires after 24 hours. If you provide a token that isn't valid, then you receive an HTTP 400 <code>ValidationException</code> error.</p>
25
+ * @public
26
+ */
27
+ nextToken?: string | undefined;
28
+ }
29
+ /**
30
+ * @public
31
+ */
32
+ export interface DeleteLicenseEndpointRequest {
33
+ /**
34
+ * <p>The license endpoint ID of the license endpoint to delete.</p>
35
+ * @public
36
+ */
37
+ licenseEndpointId: string | undefined;
38
+ }
39
+ /**
40
+ * @public
41
+ */
42
+ export interface DeleteLicenseEndpointResponse {
43
+ }
44
+ /**
45
+ * @public
46
+ */
47
+ export interface DeleteMeteredProductRequest {
48
+ /**
49
+ * <p>The ID of the license endpoint from which to remove the metered product.</p>
50
+ * @public
51
+ */
52
+ licenseEndpointId: string | undefined;
53
+ /**
54
+ * <p>The product ID to remove from the license endpoint.</p>
55
+ * @public
56
+ */
57
+ productId: string | undefined;
58
+ }
59
+ /**
60
+ * @public
61
+ */
62
+ export interface DeleteMeteredProductResponse {
63
+ }
64
+ /**
65
+ * @public
66
+ */
67
+ export interface GetLicenseEndpointRequest {
68
+ /**
69
+ * <p>The license endpoint ID.</p>
70
+ * @public
71
+ */
72
+ licenseEndpointId: string | undefined;
73
+ }
74
+ /**
75
+ * Mixin that adds an optional ARN field to response structures.
76
+ * Apply to SummaryMixins (flows into Get, Summary, and BatchGet) and Create outputs.
77
+ * @public
78
+ */
79
+ export interface GetLicenseEndpointResponse {
80
+ /**
81
+ * <p>The license endpoint ID.</p>
82
+ * @public
83
+ */
84
+ licenseEndpointId: string | undefined;
85
+ /**
86
+ * <p>The status of the license endpoint.</p>
87
+ * @public
88
+ */
89
+ status: LicenseEndpointStatus | undefined;
90
+ /**
91
+ * <p>The status message of the license endpoint.</p>
92
+ * @public
93
+ */
94
+ statusMessage: string | undefined;
95
+ /**
96
+ * <p>The VPC (virtual private cloud) ID associated with the license endpoint.</p>
97
+ * @public
98
+ */
99
+ vpcId?: string | undefined;
100
+ /**
101
+ * <p>The DNS name.</p>
102
+ * @public
103
+ */
104
+ dnsName?: string | undefined;
105
+ /**
106
+ * <p>The subnet IDs.</p>
107
+ * @public
108
+ */
109
+ subnetIds?: string[] | undefined;
110
+ /**
111
+ * <p>The security group IDs for the license endpoint.</p>
112
+ * @public
113
+ */
114
+ securityGroupIds?: string[] | undefined;
115
+ }
116
+ /**
117
+ * Shared pagination fields for List operation inputs (nextToken + maxResults).
118
+ * @public
119
+ */
120
+ export interface ListLicenseEndpointsRequest {
121
+ /**
122
+ * <p>The token for the next set of results, or <code>null</code> to start from the beginning.</p>
123
+ * @public
124
+ */
125
+ nextToken?: string | undefined;
126
+ /**
127
+ * <p>The maximum number of results to return. Use this parameter with <code>NextToken</code> to get results as a set of sequential pages.</p>
128
+ * @public
129
+ */
130
+ maxResults?: number | undefined;
131
+ }
3
132
  /**
4
133
  * <p>The details for a license endpoint.</p>
5
134
  * @public
@@ -259,6 +259,8 @@ export declare var ParameterSortExpression$: StaticStructureSchema;
259
259
  export declare var ParameterSpace$: StaticStructureSchema;
260
260
  export declare var PathMappingRule$: StaticStructureSchema;
261
261
  export declare var PosixUser$: StaticStructureSchema;
262
+ export declare var PriorityBalancedSchedulingConfiguration$: StaticStructureSchema;
263
+ export declare var PriorityFifoSchedulingConfiguration$: StaticStructureSchema;
262
264
  export declare var PutMeteredProductRequest$: StaticStructureSchema;
263
265
  export declare var PutMeteredProductResponse$: StaticStructureSchema;
264
266
  export declare var QueueEnvironmentSummary$: StaticStructureSchema;
@@ -268,6 +270,8 @@ export declare var QueueMember$: StaticStructureSchema;
268
270
  export declare var QueueSummary$: StaticStructureSchema;
269
271
  export declare var ResponseBudgetAction$: StaticStructureSchema;
270
272
  export declare var S3Location$: StaticStructureSchema;
273
+ export declare var SchedulingMaxPriorityOverrideAlwaysScheduleFirst$: StaticStructureSchema;
274
+ export declare var SchedulingMinPriorityOverrideAlwaysScheduleLast$: StaticStructureSchema;
271
275
  export declare var SearchGroupedFilterExpressions$: StaticStructureSchema;
272
276
  export declare var SearchJobsRequest$: StaticStructureSchema;
273
277
  export declare var SearchJobsResponse$: StaticStructureSchema;
@@ -352,6 +356,7 @@ export declare var UserJobsFirst$: StaticStructureSchema;
352
356
  export declare var ValidationExceptionField$: StaticStructureSchema;
353
357
  export declare var VCpuCountRange$: StaticStructureSchema;
354
358
  export declare var VpcConfiguration$: StaticStructureSchema;
359
+ export declare var WeightedBalancedSchedulingConfiguration$: StaticStructureSchema;
355
360
  export declare var WindowsUser$: StaticStructureSchema;
356
361
  export declare var WorkerAmountCapability$: StaticStructureSchema;
357
362
  export declare var WorkerAttributeCapability$: StaticStructureSchema;
@@ -366,6 +371,9 @@ export declare var GetJobEntityError$: StaticUnionSchema;
366
371
  export declare var JobEntity$: StaticUnionSchema;
367
372
  export declare var JobEntityIdentifiersUnion$: StaticUnionSchema;
368
373
  export declare var JobParameter$: StaticUnionSchema;
374
+ export declare var SchedulingConfiguration$: StaticUnionSchema;
375
+ export declare var SchedulingMaxPriorityOverride$: StaticUnionSchema;
376
+ export declare var SchedulingMinPriorityOverride$: StaticUnionSchema;
369
377
  export declare var SearchFilterExpression$: StaticUnionSchema;
370
378
  export declare var SearchSortExpression$: StaticUnionSchema;
371
379
  export declare var SessionActionDefinition$: StaticUnionSchema;
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteLicenseEndpointRequest,
10
10
  DeleteLicenseEndpointResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteLicenseEndpointCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DeleteMeteredProductRequest,
10
10
  DeleteMeteredProductResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DeleteMeteredProductCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetLicenseEndpointRequest,
10
10
  GetLicenseEndpointResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetLicenseEndpointCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../DeadlineClient";
8
- import {
9
- GetSessionsStatisticsAggregationRequest,
10
- GetSessionsStatisticsAggregationResponse,
11
- } from "../models/models_0";
8
+ import { GetSessionsStatisticsAggregationRequest } from "../models/models_0";
9
+ import { GetSessionsStatisticsAggregationResponse } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface GetSessionsStatisticsAggregationCommandInput